Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
Guppy 7.0.1, Flounder 6.0.5, Guppy 7.0.3, master
-
Raspberry Pi 3
Description
I tried to build an image with the agl-sota functionnality:
repo init -b guppy -m guppy_7.0.1.xml -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo.git repo sync git clone --branch rocko https://www.github.com/advancedtelematic/meta-updater-raspberrypi.git source meta-agl/scripts/aglsetup.sh -m raspberrypi3 agl-demo agl-appfw-smack agl-sota
I ensure that ${METADIR}/meta-updater-raspberrypi is added at BBLAYERS in bblayers.conf, then I run
bitbake agl-demo-platform
Build fails with the following error:
ERROR: create-combined-dtb-1.0.0-r1 do_compile: Function failed: do_compile (log file is located at /media/sebastien/18b81cab-7f1d-4519-823f-adc569b21d87/AGL/workspace-agl/build/tmp/work/armv7vehf-neon-vfpv4-agl-linux-gnueabi/create-combined-dtb/1.0.0-r1/temp/log.do_compile.4872) ERROR: Logfile of failure stored in: /media/sebastien/18b81cab-7f1d-4519-823f-adc569b21d87/AGL/workspace-agl/build/tmp/work/armv7vehf-neon-vfpv4-agl-linux-gnueabi/create-combined-dtb/1.0.0-r1/temp/log.do_compile.4872 Log data follows: | DEBUG: Executing shell function do_compile | Couldn't open blob from '/media/sebastien/18b81cab-7f1d-4519-823f-adc569b21d87/AGL/workspace-agl/build/tmp/deploy/images/raspberrypi3/uImage-bcm2710-rpi-3-b-plus.dtb': No such file or directory | | Failed to read base blob /media/sebastien/18b81cab-7f1d-4519-823f-adc569b21d87/AGL/workspace-agl/build/tmp/deploy/images/raspberrypi3/uImage-bcm2710-rpi-3-b-plus.dtb | input = /media/sebastien/18b81cab-7f1d-4519-823f-adc569b21d87/AGL/workspace-agl/build/tmp/deploy/images/raspberrypi3/uImage-bcm2710-rpi-3-b-plus.dtb | output = uImage-bcm2710-rpi-3-b+vc4+ft5406.dtb | overlay[0] = /media/sebastien/18b81cab-7f1d-4519-823f-adc569b21d87/AGL/workspace-agl/build/tmp/deploy/images/raspberrypi3/rpi-ft5406.dtbo | overlay[1] = /media/sebastien/18b81cab-7f1d-4519-823f-adc569b21d87/AGL/workspace-agl/build/tmp/deploy/images/raspberrypi3/uImage-vc4-kms-v3d.dtbo | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /media/sebastien/18b81cab-7f1d-4519-823f-adc569b21d87/AGL/workspace-agl/build/tmp/work/armv7vehf-neon-vfpv4-agl-linux-gnueabi/create-combined-dtb/1.0.0-r1/temp/log.do_compile.4872) ERROR: Task (/media/sebastien/18b81cab-7f1d-4519-823f-adc569b21d87/AGL/workspace-agl/meta-agl/meta-agl-bsp/meta-raspberrypi/recipes-kernel/create-combined-dtb/create-combined-dtb_1.0.0.bb:do_compile) failed with exit code '1'
The file uImage-bcm2710-rpi-3-b-plus.dtb is indeed missing.
Please find in the attachements the content of the workspace-agl/build/tmp/deploy/images/raspberrypi3/ directory given by "ls -l".
What I could see so far is that meta-updater sets KERNEL_IMAGETYPE to "fitImage", then linux-raspberrypi recipe creates dtb files with a "zImage" prefix (is it the expected behavior?) and eventually create-combined-dtb task is looking for dtb files with a "uImage" prefix.
Any advice?
PS: build without agl-sota option runs successfully.