mirror of
https://github.com/armbian/build.git
synced 2026-09-08 23:59:54 +08:00
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
This commit is contained in:
@@ -482,6 +482,9 @@ function compile_uboot() {
|
||||
display_alert "Analyzing u-boot binary with binwalk" "'${base_binfile}' built on ${HOSTRELEASE}" "info"
|
||||
run_host_command_logged file --brief "${binfile}" "||" true ";" binwalk --run-as=root "${binfile}" "||" true # do not fail, ever
|
||||
|
||||
display_alert "Analyzing u-boot binary with dumpimage" "'${base_binfile}' built on ${HOSTRELEASE}" "info"
|
||||
run_host_command_logged dumpimage -l "${binfile}" "||" true # do not fail, ever
|
||||
|
||||
if [[ "${UBOOT_BINS_TO_OUTPUT}" == "yes" ]]; then
|
||||
display_alert "Copying u-boot binary to output for later binwalk inspection" "'${base_binfile}' built on ${HOSTRELEASE}" "warn"
|
||||
declare target="${SRC}/output/uboot-bin-${uboot_name}-${base_binfile}-host-${HOSTRELEASE}.bin"
|
||||
|
||||
Reference in New Issue
Block a user