Error while building a custom linux image

I am building custom linux image by following developer link to build custom image for my project which contains all libraries for Qt5.

I get the following error after stating the build but the build continues after error also.

binariesystem343@binariesystem343:~/oe-core/build$ bitbake -k angstrom-lxde-image
Loading cache: 100% |##########################################################| Time: 0:00:01
Loaded 3900 entries from dependency cache.
WARNING: No recipes available for:
  /home/binariesystem343/oe-core/build/../layers/meta-freescale/dynamic-layers/browser-layer/recipes-browser/chromium/chromium-wayland_48.0.2548.0.bbappend
  /home/binariesystem343/oe-core/build/../layers/meta-freescale/dynamic-layers/browser-layer/recipes-browser/chromium/chromium_52.0.2743.76.bbappend
  /home/binariesystem343/oe-core/build/../layers/meta-toradex-tegra/recipes-graphics/wayland/weston_1.%.bbappend
  /home/binariesystem343/oe-core/build/../layers/meta-toradex-tegra/jetson-tk1/recipes-graphics/xorg-xserver/xserver-xorg_1.17.2.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION           = "1.36.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "arm-angstrom-linux-gnueabi"
MACHINE              = "colibri-imx7-emmc"
DISTRO               = "angstrom"
DISTRO_VERSION       = "v2017.12"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta-angstrom        = "HEAD:4318892e08ea9102d29bdd92af83539bea985e4b"
meta-toradex-nxp     = "HEAD:dcb75200b15086bcd69f7ff396da7caf413ffb93"
meta-freescale       = "HEAD:1d40ea34fc2c06af79fc59f6ea54f2e9335d61d6"
meta-freescale-3rdparty = "HEAD:9056f60d81abacc2d8ee0f83ef0f70dfeedc76c7"
meta-toradex-tegra   = "HEAD:16b6bd18785a7cc8d9024a071d3fbc968ff63e83"
meta-jetson-tk1      = "HEAD:b430756e711b6b29381c8467185f475f5a505f96"
meta-toradex-bsp-common = "HEAD:362865913ed40f6cadeaf9111cf83269dc111248"
meta-oe              
meta-filesystems     
meta-gnome           
meta-xfce            
meta-initramfs       
meta-networking      
meta-multimedia      
meta-python          = "HEAD:eae996301d9c097bcbeb8046f08041dc82bb62f8"
meta-lxde            = "HEAD:f436137fcc4ac700dc5c1b5e31e5b3c27568fc3e"
meta-browser         = "HEAD:75640e14e325479c076b6272b646be7a239c18aa"
meta-qt4             = "HEAD:e290738759ef3f39c9e079eaa9b606a62107e5ba"
meta-qt5             = "HEAD:180edd66444db330301f22266cac7d588fd48c6a"
meta-qt5-extra       = "HEAD:c16ba209a93c3e55f5aef07fbb1d584e228765b3"
meta-freescale-distro = "HEAD:51756d1c2058139c8a21f89b86cfd8007b71b7f0"
meta-toradex-demos   = "HEAD:c73893a3377ebb557b0fb41f75b26dff40da4442"
meta                 = "HEAD:3638cb32ba9ba32b4d498fc31ab7fdf82f0d2495"
Initialising tasks: 100% |#####################################################| Time: 0:00:27
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-libc-headers-4.12-r0 do_package_write_ipk: The recipe linux-libc-headers is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
  /home/binariesystem343/oe-core/deploy/ipk/armv7at2hf-neon/linux-libc-headers-dev_4.12-r0_armv7at2hf-neon.ipk
    (not matched to any task)
  /home/binariesystem343/oe-core/deploy/ipk/armv7at2hf-neon/linux-libc-headers-dbg_4.12-r0_armv7at2hf-neon.ipk
    (not matched to any task)
Please verify which recipe should provide the above files.
The build has stopped, as continuing in this scenario WILL break things - if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would, however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error, however switching DISTRO_FEATURES on an existing build directory is not supported - you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: linux-libc-headers-4.12-r0 do_package_write_ipk: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: linux-libc-headers-4.12-r0 do_package_write_ipk: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /home/binariesystem343/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/linux-libc-headers/4.12-r0/temp/log.do_package_write_ipk.5528
ERROR: Task (/home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_package_write_ipk) failed with exit code '1'
ERROR: base-files-3.0.14-r89 do_package_write_ipk: The recipe base-files is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
  /home/binariesystem343/oe-core/deploy/ipk/colibri_imx7_emmc/base-files-doc_3.0.14-r89_colibri_imx7_emmc.ipk
    (not matched to any task)
  /home/binariesystem343/oe-core/deploy/ipk/colibri_imx7_emmc/base-files_3.0.14-r89_colibri_imx7_emmc.ipk
    (not matched to any task)
  /home/binariesystem343/oe-core/deploy/ipk/colibri_imx7_emmc/base-files-dbg_3.0.14-r89_colibri_imx7_emmc.ipk
    (not matched to any task)
  /home/binariesystem343/oe-core/deploy/ipk/colibri_imx7_emmc/base-files-dev_3.0.14-r89_colibri_imx7_emmc.ipk
    (not matched to any task)
Please verify which recipe should provide the above files.
The build has stopped, as continuing in this scenario WILL break things - if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would, however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error, however switching DISTRO_FEATURES on an existing build directory is not supported - you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: base-files-3.0.14-r89 do_package_write_ipk: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: base-files-3.0.14-r89 do_package_write_ipk: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /home/binariesystem343/oe-core/build/tmp-glibc/work/colibri_imx7_emmc-angstrom-linux-gnueabi/base-files/3.0.14-r89/temp/log.do_package_write_ipk.6062
ERROR: Task (/home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/base-files/base-files_3.0.14.bb:do_package_write_ipk) failed with exit code '1'
Currently  4 running tasks (1590 of 8847)  17% |########                                     |
0: qemu-native-2.10.0-r0 do_compile - 567s (pid 4078)
1: qtbase-native-5.9.9+gitAUTOINC+86b933c430-r0 do_compile - 567s (pid 4083)
2: glibc-2.26-r0 do_compile - 471s (pid 1225)

Since i am new to building Linux images i may need help.
can you guide me what could be problem here?

I only edited the local.conf file to added Qt5 layers in the default file as below
#Image install addition to

IMAGE_INSTALL_append = " qt5-plugin-generic-vboxtouch qtbase qtcharts qtconnectivity qtdeclarative qtenginio qtgraphicaleffects qtimageformats qtlocation qtmultimedia qtquick1 qtquickcontrols2 qtquickcontrols qtscript qtsensors qtserialport qtsvg qtsystems qttools qttranslations qtvirtualkeyboard qtwebchannel qtxmlpatterns openssh-sftp-server gdb gdbserver "
    
 PACKAGECONFIG_append_pn-qtbase = " sql-sqlite"

And started build command.

The imag builds further.
I see a message which says that some directories need to be deleted and tried again but it is not specific.

Please suggest a solution so that i can build my first image sucessfully.

The build has stopped, as continuing in this scenario WILL break things - if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would, however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error, however switching DISTRO_FEATURES on an existing build directory is not supported - you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: gconf-3.2.6-r0 do_package_write_ipk: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: gconf-3.2.6-r0 do_package_write_ipk: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /home/binariesystem343/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/gconf/3.2.6-r0/temp/log.do_package_write_ipk.26172
ERROR: Task (/home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-gnome/gnome/gconf_3.2.6.bb:do_package_write_ipk) failed with exit code '1'
ERROR: sbc-1.3-r0 do_package_write_ipk: The recipe sbc is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
  /home/binariesystem343/oe-core/deploy/ipk/armv7at2hf-neon/libsbc-dbg_1.3-r0_armv7at2hf-neon.ipk
    (not matched to any task)
  /home/binariesystem343/oe-core/deploy/ipk/armv7at2hf-neon/libsbc-staticdev_1.3-r0_armv7at2hf-neon.ipk
    (not matched to any task)
  /home/binariesystem343/oe-core/deploy/ipk/armv7at2hf-neon/libsbc1_1.3-r0_armv7at2hf-neon.ipk
    (not matched to any task)
  /home/binariesystem343/oe-core/deploy/ipk/armv7at2hf-neon/libsbc-dev_1.3-r0_armv7at2hf-neon.ipk
    (not matched to any task)
  /home/binariesystem343/oe-core/deploy/ipk/armv7at2hf-neon/libsbc-examples_1.3-r0_armv7at2hf-neon.ipk
    (not matched to any task)
Please verify which recipe should provide the above files.
The build has stopped, as continuing in this scenario WILL break things - if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would, however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error, however switching DISTRO_FEATURES on an existing build directory is not supported - you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: sbc-1.3-r0 do_package_write_ipk: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: sbc-1.3-r0 do_package_write_ipk: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /home/binariesystem343/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/sbc/1.3-r0/temp/log.do_package_write_ipk.7772
ERROR: Task (/home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-multimedia/sbc/sbc_1.3.bb:do_package_write_ipk) failed with exit code '1'

Hi @nadim4114,

First of all, I’d suggest you do start over a new OpenEmbedded build, based on the instructions presented here:
https://developer.toradex.com/knowledge-base/board-support-package/openembedded-(core).

Just to be sure that your environment is OK, let us try to build a simple image, the “console minimal”, using for reference the LinuxImageV3.0 (stable) from Toradex.

After setting up the background for OpenEmbedded (as referenced in the link above), you can setup the BSP for LinuxImage3.0 with the following commands:

repo init -u http://git.toradex.com/toradex-bsp-platform.git -b LinuxImage3.0 -m default.xml
repo sync

After the synchronization of the repository, remember to execute the following command to setup the environment.

. export

And, after that, change the local.conf file to reference as MACHINE your colibri-imx7-emmc module, for example:

MACHINE ?= "colibri-imx7-emmc"

Remember that for NXP modules (like the iMX7) you have to add the following line to the local.conf file too:

ACCEPT_FSL_EULA = "1"

Then, use the following command to build a minimal image (without Qt for the moment):

bitbake core-image-minimal

Please let me know if the build will go through the end.

Using the bitbake with the “-k” option, as you used before, will make bitbake to continue processing the ongoing jobs even after encountering an error.

If your build of the minimal image be OK, it means that your environment is also OK.

So, you are good to go for the Qt build as well.

Then, to add the Qt5 support in your image build, I strongly advise you to follow this guide from Toradex:
https://developer.toradex.com/knowledge-base/how-to-set-up-qt-creator-to-cross-compile-for-embedded-linux#Build_with_OpenEmbedded_Layers

Please, remember that you’ll have to add the recipes for Qt5 in the local.conf, in a similar way as you did, but you also have to add the layers references for Qt5 as well, in the oe-core/build/conf/bblayers.conf file.

You’ll see the details at the link provided above.

Sure, I will try this and let you know the final output. I am also keeping a close watch on repo sync if it gives any error or not.

->Just a quick question as you said to follow the link to add Qt layer and i was following that only during my previous builds.

As shown on the link I add below mentioned lines in local.conf to add Qt layers in image

IMAGE_INSTALL_append = " qt3d qt5-plugin-generic-vboxtouch qtbase qtcanvas3d qtcharts qtconnectivity qtdatavis3d qtdeclarative qtenginio qtgraphicaleffects qtimageformats qtlocation qtmultimedia qtquick1 qtquickcontrols2 qtquickcontrols qtscript qtsensors qtserialport qtsvg qtsystems qttools qttranslations qtvirtualkeyboard qtwebchannel qtwebkit-examples qtwebkit qtwebsockets qtxmlpatterns openssh-sftp-server gdb gdbserver "

But my question here is that the below all are already there by default in oe-core/build/conf/bblayers.conf file do i need to add any additional lines in the file to add the reqquired Qt layers mentioned above?

 ${TOPDIR}/../layers/meta-openembedded/meta-multimedia \
 ${TOPDIR}/../layers/meta-openembedded/meta-python \
 ${TOPDIR}/../layers/meta-lxde \
 ${TOPDIR}/../layers/meta-browser \
 ${TOPDIR}/../layers/meta-qt4 \
 ${TOPDIR}/../layers/meta-qt5 \
 ${TOPDIR}/../layers/meta-qt5-extra \

This will help me for next steps. Thankyou.

I get some error as below when repo sync

binariesystem343@binariesystem343:~$ mkdir oe-core
binariesystem343@binariesystem343:~$ cd oe-core
binariesystem343@binariesystem343:~/oe-core$ repo init -u http://git.toradex.com/toradex-bsp-platform.git -b LinuxImage3.0 -m default.xml
Downloading Repo source from https://gerrit.googlesource.com/git-repo
remote: Finding sources: 100% (7/7)
remote: Total 7 (delta 0), reused 7 (delta 0)
Unpacking objects: 100% (7/7), done.
Downloading manifest from http://git.toradex.com/toradex-bsp-platform.git

Your identity is: nadim4114 
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /home/binariesystem343/oe-core
binariesystem343@binariesystem343:~/oe-core$ repo sync
remote: Enumerating objects: 73, done.        
remote: Counting objects: 100% (73/73), done.        
remote: Compressing objects: 100% (51/51), done.        
remote: Enumerating objects: 20, done.        
remote: Counting objects: 100% (20/20), done.        
remote: Compressing objects: 100% (16/16), done.        
remote: Enumerating objects: 32, done.        
remote: Counting objects: 100% (32/32), done.        
remote: Compressing objects: 100% (17/17), done.        B/s   
remote: Enumerating objects: 36, done.        
remote: Counting objects: 100% (36/36), done.         KiB/s   
remote: Compressing objects: 100% (23/23), done.        
remote: Total 1783 (delta 31), reused 52 (delta 21), pack-reused 1710        
Receiving objects: 100% (1783/1783), 367.45 KiB | 43.00 KiB/s, done.
Resolving deltas: 100% (963/963), done.
Fetching projects:   5% (1/17) meta-freescale-distro.gitReceiving objects:   1% remote: Total 6493 (delta 12), reused 25 (delta 10), pack-reused 6461        
Receiving objects: 100% (6493/6493), 2.25 MiB | 62.00 KiB/s, done.
Resolving deltas: 100% (4264/4264), done. MiB | 19.00 KiB/s   
Fetching projects:  11% (2/17) meta-browser.gitReceiving objects:  26% (8656/332remote: Enumerating objects: 123, done.        | 97.00 KiB/s   
remote: Counting objects: 100% (123/123), done.        
remote: Compressing objects: 100% (80/80), done.        
Fetching projects:  17% (3/17) meta-lxde.gitReceiving objects:  50% (16705/33289remote: Total 6070 (delta 7), reused 8 (delta 4), pack-reused 6050        
Receiving objects: 100% (6070/6070), 2.65 MiB | 42.00 KiB/s, done.
Resolving deltas: 100% (3565/3565), done.
Fetching projects:  23% (4/17) meta-freescale-3rdparty.gitReceiving objects:  53remote: Enumerating objects: 57, done.        B | 48.00 KiB/s   
remote: Counting objects: 100% (57/57), done.        
remote: Compressing objects: 100% (42/42), done.        
remote: Enumerating objects: 1024, done.        | 90.00 KiB/s   
remote: Counting objects: 100% (1024/1024), done.        iB/s   
remote: Compressing objects: 100% (398/398), done.        B/s   
remote: Total 13645 (delta 26), reused 36 (delta 15), pack-reused 13588        
Receiving objects: 100% (13645/13645), 3.45 MiB | 44.00 KiB/s, done.
Resolving deltas: 100% (9628/9628), done.
Fetching projects:  29% (5/17) meta-qt5.gitReceiving objects:  12% (16409/136585remote: Enumerating objects: 61, done.        B | 73.00 KiB/s    
remote: Counting objects: 100% (61/61), done.        00 KiB/s   
remote: Compressing objects: 100% (46/46), done.        
remote: Total 4665 (delta 21), reused 43 (delta 14), pack-reused 4604        
Receiving objects: 100% (4665/4665), 966.19 KiB | 61.00 KiB/s, done.
Resolving deltas: 100% (2551/2551), done.
Fetching projects:  35% (6/17) meta-rust.gitReceiving objects:  79% (32434/40836), remote: Total 40836 (delta 341), reused 794 (delta 298), pack-reused 39812        
Receiving objects: 100% (40836/40836), 5.13 MiB | 46.00 KiB/s, done.
Resolving deltas: 100% (22612/22612), done.
Fetching projects:  41% (7/17) meta-qt5-extra.gitReceiving objects:  16% (23019/136Fetching projects:  47% (8/17) meta-toradex-demos.gitReceiving objects:  70% (95610Fetching projects:  52% (9/17) meta-toradex-bsp-common.gitReceiving objects:  98% (Fetching projects:  58% (10/17) meta-toradex-distro.gitReceiving objects:  97% (132remote: Total 136585 (delta 46), reused 94 (delta 39), pack-reused 136462        
Receiving objects: 100% (136585/136585), 43.84 MiB | 64.00 KiB/s, done.
remote: Total 33289 (delta 22), reused 20 (delta 13), pack-reused 33253        
Receiving objects: 100% (33289/33289), 42.59 MiB | 59.00 KiB/s, done.
Resolving deltas: 100% (18761/18761), done.
Resolving deltas: 100% (80205/80205), done.
Fetching projects:  70% (12/17) meta-openembedded.gitremote: Enumerating objects: 65, done.        
remote: Counting objects: 100% (65/65), done.        
remote: Compressing objects: 100% (44/44), done.        
Fetching projects:  76% (13/17) meta-toradex-tegra.gitReceiving objects:  14% (55332/384103), 21.11remote: Enumerating objects: 2, done.         MiB | 128.00 KiB/s   
remote: Counting objects: 100% (2/2), done.        
remote: Compressing objects: 100% (2/2), done.        
fatal: unable to access 'https://git.yoctoproject.org/git/meta-yocto/': GnuTLS recv error (-54): Error in the pull function.
meta-yocto:
fatal: unable to access 'https://git.yoctoproject.org/git/meta-yocto/': GnuTLS recv error (-54): Error in the pull function.

Fetching projects:  82% (14/17) meta-toradex-nxp.gitReceiving objects:  22% (87362/384103), 39.43 Mremote: Total 55571 (delta 0), reused 2 (delta 0), pack-reused 55569        
Receiving objects: 100% (55571/55571), 19.93 MiB | 72.00 KiB/s, done.
Resolving deltas: 100% (39079/39079), done.35 MiB | 70.00 KiB/s   
Fetching projects:  88% (15/17) bitbake.gitReceiving objects:  25% (98098/384103), 44.50 MiB | 89.0remote: Enumerating objects: 12638, done.        B | 133.00 KiB/s   
remote: Counting objects: 100% (12638/12638), done.         KiB/s   
remote: Compressing objects: 100% (2941/2941), done.        KiB/s   
remote: Total 384103 (delta 32), reused 33 (delta 21), pack-reused 384038        
Receiving objects: 100% (384103/384103), 142.97 MiB | 128.00 KiB/s, done.
Resolving deltas: 100% (265678/265678), done.
Fetching projects:  94% (16/17) openembedded-core.giterror: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
meta-yocto:
remote: Enumerating objects: 12638, done.        
remote: Counting objects: 100% (12638/12638), done.        
remote: Compressing objects: 100% (2941/2941), done.        
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

error: Cannot fetch meta-yocto from https://git.yoctoproject.org/git/meta-yocto
Fetching projects: 100% (17/17), done.
Checking out projects:  82% (14/17) meta-toradex-tegra.gitfatal: failed to unpack tree object HEAD
error: Cannot checkout meta-yocto: GitError: Cannot initialize work tree for meta-yocto
Traceback (most recent call last):
  File "/home/binariesystem343/oe-core/.repo/repo/main.py", line 628, in 
    _Main(sys.argv[1:])
  File "/home/binariesystem343/oe-core/.repo/repo/main.py", line 602, in _Main
    result = run()
  File "/home/binariesystem343/oe-core/.repo/repo/main.py", line 595, in 
    run = lambda: repo._Run(name, gopts, argv) or 0
  File "/home/binariesystem343/oe-core/.repo/repo/main.py", line 264, in _Run
    result = cmd.Execute(copts, cargs)
  File "/home/binariesystem343/oe-core/.repo/repo/subcmds/sync.py", line 982, in Execute
    self._Checkout(all_projects, opt, err_event, err_results)
  File "/home/binariesystem343/oe-core/.repo/repo/subcmds/sync.py", line 567, in _Checkout
    self._CheckoutWorker(**kwargs)
  File "/home/binariesystem343/oe-core/.repo/repo/subcmds/sync.py", line 447, in _CheckoutWorker
    return self._CheckoutOne(opt, project, *args, **kwargs)
  File "/home/binariesystem343/oe-core/.repo/repo/subcmds/sync.py", line 481, in _CheckoutOne
    project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
  File "/home/binariesystem343/oe-core/.repo/repo/project.py", line 1623, in Sync_LocalHalf
    self._InitWorkTree(force_sync=force_sync, submodules=submodules)
  File "/home/binariesystem343/oe-core/.repo/repo/project.py", line 3135, in _InitWorkTree
    raise GitError('Cannot initialize work tree for ' + self.name)
error.GitError: Cannot initialize work tree for meta-yocto

With v2.8 also i get error. Is there some problem with my system?

binariesystem343@binariesystem343:~$ mkdir oe-core
mkdir: cannot create directory ‘oe-core’: File exists
binariesystem343@binariesystem343:~$ 
binariesystem343@binariesystem343:~$ mkdir oe-core
binariesystem343@binariesystem343:~$ cd oe-core
binariesystem343@binariesystem343:~/oe-core$ repo init -u http://git.toradex.com/toradex-bsp-platform.git -b LinuxImageV2.8
Downloading Repo source from https://gerrit.googlesource.com/git-repo
remote: Finding sources: 100% (7/7)
remote: Total 7 (delta 0), reused 7 (delta 0)
Unpacking objects: 100% (7/7), done.
Downloading manifest from http://git.toradex.com/toradex-bsp-platform.git

Your identity is: nadim4114 
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /home/binariesystem343/oe-core
binariesystem343@binariesystem343:~/oe-core$ repo sync
remote: Enumerating objects: 20, done.        
remote: Counting objects: 100% (20/20), done.        
remote: Enumerating objects: 32, done.           
remote: Counting objects: 100% (32/32), done.        
remote: Compressing objects: 100% (16/16), done.        
remote: Compressing objects: 100% (17/17), done.        
remote: Enumerating objects: 8376, done.        
remote: Enumerating objects: 36, done.        
remote: Counting objects: 100% (36/36), done.        
remote: Compressing objects: 100% (23/23), done.        s     
remote: Total 6493 (delta 12), reused 25 (delta 10), pack-reused 6461        
Receiving objects: 100% (6493/6493), 2.25 MiB | 25.00 KiB/s, done.
Resolving deltas: 100% (4264/4264), done.
Fetching projects:   5% (1/17) meta-browser.gitReceiving objects:  14% (4668/332remote: Enumerating objects: 73, done.        | 27.00 KiB/s    
remote: Counting objects: 100% (73/73), done.         KiB/s    
remote: Compressing objects: 100% (51/51), done.        
remote: Total 1783 (delta 31), reused 52 (delta 21), pack-reused 1710        
Receiving objects: 100% (1783/1783), 367.45 KiB | 53.00 KiB/s, done.
Resolving deltas: 100% (963/963), done.
Fetching projects:  11% (2/17) meta-freescale-distro.gitReceiving objects:  72% remote: Enumerating objects: 617, done.         30.00 KiB/s    
remote: Total 6070 (delta 7), reused 8 (delta 4), pack-reused 6050        
Receiving objects: 100% (6070/6070), 2.65 MiB | 24.00 KiB/s, done.
Resolving deltas: 100% (3565/3565), done. MiB | 33.00 KiB/s   
Fetching projects:  17% (3/17) meta-freescale-3rdparty.gitReceiving objects:  18remote: Total 8376 (delta 0), reused 0 (delta 0), pack-reused 8376
Receiving objects: 100% (8376/8376), 2.91 MiB | 26.00 KiB/s, done.
Resolving deltas: 100% (3907/3907), done.
Fetching projects:  23% (4/17) meta-angstrom.gitReceiving objects:  61% (380/617remote: Total 617 (delta 0), reused 0 (delta 0), pack-reused 617        
Receiving objects: 100% (617/617), 107.20 KiB | 41.00 KiB/s, done.
Resolving deltas: 100% (237/237), done.
Fetching projects:  29% (5/17) meta-jetson-tk1.gitReceiving objects:  19% (6439/remote: Enumerating objects: 123, done.        | 78.00 KiB/s   
remote: Counting objects: 100% (123/123), done.        KiB/s   
remote: Compressing objects: 100% (80/80), done.        
Fetching projects:  35% (6/17) meta-lxde.gitReceiving objects:   5% (6962/136585remote: Enumerating objects: 57, done.        B | 33.00 KiB/s   
remote: Counting objects: 100% (57/57), done.        
remote: Compressing objects: 100% (42/42), done.        
remote: Total 13645 (delta 26), reused 36 (delta 15), pack-reused 13588        
Receiving objects: 100% (13645/13645), 3.45 MiB | 31.00 KiB/s, done.
Resolving deltas: 100% (9628/9628), done..25 MiB | 27.00 KiB/s   
Fetching projects:  41% (7/17) meta-qt5.gitReceiving objects:  93% (31060/33289)remote: Enumerating objects: 1024, done.        | 43.00 KiB/s    
remote: Counting objects: 100% (1024/1024), done.        KiB/s   
remote: Compressing objects: 100% (398/398), done.        
remote: Total 40836 (delta 341), reused 794 (delta 298), pack-reused 39812        
Receiving objects: 100% (40836/40836), 5.13 MiB | 32.00 KiB/s, done.
Resolving deltas: 100% (22612/22612), done.
Fetching projects:  47% (8/17) meta-qt5-extra.gitReceiving objects:  93% (31084/fatal: unable to access 'https://git.yoctoproject.org/git/meta-qt4/': Operation timed out after 300035 milliseconds with 0 out of 0 bytes received
meta-qt4:
fatal: unable to access 'https://git.yoctoproject.org/git/meta-qt4/': Operation timed out after 300035 milliseconds with 0 out of 0 bytes received

fatal: unable to access 'https://git.yoctoproject.org/git/meta-qt4/': GnuTLS recv error (-54): Error in the pull function.
meta-qt4:
fatal: unable to access 'https://git.yoctoproject.org/git/meta-qt4/': GnuTLS recv error (-54): Error in the pull function.

error: Cannot fetch meta-qt4 from https://git.yoctoproject.org/git/meta-qt4
Fetching projects:  52% (9/17) meta-qt4Receiving objects:  93% (31205/33289), 32Fetching projects:  58% (10/17) meta-toradex-bsp-common.gitReceiving objects:  9remote: Total 33289 (delta 22), reused 20 (delta 13), pack-reused 33253        
Receiving objects: 100% (33289/33289), 42.59 MiB | 42.00 KiB/s, done.
Resolving deltas: 100% (18761/18761), done.
Fetching projects:  64% (11/17) meta-freescale.gitReceiving objects:  97% (13254remote: Total 136585 (delta 46), reused 94 (delta 39), pack-reused 136462        
Receiving objects: 100% (136585/136585), 43.84 MiB | 46.00 KiB/s, done.
Resolving deltas: 100% (80208/80208), done.
Fetching projects:  70% (12/17) meta-openembedded.gitremote: Enumerating objects: 65, done.        
remote: Counting objects: 100% (65/65), done.        
remote: Compressing objects: 100% (44/44), done.        
Fetching projects:  76% (13/17) meta-toradex-demos.gitReceiving objects:   3% (1remote: Enumerating objects: 2, done.        MiB | 102.00 KiB/s   
remote: Counting objects: 100% (2/2), done.        
remote: Compressing objects: 100% (2/2), done.        
remote: Total 55571 (delta 0), reused 2 (delta 0), pack-reused 55569        (48499/384103), 18.73 MiB | 41.00 KiB/s   
Receiving objects: 100% (55571/55571), 19.93 MiB | 35.00 KiB/s, done.
Resolving deltas: 100% (39079/39079), done.48 MiB | 30.00 KiB/s   
remote: Total 384103 (delta 32), reused 33 (delta 21), pack-reused 384038        , 28.57 MiB | 30.00 KiB/s   
Receiving objects: 100% (384103/384103), 142.97 MiB | 49.00 KiB/s, done.
Resolving deltas: 100% (265678/265678), done.
Fetching projects: 100% (17/17), done.
Checking out projects:  47% (8/17) meta-openembedded.gitfatal: failed to unpack tree object HEAD
error: Cannot checkout meta-qt4: GitError: Cannot initialize work tree for meta-qt4
Traceback (most recent call last):
  File "/home/binariesystem343/oe-core/.repo/repo/main.py", line 628, in 
    _Main(sys.argv[1:])
  File "/home/binariesystem343/oe-core/.repo/repo/main.py", line 602, in _Main
    result = run()
  File "/home/binariesystem343/oe-core/.repo/repo/main.py", line 595, in 
    run = lambda: repo._Run(name, gopts, argv) or 0
  File "/home/binariesystem343/oe-core/.repo/repo/main.py", line 264, in _Run
    result = cmd.Execute(copts, cargs)
  File "/home/binariesystem343/oe-core/.repo/repo/subcmds/sync.py", line 982, in Execute
    self._Checkout(all_projects, opt, err_event, err_results)
  File "/home/binariesystem343/oe-core/.repo/repo/subcmds/sync.py", line 567, in _Checkout
    self._CheckoutWorker(**kwargs)
  File "/home/binariesystem343/oe-core/.repo/repo/subcmds/sync.py", line 447, in _CheckoutWorker
    return self._CheckoutOne(opt, project, *args, **kwargs)
  File "/home/binariesystem343/oe-core/.repo/repo/subcmds/sync.py", line 481, in _CheckoutOne
    project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
  File "/home/binariesystem343/oe-core/.repo/repo/project.py", line 1623, in Sync_LocalHalf
    self._InitWorkTree(force_sync=force_sync, submodules=submodules)
  File "/home/binariesystem343/oe-core/.repo/repo/project.py", line 3135, in _InitWorkTree
    raise GitError('Cannot initialize work tree for ' + self.name)
error.GitError: Cannot initialize work tree for meta-qt4

@andrecurvello , After following the troubleshooting info given below i am able repo sync
https://developer.toradex.com/knowledge-base/board-support-package/openembedded-(core)#Known_Issues

and started building core image minimal.
I will post once i get the output.

The core image minimal is completed but with some errors and warnings as below.

binariesystem343@binariesystem343:~$ cd oe-core
binariesystem343@binariesystem343:~/oe-core$ . export

### Shell environment set up for builds. ###

You can now run 'bitbake '

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'

Toradex targets are:
    console-tdx-image
    other (unsupported) targets may be found in
    meta-toradex-demos/recipes-images/images/
binariesystem343@binariesystem343:~/oe-core/build$ bitbake core-image-minimal
Parsing recipes: 100% |##########################################| Time: 0:04:22
Parsing of 3214 .bb files complete (0 cached, 3214 parsed). 4262 targets, 239 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.40.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-tdx-linux-gnueabi"
MACHINE              = "colibri-imx7-emmc"
DISTRO               = "tdx-x11"
DISTRO_VERSION       = "2.6-snapshot-20200808"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta-toradex-nxp     = "HEAD:762dd2b57266ed99831c6b7e91a51193d7169046"
meta-freescale       = "HEAD:07d4a6baa23ec3a1f013f8a070130598b56aec7c"
meta-freescale-3rdparty = "HEAD:545e8094a140231e78b9284c3a3d94fcc573ae98"
meta-toradex-tegra   = "HEAD:90828b47fa1a7055fe71896a76153d1786bf375a"
meta-toradex-bsp-common = "HEAD:e82be9ce7cbeff00b38fa09240996b5b3c7265f9"
meta-oe              
meta-filesystems     
meta-gnome           
meta-xfce            
meta-initramfs       
meta-networking      
meta-multimedia      
meta-python          = "HEAD:446bd615fd7cb9bc7a159fe5c2019ed08d1a7a93"
meta-lxde            = "HEAD:ef686d11201b780d7db650f94b3a850a0eb3a6f5"
meta-browser         = "HEAD:2c3c891f776e86faad1f759676cb2bfff32df4a8"
meta-qt5             = "HEAD:e6e464c9ed9266ce46452f953c1bdcb0e7b2d95f"
meta-qt5-extra       = "HEAD:48ab2dad10399951783f0e54aafb7a27ae46ac4e"
meta-rust            = "HEAD:dbf68d40b3898913142f84586bbc97b830797967"
meta-freescale-distro = "HEAD:4a244af3993ae662624c6f615464e6806cc719a2"
meta-toradex-demos   = "HEAD:03aa13b6a709470ba7c9367293f979e6f0bb939b"
meta-toradex-distro  = "HEAD:be3bebbc165727418f261d29bd75dd413527fd97"
meta-poky            = "HEAD:bf00cab7a55e2038e09a307378af5aec04c99380"
meta                 = "HEAD:e68991ceb5933f7d03b96697e8a0ba0829feb320"

Initialising tasks: 100% |#######################################| Time: 0:00:04
Sstate summary: Wanted 804 Found 0 Missed 804 Current 27 (0% match, 3% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks

WARNING: linux-libc-headers-4.18-r0 do_fetch: Checksum mismatch for local file /home/binariesystem343/oe-core/build/../downloads/linux-4.18.tar.xz
Cleaning and trying again.

WARNING: linux-libc-headers-4.18-r0 do_fetch: Renaming /home/binariesystem343/oe-core/build/../downloads/linux-4.18.tar.xz to /home/binariesystem343/oe-core/build/../downloads/linux-4.18.tar.xz_bad-checksum_f03280d0e056e058366623f35012b11d

WARNING: shadow-4.6-r0 do_fetch: Failed to fetch URL https://github.com/shadow-maint/shadow/releases/download/4.6/shadow-4.6.tar.gz, attempting MIRRORS if available

WARNING: re2c-native-1.0.1-r0 do_fetch: Failed to fetch URL http://downloads.sourceforge.net/re2c/re2c-1.0.1.tar.gz, attempting MIRRORS if available

WARNING: meson-native-0.47.2-r0 do_fetch: Failed to fetch URL https://github.com/mesonbuild/meson/releases/download/0.47.2/meson-0.47.2.tar.gz, attempting MIRRORS if available

ERROR: When reparsing /home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_image_teziimg, the basehash value changed from aa076c276eb410fe4747d3d7554b9d3c to b1ceb8372b7549a97babfae0cc5257dd. The metadata is not deterministic and this needs to be fixed.

WARNING: pigz-native-2.4-r0 do_fetch: Failed to fetch URL http://zlib.net/pigz/fossils/pigz-2.4.tar.gz, attempting MIRRORS if available

ERROR: When reparsing /home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_image_teziimg, the basehash value changed from aa076c276eb410fe4747d3d7554b9d3c to b1ceb8372b7549a97babfae0cc5257dd. The metadata is not deterministic and this needs to be fixed.

ERROR: When reparsing /home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_image_teziimg, the basehash value changed from aa076c276eb410fe4747d3d7554b9d3c to b1ceb8372b7549a97babfae0cc5257dd. The metadata is not deterministic and this needs to be fixed.

ERROR: When reparsing /home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_image_teziimg, the basehash value changed from aa076c276eb410fe4747d3d7554b9d3c to b1ceb8372b7549a97babfae0cc5257dd. The metadata is not deterministic and this needs to be fixed.

ERROR: When reparsing /home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_image_teziimg, the basehash value changed from aa076c276eb410fe4747d3d7554b9d3c to b1ceb8372b7549a97babfae0cc5257dd. The metadata is not deterministic and this needs to be fixed.

ERROR: When reparsing /home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_image_teziimg, the basehash value changed from aa076c276eb410fe4747d3d7554b9d3c to b1ceb8372b7549a97babfae0cc5257dd. The metadata is not deterministic and this needs to be fixed.

ERROR: When reparsing /home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_image_teziimg, the basehash value changed from aa076c276eb410fe4747d3d7554b9d3c to b1ceb8372b7549a97babfae0cc5257dd. The metadata is not deterministic and this needs to be fixed.

ERROR: When reparsing /home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_image_teziimg, the basehash value changed from aa076c276eb410fe4747d3d7554b9d3c to b1ceb8372b7549a97babfae0cc5257dd. The metadata is not deterministic and this needs to be fixed.

ERROR: When reparsing /home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_image_teziimg, the basehash value changed from aa076c276eb410fe4747d3d7554b9d3c to b1ceb8372b7549a97babfae0cc5257dd. The metadata is not deterministic and this needs to be fixed.

ERROR: When reparsing /home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_image_teziimg, the basehash value changed from aa076c276eb410fe4747d3d7554b9d3c to b1ceb8372b7549a97babfae0cc5257dd. The metadata is not deterministic and this needs to be fixed.

ERROR: core-image-minimal-1.0-r0 do_image_teziimg: Taskhash mismatch 986c9a9274a3029761d7f84fbdce6644 versus aa0b34c829cacc90eeffae30dd0ffafd for /home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_image_teziimg

ERROR: Taskhash mismatch 986c9a9274a3029761d7f84fbdce6644 versus aa0b34c829cacc90eeffae30dd0ffafd for /home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_image_teziimg

ERROR: When reparsing /home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_image_teziimg, the basehash value changed from aa076c276eb410fe4747d3d7554b9d3c to b1ceb8372b7549a97babfae0cc5257dd. The metadata is not deterministic and this needs to be fixed.

ERROR: When reparsing /home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_image_teziimg, the basehash value changed from aa076c276eb410fe4747d3d7554b9d3c to b1ceb8372b7549a97babfae0cc5257dd. The metadata is not deterministic and this needs to be fixed.

NOTE: Tasks Summary: Attempted 2994 tasks of which 180 didn't need to be rerun and all succeeded.

NOTE: Writing buildhistory

Summary: There were 6 WARNING messages shown.
Summary: There were 14 ERROR messages shown, returning a non-zero exit code.

I still tried to run the created image which had some errors during creation as attached in the above log file and I get the following console when i boot the core image minimal.

U-Boot 2019.07-3.0.4+g26d926eda0 (Aug 08 2020 - 04:38:42 +0000)

CPU:   Freescale i.MX7D rev1.3 1000 MHz (running at 792 MHz)
CPU:   Extended Commercial temperature grade (-20C to 105C) at 34C
Reset cause: POR
DRAM:  1 GiB
PMIC:  RN5T567 LSIVER=0x01 OTPVER=0x0d
MMC:   FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Model: Toradex Colibri iMX7 Dual 1GB (eMMC) V1.1A, Serial# 06581424
SEC0: RNG instantiated
Net:   FEC0
Hit any key to stop autoboot:  0
Booting from internal eMMC chip...
46686 bytes read in 10 ms (4.5 MiB/s)
5937640 bytes read in 115 ms (49.2 MiB/s)
Kernel image @ 0x81000000 [ 0x000000 - 0x5a99e8 ]
## Flattened Device Tree blob at 82000000
   Booting using the fdt blob at 0x82000000
   Using Device Tree in place at 82000000, end 8200e65d

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.170-3.0.4+gbaa6c24240a4 (oe-user@oe-host) (gcc                                                                                         version 8.2.0 (GCC)) #1 SMP Sat Aug 8 04:29:52 UTC 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio                                                                                        n cache
[    0.000000] OF: fdt: Machine model: Toradex Colibri iMX7D 1GB (eMMC) on Colib                                                                                        ri Evaluation Board V3
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0xac000000, size 320                                                                                         MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id share                                                                                        d-dma-pool
[    0.000000] percpu: Embedded 15 pages/cpu s30924 r8192 d22324 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260096
[    0.000000] Kernel command line: ip=off root=PARTUUID=b01539fa-02 ro rootfsty                                                                                        pe=ext4 rootwait console=tty1 console=ttymxc0,115200n8 consoleblank=0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 697900K/1048576K available (8192K kernel code, 353K rwdat                                                                                        a, 2432K rodata, 1024K init, 393K bss, 22996K reserved, 327680K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc0800000 - 0xff800000   (1008 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x80900000   (9184 kB)
[    0.000000]       .init : 0x80c00000 - 0x80d00000   (1024 kB)
[    0.000000]       .data : 0x80d00000 - 0x80d58720   ( 354 kB)
[    0.000000]        .bss : 0x80d5a000 - 0x80dbc4d0   ( 394 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:                                                                                         0x1d854df40, max_idle_ns: 440795202120 ns
[    0.000007] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 21990                                                                                        23255500ns
[    0.000019] Switching to timer-based delay loop, resolution 125ns
[    0.000342] Ignoring duplicate/late registration of read_current_timer delay
[    0.000360] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff,                                                                                         max_idle_ns: 637086815595 ns
[    0.002039] Console: colour dummy device 80x30
[    0.002481] console [tty1] enabled
[    0.002509] Calibrating delay loop (skipped), value calculated using timer fr                                                                                        equency.. 16.00 BogoMIPS (lpj=80000)
[    0.002540] pid_max: default: 32768 minimum: 301
[    0.002680] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002707] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003339] CPU: Testing write buffer coherency: ok
[    0.003988] Setting up static identity map for 0x80100000 - 0x80100060
[    0.004135] Hierarchical SRCU implementation.
[    0.004701] smp: Bringing up secondary CPUs ...
[    0.005483] smp: Brought up 1 node, 2 CPUs
[    0.005509] SMP: Total of 2 processors activated (32.00 BogoMIPS).
[    0.005525] CPU: All CPU(s) started in SVC mode.
[    0.006315] devtmpfs: initialized
[    0.015733] random: get_random_u32 called from bucket_table_alloc+0x100/0x230                                                                                         with crng_init=0
[    0.016181] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7                                                                                         rev 5
[    0.016436] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                        x_idle_ns: 19112604462750000 ns
[    0.016475] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.027986] pinctrl core: initialized pinctrl subsystem
[    0.028981] NET: Registered protocol family 16
[    0.034690] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.035697] cpuidle: using governor menu
[    0.042424] vdd1p0d: supplied by regulator-dummy
[    0.042901] vdd1p2: supplied by regulator-dummy
[    0.045855] DDR type is DDR3!
[    0.052812] imx7d_enet_clk_sel: fec-18: failed to get enet_out clock, assumin                                                                                        g ext. clock source
[    0.052892] imx7d_enet_clk_sel: fec-18: found enet_out clock, assuming intern                                                                                        al clock source
[    0.053041] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint                                                                                         registers.
[    0.053067] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.053336] imx7d-pinctrl 302c0000.iomuxc-lpsr: initialized IMX pinctrl drive                                                                                        r
[    0.053956] imx7d-pinctrl 30330000.iomuxc: initialized IMX pinctrl driver
[    0.055906] imx rpmsg driver is registered.
[    0.056792] MU is ready for cross core communication!
[    0.074803] VCC_USB[1-4]: supplied by 5V
[    0.075519] SCSI subsystem initialized
[    0.075743] usbcore: registered new interface driver usbfs
[    0.075818] usbcore: registered new interface driver hub
[    0.075931] usbcore: registered new device driver usb
[    0.076143] usb_phy_generic 30800000.aips-bus:usbphynop1: 30800000.aips-bus:u                                                                                        sbphynop1 supply vcc not found, using dummy regulator
[    0.076467] usb_phy_generic 30800000.aips-bus:usbphynop2: 30800000.aips-bus:u                                                                                        sbphynop2 supply vcc not found, using dummy regulator
[    0.077661] i2c i2c-0: IMX I2C adapter registered
[    0.077694] i2c i2c-0: can't use DMA, using PIO instead.
[    0.078316] i2c i2c-3: IMX I2C adapter registered
[    0.078343] i2c i2c-3: can't use DMA, using PIO instead.
[    0.078532] Linux video capture interface: v2.00
[    0.078603] pps_core: LinuxPPS API ver. 1 registered
[    0.078620] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                                                                                        tti 
[    0.078658] PTP clock support registered
[    0.078901] Advanced Linux Sound Architecture Driver Initialized.
[    0.080188] clocksource: Switched to clocksource arch_sys_counter
[    0.080314] VFS: Disk quotas dquot_6.6.0
[    0.080387] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.088303] NET: Registered protocol family 2
[    0.088946] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.089052] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.089206] TCP: Hash tables configured (established 8192 bind 8192)
[    0.089314] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.089379] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.089556] NET: Registered protocol family 1
[    0.089953] RPC: Registered named UNIX socket transport module.
[    0.089977] RPC: Registered udp transport module.
[    0.089992] RPC: Registered tcp transport module.
[    0.090006] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.092035] Bus freq driver module loaded
[    0.093073] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.097750] NFS: Registering the id_resolver key type
[    0.097801] Key type id_resolver registered
[    0.097817] Key type id_legacy registered
[    0.097841] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.098350] ntfs: driver 2.1.32 [Flags: R/W].
[    0.098630] fuse init (API version 7.26)
[    0.104835] Key type asymmetric registered
[    0.104889] io scheduler noop registered
[    0.104905] io scheduler deadline registered
[    0.105074] io scheduler cfq registered (default)
[    0.105097] io scheduler mq-deadline registered
[    0.105112] io scheduler kyber registered
[    0.109282] mxsfb 30730000.lcdif: 30730000.lcdif supply lcd not found, using                                                                                         dummy regulator
[    0.109497] mxsfb 30730000.lcdif: Using timings from devicetree
[    0.183487] Console: switching to colour frame buffer device 80x30
[    0.201191] mxsfb 30730000.lcdif: initialized
[    0.205092] mxs-dma 33000000.dma-apbh: initialized
[    0.209144] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 55, base_baud                                                                                         = 1500000) is a IMX
[    0.948263] console [ttymxc0] enabled
[    0.954377] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 56, base_baud                                                                                         = 1500000) is a IMX
[    0.967250] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 57, base_baud                                                                                         = 1500000) is a IMX
[    0.987195] loop: module loaded
[    1.008349] libphy: Fixed MDIO Bus: probed
[    1.017332] pps pps0: new PPS source ptp0
[    1.025821] libphy: fec_enet_mii_bus: probed
[    1.033346] fec 30be0000.ethernet eth0: registered PHC device 0
[    1.041345] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.049721] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.057093] usbcore: registered new interface driver usb-storage
[    1.065133] usbcore: registered new interface driver usbserial
[    1.072906] usbcore: registered new interface driver usbserial_generic
[    1.081367] usbserial: USB Serial support registered for generic
[    1.089333] usbcore: registered new interface driver cp210x
[    1.096838] usbserial: USB Serial support registered for cp210x
[    1.104688] usbcore: registered new interface driver ftdi_sio
[    1.112338] usbserial: USB Serial support registered for FTDI USB Serial Devi                                                                                        ce
[    1.123368] usbcore: registered new interface driver pl2303
[    1.130894] usbserial: USB Serial support registered for pl2303
[    1.139811] usbmisc_imx 30b10200.usbmisc: 30b10200.usbmisc supply vbus-wakeup                                                                                         not found, using dummy regulator
[    1.153833] usbmisc_imx 30b30200.usbmisc: 30b30200.usbmisc supply vbus-wakeup                                                                                         not found, using dummy regulator
[    1.167913] usbmisc_imx 30b20200.usbmisc: 30b20200.usbmisc supply vbus-wakeup                                                                                         not found, using dummy regulator
[    1.185891] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    1.192813] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    1.230247] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    1.238122] hub 1-0:1.0: USB hub found
[    1.243944] hub 1-0:1.0: 1 port detected
[    1.254013] input: AD7879 Touchscreen as /devices/soc0/soc/30800000.aips-bus/                                                                                        30a20000.i2c/i2c-0/0-002c/input/input0
[    1.274461] rtc-ds1307 3-0068: registered as rtc0
[    1.281769] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc1
[    1.290226] i2c /dev entries driver
[    1.296330] IR NEC protocol handler initialized
[    1.302972] IR RC5(x/sz) protocol handler initialized
[    1.310098] IR RC6 protocol handler initialized
[    1.316690] IR JVC protocol handler initialized
[    1.323228] IR Sony protocol handler initialized
[    1.329805] IR SANYO protocol handler initialized
[    1.336434] IR Sharp protocol handler initialized
[    1.343008] IR MCE Keyboard/mouse protocol handler initialized
[    1.350819] IR XMP protocol handler initialized
[    1.359219] imx2-wdt 30280000.wdog: timeout 60 sec (nowayout=0)
[    1.368469] sdhci: Secure Digital Host Controller Interface driver
[    1.376529] sdhci: Copyright(c) Pierre Ossman
[    1.382652] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.391092] sdhci-esdhc-imx 30b40000.usdhc: Got CD GPIO
[    1.460508] mmc1: SDHCI controller on 30b40000.usdhc [30b40000.usdhc] using A                                                                                        DMA
[    1.530288] mmc0: SDHCI controller on 30b60000.usdhc [30b60000.usdhc] using A                                                                                        DMA
[    1.547805] caam 30900000.caam: ERA source: CCBVID.
[    1.555918] caam 30900000.caam: device ID = 0x0a16030000000000 (Era 8)
[    1.563980] caam 30900000.caam: job rings = 3, qi = 0, dpaa2 = no
[    1.585062] caam algorithms registered in /proc/crypto
[    1.594824] caam_jr 30901000.jr0: registering rng-caam
[    1.601649] caam 30900000.caam: caam pkc algorithms registered in /proc/crypt                                                                                        o
[    1.610296] usb 1-1: new low-speed USB device number 2 using ci_hdrc
[    1.612758] hidraw: raw HID events driver (C) Jiri Kosina
[    1.626621] usbcore: registered new interface driver usbhid
[    1.633728] usbhid: USB HID core driver
[    1.643448] coresight-etm3x 3007c000.etm: ETM 3.5 initialized
[    1.651312] coresight-etm3x 3007d000.etm: ETM 3.5 initialized
[    1.661085] Netfilter messages via NETLINK v0.30.
[    1.667358] nfnl_acct: registering with nfnetlink.
[    1.673321] mmc0: new HS200 MMC card at address 0001
[    1.673897] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    1.681006] mmcblk0: mmc0:0001 Q2J54A 3.64 GiB
[    1.688158] nf_tables: (c) 2007-2009 Patrick McHardy 
[    1.694438] mmcblk0boot0: mmc0:0001 Q2J54A partition 1 2.00 MiB
[    1.702362] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.710311] mmcblk0boot1: mmc0:0001 Q2J54A partition 2 2.00 MiB
[    1.724200] mmcblk0rpmb: mmc0:0001 Q2J54A partition 3 512 KiB, chardev (248:0                                                                                        )
[    1.734978] NET: Registered protocol family 10
[    1.737771]  mmcblk0: p1 p2
[    1.742003] Segment Routing with IPv6
[    1.750521] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    1.757613] NET: Registered protocol family 17
[    1.763686] Bridge firewalling registered
[    1.769233] 8021q: 802.1Q VLAN Support v1.8
[    1.775032] Key type dns_resolver registered
[    1.787041] Registering SWP/SWPB emulation handler
[    1.793682] registered taskstats version 1
[    1.824687] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    1.831017] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    1.852689] input: PixArt Dell MS116 USB Optical Mouse as /devices/soc0/soc/3                                                                                        0800000.aips-bus/30b20000.usb/ci_hdrc.0/usb1/1-1/1-1:1.0/0003:413C:301A.0001/inp                                                                                        ut/input1
[    1.871945] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    1.879105] hid-generic 0003:413C:301A.0001: input,hidraw0: USB HID v1.11 Mou                                                                                        se [PixArt Dell MS116 USB Optical Mouse] on usb-ci_hdrc.0-1/input0
[    1.879649] hub 2-0:1.0: USB hub found
[    1.900368] hub 2-0:1.0: 1 port detected
[    1.906925] (NULL device *): hwmon_device_register() is deprecated. Please co                                                                                        nvert the driver to use hwmon_device_register_with_info().
[    1.922364] imx_thermal 30000000.aips-bus:tempmon: Extended Commercial CPU te                                                                                        mperature grade - max:105C critical:105C passive:95C
[    1.939029] input: gpio-keys as /devices/soc0/gpio-keys/input/input2
[    1.950076] rtc-ds1307 3-0068: setting system clock to 2001-01-01 01:01:03 UT                                                                                        C (978310863)
[    1.973255] ALSA device list:
[    1.977843]   No soundcards found.
[    1.990103] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. O                                                                                        pts: (null)
[    2.001612] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.011130] random: fast init done
[    2.017119] devtmpfs: mounted
[    2.022883] Freeing unused kernel memory: 1024K
[    2.104049] systemd[1]: System time before build time, advancing clock.
[    2.120112] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SEL                                                                                        INUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +                                                                                        XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybr                                                                                        id)
[    2.148819] systemd[1]: Detected architecture arm.

Welcome to TDX X11 2.6-snapshot-20200808 (thud)!

[    2.190895] systemd[1]: Set hostname to .
[    2.200338] random: systemd: uninitialized urandom read (16 bytes read)
[    2.208705] systemd[1]: Initializing machine ID from random generator.
[    2.217162] systemd[1]: Installed transient /etc/machine-id file.
[    2.526064] random: systemd: uninitialized urandom read (16 bytes read)
[    2.535283] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    2.570487] random: systemd: uninitialized urandom read (16 bytes read)
[    2.579306] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    2.620900] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    2.661033] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    2.703649] systemd[1]: Starting File System Check on Root Device...
         Starting File System Check on Root Device...
[  OK  ] Listening on udev Kernel Socket.
         Starting udev Coldplug all Devices...
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Reached target Swap.
         Mounting Temporary Directory (/tmp)...
[  OK  ] Reached target Slices.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on Syslog Socket.
         Starting Journal Service...
         Mounting Kernel Debug File System...
[  OK  ] Created slice system-getty.slice.
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
[  OK  ] Started File System Check on Root Device.
[  OK  ] Started Journal Service.
[  OK  ] Mounted Temporary Directory (/tmp).
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Apply Kernel Variables.
         Starting Remount Root and Kernel File Systems...
[    3.386753] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Flush Journal to Persistent Storage...
         Starting Rebuild Hardware Database...
         Starting Create System Users...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Create Static Device Nodes in /dev.
[    3.671392] systemd-journald[177]: Received request to flush runtime journal                                                                                         from PID 1
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /var/volatile...
[  OK  ] Reached target Containers.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Mounted /var/volatile.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Commit a transient machine-id on disk...
         Starting Rebuild Dynamic Linker Cache...
         Starting Rebuild Journal Catalog...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Rebuild Dynamic Linker Cache.
[  OK  ] Started Commit a transient machine-id on disk.
[  OK  ] Started Rebuild Journal Catalog.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Rebuild Hardware Database.
         Starting Update is Completed...
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Update is Completed.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started System Logging Service.
[  OK  ] Started Kernel Logging Service.
         Starting Login Service...
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Service...
[  OK  ] Found device /dev/ttymxc0.
[  OK  ] Started Network Service.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting Network Name Resolution...
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen Backlight…ightness of backlight:backlight...
[  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
[  OK  ] Started Login Service.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Reached target Network.
         Starting Permit User Sessions...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Serial Getty on ttymxc0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

TDX X11 2.6-snapshot colibri-imx7-emmc ttymxc0

colibri-imx7-emmc login: root
root@colibri-imx7-emmc:~# ls
root@colibri-imx7-emmc:~# U-Boot 2019.07-3.0.4+g26d926eda0 (Aug 08 2020 - 04:38:
42 +0000)
P-sh: syntax error: unexpected "("
Uroot@colibri-imx7-emmc:~#
 root@colibri-imx7-emmc:~# CPU:   Freescale i.MX7D rev1.3 1000 MHz (running at 79
2 MHz)
-sh: syntax error: unexpected "("
Proot@colibri-imx7-emmc:~# CPU:   Extended Commercial temperature grade (-20C to
105C) at 34C
-sh: syntax error: unexpected "("
eroot@colibri-imx7-emmc:~# Reset cause: POR
-sh: Reset: not found
root@colibri-imx7-emmc:~# U-Boot 2019.07-3.0.4+g26d926eda0 (Aug 08 2020 - 04:38:
42 +0000)
C-sh: syntax error: unexpected "("
root@colibri-imx7-emmc:~#
root@colibri-imx7-emmc:~# CPU:   Freescale i.MX7D rev1.3 1000 MHz (running at 79

Hi @nadim4114,

Let’s go step by step:

  1. The “bitbake -k core-image-minimal” was more for an example. You can try it for the Toradex main reference, using “bitbake -k console-tdx-image”.
  2. Yes, the required Qt bblayers appears to be already set on bblayers.conf

I arranged a setup for an Ubuntu 18.04 and conducted all the required steps.
Everything worked fine here for me.

The steps I’ve followed were:

# Repo initialization of the LinuxImage3.0
repo init -u http://git.toradex.com/toradex-bsp-platform.git -b LinuxImage3.0 -m default.xml

# Repo sync
repo sync

# Setup of environment
. export

# Setup of the local.conf for the iMX7D eMMC.
gedit conf/local.conf 

# trigger of the openembedded conse-tdx-image build
 bitbake -k console-tdx-image

Please, check if everything is OK with your Network, if you are not using a Firewall or Proxy that could be blocking some of the required repositories/resources for the build process.

Here in my environment with Ubuntu 18.04 64-bit everything worked fine.

Also, please be aware of the previous required dependencies for the OpenEmbedded build process.

Hi, @andrecurvello , it’s actually very weird that I have tried building on 2 different setups but I get some or other warnings and errors. I’d did not use -k to build the image rather I used bitbake core-image-minimal command. just a suggestion needed, that one of my build is complete as shown above, can I start another build directly or I have to clean or delete some folders to proceed with a new image?

How do I build LXDE image for v 3.0 image? I cannot see it like one shown in v2.8

You don’t have to delete everything, you can start another build within the same oe-core repository.
But, please, be aware that another build will only be possible to trigger when the previous be finished, ok?

Hi @nadim4114,

Toradex is providing some reference images at oe-core/layers/meta-toradex-demos/recipes-images/images.

See:

amcurvello@ubuntu1804:~/oe-core/layers/meta-toradex-demos/recipes-images/images$ ls
console-tdx-image.bb  lxde-image.bb  lx.inc  lxqt-image.bb  qt5-x11-image.bb  tdx-extra.inc

So, to build a LXDE image with V 3.0 you can just use:

bitbake -k lxde-image

Hi @nadim4114

In Bsp 3.0 only the images console-tdx-image.bb, lxqt-image.bb, qt5-x11-image.bb are built and supported.

Best regards,
Jaski

I am successfully able to build the image now with just 1 warning as below

WARNING: You have included the meta-gnome layer, but ‘x11’ has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-gnome README for details on enabling meta-gnome support.

I am also able to build sdk successfully with 1 warning as below.

WARNING: You have included the meta-gnome layer, but ‘x11’ has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-gnome README for details on enabling meta-gnome support.
I have attached local.conf and bblayers.conf here for your reference.

I found the SDK in the below mentioned path which is quite different from 2.8 image which is build earlier. I hope the path is correct.link text
/home/binariesystem343/oe-core/build/deploy/sdk

Hi @nadim4114,

If you want to get rid of the warnings, you have to add the x11 in the DISTRO_FEATURES at local.conf file, by using this approach:

DISTRO_FEATURES_append= " x11"

Yes, the link for the SDK is correct.

And were you not only able to build the image, but is it running OK at the target board?

Please let us know.

Best regards,
André Curvello

Thankyou @andrecurvello.tx , I Will do the needful to remove warning.

Yes the Image i built using core image minimal command working perfectly fine.
–>I am still yet to test another linux image and verify whether the image contains Qt libraries or not. How do i know my image has Qt libraries included?

→ I installed the complied SDK which i built with Qt layers which i mentiond in the previous comment. I am not able to see Qt libraries included in it. I tried 2 times. what could have gone wrong with the SDK so that no Qt libraries are included?
I am looking for Qt libraries in SDK on below Paths:
/opt/tdx-x11/2.6.4/sysroots/x86_64-tdxsdk-linux/usr/bin

That is why i want to understand how can i check whether the libraries are included in Linux image.

Hi @nadim4114,

I’m happy to see that you are having progress.

As @jaski.tx mentioned, our recommended “console minimal image” is now called console-tdx-image. Please be aware of that, and if you didn’t built if before, I suggest you to try a build of it, like

bitbake console-tdx-image

So, If I understand you right, you need to build an image with Qt5 support.

For your understanding of what comes of each image, please have a look at the recipes at this directory, under the initialized root of the repository for OpenEmbedded/Yocto you have:
layers/meta-toradex-demos/recipes-images/images

There you’ll see include files and references for image recipes provided by Toradex. They are examples that you can use to create your own.

Have a look at the image recipe file qt5-x11-image.bb. You’ll see that it has this (line 138, approximately):

IMAGE_INSTALL_QT5 = " \
    packagegroup-qt5 \
    liberation-fonts \
    x-window-qtsmarthome \
"

That states that this image recipe is expressively saying that it’ll contain the package group for Qt5.

Unfortunately the console-tdx-image image recipe file does not contain any inclusion for Qt5 packages.

If your environment is now OK, I’d suggest you to try to build this image: qt5-x11-image.bb with this command:

bitbake qt5-x11-image

I hope it will work this time. Please let me know.

Best regards,
André Curvello