I have set up the EZSDK with default settings.As it says in the "DM816x C6A816x AM389x EZ Software Developers Guide"
If you accepted the defaults during the setup process, you will now have set up your development host and
target to:
1. Boot the Linux kernel from your development host using TFTP. On your development host the Linux
kernel is fetched from /tftpboot by default.
2. Boot the Linux file system from your development host using NFS. On your development host the
Linux target file system is located at ${HOME}/targetfs
3. Minicom is set up to communicate with the target over RS-232. If you want to use a windows host for
connecting to the target instead, see the #Setting_up_Tera_Term section.
Note! To boot the board from NFS, you may need to change the boot switch settings on your EVM. Please
refer the UBoot user guide in the psp/docs folder for more information on the switch settings.
But I can't find any point on the switch settings in the User Guide.However we just set that SW3---BTM[4:0] ==> 10111 ,SW4---NAND[on],SPI[off].
Because of no router,we use the static ip as ipaddr.
Here is the environment variables:
TI8168_EVM#printenv
verify=yes
ramdisk_file=ramdisk.gz
loadaddr=0x81000000
script_addr=0x80900000
loadbootscript=fatload mmc 1 ${script_addr}boot.scr
bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${script_addr}
ethaddr=90:d7:eb:8e:ba:62
ethact=DaVinci EMAC
hostname=dm816x-evm
ipaddr=192.168.1.110
bootdelay=4
baudrate=115200
oldbootargs=console=ttyO2,115200n8 rootwait rw mem=256M earlyprintk vram=50M ti8
16xfb.vram=0:16M,1:16M,2:6M root=/dev/nfs nfsroot=192.168.1.150: ip=dhcp
autoload=no
oldserverip=192.168.1.150
serverip=192.168.1.150
oldbootfile=uImage-dm816x-evm.bin
bootfile=uImage-dm816x-evm.bin
oldbootcmd=dhcp;setenv serverip 192.168.1.150;tftpboot;bootm
bootargs=console=tty02,115200n8 rootwait rw mem=256M vram=50M ti816xfb.vram=0:16
M,1:16M,2:6M root=/dev/nfs nfsroot=192.168.1.150:/home/yzy/targetfs ip=192.168.1
.110:192.168.1.150:192.168.1.1:255.255.255.0::eth0:off
bootcmd=setenv serverip 192.168.1.150;tftpboot;bootm
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 2010.06 (Jun 01 2011 - 12:30:57)
Environment size: 1028/8188 bytes
With these settings ,my groupmate has successfully booted the borad with his computer(host).
Here is his output on the minicom:
TI8168_EVM#boot
Using DaVinci EMAC device
TFTP from server 192.168.1.150; our IP address is 192.168.1.110
Filename 'uImage-dm816x-evm.bin'.
Load address: 0x81000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#######
done
Bytes transferred = 2362144 (240b20 hex)
## Booting kernel from Legacy Image at 81000000 ...
Image Name: Arago/2.6.37-psp04.00.00.10/dm81
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2362080 Bytes = 2.3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.37 (x0029463@swubn01) (gcc version 4.3.3 (Sourcery G++ Lite 20
09q1-203) ) #1 Wed Jun 1 12:18:59 IST 2011
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: ti8168evm
bootconsole [earlycon0] enabled
vram size = 52428800 at 0
reserved size = 52428800 at 0
FB: Reserving 52428800 bytes SDRAM for VRAM
Memory policy: ECC disabled, Data cache writeback
OMAP chip is TI8168 1.1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 52224
Kernel command line: console=tty02 115200n8 rootwait rw mem=256M earlyprintk vra
m=50M ti816xfb.vram=0:16M,1:16M,2:16M root=/dev/nfs nfsroot=192.168.1.150:/home/
ccn/targetfs ip=192.168.1.110:192.168.1.150:192.168.1.1:255.255.255.0::eth0:off
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 206MB = 206MB total
Memory: 203604k/203604k available, 58540k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xd0800000 - 0xf8000000 ( 632 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0035000 ( 180 kB)
.text : 0xc0035000 - 0xc0478000 (4364 kB)
.data : 0xc0478000 - 0xc04b91e0 ( 261 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:407
IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
Total of 128 interrupts on 1 active controller
GPMC revision 6.0
Trying to install interrupt handler for IRQ400
Trying to install interrupt handler for IRQ401
Trying to install interrupt handler for IRQ402
Trying to install interrupt handler for IRQ403
Trying to install interrupt handler for IRQ404
Trying to install interrupt handler for IRQ405
Trying to install interrupt handler for IRQ406
Trying to install type control for IRQ407
Trying to set irq flags for IRQ407
OMAP clockevent source: GPTIMER1 at 27000000 Hz
Console: colour dummy device 80x30
console [tty2] enabled, bootconsole disabled
After about one minute , his minicom shows:
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org dm816x-evm ttyO2
Arago 2011.02 dm816x-evm ttyO2
dm816x-evm login: root
root@dm816x-evm:~#
But with the same settings in my computer,I can only get the the output above the red line without the output below.
Please help me.
My English is not well.Hope you can understand .
Thanks.