Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to build uImage?

I have zImage and kernel source. I did

make zImage 

to generate the zImage.
When I flash this, the board won't boot up.
So how do I convert this to uImage which u-boot reads properly?
Thanks!

like image 895
pa1 Avatar asked Sep 16 '25 19:09

pa1


1 Answers

Install u-boot-tools. The command depends on your distribution. If you are using Debian/Ubuntu, it should look like

sudo apt-get install u-boot-tools

See U-Boot documentation on tool installation


make uImage

mkimage -A <arch> -O linux -T kernel -C none -a <load-address> -e <entry-point> -n "Linux kernel" -d arch/arm/boot/zImage uImage

or in the kernel source

make uImage
like image 178
Arthur Avatar answered Sep 21 '25 11:09

Arthur