Closed ScarFez closed 1 year ago
edk2-rk35xx/misc/tools$ file * mkimage: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=b4e844bf7d6ce7d94d0e1671f61db33eaf0532ef, for GNU/Linux 3.2.0, not stripped
I tried using mkimage from u-boot, which is native, but the arguments does not seem to match;
Usage: ./misc/tools/mkimage -l image
-l ==> list image header information
./misc/tools/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)
./misc/tools/mkimage [-D dtc_options] [-f fit-image.its|-f auto|-F] [-b
It seems like the mkimage (x86-64) can use more images than one
(from build.sh near line 32)
${ROOTDIR}/misc/tools/mkimage -n rk3588 -T rksd -d ${ROOTDIR}/misc/rkbin/bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.11.bin:${ROOTDIR}/misc/rkbin/bin/rk35/rk3588_spl_v1.12.bin idblock.bin
should I just create a single bin file out of those two (concatinating) ?
Looks like a dead end
Is there a way to make a native build ?