ram0文件系统
setenv serverip 192.168.1.103
setenv ipaddr 192.168.1.168
setenv ethaddr 00:0C:0C:A0:02:6A
tftpboot 0x80700000 uImage_ipnc_dm365_0.7.0
tftpboot 0x80700000 uImageUby3
tftpboot 0x82000000 cramfsImage_ipnc_dm365_0.7.0
tftpboot 0x82000000 cramfsUby3
nand erase 0x200000 0xDD0000
nand write 0x80700000 0x200000 0x200000
nand write 0x82000000 0x400000 0xBD0000
nand erase 0x200000 0x200000
nand erase 0x400000 0xBD0000
setenv bootcmd 'nand read 0x82000000 0x400000 0xBD0000;nboot 0x80700000 0 0x200000;bootm 0x80700000'
setenv bootargs 'mem=60M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,13M ip=dhcp quiet eth=$(ethaddr)'
setenv bootargs 'mem=60M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,13M ip=192.168.1.108:192.168.1.168:192.168.1.1:255.255.255.0:::off eth=00:0C:0C:A0:02:6A quiet'
saveenv
文档u-boot
update UBOOT
tftp 0x80700000 uboot_rom_nand_pri_bin.bin
nand erase 0x2C000 0x30000
nand write 0x80700000 0x2C000 0x30000
loadb 0x80700000
nand erase 0x2C000 0x30000
nand write 0x80700000 0x2C000 0x30000
UBL下载tftp
tftp 0x80700000 ubl_ipnc_dm36x_297_0.2.0.bin
nand erase 0x010000 0x08000
nand write 0x80700000 0x010000 0x08000
文档使用nfs文件系统启动
setenv nfshost 192.168.1.114
setenv serverip 192.168.1.114
setenv rootpath /camera/ss/ipnc/target/filesys
setenv bootcmd 'nboot 0x80700000 0 0x200000;bootm 0x80700000'
setenv bootcmd 'tftpboot 0x80700000 uImage_nfs; bootm 0x80700000'
setenv bootargs console=ttyS1,115200n8 noinitrd rw ip=dhcp root=/dev/nfs quiet nfsroot=$(nfshost):$(rootpath), nolock mem=60M
own改1
tftp 0x80700000 ubl_ipnc_dm36x_297_0.2.0.bin
nand erase 0xF000 0x6000
nand write 0x80700000 0xF000 0x6000
tftp 0x80700000 u-boot1.bin
nand erase 0x20000 0x20000
nand write 0x80700000 0x20000 0x20000
tftpboot 0x80400000 uImageUby2
tftpboot 0x81C00000 cramfsUby2
nand erase 0x1F0000 0xDF0000
nand write 0x80400000 0x1F0000 0x200000
nand write 0x81C00000 0x410000 0xBD0000
setenv bootcmd 'nand read 0x81C00000 0x410000 0xBD0000;nboot 0x80400000 0 0x1F0000;bootm 0x80400000'
setenv bootargs 'mem=60M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x81C00000,13M ip=dhcp quiet eth=$(ethaddr)'
DB参数设置
setenv bootcmd 'nand read 0x82000000 0x400000 0xcd0000;nboot 0x80700000 0 0x200000;bootm 0x80700000'
setenv bootargs 'mem=48M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,13M ip=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0:::off eth=00:11:22:33:46:01
阅读(3976) | 评论(0) | 转发(0) |