Image for ls1028ardb cannot be built
Background
During the rebase on top of Debian Trixie most of the packages were upgraded to newer version. Among these packages arm-trusted-firmware
which has a downstream delta for ls1028ard
does not generate all the binaries needed to create the image.
This can be seen at image build as
2025/06/04 04:50:20 ==== Install PBL for ls1028ardb ====
2025/06/04 04:50:20 Action `Install PBL for ls1028ardb` failed at stage Run, error: Failed to read /scratch/mnt/usr/lib/arm-trusted-firmware/ls1028ardb/bl2_sd.pbl
By checking the logs in arm-trusted-firmware
the following entries can be found
[ 213s] make[3]: Wall: No such file or directory
[ 213s] make[3]: [<builtin>: create_pbl.o] Error 127 (ignored)
[ 213s] Wall -Werror -pedantic -std=c99 -g -O0 -DDEBUG -DVERSION='"v2.12.1(debug):"' -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -c -o byte_swap.o byte_swap.c
[ 213s] make[3]: Wall: No such file or directory
[ 213s] make[3]: [<builtin>: byte_swap.o] Error 127 (ignored)
[ 213s] EL3 Runtime Firmware BL31: offset=0x88, size=0xE24D, cmdline="--soc-fw"
[ 213s] Non-Trusted Firmware BL33: offset=0xE2D5, size=0xCB848, cmdline="--nt-fw"
[ 213s] 'gcc' create_pbl.o -o create_pbl
[ 213s] 'gcc' byte_swap.o -o byte_swap
[ 213s] /usr/bin/ld: cannot find byte_swap.o: No such file or directory
[ 213s] /usr/bin/ld: cannot find create_pbl.o: No such file or directory
[ 213s] collect2: error: ld returned 1 exit status
[ 213s] make[3]: *** [Makefile:42: byte_swap] Error 1
[ 213s] make[3]: *** Waiting for unfinished jobs....
[ 213s] collect2: error: ld returned 1 exit status
[ 213s] make[3]: *** [Makefile:35: create_pbl] Error 1
[ 213s] make[2]: *** [tools/nxp/create_pbl/pbl_ch3.mk:59: pbl] Error 2
[ 213s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[ 213s] dh_auto_build: error: make -j3 "INSTALL=install --strip-program=true" V=1 DEBUG=1 BOOT_MODE=sd RCW=/usr/lib/qoriq-rcw/ls1028ardb/R_SQPP_0x85bb/rcw_1500_gpu600.bin BL33=/usr/lib/u-boot/ls1028ardb_tfa/u-boot-dtb.bin PLAT=ls1028ardb pbl fip returned exit code 2
[ 213s] install: cannot stat 'build/ls1028ardb//debug/bl2_sd.pbl': No such file or directory
As a workaround, this step in the image generation has been skipped
apertis-image-recipes!703 (c0c098c1)
Reproducibility
How often the issue is hit when repeating the steps to reproduce and changing nothing?
Put the
-
✅ always - often, but not always
- rarely
Impact of bug
Images for ls1028ardb cannot be built.
Outcomes
Management data
This section is for management only, it should be the last one in the description.
/cc @em @raju.balasubramanian-ext @sudarshan.chikkapuraputtalingaiah-ext @wlozano
Phabricator link: https://phabricator.apertis.org/T11063