I am trying to use the feature "Auto detection of Kernel Load Address and Run Time RAM Base Determination" as described in
http://processors.wiki.ti.com/index.php/DM816x_AM389x_PSP_User_Guide#Auto_detection_of_Kernel_Load_Address_and_Run_Time_RAM_Base_Determination
The following are the steps followed:
1. Confirmed menuconfig has
[*] Patch physical to virtual translations at run time (EXPERIMENTAL)
[*] Auto calculation of the decompressed kernel image address
enabled.
2. Built uImage using:
make CROSS_COMPILE=/datalocal/ti_tools/cgt_a8/arm-2009q1/bin/arm-none-linux-gnueabi- ARCH=arm zreladdr-y=0xE0008000 uImage
Build log below:
UIMAGE arch/arm/boot/uImage
Image Name: Linux-2.6.37+
Created: Thu Oct 18 20:05:48 2012
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2581544 Bytes = 2521.04 kB = 2.46 MB
Load Address: 0xE0008000
Entry Point: 0xE0008000
Image arch/arm/boot/uImage is ready
Kernel hangs at boot up time with below log:
TFTP from server 172.24.136.217; our IP address is 172.24.191.63; sending through gateway 172.24.188.1
Filename 'uImage'.
Load address: 0x81000000
Loading: T #################################################################
#################################################################
##############################################
done
Bytes transferred = 2581608 (0x276468)
## Booting kernel from Legacy Image at 81000000 ...
Image Name: Linux-2.6.37+
Created: 2012-10-18 14:35:48 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2581544 Bytes = 2.5 MiB
Load Address: e0008000
Entry Point: e0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
----- HANG HERE ----
I confirmed the physical address 0xE0000000 is readable and writeable from uboot and the board has 2GB memory.
I connected CCS and control was in panic function but the kernel image seems to have loaded correctly .For example, viewing linux_banner shows the correct value in memory.
Pls let me know what I am doing wrong.