u-boot/tools
Simon Glass 2c252d36b8 binman: Honour the skip-at-start property more faithfully
A discussion on the mailing list about dealing with block offsets and
binman symbols made me think that something is wrong with how Binman
deals with the skip-at-start property.

The feature was originally designed to handle x86 ROMs, which are mapped
at the top of the address space. That seemed too specific, whereas
skipping some space at the start seemed more generally useful.

It has proved useful. For example, rockchip images start at block 64,
so a skip-at-start of 0x8000 deals with this.

But it doesn't actually work correctly, since the image_pos value does
not give the actual position on the media.

Fix this and update the documentation, moving it into the 'section'
section.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-03-04 08:22:11 -06:00
..
binman binman: Honour the skip-at-start property more faithfully 2025-03-04 08:22:11 -06:00
buildman buildman: Record an error if a toolchain is missing 2025-01-25 16:27:24 -06:00
docker docker: Update to latest "Jammy" tag 2024-12-21 12:27:46 -06:00
dtoc tools: dtoc: Allow passing optional input directories 2024-12-19 09:10:34 -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 tools: fix define2mk.sed to not add quotes around negative integers 2016-06-13 07:46:29 +09:00
u_boot_pylib tools: u_boot_pylib: Allow to append input directories to indir 2024-12-19 09:10:34 -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 WS cleanup: remove trailing white space 2021-09-30 08:08:56 -04:00
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 tools: mkimage/dumpimage: Allow to use -l with -T 2022-02-28 10:33:11 -05:00
dumpimage.h
eficapsule.h efi: define struct efi_guid 2024-09-12 17:35:37 +02:00
efivar.py
endian-swap.py tools: add script for byte endianness swapping 2020-06-29 22:36:35 +02:00
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 boot: Rename fit_image_get_data_and_size() 2025-01-22 15:58:04 -06:00
fit_info.c tools: use read-only mmap in fit_check_sign 2019-05-18 12:32:02 -04:00
gen_eth_addr.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gen_ethaddr_crc.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
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 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ifwitool.c ifwitool: Fix member access 2023-01-27 12:51:26 -05:00
image-host.c tools: use cryptographically safe RNG 2025-02-18 12:30:32 -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: Improve error message 2024-11-25 23:07:37 -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 imx: imx_cntr_image.sh: prevent warning for missing spl 2024-11-25 23:07:37 -03:00
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 Blackfin: jtagconsole: disable output processing 2010-07-25 15:17:23 -04:00
Kconfig lib: Allow crc16 code to be dropped 2025-02-03 16:00:42 -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 tools: kwbimage.h: use linux/compiler_attributes.h 2025-01-18 17:12:47 -06:00
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 lib: sha256: move common function to sha256_common.c 2025-01-18 17:12:47 -06:00
microcode-tool x86: Add a script to process Intel microcode files 2014-12-18 17:26:08 -07:00
microcode-tool.py microcode_tool: Convert to Python 3 2019-11-04 18:15:32 -07:00
mips-relocs.c linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
mkeficapsule.c tools: mkeficapsule: use %zd to print ssize_t. 2024-11-09 09:56:45 +01:00
mkenvimage.c tools: mkenvimage: List -V parameter in help text 2025-02-10 10:27:01 -06:00
mkexynosspl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
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: Update map_to_sysmem() to match its prototype 2025-01-22 15:58:03 -06: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 tools/netconsole: Add support for socat 2021-12-02 08:34:01 +02:00
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: check result of lseek 2025-01-26 11:35:46 -06:00
pblimage.h tools: pblimage: fix image header verification function 2022-02-28 12:01:02 +05:30
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: proftool: dump-ftrace should write funcgraph times in ns not us 2024-12-31 19:00:37 -06:00
qconfig.py qconfig.py: Update resync message 2025-01-18 08:28:44 -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: renesas_spkgimage.h: use linux/compiler_attributes.h 2025-01-18 17:12:47 -06: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 imx: replace CONFIG_SECURE_BOOT with CONFIG_IMX_HAB 2019-10-08 16:36:37 +02:00
stm32image.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
sunxi-spl-image-builder.c tools: sunxi: avoid read after end of string 2017-05-05 16:45:57 -04:00
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