]> code.ossystems Code Review - meta-freescale.git/commit
imx-boot: Add dependency on xxd-native 960/head
authorNathan Rossi <nathan.rossi@digi.com>
Tue, 20 Apr 2021 07:02:51 +0000 (07:02 +0000)
committerDaniel Ammann <daniel.ammann@bytesatwork.ch>
Mon, 24 Jan 2022 11:59:48 +0000 (12:59 +0100)
commit454c58986d9f7ada66cb6c82ad972404a7ef4d72
tree0c83fa73e04c5a7472bb5a5800c96975426e3122
parente1e51ebbe8f24f51cb501584e4566421a3a0f1e3
imx-boot: Add dependency on xxd-native

The fspi_packer.sh script uses xxd in order to generate the SPI flash
configuration header. If xxd is missing no error is produced and the
output image does not work. The log however contains the following error
messages (e.g. for iMX8MP flash_evk_flexspi target):

    ./../scripts/fspi_packer.sh ../scripts/fspi_header
    ./../scripts/fspi_packer.sh: 5: xxd: not found
    dd: failed to open 'qspi-header': No such file or directory
    3333+1 records in
    3333+1 records out
    3413776 bytes (3.4 MB, 3.3 MiB) copied, 0.00566483 s, 603 MB/s
    dd: failed to open 'qspi-header.off': No such file or directory
    cp: cannot stat 'qspi-header.off': No such file or directory
    rm: cannot remove 'qspi-header*': No such file or directory
    F(Q)SPI IMAGE PACKED

xxd is not in HOSTTOOLS or HOSTTOOLS_NONFATAL, as such the explicit
DEPENDS is required.

Signed-off-by: Nathan Rossi <nathan.rossi@digi.com>
(cherry picked from commit 71a0623ada456790778213a0ea2bb6b1535bd069)
recipes-bsp/imx-mkimage/imx-boot_1.0.bb