pa1
pa1

Reputation: 868

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!

Upvotes: 4

Views: 18843

Answers (1)

Arthur
Arthur

Reputation: 578

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

Upvotes: 12

Related Questions