Yocto update from sumo to dunfell

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto update from sumo to dunfell

1,487 Views
shravankumaralugala
Contributor II

Hardware : p2020 Qoirq

Requirement : Need to updated yocto distribution from sumo to dunfell.

Query : In the process of updating the yocto distribution from Sumo to dunfell I have ended up in the below error in qemu-ppc , as illegal instruction.

Need help to rectify this.

Here are the logs.

shravan@shravan-VirtualBox:~/cis_activities/build$ bitbake -c populate_sdk core-image-minimal
Loading cache: 100% |##########################################################################################################################| Time: 0:00:00
Loaded 1491 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "powerpc-poky-linux"
MACHINE = "tng"
DISTRO = "poky"
DISTRO_VERSION = "3.1.20"
TUNE_FEATURES = "m32 ppce500v2 bigendian"
TARGET_FPU = ""
meta
meta-poky = "dunfell_v1.0:7f9b7f912e13451a4cd03b10a8090a5def68dc39"
meta-freescale = "dunfell_v1.0:dbfb1f0101b57de5375b2efee367b093bdbcc933"

Initialising tasks: 100% |#####################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 0 Found 0 Missed 0 Current 1198 (0% match, 100% complete)
NOTE: Executing Tasks
ERROR: core-image-minimal-1.0-r0 do_populate_sdk: The postinstall intercept hook 'update_gio_module_cache' failed, details in /home/shravan/cis_activities/cis_review/kernel_upgrade/build/tmp/work/tng-poky-linux/core-image-minimal/1.0-r0/temp/log.do_populate_sdk
ERROR: Logfile of failure stored in: /home/shravan/cis_activities/cis_review/kernel_upgrade/build/tmp/work/tng-poky-linux/core-image-minimal/1.0-r0/temp/log.do_populate_sdk.10578
ERROR: Task (/home/shravan/cis_activities/cis_review/kernel_upgrade/build/../poky/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3565 tasks of which 3564 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/shravan/cis_activities/cis_review/kernel_upgrade/tng-bsp/build/../poky/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

 

Steps Followed : 

1. Clone the poky repository, and checkout to dunfell branch:      
    ~~~
    $ cd ~/my_yocto  
    $ git clone git://git.yoctoproject.org/poky  
    $ cd poky  
    $ git checkout tags/dunfell-23.0.20 -b dunfell_v1.0
    ~~~

 

2. Clone the Freescale layer, and checkout to dunfell branch:  
    ~~~  
    $ cd ~/my_yocto  
    $ git clone git://git.yoctoproject.org/meta-freescale
    $ cd meta-freescale  
    $ git checkout dunfell
    $ git checkout dbfb1f0101b57de5375b2efee367b093bdbcc933 -b dunfell_v1.0
    ~~~  
3. cd ~/my_yocto
4. source /poky/oe-init-build-env
5. a. change the MACHINE name to p2020rdb in build/conf/local.conf
      ##MACHINE ??= "qemux86-64"  // Remove this line
       MACHINE ??= "p2020rdb"      // Add this line
    b. Edit build/conf/bblayers.conf as below 
         { no format}    

         POKY_BBLAYERS_CONF_VERSION = "2"

          BBPATH = "${TOPDIR}"
          BBFILES ?= ""

          BBLAYERS ?= " \
          /home/shravan/cis_activities/kernel_upgrade_ptest/tng-bsp/poky/meta \
          /home/shravan/cis_activities/kernel_upgrade_ptest/tng-bsp/poky/meta-poky \
          /home/shravan/cis_activities/kernel_upgrade_ptest/tng-bsp/meta-freescale \
          "

         { no format}
6. build$ bitbake core-image-minimal  
   // The above command is successful
7. build$ bitbake -c populate_sdk core-image-minimal
  // The above command is failing , need help to resolve this. Attached the log for more data

 

0 Kudos
Reply
1 Reply

1,405 Views
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

The version of dunfell is yocto 3.1.
I tried to build p2020rdb in my linux PC (ubuntu 18.04), it's successful.
here is my steps.

mkdir yocto
cd yocto/
repo init -u https://source.codeaurora.org/external/qoriq/qoriq-components/yocto-sdk -b dunfell
repo sync --no-clone-bundle
source setup-env -m p2020rdb
bitbake fsl-image-networking

Also attached yocto 3.1 draft UG.

0 Kudos
Reply