3049
- 收藏
- 点赞
- 分享
- 举报
[已解决]SPI Burn Image 参考资料
本帖最后由 2272943826 于 2016-11-25 09:58 编辑
刚收到 Hi3516A demo board,让我自己去研究。 我是新手。
疑惑:
1 烧写文件去 demo board,用的是 bootrom, spi flash 还是 nand flash?
2 fastboot工具, by default是按照分区烧写,地址烧写还是boot 烧写?
非常感谢
多多关照新人
学习啦3个月,向隅而泣:
1 我用的是 spi flash 参考材料:Description of the Installation and Upgrade of the Hi3516A/Hi3516D SDK
Burn images to the SPI flash.
In this section, a 16 MB SPI flash is used as an example.
1) Address space
| 1M | 3M | 12M |
|---------------|---------------|---------------|
| boot | kernel | rootfs |
The following operations are performed based on the allocated address space. You can change the address space as required.
2) Burn the U-boot.
sf probe 0
mw.b 82000000 ff 100000
tftp 0x82000000 u-boot-hi3516a.bin
sf probe 0
sf erase 0 100000
sf write 82000000 0 100000
reset
¡¡ 3) Burn the kernel.
mw.b 82000000 ff 300000
tftp 82000000 uImage_hi3516a
sf probe 0
sf erase 100000 300000
sf write 82000000 100000 300000
¡¡ 4) Burn the file system.
mw.b 82000000 ff C00000
tftp 0x82000000 rootfs_hi3516a_64k.jffs2
sf probe 0
sf erase 400000 C00000
sf write 82000000 400000 C00000
5) Set boot parameters.
setenv bootargs 'mem=64M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 mtdparts=hi_sfc:1M(boot),3M(kernel),12M(rootfs)'
setenv bootcmd 'sf probe 0;sf read 0x82000000 0x100000 0x300000;bootm 0x82000000'
sa
2 fastboot我是按照 分区 烧写的
参考文件: Hi3516A/Hi3516D U-boot Porting Development Guide
3.3.1 Burning the U-boot to the SPI Flash
Perform the following steps:
Step 1 Run the following commands in the HyperTerminal after the U-boot runs in the memory:
hisilicon# mw.b 0x82000000 ff 0x100000 /*Set the DDR value of all Fs.*/
hisilicon# tftp 0x82000000 u-boot-hi3516a.bin /*Download the U-boot to the
DDR.*/
hisilicon# sf probe 0 /*Detect and initialize the SPI
flash.*/
hisilicon# sf erase 0x0 0x100000 /*Erase 1 MB capacity of the SPI
flash.*/
hisilicon# sf write 0x82000000 0x0 0x100000 /*Write the U-boot from the DDR
to the SPI flash.*/
Step 2 Restart the system. The U-boot is burnt successfully.
刚收到 Hi3516A demo board,让我自己去研究。 我是新手。
疑惑:
1 烧写文件去 demo board,用的是 bootrom, spi flash 还是 nand flash?
2 fastboot工具, by default是按照分区烧写,地址烧写还是boot 烧写?
非常感谢
多多关照新人
学习啦3个月,向隅而泣:
1 我用的是 spi flash 参考材料:Description of the Installation and Upgrade of the Hi3516A/Hi3516D SDK
Burn images to the SPI flash.
In this section, a 16 MB SPI flash is used as an example.
1) Address space
| 1M | 3M | 12M |
|---------------|---------------|---------------|
| boot | kernel | rootfs |
The following operations are performed based on the allocated address space. You can change the address space as required.
2) Burn the U-boot.
sf probe 0
mw.b 82000000 ff 100000
tftp 0x82000000 u-boot-hi3516a.bin
sf probe 0
sf erase 0 100000
sf write 82000000 0 100000
reset
¡¡ 3) Burn the kernel.
mw.b 82000000 ff 300000
tftp 82000000 uImage_hi3516a
sf probe 0
sf erase 100000 300000
sf write 82000000 100000 300000
¡¡ 4) Burn the file system.
mw.b 82000000 ff C00000
tftp 0x82000000 rootfs_hi3516a_64k.jffs2
sf probe 0
sf erase 400000 C00000
sf write 82000000 400000 C00000
5) Set boot parameters.
setenv bootargs 'mem=64M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 mtdparts=hi_sfc:1M(boot),3M(kernel),12M(rootfs)'
setenv bootcmd 'sf probe 0;sf read 0x82000000 0x100000 0x300000;bootm 0x82000000'
sa
2 fastboot我是按照 分区 烧写的
参考文件: Hi3516A/Hi3516D U-boot Porting Development Guide
3.3.1 Burning the U-boot to the SPI Flash
Perform the following steps:
Step 1 Run the following commands in the HyperTerminal after the U-boot runs in the memory:
hisilicon# mw.b 0x82000000 ff 0x100000 /*Set the DDR value of all Fs.*/
hisilicon# tftp 0x82000000 u-boot-hi3516a.bin /*Download the U-boot to the
DDR.*/
hisilicon# sf probe 0 /*Detect and initialize the SPI
flash.*/
hisilicon# sf erase 0x0 0x100000 /*Erase 1 MB capacity of the SPI
flash.*/
hisilicon# sf write 0x82000000 0x0 0x100000 /*Write the U-boot from the DDR
to the SPI flash.*/
Step 2 Restart the system. The U-boot is burnt successfully.
我来回答
回答1个
时间排序
认可量排序
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2016-06-28 16:05:56
-
2013-08-24 20:41:26
-
2013-08-27 16:20:13
-
2020-04-14 11:28:02
-
2016-08-09 10:24:06
-
2018-03-31 10:11:03
-
2016-06-29 09:11:52
-
2016-06-28 12:06:55
-
2016-05-09 16:38:27
-
2016-06-28 12:14:34
-
2018-01-28 22:46:04
-
2017-12-02 21:15:05
-
22018-12-27 18:56:09
-
2016-05-10 15:39:14
-
02020-05-15 18:56:25
-
2013-11-15 13:16:28
-
12009-03-12 11:54:37
-
2016-10-12 11:27:07
-
2016-08-09 13:46:36
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认