Giter Site home page Giter Site logo

oe-rpb-manifest's Introduction

Linaro OpenEmbedded Reference Platform Build (OE RPB)

The Linaro OpenEmbedded RPB project provides a reference implementation of an OpenEmbedded based distro. It contains reference images for various uses cases, such as headless systems or graphical systemd based on Xorg server or Wayland/Weston.

Maintainers

Support

If you find any bugs please report them here

https://github.com/96boards/oe-rpb-manifest/issues

If you have questions or feedback, please subscribe to

https://lists.linaro.org/mailman/listinfo/openembedded

Using OE RPB

This document provides instructions to get started with Linaro OpenEmbedded RPB project. It tries (when possible) to be generic for any board supported. The board diversity should be addressed through dedicated BSP layer then MACHINE choice.

Introduction

This is not an introduction on OpenEmbedded or Yocto Project. If you are not familiar with OpenEmbedded and the Yocto Project, it is very much recommended to read the appropriate documentation first. For example, you can start with:

In this wiki, we assume that the reader is familiar with basic concepts of OpenEmbedded.

OE RPB Layers

Layer Description
oe-core This is the main collaboration point when working on OpenEmbedded projects and is part of the core recipes. The goal of this layer is to have just enough recipes to build a basic system, this means keeping it as small as possible.
meta-rpb This is a very small layer where the distro configurations live. Currently it houses both Reference Platform Build and Wayland Reference Platform Builds.
meta-oe This layer houses many useful, but sometimes unmaintained recipes. Since the reduction in recipes to the core, meta-oe was created for everything else. There are currently approximately 650 recipes in this layer.
meta-browser This layer holds the recipes for Firefox and Chromium. Both recipes require a lot of maintenance, because of this a seperate layer was created.
meta-qt5 This is a cross-platform toolkit.
meta-arm This layer is used to get the ARM toolchain.
meta-backports Backport newer versions into the build which were not part of the release.
meta-96boards This support layer is managed by Linaro and intended for boards that do not have their own board support layer. Currently used for the HiKey Consumer Edition board, and eventually the Bubblegum-96 board. If a vendor does not support their own layer, it can be added to this layer.
meta-qcom This is the board support layer for Qualcomm boards. Currently supports IFC6410 and the DragonBoard 410c.
meta-st-cannes2 This is the board support layer for ST B2260 board.
meta-python2 This layer provides support of Python 2.x in recent OE versions after EOL.

oe-rpb-manifest repository

These are the setup scripts for the OE RPB buildsystem. If you want to (re)build packages or images for OE RPB, this is the thing to use. The OE RPB buildsystem is using various components from the Yocto Project, most importantly the Openembedded buildsystem, the bitbake task executor and various application and BSP layers.

To configure the scripts and download the build metadata, do:

mkdir ~/bin
PATH=~/bin:$PATH

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo

Run repo init to bring down the latest version of Repo with all its most recent bug fixes. You must specify a URL for the manifest, which specifies where the various repositories included in the Android source will be placed within your working directory. To check out the current branch, specify it with -b:

repo init -u https://github.com/96boards/oe-rpb-manifest.git -b master

When prompted, configure Repo with your real name and email address.

A successful initialization will end with a message stating that Repo is initialized in your working directory. Your client directory should now contain a .repo directory where files such as the manifest will be kept.

To pull down the metadata sources to your working directory from the repositories as specified in the default manifest, run

repo sync

When downloading from behind a proxy (which is common in some corporate environments), it might be necessary to explicitly specify the proxy that is then used by repo:

export HTTP_PROXY=http://<proxy_user_id>:<proxy_password>@<proxy_server>:<proxy_port>
export HTTPS_PROXY=http://<proxy_user_id>:<proxy_password>@<proxy_server>:<proxy_port>

More rarely, Linux clients experience connectivity issues, getting stuck in the middle of downloads (typically during "Receiving objects"). It has been reported that tweaking the settings of the TCP/IP stack and using non-parallel commands can improve the situation. You need root access to modify the TCP setting:

sudo sysctl -w net.ipv4.tcp_window_scaling=0
repo sync -j1

Host package Dependencies

In order to successfully set up your build environment, you will need to install the following package dependencies.

Step 1: You will need git installed on your Linux host machine

$ sudo apt-get install git

Step 2: Visit the OpenEmbedded (Getting Started) wiki to see which distribution specific dependencies you will need

http://www.openembedded.org/wiki/Getting_started

Setting up the build environment will first search for whiptail, if it is not present then it will search for dialog. You only need one of the following packages to ensure your setup-environement runs correctly:

$ sudo apt-get install whiptail

or

$ sudo apt-get install dialog

Please Note: If you are running Ubuntu 16.04 you will need to add the following line to your /etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu/ xenial universe

$ cd /etc/apt/
#vim text editor is used in this example
#sudo is used to allow editing, sources.list is set to read only
$ sudo vim sources.list

All required dependencies should now be installed on your host environment, you are ready to begin your build environment setup.

Setup Environment

It is recommended to use the setup-environment script. Among several things, it will prompt the user for the list of supported machines and distros. The setup script will also create (if they don't exsist) the local build configuration files.

To run the setup script:

$ . setup-environment

And follow the instructions. If you already know the value for MACHINE and DISTRO, it is possible to set them as environment variables, e.g.

$ MACHINE=qcom-armv8a DISTRO=rpb source setup-environment

Build a minimal, console-only image

To build a console image, you can run:

$ bitbake rpb-console-image

At the end of the build, your build artifacts will be found under tmp-eglibc/deploy/images/MACHINE/. The two main build artifacts you will use to update your board are:

  • rpb-console-image-<MACHINE>.ext4.gz and
  • boot-<MACHINE>.img

Build a simple X11 image

To build an X11 image with GPU hardware accelerated support, run:

$ bitbake rpb-desktop-image

This image includes a few additional features, such as systemd, networkmanager which makes it simpler to use. At the end of the build, the root file system image will be available as tmp-eglibc/deploy/images/<MACHINE>/rpb-desktop-image-<MACHINE>.ext4.gz.

Then you can finally start the X server, and run any graphical application:

X&
export DISPLAY=:0
glxgears

The default X11 image includes openbox window manager, and it should automatically start on boot. If you want to stop (or restart) the window manager, you can use the following command:

$ systemctl stop xserver-nodm.service
$ systemctl start xserver-nodm.service

Of course, you can easily add another window manager, such as metacity in the image. To install metacity in the image, add the following to conf/auto.conf file:

CORE_IMAGE_EXTRA_INSTALL += "metacity"

and rebuild the rpb-desktop-image image, it will now include metacity.

Build a sample Wayland/Weston image

For Wayland/weston, it is needed to change the DISTRO and use rpb-wayland instead of rpb. The main reason is that in the rpb-wayland distro, the support for X11 is completely removed. So, in a new terminal prompt, setup a new environment and make sure to use rpb-wayland for DISTRO, then, you can run a sample image with:

$ bitbake rpb-weston-image

This image includes a few additional features, such as systemd, networkmanager which makes it simpler to use. Once built, the image will be available at tmp-eglibc/deploy/images/<MACHINE>/rpb-weston-image-<MACHINE>.ext4.gz.

If you boot this image on the board, you should get a command prompt on the HDMI monitor. A user called linaro exists (and has no password). Once logged in a VT, you run start weston with:

weston-launch

And that should get you to the Weston desktop shell.

Creating a local topic branch

If you need to create local branches for all repos which then can be done e.g.

~/bin/repo start myangstrom --all

Where 'myangstrom' is the name of branch you choose

Updating the sandbox

If you need to bring changes from upstream then use following commands

repo sync

Rebase your local committed changes

repo rebase

Guidelines / tips

Share downloads and sstate-cache folder

When using the OpenEmbedded build, you are building the entire GNU Linux system from scratch. That requires downloading a lot of source code packages, as well as building them. When using more than one workspace or build environment, it is very much recommended to create a shared folder for the downloads, and also a shared folder for the OpenEmbedded sstate-cache. The sstate-cache contains prebuilt packages, to avoid recompiling the same package over and over again. It is essentially a specialized ccache for OpenEmbedded.

The OE RPB setup scripts expects the downloads and sstate-cache folders to be located at the root of your build environment. When initializing a second build environment, and before started any build, you can simply use Linux symlinks to share these folders.

Assuming you have already create a workspace in $HOME/oe-rpb, and that you are making another one in $HOME/oe-rpb2, then you can run the following commands:

cd $HOME/oe-rpb2
ln -s $HOME/oe-rpb/downloads
ln -s $HOME/oe-rpb/sstate-cache

It is safe to use such a setup, and OpenEmbedded will work fine!

How to clean with bitbake

TBD

oe-rpb-manifest's People

Contributors

0xb0d avatar andrey-konovalov avatar b49020 avatar cbrake avatar fboudra avatar gizero avatar koenkooi avatar kraj avatar kuscsik avatar lucasrangit avatar lumag avatar mgpb avatar mrchapp avatar ndechesne avatar petegriffin avatar rsalveti avatar thetasslehoff avatar twoerner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oe-rpb-manifest's Issues

Postinstall intercept hooks failed

Hello, I'm facing an issue when I try to generate images. I followed those instructions https://github.com/96boards/oe-rpb-manifest/blob/qcom/dunfell/README.md. All is going well but in the do_rootfs part, the building process is interupted due to errors in postinstall hooks.

I tried:

MACHINE=dragonboard-410c DISTRO=rpb bitbake core-image-minimal

And:

MACHINE=dragonboard-410c DISTRO=rpb bitbake bitbake rpb-console-image

I also tried to -c clean and -c cleansstate and but each time I get the followings errors:


The first one is with update_mime_database, the logs are:

ERROR: rpb-console-image-1.0-r0 do_rootfs: The postinstall intercept hook 'update_mime_database' failed, details in /home/user/sources/build-rpb/tmp-rpb-glibc/work/dragonboard_410c-linaro-linux/rpb-console-image/1.0-r0/temp/log.do_rootfs
ERROR: Logfile of failure stored in: /home/user/sources/build-rpb/tmp-rpb-glibc/work/dragonboard_410c-linaro-linux/rpb-console-image/1.0-r0/temp/log.do_rootfs.13668
ERROR: Task (/home/user/sources/build-rpb/conf/../../layers/meta-rpb/recipes-samples/images/rpb-console-image.bb:do_rootfs) failed with exit code '1'
...
NOTE: Running intercept scripts:
NOTE: > Executing update_mime_database intercept ...
NOTE: Exit code 1. Output:
Updating MIME database... this may take a while.
Directory '/home/user/sources/build-rpb/tmp-rpb-glibc/work/dragonboard_410c-linaro-linux/rpb-console-image/1.0-r0/rootfs/packages' does not exist!

If I create manually this directory, another problem occures with update_pixbuf_cache :

ERROR: rpb-console-image-1.0-r0 do_rootfs: The postinstall intercept hook 'update_pixbuf_cache' failed, details in /home/user/sources/build-rpb/tmp-rpb-glibc/work/dragonboard_410c-linaro-linux/rpb-console-image/1.0-r0/temp/log.do_rootfs
ERROR: Logfile of failure stored in: /home/user/sources/build-rpb/tmp-rpb-glibc/work/dragonboard_410c-linaro-linux/rpb-console-image/1.0-r0/temp/log.do_rootfs.29623
ERROR: Task (/home/user/sources/build-rpb/conf/../../layers/meta-rpb/recipes-samples/images/rpb-console-image.bb:do_rootfs) failed with exit code '1'
...
NOTE: > Executing update_pixbuf_cache intercept ...
NOTE: Exit code 2. Output:
/home/user/sources/build-rpb/tmp-rpb-glibc/work/dragonboard_410c-linaro-linux/rpb-console-image/1.0-r0/intercept_scripts-c092f5cf390bd321ac9ae423876023b69236fda615991903080eb574b8eff74d/update_pixbuf_cache: 11: /home/user/sources/build-rpb/tmp-rpb-glibc/work/dragonboard_410c-linaro-linux/rpb-console-image/1.0-r0/intercept_scripts-c092f5cf390bd321ac9ae423876023b69236fda615991903080eb574b8eff74d/update_pixbuf_cache: cannot create /home/user/sources/build-rpb/tmp-rpb-glibc/work/dragonboard_410c-linaro-linux/rpb-console-image/1.0-r0/rootfs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/../loaders.cache: Directory nonexistent

I'm new to Yocto so maybe I do something wrong. I will be very grateful if you can help me. Don't hesitate if you need more info about my build system or more logs.

Thanks in advance!

kernel-devsrc

Hi,

I am trying to add the source of the kernel to my custom image to later develop kernel modules on the board (hikey lemaker). However, I am getting: Can't install kernel-devsrc-1.0-r0@hikey: no package provides /bin/awk.

I am using morty branch (repo init -u https://github.com/96boards/oe-rpb-manifest.git -b morty) and I have added the line CORE_IMAGE_EXTRA_INSTALL += "kernel-devsrc" to the file auto.conf.

Any suggestion?
Thanks

Error rebuilding rpb-console-image from scratch

I am trying to rebuild the rpb console image for the 410c. I started from scratch using repo and am building on Ubuntu 16.04 LTS. I have tried using both the krogoth and morty branches and get the same problem, the log for which I have included below.

DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_package
DEBUG: Executing python function package_get_auto_pr
DEBUG: Python function package_get_auto_pr finished
DEBUG: Executing python function perform_packagecopy
DEBUG: Python function perform_packagecopy finished
DEBUG: Executing python function split_and_strip_files
ERROR: debugsrc symlink fixup failed with exit code 512 (cmd was find /sdd/peter/DB410c/build-rpb/tmp-rpb-glibc/work/aarch64-linaro-linux/nspr/4.12-r0/package/usr/src/debug -type l -print0 -delete | sed s#/sdd/peter/DB410c/build-rpb/tmp-rpb-glibc/work/aarch64-linaro-linux/nspr/4.12-r0/package/usr/src/debug/##g | (cd '/sdd/peter/DB410c/build-rpb/tmp-rpb-glibc/work/aarch64-linaro-linux' ; cpio -pd0mL --no-preserve-owner '/sdd/peter/DB410c/build-rpb/tmp-rpb-glibc/work/aarch64-linaro-linux/nspr/4.12-r0/package/usr/src/debug' 2>/dev/null))
DEBUG: Python function split_and_strip_files finished
DEBUG: Python function do_package finished
ERROR: Function failed: split_and_strip_files

about the meta-st-cannes2

hi, I see the branch add the meta-st-cannes2 in the jethro
` BSPLAYERS ?= " \

  • ${OEROOT}/layers/meta-st-cannes2 `

but seems there is no meta-st-cannes2 in the layers

Cannot build world using qcom/kirkstone branch

Ultimately I am trying to build the esdk with SDK_INCLUDE_PKGDATA = "1" and got some missing dependency issues so then i decided to bitbake world and see what happens. The following is an example of my first error which is fundamental to oe-rpb.

/ganglia/ganglia_3.6.0.bb DEPENDS on or otherwise requires it)
python was skipped: Recipe will be skipped because: python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'ganglia', 'python']

the only workaround i can think of is to create a bbappend for each package that has an issue and add EXCLUDE_FROM_WORLD = 1

[db410c] failing to mount rootfs

Iโ€™m building dunfell for db410c. I have 20+ units in a board farm.

db410c Target images

rpb-console-image
rpb-console-image-test
rpb-weston-image
rpb-weston-image-test

If I build without changing local.conf in any way the resultant image boots and all is well.

When I make the changes below I'm finding rootfs fails to mount.

I use the same flashing procedure for either scenario.

Any ideas?

Console image changes

echo -e 'DISTRO_FEATURES_remove = "x11"\n' >> conf/local.conf
echo -e 'DISTRO_FEATURES_append = " opengl"\n' >> conf/local.conf
echo -e 'IMAGE_INSTALL_append = " \' >> conf/local.conf
echo -e '  i2c-tools can-utils \' >> conf/local.conf
echo -e '"\n' >> conf/local.conf

Weston image changes

echo -e 'DISTRO_FEATURES_remove = "x11"\n' >> conf/local.conf
echo -e 'DISTRO_FEATURES_append = " opengl"\n' >> conf/local.conf
echo -e 'IMAGE_INSTALL_append = " \' >> conf/local.conf
echo -e '  i2c-tools can-utils \' >> conf/local.conf
echo -e '  adwaita-icon-theme-cursors \' >> conf/local.conf
echo -e '  xdg-user-dirs \' >> conf/local.conf
echo -e '"\n' >> conf/local.conf

[db410c] yocto rpb-wayland - Initramfs unpacking failed

Iโ€™m building a rpb-weston-image using master

Flashing sequence:

flashall from dragonboard-410c-bootloader-emmc-linux-159.zip

From yocto image folder

sudo fastboot flash boot boot-dragonboard-410c.img

โ€œfastboot: error: Couldnโ€™t parse partition size โ€˜0xโ€™โ€

I work around this using

sudo fastboot flash:raw boot boot-dragonboard-410c.img

Flash .ext from yocto imge folder.

Boot

Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.0-00288
S - IMAGE_VARIANT_STRING=HAAAANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x000002e1
S - Core 0 Frequency, 0 MHz
B - 1545 - PBL, Start
B - 3491 - bootable_media_detect_entry, Start
B - 171011 - bootable_media_detect_success, Start
B - 171016 - elf_loader_entry, Start
B - 172565 - auth_hash_seg_entry, Start
B - 172777 - auth_hash_seg_exit, Start
B - 188746 - elf_segs_hash_verify_entry, Start
B - 249507 - PBL, End
B - 256810 - SBL1, Start
B - 319701 - pm_device_init, Start
D - 14731 - pm_device_init, Delta
B - 334859 - boot_flash_init, Start
D - 0 - boot_flash_init, Delta
B - 338885 - boot_config_data_table_init, Start
D - 337787 - boot_config_data_table_init, Delta - (452 Bytes)
B - 681248 - CDT version:3,Platform ID:24,Major ID:1,Minor ID:0,Subtype:0
B - 687500 - sbl1_ddr_set_params, Start
B - 691282 - cpr_init, Start
D - 0 - cpr_init, Delta
B - 696894 - Pre_DDR_clock_init, Start
D - 183 - Pre_DDR_clock_init, Delta
D - 0 - sbl1_ddr_set_params, Delta
B - 709521 - pm_driver_init, Start
D - 3507 - pm_driver_init, Delta
B - 721660 - SBC platform detected: XO_ADJ_FINE = 0x20
B - 721691 - clock_init, Start
D - 61 - clock_init, Delta
B - 736605 - Image Load, Start
D - 24065 - QSEE Image Loaded, Delta - (571664 Bytes)
B - 760700 - Image Load, Start
D - 213 - SEC Image Loaded, Delta - (2048 Bytes)
B - 767929 - sbl1_efs_handle_cookies, Start
D - 335 - sbl1_efs_handle_cookies, Delta
B - 775676 - Image Load, Start
D - 12047 - QHEE Image Loaded, Delta - (56048 Bytes)
B - 787754 - Image Load, Start
D - 13389 - RPM Image Loaded, Delta - (149316 Bytes)
B - 801174 - Image Load, Start
D - 26931 - APPSBL Image Loaded, Delta - (519728 Bytes)
B - 828136 - QSEE Execution, Start
D - 91 - QSEE Execution, Delta
B - 833839 - SBL1, End
D - 579378 - SBL1, Delta
S - Flash Throughput, 120000 KB/s (1299256 Bytes, 10766 us)
S - DDR Frequency, 400 MHz
Android Bootloader - UART_DM Initialized!!!
[0] [0] BUILD_VERSION=
[0] [0] BUILD_DATE=15:13:08 - Apr 5 2021
[0] [0] welcome to lk

[10] [10] platform_init()
[10] [10] target_init()
[40] [40] SDHC Running in HS200 mode
[50] [50] Done initialization of the card
[60] [60] pm8x41_get_is_cold_boot: cold boot
[120] [120] Neither โ€˜configโ€™ nor โ€˜frpโ€™ partition found
[120] [120] Not able to search the panel:
[120] [120] Display not enabled for 24 HW type
[130] [130] Target panel init not found!
[130] [130] pm8x41_get_is_cold_boot: cold boot
[140] [140] partition misc doesnโ€™t exist
[140] [140] error in emmc_recovery_init
[140] [140] Unable to locate /bootselect partition
[150] [150] No โ€˜miscโ€™ partition found
[150] [150] Error reading MISC partition
[150] [150] failed to get ffbm cookie[160] [160] Loading boot image (12029952): start
[280] [280] Loading boot image (12029952): done
[280] [280] use_signed_kernel=0, is_unlocked=0, is_tampered=0.
[980] [980] qcom,msm-id entry not found
[980] [980] Only one appended non-skales DTB, select it.
[990] [990] target_display_panel_node:510: hw_id=24 panel_name=""
[990] [990] cmdline: root=/dev/mmcblk0p14 rw rootwait console=ttyMSM0,115200n8 androidboot.emmc=true androidboot.serialno=1f9800a4 androidboot.baseband=apq mdss_mdp.panel=0:dsi:0:
[1010] [1010] Updating device tree: start
[1090] [1090] Setting WLAN mac address in DT: 02:00:1F:98:00:A4
[1110] [1110] Setting Bluetooth BD address in DT: 02:00:1F:98:00:A5
[1120] [1120] Setting BT mac address in DT: 02:00:1F:98:00:A5
[1130] [1130] Updating device tree: done
[1130] [1130] booting linux @ 0x80080000, ramdisk @ 0x90c78800 (22), tags/device tree @ 0x85e00000
[1140] [1140] Jumping to kernel via monitor
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd030]
[ 0.000000] Linux version 5.10.7+linaro (oe-user@oe-host) (aarch64-linaro-linux-gcc (GCC) 9.2.1 20191025, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP PREEMPT Wed Apr 21 13:29:39 UTC 2021
[ 0.000000] Machine model: Qualcomm Technologies, Inc. APQ 8016 SBC
[ 0.000000] efi: UEFI not found.
[ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[ 0.000000] cma: Reserved 32 MiB at 0x00000000bdc00000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xbfcd5b00-0xbfcd7fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x0000000085ffffff]
[ 0.000000] node 0: [mem 0x0000000089f00000-0x000000008e9fffff]
[ 0.000000] node 0: [mem 0x000000008eb00000-0x00000000bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] psci: OSI mode supported.
[ 0.000000] percpu: Embedded 23 pages/cpu s56536 r8192 d29480 u94208
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM errata 826319, 827319, 824069, or 819472
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] CPU features: detected: ARM erratum 843419
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 241920
[ 0.000000] Policy zone: DMA
[ 0.000000] Kernel command line: root=/dev/mmcblk0p14 rw rootwait console=ttyMSM0,115200n8 androidboot.emmc=true androidboot.serialno=1f9800a4 androidboot.baseband=apq mdss_mdp.panel=0:dsi:0:
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 894440K/983040K available (15232K kernel code, 3160K rwdata, 8448K rodata, 6656K init, 533K bss, 55832K reserved, 32768K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] random: get_random_bytes called from start_kernel+0x32c/0x4ec with crng_init=0
[ 0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz (virt/virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000005] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000235] Console: colour dummy device 80x25
[ 0.000337] Calibrating delay loop (skipped), value calculated using timer frequencyโ€ฆ 38.40 BogoMIPS (lpj=76800)
[ 0.000354] pid_max: default: 32768 minimum: 301
[ 0.000460] LSM: Security Framework initializing
[ 0.000538] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.000557] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.002353] rcu: Hierarchical SRCU implementation.
[ 0.009479] EFI services will not be available.
[ 0.009776] smp: Bringing up secondary CPUs โ€ฆ
[ 0.010485] Detected VIPT I-cache on CPU1
[ 0.010553] CPU1: Booted secondary processor 0x0000000001 [0x410fd030]
[ 0.011333] Detected VIPT I-cache on CPU2
[ 0.011391] CPU2: Booted secondary processor 0x0000000002 [0x410fd030]
[ 0.012101] Detected VIPT I-cache on CPU3
[ 0.012152] CPU3: Booted secondary processor 0x0000000003 [0x410fd030]
[ 0.012249] smp: Brought up 1 node, 4 CPUs
[ 0.012276] SMP: Total of 4 processors activated.
[ 0.012287] CPU features: detected: 32-bit EL0 Support
[ 0.012296] CPU features: detected: CRC32 instructions
[ 0.012306] CPU features: detected: 32-bit EL1 Support
[ 0.024712] CPU: All CPU(s) started at EL1
[ 0.024760] alternatives: patching kernel code
[ 0.026314] devtmpfs: initialized
[ 0.038164] Registered cp15_barrier emulation handler
[ 0.038188] Registered setend emulation handler
[ 0.038202] KASLR disabled due to lack of seed
[ 0.038652] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.038675] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.040223] pinctrl core: initialized pinctrl subsystem
[ 0.042269] DMI not present or invalid.
[ 0.042953] NET: Registered protocol family 16
[ 0.045335] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.045387] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.045547] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.045641] audit: initializing netlink subsys (disabled)
[ 0.045837] audit: type=2000 audit(0.044:1): state=initialized audit_enabled=0 res=1
[ 0.047716] thermal_sys: Registered thermal governor โ€˜step_wiseโ€™
[ 0.047723] thermal_sys: Registered thermal governor โ€˜power_allocatorโ€™
[ 0.048682] cpuidle: using governor menu
[ 0.049140] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.049260] ASID allocator initialised with 32768 entries
[ 0.051839] Serial: AMBA PL011 UART driver
[ 0.114228] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.114246] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.114257] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.114266] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.115674] cryptd: max_cpu_qlen set to 1000
[ 0.118555] ACPI: Interpreter disabled.
[ 0.122112] iommu: Default domain type: Translated
[ 0.122352] vgaarb: loaded
[ 0.122711] SCSI subsystem initialized
[ 0.123154] usbcore: registered new interface driver usbfs
[ 0.123210] usbcore: registered new interface driver hub
[ 0.123249] usbcore: registered new device driver usb
[ 0.124291] pps_core: LinuxPPS API ver. 1 registered
[ 0.124301] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
[ 0.124322] PTP clock support registered
[ 0.124497] EDAC MC: Ver: 3.0.0
[ 0.124964] CPUidle PSCI: Initialized CPU PM domain topology
[ 0.126620] qcom_scm: convention: smc arm 32
[ 0.128225] FPGA manager framework
[ 0.128337] Advanced Linux Sound Architecture Driver Initialized.
[ 0.129718] clocksource: Switched to clocksource arch_sys_counter
[ 0.129933] VFS: Disk quotas dquot_6.6.0
[ 0.130002] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.130267] pnp: PnP ACPI: disabled
[ 0.138038] NET: Registered protocol family 2
[ 0.138739] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 0.138826] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.138919] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.139074] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.139211] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.139254] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.139428] NET: Registered protocol family 1
[ 0.139908] RPC: Registered named UNIX socket transport module.
[ 0.139918] RPC: Registered udp transport module.
[ 0.139926] RPC: Registered tcp transport module.
[ 0.139933] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.139948] PCI: CLS 0 bytes, default 64
[ 0.140141] Unpacking initramfsโ€ฆ
[ 0.140159] Initramfs unpacking failed: invalid magic at start of compressed archive
[ 0.141045] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.141552] kvm [1]: HYP mode not available
[ 0.143421] Initialise system trusted keyrings
[ 0.143576] workingset: timestamp_bits=42 max_order=18 bucket_order=0
[ 0.151520] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.152282] NFS: Registering the id_resolver key type
[ 0.152315] Key type id_resolver registered
[ 0.152324] Key type id_legacy registered
[ 0.152456] nfs4filelayout_init: NFSv4 File Layout Driver Registeringโ€ฆ
[ 0.152652] 9p: Installing v9fs 9p2000 file system support
[ 0.207170] Key type asymmetric registered
[ 0.207181] Asymmetric key parser โ€˜x509โ€™ registered
[ 0.207224] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 0.207234] io scheduler mq-deadline registered
[ 0.207242] io scheduler kyber registered
[ 0.223912] EINJ: ACPI disabled.
[ 0.247609] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.251116] SuperH (H)SCI(F) driver initialized
[ 0.252139] msm_serial 78af000.serial: msm_serial: detected port #1
[ 0.252178] msm_serial 78af000.serial: uartclk = 19200000
[ 0.252235] 78af000.serial: ttyMSM1 at MMIO 0x78af000 (irq = 38, base_baud = 1200000) is a MSM
[ 0.252932] msm_serial 78b0000.serial: msm_serial: detected port #0
[ 0.252971] msm_serial 78b0000.serial: uartclk = 7372800
[ 0.253021] 78b0000.serial: ttyMSM0 at MMIO 0x78b0000 (irq = 39, base_baud = 460800) is a MSM
[ 0.253045] msm_serial: console setup on port #0
[ 1.153337] printk: console [ttyMSM0] enabled
[ 1.158552] msm_serial: driver initialized
[ 1.164465] qcom-iommu 1ef0000.iommu: iommu sec: pgtable size: 94208
[ 1.225453] loop: module loaded
[ 1.226968] megasas: 07.714.04.00-rc1
[ 1.233291] spi_qup 78b7000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[ 1.234768] spi_qup 78b9000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[ 1.241184] spmi spmi-0: PMIC arbiter version v2 (0x20010000)
[ 1.317085] libphy: Fixed MDIO Bus: probed
[ 1.319010] tun: Universal TUN/TAP device driver, 1.6
[ 1.321453] thunder_xcv, ver 1.0
[ 1.325295] thunder_bgx, ver 1.0
[ 1.328550] nicpf, ver 1.0
[ 1.333802] hclge is initializing
[ 1.334237] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[ 1.337606] hns3: Copyright ยฉ 2017 Huawei Corporation.
[ 1.344798] e1000: Intelยฎ PRO/1000 Network Driver
[ 1.350204] e1000: Copyright ยฉ 1999-2006 Intel Corporation.
[ 1.354848] e1000e: Intelยฎ PRO/1000 Network Driver
[ 1.360705] e1000e: Copyrightยฉ 1999 - 2015 Intel Corporation.
[ 1.365795] igb: Intelยฎ Gigabit Ethernet Network Driver
[ 1.371384] igb: Copyright ยฉ 2007-2014 Intel Corporation.
[ 1.376979] igbvf: Intelยฎ Gigabit Virtual Function Network Driver
[ 1.382323] igbvf: Copyright ยฉ 2009 - 2012 Intel Corporation.
[ 1.389125] sky2: driver version 1.30
[ 1.396148] usbcore: registered new interface driver rtl8150
[ 1.398338] usbcore: registered new interface driver r8152
[ 1.404074] usbcore: registered new interface driver asix
[ 1.409352] usbcore: registered new interface driver ax88179_178a
[ 1.414820] usbcore: registered new interface driver cdc_ether
[ 1.420895] usbcore: registered new interface driver net1080
[ 1.426624] usbcore: registered new interface driver cdc_subset
[ 1.432440] usbcore: registered new interface driver zaurus
[ 1.438104] usbcore: registered new interface driver cdc_ncm
[ 1.443820] VFIO - User Level meta-driver version: 0.3
[ 1.452487] ehci_hcd: USB 2.0 โ€˜Enhancedโ€™ Host Controller (EHCI) Driver
[ 1.454511] ehci-pci: EHCI PCI platform driver
[ 1.461013] ehci-platform: EHCI generic platform driver
[ 1.465620] ehci-orion: EHCI orion driver
[ 1.470696] ehci-exynos: EHCI Exynos driver
[ 1.474828] ohci_hcd: USB 1.1 โ€˜Openโ€™ Host Controller (OHCI) Driver
[ 1.478694] ohci-pci: OHCI PCI platform driver
[ 1.484964] ohci-platform: OHCI generic platform driver
[ 1.489550] ohci-exynos: OHCI Exynos driver
[ 1.494668] usbcore: registered new interface driver usb-storage
[ 1.498751] usbcore: registered new interface driver usbserial_generic
[ 1.504914] usbserial: USB Serial support registered for generic
[ 1.531669] usb3503 usb2513: switched to HUB mode
[ 1.531692] usb3503 usb2513: usb3503_probe: probed in hub mode
[ 1.552488] i2c /dev entries driver
[ 1.553891] i2c_qup 78b6000.i2c: using default clock-frequency 100000
[ 1.554786] i2c_qup 78b6000.i2c:
[ 1.554786] tx channel not available
[ 1.562221] i2c_qup 78b8000.i2c: using default clock-frequency 100000
[ 1.568184] i2c_qup 78b8000.i2c:
[ 1.568184] tx channel not available
[ 1.583801] i2c_qup 78ba000.i2c: using default clock-frequency 100000
[ 1.583837] i2c_qup 78ba000.i2c:
[ 1.583837] tx channel not available
[ 1.602966] input: pm8941_pwrkey as /devices/platform/soc/200f000.spmi/spmi-0/0-00/200f000.spmi:pmic@0:pon@800/200f000.spmi:pmic@0:pon@800:pwrkey/input/input0
[ 1.613178] input: pm8941_pwrkey as /devices/platform/soc/200f000.spmi/spmi-0/0-00/200f000.spmi:pmic@0:pon@800/200f000.spmi:pmic@0:pon@800:resin/input/input1
[ 1.636676] sdhci: Secure Digital Host Controller Interface driver
[ 1.636705] sdhci: Copyrightยฉ Pierre Ossman
[ 1.642578] Synopsys Designware Multimedia Card Interface Driver
[ 1.647767] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.655065] sdhci_msm 7864900.sdhci: Got CD GPIO
[ 1.661902] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.664295] usbcore: registered new interface driver usbhid
[ 1.668505] usbhid: USB HID core driver
[ 1.676380] genirq: irq_chip msmgpio did not update eff. affinity mask of irq 79
[ 1.682772] usbcore: registered new interface driver snd-usb-audio
[ 1.687060] NET: Registered protocol family 10
[ 1.692368] Segment Routing with IPv6
[ 1.695719] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.699887] NET: Registered protocol family 17
[ 1.705271] 9pnet: Installing 9P2000 support
[ 1.709691] Key type dns_resolver registered
[ 1.714862] registered taskstats version 1
[ 1.718328] Loading compiled-in X.509 certificates
[ 1.772242] debugfs: Directory โ€˜4a9000.thermal-sensorโ€™ with parent โ€˜tsensโ€™ already present!
[ 1.777873] s1: Bringing 0uV into 375000-375000uV
[ 1.778906] sdhci_msm 7864900.sdhci: Got CD GPIO
[ 1.779637] s1: supplied by regulator-dummy
[ 1.782315] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[ 1.783520] ALSA device list:
[ 1.783527] No soundcards found.
[ 1.799108] sdhci_msm 7864900.sdhci: Got CD GPIO
[ 1.800077] s2: supplied by regulator-dummy
[ 1.810838] s3: Bringing 0uV into 375000-375000uV
[ 1.811007] s3: supplied by regulator-dummy
[ 1.819597] s4: Bringing 0uV into 1800000-1800000uV
[ 1.823899] s4: supplied by regulator-dummy
[ 1.828459] l1: Bringing 0uV into 375000-375000uV
[ 1.832689] l1: supplied by s3
[ 1.837451] l2: Bringing 0uV into 1200000-1200000uV
[ 1.840465] l2: supplied by s3
[ 1.845172] l3: Bringing 0uV into 375000-375000uV
[ 1.848363] l3: supplied by s3
[ 1.853096] l4: Bringing 0uV into 1750000-1750000uV
[ 1.856091] l4: supplied by s4
[ 1.860802] l5: Bringing 0uV into 1750000-1750000uV
[ 1.863984] l5: supplied by s4
[ 1.868706] l6: Bringing 0uV into 1800000-1800000uV
[ 1.871884] l6: supplied by s4
[ 1.876614] l7: Bringing 0uV into 1750000-1750000uV
[ 1.879788] l7: supplied by s4
[ 1.884505] l8: Bringing 0uV into 1750000-1750000uV
[ 1.887713] l8: supplied by regulator-dummy
[ 1.892406] l9: Bringing 0uV into 1750000-1750000uV
[ 1.896643] l9: supplied by regulator-dummy
[ 1.901444] l10: Bringing 0uV into 1750000-1750000uV
[ 1.905678] l10: supplied by regulator-dummy
[ 1.910811] l11: Bringing 0uV into 1750000-1750000uV
[ 1.915142] l11: supplied by regulator-dummy
[ 1.920009] l12: Bringing 0uV into 1750000-1750000uV
[ 1.924352] l12: supplied by regulator-dummy
[ 1.929231] l13: Bringing 0uV into 1750000-1750000uV
[ 1.933544] l13: supplied by regulator-dummy
[ 1.938423] l14: Bringing 0uV into 1750000-1750000uV
[ 1.942761] l14: supplied by regulator-d๏ฟฝ[ 1.952499] l15: supplied by regulator-dummy
[ 1.952606] l16: Bringing 0uV into 1750000-1750000uV
[ 1.956005] l16: supplied by regulator-dummy
[ 1.960862] l17: Bringing 0uV into 3300000-3300000uV
[ 1.965185] l17: supplied by regulator-dummy
[ 1.970085] l18: Bringing 0uV into 1750000-1750000uV
[ 1.974402] l18: supplied by regulator-dummy
[ 1.979482] Waiting for root device /dev/mmcblk0p14โ€ฆ
[ 1.981324] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 1.988413] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 2.009843] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 2.010724] hub 1-0:1.0: USB hub found
[ 2.014252] hub 1-0:1.0: 1 port detected
[ 2.023555] sdhci_msm 7864900.sdhci: Got CD GPIO
[ 2.055245] mmc0: SDHCI controller on 7824900.sdhci [7824900.sdhci] using ADMA 64-bit
[ 2.055867] mmc1: SDHCI controller on 7864900.sdhci [7864900.sdhci] using ADMA 64-bit
[ 2.132268] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[ 2.133549] mmcblk1: mmc1:aaaa SM32G 29.7 GiB
[ 2.150363] random: fast init done
[ 2.152896] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 2.152920] GPT:812475 != 62333951
[ 2.157471] mmc0: new HS200 MMC card at address 0001
[ 2.160229] GPT:Alternate GPT header not at the end of the disk.
[ 2.164313] mmcblk0: mmc0:0001 S10008 7.13 GiB
[ 2.168554] GPT:812475 != 62333951
[ 2.168557] GPT: Use GNU Parted to correct GPT errors.
[ 2.168596] mmcblk1: p1 p2 p3 p4 p5 p6 p7
[ 2.174798] mmcblk0boot0: mmc0:0001 S10008 partition 1 4.00 MiB
[ 2.191749] mmcblk0boot1: mmc0:0001 S10008 partition 2 4.00 MiB
[ 2.197625] mmcblk0rpmb: mmc0:0001 S10008 partition 3 4.00 MiB, chardev (234:0)
[ 2.207759] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14
[ 2.256773] EXT4-fs (mmcblk0p14): recovery complete
[ 2.257833] EXT4-fs (mmcblk0p14): mounted filesystem with ordered data mode. Opts: (null)
[ 2.260516] VFS: Mounted root (ext4 filesystem) on device 179:46.
[ 2.269646] devtmpfs: mounted
[ 2.278176] Freeing unused kernel memory: 6656K
[ 2.278296] Run /sbin/init as init process
[ 2.283074] Run /etc/init as init process
[ 2.286860] Run /bin/init as init process
[ 2.291166] Run /bin/sh as init process
[ 2.353904] usb 1-1: new high-speed USB device number 2 using ci_hdrc
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
sh-5.0# [ 2.514808] hub 1-1:1.0: USB hub found
[ 2.515681] hub 1-1:1.0: 3 ports detected

sh-5.0# uname -a
Linux (none) 5.10.7+linaro #1 SMP PREEMPT Wed Apr 21 13:29:39 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
sh-5.0#

opkg Segmentation fault

Hi!

I am having constant SegFaults on the do_rootfs task:

ERROR: rpb-weston-image-1.0-r0 do_rootfs: Unable to install packages. Command '/media/Android/yocto/build-rpb-wayland/tmp-rpb_wayland-glibc/work/hikey960-linaro-linux/rpb-weston-image/1.0-r0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /media/Android/yocto/build-rpb-wayland/tmp-rpb_wayland-glibc/work/hikey960-linaro-linux/rpb-weston-image/1.0-r0/opkg.conf -t /media/Android/yocto/build-rpb-wayland/tmp-rpb_wayland-glibc/work/hikey960-linaro-linux/rpb-weston-image/1.0-r0/temp/ipktemp/ -o /media/Android/yocto/build-rpb-wayland/tmp-rpb_wayland-glibc/work/hikey960-linaro-linux/rpb-weston-image/1.0-r0/rootfs --force_postinstall --prefer-arch-to-version install base-passwd kernel-modules opkg packagegroup-base-extended packagegroup-core-boot packagegroup-core-ssh-openssh packagegroup-core-tools-debug packagegroup-rpb packagegroup-rpb-weston psplash run-postinsts shadow' returned -11:

When running this command manually I get following output at the end:

Installing libe2p2 (1.44.3) on root
Segmentation fault (core dumped)

My build configuration is:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.10"
TARGET_SYS = "aarch64-linaro-linux"
MACHINE = "hikey960"
DISTRO = "rpb-wayland"
DISTRO_VERSION = "2.4+linaro"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta-rpb = "HEAD:c108b06650ed7a5b8fa3e4e00bd335927ae1ac6b"
meta-oe
meta-gnome
meta-xfce
meta-initramfs
meta-multimedia
meta-networking
meta-webserver
meta-filesystems
meta-perl
meta-python = "HEAD:ebc7b9e20ac22f6f2ad373621917f53e8a9af81c"
meta-rust = "HEAD:4c9068bd0913633eafe7188147988e21f52fe31a"
meta-browser = "HEAD:d59e2ff84e293e062b5812b63e617a0c5c543127"
meta-qt5 = "HEAD:f22750291b224a3ee68456f0319ba18d428e197a"
meta-virtualization = "HEAD:73a3d809478dd004998ae4ea095d5f66ed17c465"
meta-clang = "HEAD:9dd55e6fb47b10a507dab9928de36647cebaf827"
meta-intel = "HEAD:13ae1339c24a5d431274bdd324048f1043045ae5"
meta-qcom = "HEAD:b03212707cec5c49bde4e1d6afb58513e1731318"
meta-96boards = "HEAD:10af9ab9265184ae90e0b62e9de0594119159922"
meta-ti = "HEAD:53f0eecf8729c79b664a134a74659c515cb39c7a"
meta-linaro
meta-linaro-toolchain
meta-optee = "HEAD:edb7ffc2a121df7596385595abe75180296103e0"
meta = "HEAD:790828a65316fee57cd7659ad8b7544de5d2610c"

repo init fail

tanureal@tanurealDebian rpb repo init -u https://github.com/96boards/oe-rpb-manifest.git -b morty
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
remote: Finding sources: 100% (86/86)
remote: Total 86 (delta 40), reused 86 (delta 40)
Unpacking objects: 100% (86/86), done.
From https://gerrit.googlesource.com/git-repo
c94d6eb..788e962 master -> origin/master
Get https://github.com/96boards/oe-rpb-manifest.git
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
remote: Counting objects: 887, done.
remote: Total 887 (delta 0), reused 0 (delta 0), pack-reused 887
Receiving objects: 100% (887/887), 160.79 KiB | 0 bytes/s, done.
Resolving deltas: 100% (485/485), done.
From https://github.com/96boards/oe-rpb-manifest

  • [new branch] jethro -> origin/jethro
  • [new branch] krogoth -> origin/krogoth
  • [new branch] master -> origin/master
  • [new branch] morty -> origin/morty
  • [new branch] pyro -> origin/pyro
  • [new branch] qcom/morty -> origin/qcom/morty
  • [new branch] release -> origin/release
  • [new tag] 16.06 -> 16.06
  • [new tag] 16.12 -> 16.12

Your identity is: Lucas Tanure [email protected]
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /media/workspace/hikey960/rpb

Change to meta-browser

Hello,

The team that works on the layer meta-browser changed some stuff on master and now this needs meta-rust to build meta-broswer. I ran into this issue while on the pyro branch but seems to be an issue on most of them.

[QC] Crash Dump / EDL

Is there a way to enable crash dump mode on the QC/Linaro builds?

That's when you get a crash of any kind, and it transitions to EDL/RAM dump mode, and then use QPST to harvest the RAM image.

The other is transitioning to EDL from HLOS via SCM call. This is used in board farms for putting device into known state via EDL flash.

DragonBoard 410c / SDK / gcc lib install location

I've built and installed a DragonBoard SDK (core-image-minimal). Then I use the resultant sysroot post SDK install to cross compile tip-of-the-tree Clang for host, cross compile compiler-rt, libunwind, libcxxabi, and libcxx for target (aarch64).

Using "-v" I see Clang 8.0 discover:
/usr/local/rpb-wayland-x86_64/sysroots/aarch64-linaro-linux/usr/lib64/gcc/aarch64-linaro-linux/6.2.1/

When I go to cross-compile compiler-rt (the first in the stack), the build fails looking for .o files only found in: /usr/local/rpb-wayland-x86_64/sysroots/aarch64-linaro-linux/usr/lib64/aarch64-linaro-linux/6.2.1/

If I copy the contents of from the non-gcc folder into the gcc folder, it builds and links.

"gcc folder"
/usr/local/rpb-wayland-x86_64/sysroots/aarch64-linaro-linux/usr/lib64/gcc/aarch64-linaro-linux/6.2.1/

"non-gcc folder"
/usr/local/rpb-wayland-x86_64/sysroots/aarch64-linaro-linux/usr/lib64/aarch64-linaro-linux/6.2.1/

I think the contents of the "non-gcc folder" should only exist in the "gcc folder".

Cannot build rbp-*-image.

The openembedded-core seems removed image_types_uboot.bbclass in their commit 65f27122950a35a67ce39ae4cfe93d0dca6b0dab.
It makes the bb which inherits image_types_uboot fail.

Need support for EULA

Some BSP will need EULA to be accepted. the meta-qcom layer for example has it. we need a mechanism to handle that (the QCOM oe-setup script have it already, it needs to be brought into oe-rpb-manifest)

Getting wl_shm error Running qcom/master on RB5

Can't launch weston. No weston-launch (has been deprecated), and get this output:
"Error: Failed to retrieve wl_shm from parent Wayland compositor".

Steps:

  1. Built from branch qcom/master
  2. Built rpb-wayland for qcom/armv8a machine
  3. Flashed
  4. Never got a UI, so from linaro console, set WAYLAND_DISPLAY to /run/wayland-0
  5. Ran command WAYLAND_DISPLAY=/run/wayland-0 LIBSEAT_BACKEND=logind weston

Launches but cursor just blinks forever, sometimes locks up RB5 device.

go-fsnotify GitHub link is broken

github link has changed. 'meta-virtualization' has to be set to at least

http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/recipes-devtools/go/go-fsnotify_git.bb?id=e63819669747585baa0284528ac76bdd34fc9e78

Error log:
ERROR: go-fsnotify-1.2.11+git836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6-r0 do_fetch: Fetcher failure: Unable to find revision 836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6 in branch master even from upstream ERROR: go-fsnotify-1.2.11+git836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6-r0 do_fetch: Fetcher failure for URL: 'git://github.com/go-fsnotify/fsnotify.git'. Unable to fetch URL from any source. ERROR: go-fsnotify-1.2.11+git836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6-r0 do_fetch: Function failed: base_do_fetch ERROR: Logfile of failure stored in: /home/behlingc/dragonboard/build-rpb/tmp-rpb-glibc/work/aarch64-linaro-linux/go-fsnotify/1.2.11+git836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6-r0/temp/log.do_fetch.9633 ERROR: Task (/home/behlingc/dragonboard/build-rpb/conf/../../layers/meta-virtualization/recipes-devtools/go/go-fsnotify_git.bb:do_fetch) failed with exit code '1'

Cannot build with the sumo branch

We are trying to configure LUV (Linux UEFI Validation) using the OE-RPB model. We tried to build the oe-rpb-manifest with the default morty branch and everything builds fine. However, if we switch to the sumo branch, we see the error below.

error log

ERROR: Unable to parse /home/km/Documents/rpb-yocto-tue/oe-rpb-manifest/bitbake/lib/bb/data_smart.py
Traceback (most recent call last):
File "/home/km/Documents/rpb-yocto-tue/oe-rpb-manifest/bitbake/lib/bb/data_smart.py", line 401, in DataSmart.ex pandWithRefs(s="${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR}", varname='PATH[ :=]'):
raise ExpansionError(varname, s, exc) from exc

bb.data_smart.ExpansionError: Failure expanding variable PATH[:=], expression was ${@os.path.dirname(bb.utils.whi ch(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR} which triggered exception TypeError: getVar() missing 1 require d positional argument: 'expand'

Build failure - unable to find Kernel revision

Hi,

I tried to build the jethro branch. Configuration

MACHINE = hikey
SDKMACHINE = x86_64
DISTRO = rpb-wayland

It fails with the following error:

NOTE: Running task 886 of 3561 (ID: 50, /home/zoltan.kuscsik/rpb/build-rpb-wayland/conf/../../layers/meta-96boards/recipes-kernel/linux/linux-96boards_4.4.bb, do_fetch)
NOTE: recipe linux-96boards-4.4.11+git-r0: task do_fetch: Started
WARNING: Failed to fetch URL git://github.com/96boards/linux.git;protocol=https;branch=96b/releases/2016.06;name=kernel, attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find revision 78f9b1f7f80a0f7de88f556739333e4ac1ec5945 in branch 96b/releases/2016.06 even from upstream
ERROR: Function failed: Fetcher failure for URL: 'git://github.com/96boards/linux.git;protocol=https;branch=96b/releases/2016.06;name=kernel'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/zoltan.kuscsik/rpb/build-rpb-wayland/tmp-rpb_wayland-glibc/work/hikey-oe-linux/linux-96boards/4.4.11+git-r0/temp/log.do_fetch.16859
NOTE: recipe linux-96boards-4.4.11+git-r0: task do_fetch: Failed
ERROR: Task 50 (/home/zoltan.kuscsik/rpb/build-rpb-wayland/conf/../../layers/meta-96boards/recipes-kernel/linux/linux-96boards_4.4.bb, do_fetch) failed with exit code '1'
NOTE: recipe gcc-cross-aarch64-linaro-5.2-r2015.11-2: task do_compile: Succeeded
NOTE: Tasks Summary: Attempted 887 tasks of which 756 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

setup-environment - Cancel button not working

Steps to reproduce:

Run:

$ . setup-environment

Press "Cancel" during build target selection.

Issue: The setup scripts still continues. "Cancel" script seems to have undefined behaviour.

hikey960 rpb-console-image fail

Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Debian-9.1"
TARGET_SYS = "aarch64-linaro-linux"
MACHINE = "hikey960"
DISTRO = "rpb"
DISTRO_VERSION = "2.2+linaro"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta-rpb = "HEAD:543c07813f4214730bbc2aa8eae4009d1db0fb7c"

DEBUG: Executing shell function do_install
NOTE: make -j 16 DESTDIR=/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image install
make install-recursive
make[1]: Entering directory '/media/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/build'
Making install in .
make[2]: Entering directory '/media/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/build'
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/loaders/libltdl_libltdl_la-preopen.lo test -f 'libltdl/loaders/preopen.c' || echo '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/'libltdl/loaders/preopen.c
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/libltdl_libltdl_la-lt__alloc.lo test -f 'libltdl/lt__alloc.c' || echo '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/'libltdl/lt__alloc.c
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/libltdl_libltdl_la-lt_dlloader.lo test -f 'libltdl/lt_dlloader.c' || echo '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/'libltdl/lt_dlloader.c
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/libltdl_libltdl_la-lt_error.lo test -f 'libltdl/lt_error.c' || echo '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/'libltdl/lt_error.c
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/libltdl_libltdl_la-ltdl.lo test -f 'libltdl/ltdl.c' || echo '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/'libltdl/ltdl.c
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/libltdl_libltdl_la-slist.lo test -f 'libltdl/slist.c' || echo '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/'libltdl/slist.c
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/loaders/dlopen.lo ../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/loaders/dlopen.c
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/lt__strl.lo ../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/lt__strl.c
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
./x86_64-linux-libtool --tag=CC --mode=link gcc -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -module -avoid-version -L/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/lib -L/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/lib -Wl,-rpath,/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/lib -Wl,-O1 -o libltdl/dlopen.la libltdl/loaders/dlopen.lo -ldl
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
./x86_64-linux-libtool --tag=CC --mode=link gcc -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -no-undefined -version-info 10:1:3 -dlpreopen libltdl/dlopen.la -L/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/lib -L/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/lib -Wl,-rpath,/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/lib -Wl,-O1 -o libltdl/libltdl.la -rpath /home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/lib libltdl/loaders/libltdl_libltdl_la-preopen.lo libltdl/libltdl_libltdl_la-lt__alloc.lo libltdl/libltdl_libltdl_la-lt_dlloader.lo libltdl/libltdl_libltdl_la-lt_error.lo libltdl/libltdl_libltdl_la-ltdl.lo libltdl/libltdl_libltdl_la-slist.lo libltdl/lt__strl.lo
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
make[3]: Entering directory '/media/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/build'
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/loaders/libltdl_libltdl_la-preopen.lo test -f 'libltdl/loaders/preopen.c' || echo '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/'libltdl/loaders/preopen.c
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/libltdl_libltdl_la-lt__alloc.lo test -f 'libltdl/lt__alloc.c' || echo '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/'libltdl/lt__alloc.c
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/libltdl_libltdl_la-lt_dlloader.lo test -f 'libltdl/lt_dlloader.c' || echo '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/'libltdl/lt_dlloader.c
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/libltdl_libltdl_la-lt_error.lo test -f 'libltdl/lt_error.c' || echo '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/'libltdl/lt_error.c
/bin/mkdir -p '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/bin'
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/libltdl_libltdl_la-ltdl.lo test -f 'libltdl/ltdl.c' || echo '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/'libltdl/ltdl.c
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/libltdl_libltdl_la-slist.lo test -f 'libltdl/slist.c' || echo '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/'libltdl/slist.c
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/loaders/dlopen.lo ../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/loaders/dlopen.c
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6 -Ilibltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl -Ilibltdl/libltdl -I../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o libltdl/lt__strl.lo ../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/lt__strl.c
/bin/mkdir -p '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include'
/usr/bin/install -c x86_64-linux-libtool '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/bin'
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
/bin/mkdir -p '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include/libltdl'
/usr/bin/install -c -m 644 ../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/ltdl.h '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include'
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
/bin/mkdir -p '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/info'
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
/usr/bin/install -c -m 644 ../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl/lt_system.h ../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl/lt_error.h ../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/libltdl/libltdl/lt_dlloader.h '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include/libltdl'
/usr/bin/install -c -m 644 ../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/doc/libtool.info ../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/doc/libtool.info-1 ../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/doc/libtool.info-2 '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/info'
GREP='grep' SED='sed' '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/build-aux/inline-source' libtoolize > '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/bin/libtoolize'
../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/build-aux/inline-source: 1: cd: can't cd to ../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/build-aux
env: '/inline-source': No such file or directory
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
env: '/inline-source': No such file or directory
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
env: '/inline-source': No such file or directory
rm -rf '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/libtool'/*
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
install-info --info-dir='/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/info' '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/info/libtool.info'
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
./x86_64-linux-libtool --tag=CC --mode=link gcc -isystem/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -module -avoid-version -L/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/lib -L/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/lib -Wl,-rpath,/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/lib -Wl,-O1 -o libltdl/dlopen.la libltdl/loaders/dlopen.lo -ldl
/bin/bash: /install-sh: No such file or directory
/usr/bin/install -c -m 644 '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/m4/libtool.m4' '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/aclocal/libtool.m4'
/usr/bin/install: cannot create regular file '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/aclocal/libtool.m4': No such file or directory
/bin/bash: /install-sh: No such file or directory
/usr/bin/install -c -m 644 '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/m4/ltargz.m4' '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/aclocal/ltargz.m4'
ERROR: oe_runmake failed
/usr/bin/install: cannot create regular file '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/aclocal/ltargz.m4': No such file or directory
./x86_64-linux-libtool: line 1033: func_split_equals: command not found
./x86_64-linux-libtool: line 1079: func_append: command not found
/bin/bash: /install-sh: No such file or directory
/usr/bin/install -c -m 644 '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/m4/ltdl.m4' '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/aclocal/ltdl.m4'
/usr/bin/install: cannot create regular file '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/aclocal/ltdl.m4': No such file or directory
/bin/bash: /install-sh: No such file or directory
/usr/bin/install -c -m 644 '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/m4/ltoptions.m4' '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/aclocal/ltoptions.m4'
/usr/bin/install: cannot create regular file '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/aclocal/ltoptions.m4': No such file or directory
/bin/bash: /install-sh: No such file or directory
/usr/bin/install -c -m 644 '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/m4/ltsugar.m4' '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/aclocal/ltsugar.m4'
/usr/bin/install: cannot create regular file '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/aclocal/ltsugar.m4': No such file or directory
/bin/bash: /install-sh: No such file or directory
/usr/bin/install -c -m 644 '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/m4/ltversion.m4' '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/aclocal/ltversion.m4'
/usr/bin/install: cannot create regular file '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/aclocal/ltversion.m4': No such file or directory
/bin/bash: /install-sh: No such file or directory
/usr/bin/install -c -m 644 '../../../../../../../../../../../home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/m4/ltobsolete.m4' '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/aclocal/ltobsolete.m4'
/usr/bin/install: cannot create regular file '/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/image/home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/sysroots/x86_64-linux/usr/share/aclocal/lt~obsolete.m4': No such file or directory
Makefile:2266: recipe for target 'install-data-local' failed
make[3]: *** [install-data-local] Error 1
make[3]: *** Waiting for unfinished jobs....
./x86_64-linux-libtool: line 9822: func_fatal_help: command not found
./x86_64-linux-libtool: line 9826: func_fatal_help: command not found
make[3]: Leaving directory '/media/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/build'
Makefile:1859: recipe for target 'install-am' failed
make[2]: *** [install-am] Error 2
make[2]: Leaving directory '/media/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/build'
Makefile:1551: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/media/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/build'
Makefile:1853: recipe for target 'install' failed
make: *** [install] Error 2
ERROR: Function failed: do_install (log file is located at /home/tanureal/workspace/hikey960/rpb/build-rpb/tmp-rpb-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/temp/log.do_install.3424)

Cannot Bind UVC ConfigFS Configuration to UDC

Hi Guys, hoping somebody has been successful with UVC on the RB5 before. I'm trying to get UVC going on a Qualcomm RB5 using the qcom/dunfell OE-RPB build but cannot seem to bind the ConfigFS configuration to the UDC. I'm not sure if I missed a kernel config item, or if UDC depends on a perfect ConfigFS directory structure prior to the binding, but I'm hitting a wall.

I've attached my kernel configuration, my configFS script, and my dmesg log after trying to bind. I have not tried turning the ConfigFS script into a service that runs on boot yet. The cameras I've tried are a Logitech BRIO301 and a Logitech C920.

I put some printk statements into drivers/usb/gadget/udc/core.c (different dmesg log than below) in usb_gadget_probe_driver() and it appears the udc is not in the UDC master list, because the string compare fails as udc_name has a string but udc->dev is empty. So it seems like the -19 error is because something is wrong with the UDC probe going south.

    mutex_lock(&udc_lock);
    if (driver->udc_name) {
            list_for_each_entry(udc, &udc_list, list) {
                    ret = strcmp(driver->udc_name, dev_name(&udc->dev));

                    printk("****DEBUG: Driver->udc_name: %s\n", driver->udc_name);
                    printk("****DEBUG: udc->dev name: %s\n", &udc->dev);

                    if (!ret)
                            break;
            }
            if (ret)
                    ret = -ENODEV;
            else if (udc->driver)
                    ret = -EBUSY;
            else
                    goto found;

<<

udc_name comes up as the port a600000.usb, but udc->dev comes up blank. So it seems like there's some UDC probe issue.

I can use the cameras fine to display video with a simple gstreamer pipeline, but cannot get them to present a video device on my host laptop.

-Robert (files attached through link below)
uvc.txt

the manifest branch should be 'master' and jethro, and etc.. not oe-rpb-manifest

it doesn't really make sense to use the branch 'oe-rpb-manifest'. Since RPB is expected to track 'stable' version of OE, we can either create a 'jethro' branch (and then a similar branch for next releases). that would allow us to create a 'master' branch to track OE master should we need or want it.

or alternatively, we could decide that the manifest 'master' branch always tracks the 'stable' OE, so we work out of master, which makes init easier. And we create a 'jethro' branch when master switches to next OE..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.