8577
- 收藏
- 点赞
- 分享
- 举报
如何在hi3559av100上跑liteos和linux双系统,实现异构框架
目前,uboot和big_little内核镜像,yaffs2文件系统以及sample_vio_bin镜像(说明一下,这个sample_vio.bin是在mpp/sample下执行make lite 命令生成的,用的是aarch64-himix100-linux这个编译器)烧写进去,设置启动参数后reset 。
结果是:开发板linux系统能起来,但huawei liteos 貌似没起来,nfs挂载mpp文件夹后,执行mpp/sample/vio/sample_vio可执行文件,报段错误,是我编译sample_vio用的编译器不对吗,感觉没起来可能是这个原因,有哪位大神玩3559av100的,请指点一下,非常感谢,下面我贴段启动log:
System startup
Uncompress Ok!
U-Boot 2016.11 (Sep 01 2018 - 14:33:51 +0800)hi3559av100
Relocation Offset is: 176f2000
Relocating to 5fef2000, new gd at 5fe51e00, sp at 5fe51df0
SPI Nor: Boot Media isn't SPI Nor
NAND: Check Flash Memory Controller v100 ... Found
SPI Nand ID Table Version 2.6
SPI Nand(cs 0) ID: 0xef 0xba 0x21 Name:"W25N01GWZEIG"
Block:128KB Page:2KB OOB:64B ECC:4bit/512
Chipsize:128 MiB
MMC:
In: serial
Out: serial
Err: serial
Net: gmac0, gmac1
Error: gmac1 address not set.
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x2a00000, size 0x1000000
16777216 bytes read: OK
## Starting A53UP at 0x0000000045000000 ...
NAND read: device 0 offset 0x100000, size 0x900000
9437184 bytes read: OK
Load fip from 0x0000000052000000 ...
Firmware Image Package ToC:
---------------------------
- EL3 Runtime Firmware BL3-1: offset=0x88, size=0x7090
- Non-Trusted Firmware BL3-3: offset=0x7118, size=0x83E9D6
---------------------------
Create Entry Point info ...
Get - EL3 Runtime Firmware BL3-1
Get - Non-Trusted Firmware BL3-3
kernel_size[0x83e9d6] fdt_size[0x7996] fdt_addr[0x00000000508b7000]
hdr[0x000000005007ffc0] header_size[0x40] image_size[0x837040]
bl33_ep->spsr = 0x3c5 bl33_ep->pc = 0x50080000
NOTICE: BL31: v1.3(debug):876d323
NOTICE: BL31: Built : 10:32:14, Sep 1 2018
INFO: ARM GICv2 driver initialized
INFO: BL31: Initializing runtime services
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x50080000
INFO: SPSR = 0x3c5
Booting Linux on physical CPU 0x0
Linux version 4.9.37 (root@avst-linux-server) (gcc version 6.3.0 (Compiler & Codesign TD V100R001C00B119) ) #1 SMP Sat Sep 1 10:32:05 CST 2018
Boot CPU: AArch64 Processor [410fd034]
Machine model: Hisilicon HI3559AV100 DEMO Board
Memory limited to 512MB
cmz zone is not set!
cma: Reserved 4 MiB at 0x000000006fc00000
psci: probing for conduit method from DT.
psci: PSCIv1.0 detected in firmware.
psci: Using standard PSCI v0.2 function IDs
psci: MIGRATE_INFO_TYPE not supported.
percpu: Embedded 20 pages/cpu @ffffffc02fb7e000 s41112 r8192 d32616 u81920
Detected VIPT I-cache on CPU0
CPU features: enabling workaround for ARM erratum 845719
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129024
Kernel command line: mem=512M console=ttyAMA0,115200 clk_ignore_unused rw
root=/dev/mtdblock2 rootfstype=yaffs2
mtdparts=hinand:1M(boot),9M(kernel),32M(rootfs)
log_buf_len individual max cpu contribution: 4096 bytes
log_buf_len total cpu_extra contributions: 12288 bytes
log_buf_len min size: 16384 bytes
log_buf_len: 32768 bytes
early log buf free: 14692(89%)
PID hash table entries: 2048 (order: 2, 16384 bytes)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
结果是:开发板linux系统能起来,但huawei liteos 貌似没起来,nfs挂载mpp文件夹后,执行mpp/sample/vio/sample_vio可执行文件,报段错误,是我编译sample_vio用的编译器不对吗,感觉没起来可能是这个原因,有哪位大神玩3559av100的,请指点一下,非常感谢,下面我贴段启动log:
System startup
Uncompress Ok!
U-Boot 2016.11 (Sep 01 2018 - 14:33:51 +0800)hi3559av100
Relocation Offset is: 176f2000
Relocating to 5fef2000, new gd at 5fe51e00, sp at 5fe51df0
SPI Nor: Boot Media isn't SPI Nor
NAND: Check Flash Memory Controller v100 ... Found
SPI Nand ID Table Version 2.6
SPI Nand(cs 0) ID: 0xef 0xba 0x21 Name:"W25N01GWZEIG"
Block:128KB Page:2KB OOB:64B ECC:4bit/512
Chipsize:128 MiB
MMC:
In: serial
Out: serial
Err: serial
Net: gmac0, gmac1
Error: gmac1 address not set.
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x2a00000, size 0x1000000
16777216 bytes read: OK
## Starting A53UP at 0x0000000045000000 ...
NAND read: device 0 offset 0x100000, size 0x900000
9437184 bytes read: OK
Load fip from 0x0000000052000000 ...
Firmware Image Package ToC:
---------------------------
- EL3 Runtime Firmware BL3-1: offset=0x88, size=0x7090
- Non-Trusted Firmware BL3-3: offset=0x7118, size=0x83E9D6
---------------------------
Create Entry Point info ...
Get - EL3 Runtime Firmware BL3-1
Get - Non-Trusted Firmware BL3-3
kernel_size[0x83e9d6] fdt_size[0x7996] fdt_addr[0x00000000508b7000]
hdr[0x000000005007ffc0] header_size[0x40] image_size[0x837040]
bl33_ep->spsr = 0x3c5 bl33_ep->pc = 0x50080000
NOTICE: BL31: v1.3(debug):876d323
NOTICE: BL31: Built : 10:32:14, Sep 1 2018
INFO: ARM GICv2 driver initialized
INFO: BL31: Initializing runtime services
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x50080000
INFO: SPSR = 0x3c5
Booting Linux on physical CPU 0x0
Linux version 4.9.37 (root@avst-linux-server) (gcc version 6.3.0 (Compiler & Codesign TD V100R001C00B119) ) #1 SMP Sat Sep 1 10:32:05 CST 2018
Boot CPU: AArch64 Processor [410fd034]
Machine model: Hisilicon HI3559AV100 DEMO Board
Memory limited to 512MB
cmz zone is not set!
cma: Reserved 4 MiB at 0x000000006fc00000
psci: probing for conduit method from DT.
psci: PSCIv1.0 detected in firmware.
psci: Using standard PSCI v0.2 function IDs
psci: MIGRATE_INFO_TYPE not supported.
percpu: Embedded 20 pages/cpu @ffffffc02fb7e000 s41112 r8192 d32616 u81920
Detected VIPT I-cache on CPU0
CPU features: enabling workaround for ARM erratum 845719
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129024
Kernel command line: mem=512M console=ttyAMA0,115200 clk_ignore_unused rw
root=/dev/mtdblock2 rootfstype=yaffs2
mtdparts=hinand:1M(boot),9M(kernel),32M(rootfs)
log_buf_len individual max cpu contribution: 4096 bytes
log_buf_len total cpu_extra contributions: 12288 bytes
log_buf_len min size: 16384 bytes
log_buf_len: 32768 bytes
early log buf free: 14692(89%)
PID hash table entries: 2048 (order: 2, 16384 bytes)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
我来回答
回答12个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2019-10-21 17:26:22
-
2020-08-10 10:13:17
-
2018-09-17 13:30:44
-
2021-01-21 14:05:01
-
2020-10-15 09:47:50
-
2018-12-05 21:14:41
-
12022-02-11 16:51:36
-
2020-10-19 15:59:32
-
2020-06-04 10:56:39
-
2020-08-18 14:00:33
-
2020-09-24 15:47:04
-
2019-01-04 15:21:05
-
2020-01-11 10:06:17
-
2020-06-06 17:17:56
-
2019-09-29 15:36:47
-
2020-03-11 16:35:34
-
2022-06-28 09:24:33
-
2023-04-25 14:05:31
-
2019-12-23 15:58:16
无更多相似问答 去提问
点击登录
-- 积分
-- 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币)
取消
确认