767
edits
Changes
→Introduction
{{InfoBoxTop}}
{{AppliesToNaon}}
{{Applies To DDSNaonEVB-Lite}}
{{InfoBoxBottom}}
===Introduction===
NaonEVB-Lite is a carrier board designed to evaluate the functionalities of [[:Category:Naon|NAON]]. Also it can be viewed as reference design for multimedia applications built upon Naon module.
The following picture shows block diagram of NaonEVB-Lite board.[[File:dds-block-diagram.png|thumbnail|center]] The following images show top and bottom side of NaonEVB-Lite carrier board respectively. Peripherals and interfaces external to Naon SOM are highlighted. [[File:Dds-top-view.png|thumbnail|center]][[File:Dds-bottom-view-03.png|thumbnail|center]] ===Quick start(NELK)===This section describes how to quick start NaonEVB-Lite-based system, provided that it is programmed according to [[Naon Embedded Linux Kit (NELK)|NELK]] configuration.
# connect the serial cable, provided with the board, to J25
<pre class="board-terminal">
TI8148-GP rev 2.1
ARM clk: 600MHz
DDR clk: 333MHz400MHz
DRAM: 512 MiB
Using default environment
Hit any key to stop autoboot: 0
8192 KiB AT45DB642D at 0:0 is now current device
## Starting application at 0x81000000 ...
U-Boot 2010.06-dirty (Apr 30 May 29 2012 - 1915:2357:2021) [nelk-0.9.0]
TI8148-GP rev 2.1
ARM clk: 600MHz
DDR clk: 333MHz400MHz
I2C: ready
1024 MiB
MMC: OMAP SD/MMC: 0
Net: Detected MACID:d4:94:a1:8e:2268:1924
cpsw
Hit any key to stop autoboot: 0
NAON#
</pre>
These messages are printed by [[:Category:U-Boot|U-Boot]], which has a serial console that allow basic interaction with the system. For Please find more information about U-Boot see it in the [[:Category:U-Boot|categoryU-Boot]]category page. At the end of its boot sequence, U-Boot prints <code style="board-terminal">NAON#</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">NAON#printbootcmd=run net_nfsbootdelay=3baudrate=115200autoload=yesverify=yesbootfile=naon/uImageramdisk_file=ramdisk.gzloadaddr=0x81000000spi_update_1st=sf probe 0:0; sf erase 0x0 0x20000; sf write ${loadaddr} 0x0 0x20000spi_update=sf probe 0:0; sf erase 0x20000 0x40000; sf write ${loadaddr} 0x20000 0x40000loadk=tftp ${loadaddr} ${bootfile}spi_updatek=sf probe 0:0; sf erase 0x80000 0x300000; sf write ${loadaddr} 0x80000 0x300000console=ttyO0addcons=setenv bootargs ${bootargs} console=${console},115200n8 earlyprintkaddmem=setenv bootargs ${bootargs} mem=${mem} vram=${vram} notifyk.vpssm3_sva=${notify_mem}addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gateway}:${netmask}:${hostname}:${ethdev}nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} panic=5net_nfs=run loadk nfsargs addip addcons addmem; bootm ${buf}nandargs=setenv bootargs root=/dev/mtdblock12 rw rootfstype=jffs2spi_nand=run nandargs addip addcons addmem; sf probe 0:0; sf read ${loadaddr} 0x80000 0x300000; bootm ${loadadd}mmcargs=setenv bootargs root=/dev/mmcblk0p1 rwspi_mmc=run mmcargs addip addcons addmem; sf probe 0:0; sf read ${loadaddr} 0x80000 0x300000; bootm ${loadaddr}ipaddr=192.168.0.77serverip=192.168.0.23netmask=255.255.255.0gateway=192.168.0.254hostname=naonrootpath=/home/shared/devel/dave/naon-DAA/sw/linux/sdk/rfs/nelkethdev=eth0mem=176Mvram=46Mnotify_mem=0xBF900000ethaddr=d4:94:a1:8e:68:24ethact=cpswspi_load_1st=tftp ${loadaddr} naon/u-boot.min.spiload=tftp ${loadaddr} naon/u-boot_new.binstdin=serialstdout=serialstderr=serial Environment size: 1588/65532 bytes</pre> ==== Booting from SD/MMC ==== If you have the bootable SD/MMC provided with the development kit and it contains the boot.scr script file, the following command is automatically executed by U-Boot: <pre class="board-terminal">echo trying to boot from NELK MMC; mmc rescan 0; fatload mmc 0 80900000 boot.scr; source 80900000; run net_nfs</pre> If the boot.scr script file is not available, you can manually boot the system from SD using the following commands:
<pre class="board-terminal">
</pre>
To start Linux (from on-board SPI NOR flash) and mount the development root file system (over SD/MMC). ==== Booting from network ==== If you have installed the [[:Category:DVDK|'''DAVE Embeddded Systems''' Virtual Development Kit]], you can start the Virtual Machine and start Linux loading the kernel through tftp and mounting the NFS root file system with the following command: <pre class="board-terminal">run net_nfs</pre> Please note that you need to modify some u-boot environment variables before running the net_nfs configuration. For further information, please refer to [[Booting_Linux_Kernel#Configuration_net_nfs | Configuration net_nfs]]. The following is a dump of the boot messages:
<pre class="board-terminal">
</pre>