Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fullhan u-boot proprietary crap
- 'fh_mkimage' - appears to work in 64-bit Ubuntu 22.04 with lib32z1 package installed. Couldn't get working with patchelf.
- ------------------------
- ldd fh_mkimage
- linux-gate.so.1 (0xf7fb8000)
- libc.so.6 => /lib32/libc.so.6 (0xf7d78000)
- /lib/ld-linux.so.2 (0xf7fba000)
- ------------------------
- ./fh_mkimage
- Usage: ./fh_mkimage -l image
- -l ==> list image header information
- ./fh_mkimage [-x] -A arch -O os -T type -C comp -a addr -e ep -n name -d data_file[:data_file...] image
- -A ==> set architecture to 'arch'
- -O ==> set operating system to 'os'
- -T ==> set image type to 'type'
- -C ==> set compression type 'comp'
- -a ==> set load address to 'addr' (hex)
- -e ==> set entry point to 'ep' (hex)
- -n ==> set image name to 'name'
- -d ==> use image data from 'datafile'
- -x ==> set XIP (execute in place)
- ./fh_mkimage [-D dtc_options] -f fit-image.its fit-image
- ------------------------
- From Fullhan u-boot makefile
- $(obj)u-boot.img: $(obj)u-boot.bin
- ./fh_mkimage -A $(ARCH) -T firmware -C none \
- -a $(TEXT_BASE) -e 0 \
- -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
- sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
- -d $< $@
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement