海思3516u-boot参数设置说明

一、使用HiTool烧写:

nor/nand flash与emmc使用的镜像不一致,nor/nand flash可使用官方SDK中编译好的镜像来烧写,emmc需配置config为emmc方式重新编译出镜像才能烧写;

烧写nor/nand flash或emmc前,先将启动模式配置到相应模式:

参考《HiBurn 工具使用指南.pdf》将镜像烧写到flash/emmc中

二、配置u-boot:

nor flash-32M:

setenv bootargs 'mem=512M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 rw mtdparts=hi_sfc:1M(boot),4M(kernel),27M(rootfs)'  

setenv bootcmd 'sf probe 0;sf read 0x81000000 0x100000 0x400000;bootm 0x81000000'

nand flash-32M:

setenv bootargs 'mem=512M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 rw mtdparts=hi_nand:1M(boot),4M(kernel),27M(roo

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值