Dear Sir.
Every time thanks your advise.
I have a 3 file. see below
1. kernel image(zImage)
2. rootfs image(initrd)
3. DTB file
I'm want to merge this 3 files to 1 image file. that use mkimage utility.
I'm already know "how to use mkimage". my command see below
Code:
mkimage -A arm -T kernel -C none -a 0x20100000 -e 0x20100000 -n "my image" -d zImage rootfs.initrd my.dtb myimage.bin
And. I'm use the "bootm" command on u-boot(
Ver 2015.01)
Code:
U-boot > tftp 0x22000000 myimage.bin
U-boot > bootm 0x22000000
But u-boot can't found rootfs.initrd and myimage.dtb in myimage.bin
Please advise to me.
PS1. I'm already success boot. But not merge 3 file to 1 file.
Code:
tftp 0x21000000 zImage
tftp 0x22000000 rootfs.initrd
tftp 0x23000000 my.dtb
U-boot > bootm 0x21000000 0x22000000 0x23000000
So, each image is correct for U-boot.
PS2. Another case. can't boot
Code:
cat zImage my.dtb > tmp
mkimage -A arm -T kernel -C none -a 0x20100000 -e 0x20100000 \
-n "My image" \
-d tmp my.image
Code:
U-boot > tftp 0x21000000 my.image
U-boot > bootm 0x21000000
## Booting kernel from Legacy Image at 21000000 ...
Image Name: My image
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1515761 Bytes = 1.4 MiB
Load Address: 20100000
Entry Point: 20100000
Verifying Checksum ... OK
Loading Kernel Image ... OK
FDT and ATAGS support not compiled in - hanging
### ERROR ### Please RESET the board ###