Hi,
I want to put linux on OMAPL138 custom board.
The differences with LOGIC PD EVM are
1. Input Clock @ 27MHz instead of 24MHz
2. UART1 instead of UART2
I am using ti-dvsdk_omapl138-evm_4_02_00_06 and I have made changes to ARM UBL and uboot and I could get the uboot console. Then I have made following changes to linux-2.6.33-rc4-psp03.20.00.14.sdk.
1. arch/arm/mach-davinci/da850.c
a. Changed DA850_REF_FREQ, da850_opp da850_opp_300.mult values
b. Jtag Id is following
static struct davinci_id da850_ids[] = {
{
.variant = 0x0,
.part_no = 0xb7d1,
.manufacturer = 0x017, /* 0x02f >> 1 */
.cpu_id = DAVINCI_CPU_ID_DA850,
.name = "da850/omap-l138",
},
{
.variant = 0x1,
.part_no = 0xb7d1,
.manufacturer = 0x017, /* 0x02f >> 1 */
.cpu_id = DAVINCI_CPU_ID_DA850,
.name = "da850/omap-l138/am18xx",
},
};
2. arch/arm/mach-davinci/include/mach/uncompress.h
Changed to "return (u32 *)DA8XX_UART1_BASE;"
3. arch/arm/mach-davinci/board-da850-evm.c
Changed to add_preferred_console("ttyS", 1, "115200");
With all these changes, linux hangs at "Uncompressing Linux... done, booting the kernel."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Booting with ARM UBL
Device OPP (300MHz, 1.2V)
U-Boot 2009.11 (Dec 27 2011 - 23:03:15)
I2C: ready
DRAM: 64 MB
MMC: davinci: 0
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
ARM Clock : 297000000 Hz
DDR Clock : 148500000 Hz
Invalid MAC address read.
Net: More than one PHY detected.
Hit any key to stop autoboot: 0
U-Boot >
U-Boot > loadb
## Ready for binary (kermit) download to 0xC0700000 at 115200 bps...
## Total Size = 0x002195ac = 2201004 Bytes
## Start Addr = 0xC0700000
U-Boot > setenv bootargs "mem=32M console=ttyS1,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=off earlyprintk=serial,ttyS1,115200n8"
U-Boot > print
bootcmd=if mmc rescan 0; then if fatload mmc 0 0xc0600000 boot.scr; then source 0xc0600000; else fatload mmc 0 0xc0700000 uImage; bootm c0700000; fi; else sf probe 0; sf read 0xc0700000 0x80000 0x220000; bootm 0xc0700000; fi
bootdelay=3
baudrate=115200
bootfile="uImage"
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 2009.11 (Dec 27 2011 - 23:03:15)
filesize=2195AC
bootargs=mem=32M console=ttyS1,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=off earlyprintk=serial,ttyS1,115200n8
Environment size: 485/65532 bytes
U-Boot > bootm 0xc0700000
## Booting kernel from Legacy Image at c0700000 ...
Image Name: Linux-2.6.33-rc4
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2200940 Bytes = 2.1 MB
Load Address: c0008000
Entry Point: c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have enabled Early printk in "Kernel low-level debugging functions". And this dint help.
This board does not have a soft reset to get debug dump info from uboot.
How to proceed further?
Also as PLL changes are done in ARM UBL, do we have to do make changes in uboot or linux as well?
thanks, Durga