TI DM355 EVM
From Wiki
Jump to navigationJump to search
To boot from onboard flash:
- Reset EVM, press space to enter boot monitor
# setenv bootargs console=ttyS0,115200n8 ip=dhcp root=/dev/mtdblock3 rw rootfstype=yaffs2 mem=116M # saveenv # reset
To boot from NFS volume:
- Reset EVM, press space to enter boot monitor
# setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=172.16.0.6:/home/jcw/workdir/filesys,nolock mem=116M # savenv # reset
To update kernel:
- in.tftpd needs to be running on <serverip>
- uImage-dm355 needs to be in /tftpboot/davinci
- Reset EVM, press space to enter boot monitor
# setenv ipaddr 172.16.1.11 # setenv serverip 172.16.0.6 # setenv netmask 255.255.0.0 # tftp 80700000 davinci/uImage-dm355 # nand erase 0x400000 0x200000 # nand write 0x80700000 0x400000 0x200000 # reset
To update demo code:
- nfs needs to be running
- Must be configured to boot from an NFS volume
- Login as root
# rdate -s 198.72.72.10 # rolex.peachnet.edu # mkdir /mnt/nand # flash_eraseall /dev/mtd3 # mount -t yaffs2 /dev/mtdblock3 /mnt/nand # cd /mnt/nand # tar -xf /dm355_flash_image_1_30_00_2.tar # cd # umount /mnt/nand # reboot
Notes
- /tftpboot/davinci/ is the tftp root
- /home/jcw/workdir/filesys is the NFS exported directory