카테고리 없음

mkimage 사용 방법

깍수 2014. 6. 18. 16:11

ex) mkimage -A arm -T ramdisk -O linux -C gzip -a 0x51000000 -e 0x51000000 -n "Ramdisk" -d FileName.gz Target_Image


Usage: mkimage -l image

          -l ==> list image header information

       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)

       mkimage [-D dtc_options] -f fit-image.its fit-image

       mkimage -V ==> print version information and exit