summaryrefslogtreecommitdiff
path: root/doc/develop/bootstd
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-10-10 13:28:42 -0600
committerTom Rini <[email protected]>2025-10-10 13:28:42 -0600
commitcd01a8164d06fb1f31fddadd78bf17be8d6fa006 (patch)
tree7bc8d265be241c823e2641916f9bbb191bd93298 /doc/develop/bootstd
parent8c42f534d7e1956192ef8457fae884469f60ff13 (diff)
parentb3ab77345e3d1e7f40f1991e5072daf0f2d972dc (diff)
Merge patch series "mkimage: fit: various fixes in fit_{import,extract}_data"
Quentin Schulz <[email protected]> says: I had to hunt down a difference between the FIT after running mkimage once and after running it twice. The use-case is typically U-Boot generating an unsigned FIT and then calling mkimage manually to sign it outside any build system. The issue can be reproduced with the following make CROSS_COMPILE=aarch64-linux-gnu- BUILD_TAG= SOURCE_DATE_EPOCH=0 O=build/ringneck ringneck-px30_defconfig make CROSS_COMPILE=aarch64-linux-gnu- BUILD_TAG= SOURCE_DATE_EPOCH=0 O=build/ringneck -j`nproc` cd build/ringneck cp ./simple-bin.fit.itb ./simple-bin.foo.fit cp ./simple-bin.fit.itb ./simple-bin.foo2.fit BUILD_TAG= SOURCE_DATE_EPOCH=0 ./tools/mkimage -E -t -B 200 -F ./simple-bin.foo.fit BUILD_TAG= SOURCE_DATE_EPOCH=0 ./tools/mkimage -E -t -B 200 -F ./simple-bin.foo2.fit BUILD_TAG= SOURCE_DATE_EPOCH=0 ./tools/mkimage -E -t -B 200 -F ./simple-bin.foo2.fit then compare the output of dtc -I dtb -O dts simple-bin.foo.fit dtc -I dtb -O dts simple-bin.foo2.fit data-size and data-offset properties are swapped. While going through the code, I identified a few theoretical issues possibly triggered by not checking the return code of fdt_setprop so those are added. Not tested outside of building. Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'doc/develop/bootstd')
0 files changed, 0 insertions, 0 deletions