This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

loading the kernel image through serial port

Other Parts Discussed in Thread: AM1808

Hi,

                    I am working with AM1808 based custom made board where we don't have ethernet. So i thought of loading the kernel image and rfs through serial port. I used the following commands in uboot.

                         

                                loadb 0xc0700000

nand erase 0x200000 0x300000

nand write.i 0xC0700000 0x200000 0x300000

                                setenv bootcmd 'nand read.e 0xc1180000 0x500000 0x500000; nboot.e 0xc0700000 0 0x200000; bootm'

here i am loading the kernel image to RAM and i copied the same to NAND address 200000. but my uboot is giving an error message as follows

NAND read: device 0 offset 0x500000, size 0x500000

                5242880 bytes read: OK

 

                Loading from nand0, offset 0x200000

                Image Name:   Linux-2.6.37N6

                Image Type:   ARM Linux Kernel Image (uncompressed)

                Data Size:    1984924 Bytes = 1.9 MiB

                Load Address: c0008000

                Entry Point:  c0008000

## Booting kernel from Legacy Image at c0700000 ...

Bad Header Checksum

ERROR: can't get kernel image!

Please suggest me a solution for this.

Thanks

Vasu Vallabhaneni


0xc0700000

                                nand erase 0x200000 0x300000

nand write.i 0xC0700000 0x200000 0x300000

setenv bootcmd 'nand read.e 0xc1180000 0x500000 0x500000; nboot.e 0xc0700000 0 0x200000; bootm'