Open main menu

DAVE Developer's Wiki β

Changes

Software Manual (Diva)

4,021 bytes added, 10:39, 17 May 2013
m
DivaEVB-Lite
== Quick start ==
=== DivaEVB-Lite standalone ===
This section describes how to quick start a DivaEVB-Lite system, provided that it is programmed according to DIVELK configuration.
Once power has been applied, U-Boot bootloader will be executed and the following messages will be printed on serial console (please note that messages may vary for different U-Boot releases)
 
<pre class="board-terminal">
U-Boot SPL 2012.10-00096-g35a1513-dirty (Mar 11 2013 - 17:30:35)
>>spl:board_init_r()
boot device - 5 - 0x5
Jumping to U-Boot
image entry point: 0x80800000
 
 
U-Boot 2012.10-00110-ge8fd044-dirty (May 13 2013 - 14:01:25) [delk-0.9.1-rc1]
 
I2C: ready
DRAM: 512 MiB
WARNING: Caches not enabled
Now running in RAM - U-Boot at: 9ff46000
NAND: 1024 MiB
MMC: OMAP SD/MMC: 0
SF: Detected S25FL256S_64K with page size 256, total 33554432 bytes
SF: Detected S25FL256S_64K with page size 256 Bytes, total 32 MiB
READ: 0xc0000 => cmd = { 0x0b 0x000c000000 } len = 0x40000
READ: 0x100000 => cmd = { 0x0b 0x0010000000 } len = 0x40000
USB Host mode controller at 47401000 using PIO, IRQ 0
USB Host mode controller at 47401800 using PIO, IRQ 0
Module id#: 0x1
Net: cpsw connected to SMSC LAN8710/LAN8720
cpsw, usb_ether
Hit any key to stop autoboot: 0
DIVA#
</pre>
 
These messages are printed by U-Boot, which has a serial console that allows basic interaction with the system.
 
At the end of its boot sequence, U-Boot prints <code style="board-terminal">DIVA#</code> prompt and waits for user commands.
 
The default u-boot environment can be printed using the <code style="board-terminal">print</code> command:
 
<pre class="board-terminal">
DIVA# print
addcons=setenv bootargs ${bootargs} console=${console} loglevel=8
addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off panic=1 eth0=${ethaddr}
baudrate=115200
bootcmd=dcache on; echo trying to boot from DELK MMC; mmc rescan 0; fatload mmc 0 80900000 boot.scr; source 80900000; run net_nfs
bootdelay=3
bootfile=diva/uImage.as
console=ttyO0,115200n8
ethact=cpsw
ethaddr=00:50:c2:1e:af:af
ethdev=eth0
fdtaddr=0x80F80000
gatewayip=192.168.0.254
hostname=diva
ipaddr=192.168.0.77
kloadaddr=0x80007fc0
load=tftp ${loadaddr} diva/u-boot.img.as
loadaddr=0x80200000
loadk=tftp ${kloadaddr} ${bootfile}
module_id#=0x1
nand_load_1st=tftp ${loadaddr} diva/MLO
nand_nfs=nand read ${kloadaddr} 0x2A0000 0x400000; run nfsargs addip addcons; bootm ${kloadaddr}
nand_update=nand erase 80000 60000; nand write ${loadaddr} 80000 60000
nand_update_1st=nand erase 0 20000; nand write ${loadaddr} 0 20000
nand_updatek=nand erase 0x2A0000 0x400000; nand write ${kloadaddr} 0x2A0000 0x400000
net_nfs=tftp ${kloadaddr} ${bootfile}; run nfsargs addip addcons; bootm ${kloadaddr}
netdev=eth0
netmask=255.255.255.0
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} rootdelay=2
rdaddr=0x81000000
rootpath=/home/shared/devel/dave/diva-DDx/sw/linux/rfs/delk
serverip=192.168.0.23
spi_load_1st=tftp ${loadaddr} diva/MLO.byteswap.as
spi_nfs=sf probe;sf read ${kloadaddr} 0x140000 0x400000; run nfsargs addip addcons; bootm ${kloadaddr}
spi_update=sf probe 0:0; sf erase 0x40000 0x80000; sf write ${loadaddr} 0x40000 0x80000
spi_update_1st=sf probe 0:0; sf erase 0x0 0x40000; sf write ${loadaddr} 0x0 0x40000
spi_updatek=sf probe 0:0; sf erase 0x140000 0x400000; sf write ${kloadaddr} 0x140000 0x400000
stderr=serial
stdin=serial
stdout=serial
usbnet_devaddr=00:18:30:f0:2f:be
ver=U-Boot 2012.10-00110-ge8fd044-dirty (May 13 2013 - 14:01:25) [delk-0.9.1-rc1]
 
Environment size: 1987/262139 bytes
DIVA#</pre>
 
 
=== DivaEVB-Lite plugged on Dacu ===
 
This section describes how to quick start a DivaEVB-Lite system, provided that it is programmed according to DIVELK configuration.
 
# connect the serial cable, provided with the board, to J6
# connect this cable to PC COM port through a NULL-modem cable (not provided)
# start your favourite terminal software on PC; communication parameters are:
#* baud rate: 115200 Bps
#* data bits: 8
#* stop bits: 1
#* parity: none
# (optional) to connect the system to Ethernet LAN, please plug cable on connector J7
# connect a 12Vcc power supply to J8
 
Once power has been applied, U-Boot bootloader will be executed and and the following messages will be printed on serial console (please note that messages may vary for different U-Boot releases)
<pre class="board-terminal">