beautypg.com

Texas Instruments TMS320DM6446 DVEVM v2.0 User Manual

Page 64

background image

Alternate Boot Methods

A-10

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 0x2050000

setenv bootcmd nboot 80700000 0 a0000;bootm

EVM # setenv nf-

shost <ip address of nfs host>

EVM # setenv rootpath <directory to mount*>

EVM # setenv bootargs video=davincifb:vid0=720x576x16,

2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K

davinci_enc_mngr.ch0_output=COMPOSITE

davinci_enc_mngr.ch0_mode=$(videostd)

console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs

nfsroot=$(nfshost):$(rootpath),nolock mem=120M

*For example,

<directory to mount>

might be

/home/<useracct>/workdir/filesys

.

Note: If you have flashed a new kernel to the NOR flash at an address
other than 0x2050000, modify the bootcmd definition accordingly.

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

## Booting image at 02050000 ...

...

Starting kernel ...

...

VFS: Mounted root (nfs filesystem).

A.4.4

Booting via TFTP Using NFS 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 serverip <tftp server ip address>

EVM # setenv bootfile <name of kernel image>

EVM # setenv rootpath <root directory to mount>

EVM # setenv nfshost <ip address of nfs host>

EVM # setenv bootargs video=davincifb:vid0=720x576x16,

2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K

davinci_enc_mngr.ch0_output=COMPOSITE

davinci_enc_mngr.ch0_mode=$(videostd)

console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs

nfsroot=$(nfshost):$(rootpath),nolock mem=120M