4578
- 收藏
- 点赞
- 分享
- 举报
3559A内核无法启动
本帖最后由 trobr 于 2019-8-2 10:45 编辑
编译了kernel,重新烧写kernel和文件系统之后,结果内核启动不了,
烧写步骤:
```
1. 烧写uboot
mw.b 0x44000000 0xff 0x100000; tftp 0x44000000 u-boot-hi3559av100.bin; mmc write 0 0x44000000 0 0x800
2. 烧写kernel
mw.b 0x44000000 0xff 0x900000;tftp 0x44000000 uImage_hi3559av100_multi-core;mmc write 0 0x44000000 0x800 0x4800
3. 烧写文件系统
mw.b 0x44000000 0xff 0x1000000;tftp 0x44000000 rootfs_hi3559av100_96M.ext4; mmc write.ext4sp 0 0x44000000 0x5000 0x30000
4. 启动参数
setenv bootargs ‘mem=512M console=ttyAMA0,115200 clk_ignore_unused root=/dev/mmcblk0p3 rootfstype=ext4 rw init=/linuxrc rootwait blkdevparts=mmcblk0:1M(boot), 9M(kernel),96M(rootfs),-(user)‘;
setenv bootcmd 'mmc read 0 0x44000000 0x800 0x4800 ;bootm 0x44000000' ;saveenv
```
打印信息如下:
```
hisilicon # boot
MMC read: dev # 0, block # 2048, count 18432 ... 18432 blocks read: OK
Load fip from 0x0000000044000000 ...
Firmware Image Package ToC:
---------------------------
- EL3 Runtime Firmware BL3-1: offset=0x88, size=0x7090
- Non-Trusted Firmware BL3-3: offset=0x7118, size=0x82E2B2
---------------------------
Create Entry Point info ...
Get - EL3 Runtime Firmware BL3-1
Get - Non-Trusted Firmware BL3-3
kernel_size[0x82e2b2] fdt_size[0x8272] fdt_addr[0x00000000448a6000]
hdr[0x000000004407ffc0] header_size[0x40] image_size[0x826040]
bl33_ep->spsr = 0x3c5 bl33_ep->pc = 0x44080000
NOTICE: BL31: v1.3(debug):multi-core
NOTICE: BL31: Built : 08:27:53, Aug 1 2019
INFO: ARM GICv2 driver initialized
INFO: BL31: Initializing runtime services
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x44080000
INFO: SPSR = 0x3c5
```
有熟悉的大佬帮忙看看是什么情况吗:(
编译了kernel,重新烧写kernel和文件系统之后,结果内核启动不了,
烧写步骤:
```
1. 烧写uboot
mw.b 0x44000000 0xff 0x100000; tftp 0x44000000 u-boot-hi3559av100.bin; mmc write 0 0x44000000 0 0x800
2. 烧写kernel
mw.b 0x44000000 0xff 0x900000;tftp 0x44000000 uImage_hi3559av100_multi-core;mmc write 0 0x44000000 0x800 0x4800
3. 烧写文件系统
mw.b 0x44000000 0xff 0x1000000;tftp 0x44000000 rootfs_hi3559av100_96M.ext4; mmc write.ext4sp 0 0x44000000 0x5000 0x30000
4. 启动参数
setenv bootargs ‘mem=512M console=ttyAMA0,115200 clk_ignore_unused root=/dev/mmcblk0p3 rootfstype=ext4 rw init=/linuxrc rootwait blkdevparts=mmcblk0:1M(boot), 9M(kernel),96M(rootfs),-(user)‘;
setenv bootcmd 'mmc read 0 0x44000000 0x800 0x4800 ;bootm 0x44000000' ;saveenv
```
打印信息如下:
```
hisilicon # boot
MMC read: dev # 0, block # 2048, count 18432 ... 18432 blocks read: OK
Load fip from 0x0000000044000000 ...
Firmware Image Package ToC:
---------------------------
- EL3 Runtime Firmware BL3-1: offset=0x88, size=0x7090
- Non-Trusted Firmware BL3-3: offset=0x7118, size=0x82E2B2
---------------------------
Create Entry Point info ...
Get - EL3 Runtime Firmware BL3-1
Get - Non-Trusted Firmware BL3-3
kernel_size[0x82e2b2] fdt_size[0x8272] fdt_addr[0x00000000448a6000]
hdr[0x000000004407ffc0] header_size[0x40] image_size[0x826040]
bl33_ep->spsr = 0x3c5 bl33_ep->pc = 0x44080000
NOTICE: BL31: v1.3(debug):multi-core
NOTICE: BL31: Built : 08:27:53, Aug 1 2019
INFO: ARM GICv2 driver initialized
INFO: BL31: Initializing runtime services
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x44080000
INFO: SPSR = 0x3c5
```
有熟悉的大佬帮忙看看是什么情况吗:(
我来回答
回答6个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2019-08-20 16:09:44
-
2020-05-28 11:13:29
-
2023-11-01 10:36:24
-
2018-05-14 17:30:10
-
2022-10-20 18:39:36
-
2023-10-18 18:01:17
-
2019-06-26 09:18:17
-
22019-08-01 14:41:19
-
02019-01-13 17:41:51
-
2022-05-03 16:05:03
-
2020-08-01 11:46:28
-
2024-01-11 10:22:03
-
2019-10-08 13:18:15
-
2018-06-12 20:20:00
-
2019-04-08 16:10:36
-
22019-09-20 10:52:40
-
02020-09-15 23:24:48
-
2020-05-25 16:14:06
-
2019-01-23 14:13:51
无更多相似问答 去提问
点击登录
-- 积分
-- 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币)
取消
确认