I loaded the uImage to memory address 0x70800000. When I tried to boot with the same memory address (bootm 0x70800000), i get the following error.
## Booting kernel from Legacy Image at 70800000 ...
Image Name:
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 7858693 Bytes = 7.5 MB
Load Address: 70010000
Entry Point: 70010000
Verifying Checksum ... OK
Uncompressing Kernel Image ... Error: inflate() returned -5
GUNZIP: uncompress, out-of-mem or overwrite error - must RESET board to recover
resetting ...
I tried again with another memory address (0x78000000) if there was overlap. Still I get the same result.
I also checked if there is overlap with the physical address ranges used by u-boot bootloader using readelf.
Here is the output
Elf file type is EXEC (Executable file)
Entry point 0x70010000
There are 3 program headers, starting at offset 52
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
EXIDX 0x077138 0x7007f138 0x7007f138 0x02578 0x02578 R 0x4
LOAD 0x008000 0x70010000 0x70010000 0x6ac64 0x6ac64 R E 0x8000
LOAD 0x073000 0x7007b000 0x7007b000 0x0b03c 0xd3ed5 RW 0x8000
What is missing? thanks in advance