AnsweredAssumed Answered

How to convert vmlinux into uImage

Question asked by David XY Zhou on Apr 30, 2018
Latest reply on May 1, 2018 by David XY Zhou



I have imx6ul and Linux 4.15


I am trying to use uImage for booting process. Currentlt zImage is created from vmlinux ( I believe).

The vmlinux is ELF 32-bit LSB relocatable, ARM, version1, statically linked, not stripped.

I converted from vmlinux into uImage. Using bootm, everything is fine upto kernel_entry(); Stuck when control is transferred into kernel. The loadaddr of the vmlinux is 0x001010100. Usning mkimage, I set loadaddr and entry point to 0x80008000. The command as follows:

mkimage -A arm -T kernel -C none -O linux -a 0x80008000 -e 0x80008000 -n "Linux" -d vmlinux uImage


By the way, what is the best way to make uImage?


What did I missed?


Thank you,


David Zhou