Build failed with agl-sota for rpi3

Description

 I tried to build an image with the agl-sota functionnality:

I ensure that ${METADIR}/meta-updater-raspberrypi is added at BBLAYERS  in bblayers.conf, then I run

Build fails with the following error:

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. 

 

Environment

None

Attachments

3

Activity

Walt Miner 
September 6, 2019 at 8:36 PM

Close for Halibut 8.0.1 release

Leon Anavi 
September 5, 2019 at 3:36 PM

Hi,

The fixes have been merged in master and halibut branches. I have added notes about SOTA in the AGL wiki article for Raspberry Pi.

Best regards,
Leon

Leon Anavi 
August 30, 2019 at 5:46 PM
(edited)

Hi ,

Thank you for the help to figure out this issue. I have submitted a patch to master that adds 'cma=256M' to OSTREE_KERNEL_ARGS. With this fix weston works and the home screen appears for images with enabled agl-sota feature on Raspberry Pi 3 B and B+.

Best regards,
Leon

Jan-Simon Moeller 
August 30, 2019 at 1:44 PM
(edited)

Yep, kernel args are missing 'cma=256M'

 

See the dmesg vs  e.g. https://lava.automotivelinux.org/scheduler/job/7016#L262

Jan-Simon Moeller 
August 30, 2019 at 1:42 PM

Gut feeling: dtb or kernel arg differences.

Fixed

Details

Assignee

Reporter

Labels

Contract ID

Hardware Platform(s) Affected

Raspberry Pi 3

Components

Priority

Created August 5, 2019 at 8:41 AM
Updated September 19, 2019 at 12:07 PM
Resolved September 5, 2019 at 3:36 PM