Texas Instruments TMS320DM357 DVEVM v2.05 manual A.4.3 Booting from Flash Using NFS File System

Models: TMS320DM357 DVEVM v2.05

1 68
Download 68 pages 27.35 Kb
Page 55
Image 55
A.4.3 Booting from Flash Using NFS File System

Alternate Boot Methods

A.4.2 Booting via TFTP Using Board’s NAND Flash File System

To boot in this mode, set the following parameters after you abort the automatic boot sequence:

EVM # setenv bootcmd 'dhcp;bootm'

EVM # setenv bootargs console=ttyS0,115200n8 ip=dhcp root=/dev/mtdblock0 rw rootfstype=yaffs2 mem=232M video=davincifb:vid0=0,2025K:vid1=0, 1350K:osd0=720x576x16,

2025K davinci_enc_mgr.ch0_output=COMPOSITE davinci_enc_mgr.ch0_mode=ntsc

EVM # setenv serverip <tftp server ip address>

EVM # setenv bootfile <kernel image>

EVM # boot

When you boot, look for the following lines that confirm the boot mode:

TFTP from server 192.168.160.71; our IP address is 192.168.161.186

Filename 'library/davinci/0.4.2/uImage'.

...

## Booting image at 80700000 ...

A.4.3 Booting from Flash Using NFS File System

To boot in this mode, set the following parameters after you abort the automatic boot sequence:

EVM # setenv bootcmd 'nboot 0x80700000 0 0x400000;bootm'

EVM # setenv nfshost <ip addr of nfs host>

EVM # setenv rootpath <directory to mount*>

EVM # setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=$(nfshost):$(rootpath), nolock mem=232M video=davincifb:vid0=0,2025K:vid1=0, 1350K:osd0=720x576x16,

2025K davinci_enc_mgr.ch0_output=COMPOSITE davinci_enc_mgr.ch0_mode=ntsc

EVM # boot

*For example, <directory to mount> might be /home/<useracct>/workdir/filesys.

Additional Procedures

A-7

Page 55
Image 55
Texas Instruments TMS320DM357 DVEVM v2.05 manual A.4.3 Booting from Flash Using NFS File System