u-boot/tools
Rasmus Villemoes bfbbd8472e imx: hab: fix size of IVT+CSF blob tacked on to u-boot.itb
Loading flash.bin using uuu fails when flash.bin does not have the
right size.

When flash.bin is loaded from some storage medium (sd card/emmc), SPL
just loads some random garbage bytes from beyond what has been
populated when flash.bin was written, but when loaded via uuu, SPL
hangs waiting for the host to send the expected number of bytes. Which
is (size of FIT image aligned to 0x1000)+CONFIG_CSF_SIZE. The
alignment to 0x1000 is already done and is necessary in all cases
because that's the exact expected location of the 32 byte IVT
header. But the IVT+CSF blob tacked onto the end must be a total of
CONFIG_CSF_SIZE.

This is exactly the same fix as 89f19f45d6, except that this time
around I don't know how to cleanly get CONFIG_CSF_SIZE.

Fixes: bc6beae7c5 (binman: Add nxp_imx8mcst etype for i.MX8M flash.bin signing)
Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Tested-by: Heiko Schocher <hs@denx.de>
2024-10-29 16:25:25 -03:00
..
binman imx: hab: fix size of IVT+CSF blob tacked on to u-boot.itb 2024-10-29 16:25:25 -03:00
buildman buildman: Correct some warnings about regex strings 2024-10-18 14:10:22 -06:00
docker docker: Update coreboot 2024-10-18 14:10:22 -06:00
dtoc Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
env envtools: make them build again 2024-10-21 20:51:23 -06:00
gdb tools: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
kermit
libfdt
logos board: stm32f469-disco: add splash screen with stmicroelectronics logo 2023-12-15 15:41:23 +01:00
omap
patman patman: Resolve python string vs. regex escaping syntax 2024-09-01 11:05:43 -06:00
scripts
u_boot_pylib u_boot_pylib: Support running coverage on selected functions 2024-10-18 14:10:22 -06:00
.gitignore tools: gitignore: Fix tools/generated path 2023-11-10 11:01:50 -05:00
aisimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
aisimage.h
asn1_compiler.c
atmel_pmecc_params.c
atmelimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
bmp_logo.c
default_image.c crc32: Drop duplicates crc header includes 2023-08-08 17:41:52 -04:00
dumpimage.c
dumpimage.h
eficapsule.h efi: define struct efi_guid 2024-09-12 17:35:37 +02:00
efivar.py
endian-swap.py
envcrc.c tools: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
expo.py expo: Use standard numbering for save and discard 2024-10-18 14:10:22 -06:00
fdt_add_pubkey.c tools: avoid implicit fallthrough in fdt_add_pubkey 2023-04-06 19:10:08 -04:00
fdt_host.h
fdtgrep.c tools: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
file2include.c
fit_check_sign.c
fit_common.c tools: copyfile: use 64k instead of 512 buffer 2024-04-17 17:06:01 -06:00
fit_common.h tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
fit_image.c tools: open FIT image read-only 2024-04-10 09:34:53 -06:00
fit_info.c
gen_eth_addr.c
gen_ethaddr_crc.c
getline.c
getline.h
gpheader.h
gpimage-common.c
gpimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
ifdtool.c
ifdtool.h
ifwitool.c ifwitool: Fix member access 2023-01-27 12:51:26 -05:00
image-host.c image-host: fix 'unknown error' error message 2024-10-18 14:10:22 -06:00
image-sig-host.c lib: ecdsa: Add ECDSA384 support 2024-10-21 17:52:52 -06:00
imagetool.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
imagetool.h tools: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
img2srec.c tools: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
imx8image.c tools: imx8image: add upower image support 2024-08-13 08:28:24 -03:00
imx8m_image.sh
imx8mimage.c tools: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
imx9_image.sh tools: imx9_image: Reword warning message. 2024-03-04 08:18:13 -03:00
imx_cntr_image.sh
imximage.c tools: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
iot2050-sign-fw.sh tools: iot2050-sign-fw.sh: Make localization of tools dir more robust 2023-10-09 15:24:31 -04:00
jtagconsole
Kconfig tools: Build mkeficapsule tool by default if EFI_LOADER is set 2024-06-14 12:59:05 -06:00
key2dtsi.py tools: Add script for converting public key into device tree include 2023-03-29 11:58:26 -04:00
kwbimage.c tools: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
kwbimage.h
kwboot.c tools: kwboot: Add support for parsing SATA images with non-512 block size 2023-04-13 11:34:47 +02:00
lpc32xximage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
Makefile tools: mkeficapsule: use u-boot UUID library 2024-09-12 17:35:37 +02:00
microcode-tool
microcode-tool.py
mips-relocs.c
mkeficapsule.c tools: mkeficapsule: support generating dynamic GUIDs 2024-09-12 17:35:37 +02:00
mkenvimage.c tools: mkenvimage: Drop duplicate crc header include 2022-11-23 13:06:12 -05:00
mkexynosspl.c
mkfwumdata.c tools: mkfwumdata: add logic to append vendor data to the FWU metadata 2024-05-24 13:40:04 -06:00
mkimage.c tools: fix build without LIBCRYPTO support 2024-01-11 22:09:11 -05:00
mkimage.h mkimage: Use PATH_MAX for path length 2023-06-23 14:38:16 -04:00
mksunxiboot.c
mtk_image.c tools: mtk_image: use uint32_t for ghf header magic and version 2023-08-03 09:40:50 -04:00
mtk_image.h tools: mtk_image: use uint32_t for ghf header magic and version 2023-08-03 09:40:50 -04:00
mtk_nand_headers.c tools: mtk_image: add support for nand headers used by newer chips 2022-09-23 15:09:16 -04:00
mtk_nand_headers.h tools: mtk_image: add support for nand headers used by newer chips 2022-09-23 15:09:16 -04:00
mxsboot.c tools: mxsboot: pre-fill buffer with 0xff, not 0 2023-12-13 15:33:57 -03:00
mxsimage.c tools: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
mxsimage.h
ncb.c
netconsole
omapimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
omapimage.h
os_support.c
os_support.h
pbl_crc32.c
pbl_crc32.h
pblimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
pblimage.h
prelink-riscv.c tools: prelink-riscv: Unmap the ELF image when done 2023-04-20 20:45:08 +08:00
prelink-riscv.inc tools: prelink-riscv: Cosmetic style fixes 2023-04-20 20:45:08 +08:00
printinitialenv.c u-boot-initial-env: rework make target 2022-12-08 09:29:02 -05:00
proftool.c trace: use dynamic string buffer in make_flamegraph() 2024-04-10 09:34:53 -06:00
qconfig.py qconfig: Update tool for new Makefile variables 2024-10-11 11:44:48 -06:00
relocate-rela.c tools: relocate-rela: Add M68K support 2023-09-06 13:28:29 +02:00
renesas_spkgimage.c mkimage: do not write incorrect error message 2023-11-20 19:06:22 +01:00
renesas_spkgimage.h tools: spkgimage: add Renesas SPKG format 2023-05-13 04:01:30 +02:00
rkcommon.c rockchip: mkimage: fix mkimage -l for header v1 2024-06-14 17:07:59 +08:00
rkcommon.h tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
rkimage.c
rkmux.py
rksd.c
rkspi.c
rmboard.py patman: Move library functions into a library directory 2023-03-08 11:40:49 -08:00
sfspl.c tools: mkimage: fix sfspl_image_extract_subimage() 2023-10-30 15:32:49 -04:00
socfpgaimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
spl_size_limit.c
stm32image.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
sunxi-spl-image-builder.c
sunxi_egon.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
sunxi_toc0.c tools: imagetool: Remove unnecessary check from toc0_verify_cert_item() 2024-08-06 00:19:57 +01:00
termios_linux.h tools: termios_linux.h: Fix compilation on non-glibc systems 2022-09-13 06:38:08 +02:00
ublimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
ublimage.h
update-subtree.sh tools: Add script to update git subtree projects 2024-07-31 11:20:36 -06:00
update_octeon_header.c
vybridimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
zynqimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
zynqmp_pm_cfg_obj_convert.py
zynqmp_psu_init_minimize.sh arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00
zynqmpbif.c
zynqmpimage.c tools: zynqmpimage: print partition names 2024-01-10 09:27:12 +01:00
zynqmpimage.h tools: zynqmpimage: print partition names 2024-01-10 09:27:12 +01:00