且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

建立DragonBoard 410c的Yocto映像,如何建立Chromium

更新时间:2022-11-29 19:47:24

Openembedded-core中有一个Sato软件包,您可以继承到此处

There is a Sato package in Openembedded-core you could inherit to HERE

如果您想构建Sato图像,请参见Openembedded-core 这里

If you want to build Sato image, there are a list here from Openembedded-core HERE

来自 chromium.inc ,Chromium不支持您使用的主板。这是四核ARM®Cortex®A53 ,您可以尝试将计算机添加到列表中并进行编译。您的计算机应为 aarch64

From chromium.inc, Chromium does not support the board you have. Which is Quad-core ARM® Cortex® A53, You could try to add the machine to the list and compile. Your machine should be aarch64

COMPATIBLE_MACHINE = "(-)"
COMPATIBLE_MACHINE_x86 = "(.*)"
COMPATIBLE_MACHINE_x86-64 = "(.*)"
COMPATIBLE_MACHINE_armv6 = "(.*)"
COMPATIBLE_MACHINE_armv7a = "(.*)"
COMPATIBLE_MACHINE_aarch64 = "(.*)"

编辑:Chromium需要编译以下内容;

Edit: Chromium requires the following to be compiled;

DEPENDS = xz-native pciutils pulseaudio cairo nss zlib-native libav cups ninja-native gconf libexif pango libdrm

DEPENDS + = libgnome-keyring

在那些依赖项中, libav 必须列入白名单。为此,我们需要转到 conf / local.conf 并添加 LICENSE_FLAGS_WHITELIST = commercial

In those dependencies, libav needs to be WHITELISTED. To do this, we need to go to conf/local.conf and add LICENSE_FLAGS_WHITELIST = "commercial".

单击此处,并查找12.5 ,以了解有关许可的更多信息。

Click Here, and look for Section 12.5 to know more about License.

编辑:Fetcher问题:
您将需要添加 include.gypi oe-defaults.gypi 文件到 / meta-browser / recipes-browser / chromium / chromium / aarch64 /

Edit: Fetcher Issue: You will need include.gypi and oe-defaults.gypi files added to /meta-browser/recipes-browser/chromium/chromium/aarch64/

铬/铬/aarch64/include.gypi

{
  'variables': {
    'target_arch': 'arm64',
    'use_allocator': 0,
    'use_xkbcommon': 1,
     'v8_use_external_startup_data' : 0,
     'v8_use_snapshot' : 'false',
  }, 
}

铬/铬/oe-defaults.gypi

{
  'variables': {
    'use_system_bzip2': 1,
    'disable_nacl': 1,
    'proprietary_codecs': 1,
    'v8_use_snapshot': 1,
    'ffmpeg_branding' : 'Chrome',
    'use_system_ffmpeg': 0,
    'linux_link_kerberos': 0,
    'use_kerberos': 0,
    'use_cups': 0,
    'use_gnome_keyring': 0,
    'linux_link_gnome_keyring': 0
  }, 
}

编辑:用于Dragonboard的正确元浏览器应为: https:// github。 com / kuscsik / meta-browser-1 。里面有董事会需要的所有文件。

The Correct meta-browser for the dragonboard should be this : https://github.com/kuscsik/meta-browser-1. Inside, there is all the files required for the board.