【Hi3516】 uboot下烧写BSP
setenv serverip xx.xx.xx.xx setenv ipaddr xx.xx.xx.xx setenv ethaddr xx:xx:xx:xx:xx:xx setenv netmask xx.xx.xx.xx setenv gatewayip xx.xx.xx.xx ping serverip,确保网络畅通。
setenv serverip 192.168.1.138 setenv bootargs 'mem=32M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 rw mtdparts=hi_sfc:1M(boot),3M(kernel),12M(rootfs)' setenv bootcmd 'sf probe 0;sf read 0x82000000 0x100000 0x300000;bootm 0x82000000' sa
mw.b 82000000 ff 100000;tftp 0x82000000 u-boot-hi3516ev100.bin;sf probe 0;sf erase 0 100000;sf write 82000000 0 100000; reset mw.b 82000000 ff 300000;tftp 82000000 uImage_hi3516ev100;sf probe 0;sf erase 100000 300000;sf write 82000000 100000 300000; mw.b 82000000 ff C00000;tftp 0x82000000 rootfs_hi3516ev100_64k.jffs2;sf probe 0;sf erase 400000 C00000;sf write 82000000 400000 C00000;
reset
a) For Hi3516CV300 setenv bootargs 'mem=64M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 rw mtdparts=hi_sfc:1M(boot),3M(kernel),12M(rootfs)' setenv bootcmd 'sf probe 0;sf read 0x82000000 0x100000 0x300000;bootm 0x82000000' sa b) For Hi3516EV100 setenv bootargs 'mem=32M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 rw mtdparts=hi_sfc:1M(boot),3M(kernel),12M(rootfs)' setenv bootcmd 'sf probe 0;sf read 0x82000000 0x100000 0x300000;bootm 0x82000000' sa
部署rcS
ifconfig eth0 192.168.1.10 netmask 255.255.255.0
route add default gw 192.168.1.1
himm 0x12040064 0
himm 0x12147400 0xff
himm 0x121473fc 0x0
cd /ko
./load3516cv300 -a -sensor imx290 -osmem 64
mount -t nfs -o nolock 192.168.1.138:/home/swann/nfs/3516c_imx291 /mnt
telnetd
cd /mnt
posted on 2018-12-30 00:58 平凡的世界&&技术博客 阅读(553) 评论(0) 编辑 收藏 举报