qn1569030184

qn1569030184

0个粉丝

1

问答

0

专栏

0

资料

qn1569030184  发布于  2019-10-07 21:56:54
采纳率 0%
1个问答
4523

hi3556v2000 怎么配置uboot启动参数

 
本帖最后由 qn1569030184 于 2019-10-8 10:29 编辑

hi3556v2000 怎么配置uboot启动参数,我这边根据编译出来的config文件配置启动参数,怎么liteos 没有运行起来?
打印信息如下:没有liteos里面app_init的任何打印
System startup

Uncompress Ok!

U-Boot 2016.11 (Oct 07 2019 - 00:42:47 -0700)hi3556v200

Relocation Offset is: 07707000
Relocating to 87f07000, new gd at 87ec6ef0, sp at 87ec6ed0
SPI Nor:  MMC:   
In:    serial
Out:   serial
Err:   serial
Net:   eth0
Warning: eth0 (eth0) using random MAC address - f6:55:52:d0:4b:40

Hit any key to stop autoboot:  0
device 0 offset 0x3a0000, size 0x100000

SF: 1048576 bytes @ 0x3a0000 Read: OK
device 0 offset 0x60000, size 0x10000

SF: 65536 bytes @ 0x60000 Read: OK
device 0 offset 0x70000, size 0x10000

SF: 65536 bytes @ 0x70000 Read: OK
DBG: Compress[1]
DBG: decompress ok!
decompress ok!
## Starting cpu1 A7 at 0x82A00000 ...
device 0 offset 0x4a0000, size 0x320000

SF: 3276800 bytes @ 0x4a0000 Read: OK
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-4.9.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2348282 Bytes = 2.2 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK

Starting kernel ...

mknod: /dev/console: File exists
mknod: /dev/ttyAMA0: File exists
mknod: /dev/ttyAMA1: File exists
mknod: /dev/ttyS000: File exists
mknod: /dev/null: File exists

Welcome to HiLinux.
/ # [02:15:01:494 INFO-Init]:PDT_Init[946]:linux start main_app: 1503 ms
[02:15:01:840 INFO-]:HI_PDT_MEDIA_Init[2061]:media info address[0x828e0000] size[6984]
[02:15:01:851 INFO-]:HI_PDT_MEDIA_VideoOutInit[2217]:Success
[02:15:02:811 INFO-UI]:PDT_UI_LoadHiFB[309]:u32Fb0Size_KB is 800.

[02:15:03:018 INFO-]:HI_PDT_MEDIA_SetDisplayGraphicCSC[2486]:set graphic csc for graphic layer 0
[02:15:03:019 INFO-]:HI_PDT_MEDIA_SetDisplayGraphicCSC[2508]:Success
[02:15:03:058 ERROR-StateMng]:HI_PDT_STATEMNG_GetState[547]:StateMng Module has not been inited

[02:15:03:058 ERROR-NetCtrl]:PDT_UI_HOME_OnShow[643]:HOME_Refresh failed, s32Ret(ffffffff)

(PDT_UI_WINMNG_ListDump): Window ID list: {108, } MaxCount:20, CurMaxCount:1

[02:15:03:075 INFO-Init]:PDT_Init[1081]:linux start ui: 3086 ms
[VCAP] [HI_MAPI_VCAP_AhdGetStatus][  77][Info]:MSG_CMD_VCAP_AHD_GET_STATUS fail
[VCAP] [HI_MAPI_VCAP_AhdGetStatus][  77][Info]:fail and return:[0xa3018009]
[02:15:03:102 ERROR-]:AHDMNG_GetAhdPlugStatus[59]:Error Code: [0xA3018009]

[02:15:03:135 INFO-RecMng]:HI_RECMNG_Init[2298]:InitRecMng
[02:15:03:147 ERROR-]:STORAGEMNG_GetCtxByMntPath[73]:get context fail by MntPath[/app/sd/]
[02:15:03:147 ERROR-]:HI_STORAGEMNG_GetState[359]:expr[HI_SUCCESS == s32Ret] false
[02:15:03:147 ERROR-StateMng]:PDT_STATEMNG_PoweronProc[376]:get storage state failed, s32Ret(0x80700007)

NETWORK_Listener_CreateSocket set timeout
[02:15:03:194 INFO-StateMng]:PDT_STATEMNG_GetMediaModeCfg[1987]:CAM[0],bEnable[1]
[02:15:03:200 INFO-StateMng]:PDT_STATEMNG_GetMediaModeCfg[1987]:CAM[1],bEnable[0]
[02:15:03:202 INFO-StateMng]:PDT_STATEMNG_ResetMedia[613]:fastboot ignore first vo and ao stop
[02:15:03:204 INFO-]:HI_PDT_MEDIA_VideoReset[3008]:bCompress(1), s_stMEDIACtx.bCompress(1)
[02:15:03:205 INFO-]:HI_PDT_MEDIA_VideoReset[3027]:reset all, bCompressChange(0)
[02:15:03:205 INFO-]:PDT_MEDIA_VideoReset[2985]:update video out config
[02:15:03:216 INFO-]:PDT_MEDIA_SwitchVcapAdapterAttr[494]:inputMode[0],inputDataType[2]
[02:15:03:279 INFO-]:PDT_MEDIA_VideoReset[2991]:reset video
[02:15:03:279 INFO-]:HI_PDT_MEDIA_VideoOutInit[2217]:Success
[02:15:03:279 INFO-]:PDT_MEDIA_VideoReset[2996]:init video out
[DISP] [HI_MAPI_AO_Init][  42][Info]:ao init failed! s32Ret:a3078009
[02:15:03:498 INFO-StateMng]:PDT_STATEMNG_ResetMedia[702]:fastboot ignore first vo start
[02:15:03:498 INFO-StateMng]:PDT_STATEMNG_AddRtspStreamsByType[2416]:add [ 1 ]
[02:15:03:510 INFO-USBCTRL]:PDT_USBCTRL_SubscribeEventProc[75]:Event[11700000], State[0], WaitedValue=0
(PDT_UI_WINMNG_ListDump): Window ID list: {108, } MaxCount:20, CurMaxCount:1

[02:15:03:513[EVTHUB] getEventHistory error return 0xa1328047
[02:15:03:514 INFO-NetCtrl]:PDT_UI_HOME_EventProc[930]:HI_EVTHUB_GetEventHistory fail a1328047
[02:15:03:610 INFO-]:HI_STORAGEMNG_Create[287]:Idx = 0,szDevPath[/dev/mmcblk0p1],szMntPath[/app/sd/]

enable command line debug tool


0  --- quit
1  --- switch to norm_rec
2  --- start
3  --- stop
4  --- trigger
5  --- get state
6  --- get storage state
7  --- set media mode
8  --- switch workmode
9 --- setting atrribute
10 --- choose Charge mode
11 --- choose UVC mode
12 --- choose USB Storage mode
13 --- poweroff
14 --- factory reset
15 --- EMR record
16 --- VO switch
17 --- set wifi
18 --- set flip
19 --- debug switch
[02:15:03:638 ERROR-Init]:PDT_CommandDebug[449]: input 0

[02:15:03:640 INFO-]:STORAGEMNG_OnStateChange[252]:DevPath[/dev/mmcblk0p1] State[0]
[02:15:03:641 INFO-Init]:PDT_ServiceDelayedStart[301]:Linux key available: 3652 ms
[02:15:03:642 INFO-]:HI_HAL_GSENSOR_Init[98]:HI3559V200 BOARD_DEMB
[02:15:03:650 INFO-StateMng]:PDT_STATEMNG_RecStatesMsgProc[1468]:Storage PowerOn State is 8.
[02:15:03:651 INFO-StateMng]:PDT_STATEMNG_BaseStateMsgProc[588]:Change StorageIdle to Real State. 8
(PDT_UI_WINMNG_ListDump): Window ID list: {121, 108, } MaxCount:20, CurMaxCount:2

[02:15:03:661[EXIF] have already init before, ref cnt:2
[02:15:04:065 INFO-UI]:PDT_UI_COMM_SdIsReady[509]:Storage State = 0
(PDT_UI_WINMNG_ListDump): Window ID list: {121, 108, } MaxCount:20, CurMaxCount:2

[02:15:04:090 INFO-VOICEPLAY]:VOICEPLAY_GetPath[61]:u32Index=0
[VCAP] [HI_MAPI_VCAP_AhdGetStatus][  77][Info]:MSG_CMD_VCAP_AHD_GET_STATUS fail
[VCAP] [HI_MAPI_VCAP_AhdGetStatus][  77][Info]:fail and return:[0xa3018009]
[02:15:04:118 ERROR-]:AHDMNG_GetAhdPlugStatus[59]:Error Code: [0xA3018009]

[VCAP] [HI_MAPI_VCAP_AhdGetStatus][  77][Info]:MSG_CMD_VCAP_AHD_GET_STATUS fail
[VCAP] [HI_MAPI_VCAP_AhdGetStatus][  77][Info]:fail and return:[0xa3018009]
[02:15:05:132 ERROR-]:AHDMNG_GetAhdPlugStatus[59]:Error Code: [0xA3018009]

[VCAP] [HI_MAPI_VCAP_AhdGetStatus][  77][Info]:MSG_CMD_VCAP_AHD_GET_STATUS fail
[VCAP] [HI_MAPI_VCAP_AhdGetStatus][  77][Info]:fail and return:[0xa3018009]
[02:15:06:147 ERROR-]:AHDMNG_GetAhdPlugStatus[59]:Error Code: [0xA3018009]

[VCAP] [HI_MAPI_VCAP_AhdGetStatus][  77][Info]:MSG_CMD_VCAP_AHD_GET_STATUS fail
[VCAP] [HI_MAPI_VCAP_AhdGetStatus][  77][Info]:fail and return:[0xa3018009]
[02:15:07:162 ERROR-]:AHDMNG_GetAhdPlugStatus[59]:Error Code: [0xA3018009]

我来回答
回答7个
时间排序
认可量排序

qn1574671088

0个粉丝

0

问答

0

专栏

0

资料

qn1574671088 2019-11-25 16:43:52
认可0
Uncompress Ok!

U-Boot 2016.11 (Nov 24 2019 - 23:23:12 -0800)hi3556v200

Relocation Offset is: 0f709000
Relocating to 8ff09000, new gd at 8fec8ef0, sp at 8fec8ed0
SPI Nor:  Check Flash Memory Controller v100 ... Found
SPI Nor ID Table Version 1.0
SPI Nor(cs 0) ID: 0xef 0x40 0x17
Block:64KB Chip:8MB Name:"W25Q64FV"
SPI Nor total size: 8MB
MMC:   
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0
Warning: eth0 (eth0) using random MAC address - 86:a1:eb:f9:ad:0d

Hit any key to stop autoboot:  0
## Error: "distro_bootcmd" not defined
hisilicon #

我这边跑起来,一直都是报这个错,kernel也没起来。大哥知道为啥不

jiangfy486

0个粉丝

1

问答

0

专栏

0

资料

jiangfy486 2019-11-26 14:29:07
认可0
配没赔env                        

Tracy_9216

2个粉丝

6

问答

79

专栏

29

资料

Tracy_9216 2019-12-05 17:02:46
认可0
setenv bootargs 'mem=64M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 mtdparts=hi_sfc:1M(boot),4M(kernel),11M(rootfs)'
根据自己板的情况设置

qn1537256351

0个粉丝

2

问答

0

专栏

0

资料

qn1537256351 2020-07-23 09:44:52
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=150208&ptid=76028]qn1574671088 发表于 2019-11-25 16:43[/url]
Uncompress Ok!

U-Boot 2016.11 (Nov 24 2019 - 23:23:12 -0800)hi3556v200
[/quote]

问题有解决么?我也遇到同样的问题

张轩浩

0个粉丝

4

问答

0

专栏

1

资料

张轩浩 2020-07-27 14:16:44
认可0
virt-tty a7 看看,是什么问题咯

qn1561606442

0个粉丝

1

问答

0

专栏

0

资料

qn1561606442 2019-11-26 09:17:02
认可0
setenv......

qn1598341513

0个粉丝

0

问答

0

专栏

0

资料

qn1598341513 2020-08-31 10:34:14
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=161076&ptid=76028]qn1537256351 发表于 2020-7-23 09:44[/url]
问题有解决么?我也遇到同样的问题[/quote]

你好,我遇到同样的问题,想请教你一下你怎么解决的
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区