STep 1:
setenv bootcmd 'dhcp;bootm'
setenv serverip ******
setenv bootfile ******
setenv nfshost ****
setenv rootpath ****(uImage or filesystem path)
setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock mem=80M v4l2_video_capture=:device=MT9P031
saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
DM355 EVM # boot
STEP 2:
# flash_eraseall /dev/mtd4
# nandwrite -a -o /dev/mtd4 ****
reboot
step 3:
DM355 EVM # dhcp
DM355 EVM # nand erase 0x400000 0x200000
DM355 EVM # nand write 0x80700000 0x400000 0x200000
DM355 EVM # setenv bootcmd 'nboot 0x80700000 0 0x400000;bootm 0x80700000'
DM355 EVM # setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=192.168.1.51:192.168.1.100:192.168.1.1:255.255.255.0::usb0:off root=/dev/mtdblock4 rootfstype=yaffs2,nolock mem=80M video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=$(videostd)
DM355 EVM # saveenv