Skip to content

Commit 27dde34

Browse files
rpardiniigorpecovnik
authored andcommitted
u-boot: debug produced binaries with dumpimage -l as well as binwalk
- still chasing why rk vendor u-boot alledgedly produces nonworking bins when built on non-Jammy hosts - see #9897 and #10055
1 parent c669c87 commit 27dde34

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/functions/compilation/uboot.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,9 @@ function compile_uboot() {
482482
display_alert "Analyzing u-boot binary with binwalk" "'${base_binfile}' built on ${HOSTRELEASE}" "info"
483483
run_host_command_logged file --brief "${binfile}" "||" true ";" binwalk --run-as=root "${binfile}" "||" true # do not fail, ever
484484

485+
display_alert "Analyzing u-boot binary with dumpimage" "'${base_binfile}' built on ${HOSTRELEASE}" "info"
486+
run_host_command_logged dumpimage -l "${binfile}" "||" true # do not fail, ever
487+
485488
if [[ "${UBOOT_BINS_TO_OUTPUT}" == "yes" ]]; then
486489
display_alert "Copying u-boot binary to output for later binwalk inspection" "'${base_binfile}' built on ${HOSTRELEASE}" "warn"
487490
declare target="${SRC}/output/uboot-bin-${uboot_name}-${base_binfile}-host-${HOSTRELEASE}.bin"

0 commit comments

Comments
 (0)