Control: tags -1 + upstream On Tue, Mar 19, 2024 at 02:41:13PM -0700, Vagrant Cascadian wrote: > It would be helpful to list the exact command you are running, whoops! mkimage -f auto -A arm64 \ -T kernel -C lz4 -d Image-6.6.15.lz4 \ -b mt8173-elm-hana-6.6.15.dtb outf
> although best to take this upstream. Yeah, can repro on mkimage from upstream checkout: $ strace -oss tools/mkimage -f auto -A arm64 -T kernel -C lz4 -d Image-6.6.15.lz4 -b mt8173-elm-hana-6.6.15.dtb /dev/null tools/mkimage: Can't open Image-6.6.15.lz4: Permission denied tools/mkimage: Failed to build FIT image tools/mkimage: failed to build FIT Error: Bad parameters for FIT image type $ grep Image ss execve("tools/mkimage", ["tools/mkimage", "-f", "auto", "-A", "arm64", "-T", "kernel", "-C", "lz4", "-d", "Image-6.6.15.lz4", "-b", "mt8173-elm-hana-6.6.15.dtb", "/dev/null"], 0x7ffdbed66100 /* 30 vars */) = 0 openat(AT_FDCWD, "Image-6.6.15.lz4", O_RDONLY) = 3 openat(AT_FDCWD, "Image-6.6.15.lz4", O_RDWR) = -1 EACCES (Permission denied) write(2, "tools/mkimage: Can't open Image-"..., 62) = 62 $ gdb --args tools/mkimage -f auto -A arm64 -T kernel -C lz4 -d Image-6.6.15.lz4 -b mt8173-elm-hana-6.6.15.dtb /dev/null #0 __libc_open64 (file=0x7fffffffe587 "Image-6.6.15.lz4", oflag=2) at ../sysdeps/unix/sysv/linux/open64.c:30 #1 0x000055555555f0f7 in fdt_property_file () #2 0x000055555555def9 in fit_handle_file () #3 0x000055555557d1da in main () so I'll post a patch there probably. Best,
signature.asc
Description: PGP signature