Alternate Boot Methods
A-6
A.4 Alternate Boot Methods
The default configuration for the EVM is to boot from flash with the file
system on the board’s NAND flash. The following are alternate ways you
may want to boot the board:
❏ TFTP boot with NAND flash file system (Section A.4.2)
❏ Flash boot with NFS file system (Section A.4.3)
❏ TFTP boot with NFS file system (Section A.4.4)
The subsections that follow show the environment variable settings used
to enable each boot method.
To boot in one of these modes, follow these steps:
1) Power on the EVM board, and abort the automatic boot sequence by
pressing a key in the console window (Section 2.2).
Set the environment variables indicated in the following subsections
for the boot mode you want to use. (Note that the
setenv bootargs
command should be typed on a single line.)
2) If you want to use these settings as the default in the future, save the
environment:
EVM # saveenv
3) Boot the board using the settings you have made:
EVM # boot
A.4.1 Booting from Flash Using Board’s NAND Flash File System
This is the default, out-of-the-box boot configuration.
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 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 # boot
When you boot, look for the following line that confirms the boot mode:
## Booting image at 80700000 ...