526
- 收藏
- 点赞
- 分享
- 举报
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
```
有熟悉的大佬帮忙看看是什么情况吗:(
我来回答
回答5个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片
相关问答
-
2019-08-20 16:09:44
-
2020-05-28 11:13:29
-
2019-06-26 09:18:17
-
2018-05-14 17:30:10
-
22019-08-01 14:41:19
-
02019-01-13 17:41:51
-
2020-08-01 11:46:28
-
2020-05-25 16:14:06
-
22019-09-20 10:52:40
-
2019-04-08 16:10:36
-
2019-10-08 13:18:15
-
2018-06-12 20:20:00
-
2019-01-23 14:13:51
-
2019-09-30 11:50:59
-
2019-01-24 15:04:52
-
2020-02-25 09:40:39
-
2018-06-13 09:49:14
-
422020-05-06 17:11:42
-
2019-07-05 11:48:36
无更多相似问答 去提问

点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认