Hello all,
I just received an OMAP-L138 LCDK (http://www.ti.com/tool/tmdxlcdk138) and am trying to bring it up. I have been successful in some ways, and unsuccessful in others. I also have several questions pertaining to developing for this board.
Using the SD Card that the device shipped with, I am able to boot successfully into a linux prompt. I also followed instructions for the following SDK located here: http://software-dl.ti.com/dsps/dsps_public_sw/c6000/web/omapl138_lcdk_sdk/latest/index_FDS.html
Example of my success:
Welcome to minicom 2.4
OPTIONS: I18n
Compiled on Jan 25 2010, 06:49:09.
Port /dev/ttyUSB0
Press CTRL-A Z for help on special keys
NAND: 512 MiB
MMC: davinci: 0
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
In: serial
Out: serial
Err: serial
ARM Clock : 456000000 Hz
DDR Clock : 150000000 Hz
Net: Ethernet PHY: GENERIC @ 0x07
DaVinci-EMAC
Hit any key to stop autoboot: 0
U-Boot > printenv
autoload=no
baudrate=115200
bootargs=mem=32M console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=off
bootcmd=mmc rescan 0;fatload mmc 0 0xc0700000 uImage; bootm c0700000;
bootdelay=4
bootfile=uImage-da850-omapl138-evm.bin
ethact=DaVinci-EMAC
ethaddr=00:00:a0:00:fb:c7
ipaddr=192.168.1.3
oldbootargs=mem=32M console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=off
oldbootcmd=mmc rescan 0;fatload mmc 0 0xc0700000 uImage; bootm c0700000;
oldserverip=192.168.1.2
serverip=192.168.1.2
stderr=serial
stdin=serial
stdout=serial
ver=U-Boot 2010.12 (May 07 2012 - 16:09:45)
Environment size: 613/65532 bytes
U-Boot > boot
reading uImage
2040348 bytes read
## Booting kernel from Legacy Image at c0700000 ...
Image Name: Linux-3.1.10
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2040284 Bytes = 1.9 MiB
Load Address: c0008000
Entry Point: c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 3.1.10 (root@VPC-U1104) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #7 PREEMPT Fri May 11 2
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: AM18x/OMAP-L138 LCDK
...[and so on... eventually comes up with login]
However, I find a link that tells me to use the DVSDK:
http://processors.wiki.ti.com/index.php/Getting_Started_Guide_for_OMAP-L1,
I follow those directions, boot over tftp, and my kernel suddenly does not boot at all.
Example of this failure:
U-Boot > printenv
autoload=no
baudrate=115200
bootargs=console=ttyS2,115200n8 noinitrd rw mem=32M@0xc0000000 mem=64M@0xc4000000 root=/dev/nfs nfsroot=192.168.1.2:/home/ehsun/targetfs,nolock ip=192.168.1.3
bootcmd=tftp;bootm
bootdelay=4
bootfile=uImage-da850-omapl138-evm.bin
ethact=DaVinci-EMAC
ethaddr=00:00:a0:00:fb:c7
ipaddr=192.168.1.3
oldbootargs=mem=32M console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=off
oldbootcmd=mmc rescan 0;fatload mmc 0 0xc0700000 uImage; bootm c0700000;
oldserverip=192.168.1.2
serverip=192.168.1.2
stderr=serial
stdin=serial
stdout=serial
ver=U-Boot 2010.12 (May 07 2012 - 16:09:45)
Environment size: 642/65532 bytes
U-Boot > boot
Using DaVinci-EMAC device
TFTP from server 192.168.1.2; our IP address is 192.168.1.3
Filename 'uImage-da850-omapl138-evm.bin'.
Load address: 0xc0700000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###############################################################
done
Bytes transferred = 2315152 (235390 hex)
## Booting kernel from Legacy Image at c0700000 ...
Image Name: Arago/2.6.37-psp03.21.00.04.sdk/
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2315088 Bytes = 2.2 MiB
Load Address: c0008000
Entry Point: c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[cursor keeps blinking....]
I have seen the following thread http://processors.wiki.ti.com/index.php/FAQ_for_DaVinci_Linux#No_kernel_output_after_U-Boot_load, and I have tried to modify the console to be "... console=uart,io,0xe1020000,115200n8 ...", but that did not change anything for me, no extra information. I would try to rebuild the kernel with the printascii function, but I don't know how to build a new kernel (any help in this area also appreciated, such links to tutorials on how to do this).
Is there any obvious reason why the DVSDK does not work for me?