页次: 1
下面是输出日志
U-Boot 2014.07-orangepi (Oct 13 2021 - 11:35:05) Xunlong Software
[2.066]uboot commit : b65841975dcb31f64a2c69344f60db12b98791ae
[2.066]secure enable bit: 0
[2.066]normal mode: with secure monitor
I2C: ready
[2.068]pmbus: ready
[2.068][ARISC] :arisc initialize
[2.094][ARISC] :arisc para ok
[SCP] :sunxi-arisc driver begin startup 2
[SCP] :arisc version: []
[SCP] :sunxi-arisc driver v1.10 is starting
[2.107][ARISC] :sunxi-arisc driver startup succeeded
[2.108]PMU: AXP806
[2.108]PMU: AXP806 found
[2.109]bat_vol=0, ratio=0
[2.109]set pc_bias(1) bias:1800
[2.109]set pg_bias(5) bias:1800
[2.109]set power on vol to default
[2.109]dcdca_vol = 1000, onoff=1
[2.113]aldo2_vol = 3300, onoff=1
[2.117]bldo3_vol = 1800, onoff=1
[2.122]cldo2_vol = 3300, onoff=1
[2.126]cldo3_vol = 3300, onoff=1
[2.130]find power_sply to end
[2.130]cant find pll setting(1320M) from pll table,use default(408M)
[2.132]PMU: cpux 408 Mhz,AXI=204 Mhz
[2.132]PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz MBus=400Mhz
[2.137]DRAM: 1 GiB
[2.141]fdt addr: 0x79ccb0e0
[2.141]gd->fdt_size: 0x1a6c0
[2.144]Relocation Offset is: 34d85000
[2.230]gic: sec monitor mode
[2.230]line:180 func:check_ir_boot_recovery start
[2.230]ir boot recovery not used
[2.230][key recovery] no use
[2.231][box standby] read rtc = 0x0
[2.231][box standby] start_type = 0x1
[2.231][box standby] to kernel
[2.231]workmode = 0,storage type = 1
[2.233]MMC: 2
SUNXI SD/MMC: 2
MMC init failed
[2.254]MMC: 0
SUNXI SD/MMC: 2, SUNXI SD/MMC: 0
[2.286]sunxi flash init ok
[2.286]hdmi hdcp not enable!
[2.286]display init start
[2.286]drv_disp_init
[2.303]init_clocks: finish init_clocks.
[2.322]__clk_enable: clk is null.
[2.322]hdmi cec clk enable failed!
[2.328]request pwm success, pwm1:pwm1:0x300a000.
[2.335]key emac have not been burned yet
[2.335][ac200] tv_read_sid,line:188
[2.335]sunxi_efuse_readn failed:-1
twi_send_slave_addr error
twi_send_slave_addr error
twi_send_slave_addr error
twi_send_slave_addr error
twi_send_slave_addr error
twi_send_slave_addr error
twi_send_slave_addr error
[2.347]drv_disp_init finish
[2.347]hdmi hdcp not enable!
196 bytes read in 7 ms (27.3 KiB/s)
Set HDMI disp_mode to 1080p60
[2.360]hdmi hpd out, force open?
196 bytes read in 8 ms (23.4 KiB/s)
Set fb0_width to 1280
Set fb0_height to 720
[2.370]display init end
Using default environment
bmp_name=/boot/boot.bmp
230456 bytes read in 18 ms (12.2 MiB/s)
[2.398]show bmp on ok
[2.398]inter uboot shell
Hit any key to stop autoboot: 0
mmc0 is current device
2615 bytes read in 10 ms (254.9 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
196 bytes read in 8 ms (23.4 KiB/s)
102337 bytes read in 19 ms (5.1 MiB/s)
7355145 bytes read in 327 ms (21.5 MiB/s)
22476872 bytes read in 972 ms (22.1 MiB/s)
## Booting kernel from Legacy Image at 41000000 ...
Image Name:
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 22476808 Bytes = 21.4 MiB
Load Address: 41000000
Entry Point: 41000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 7355081 Bytes = 7 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
reserving fdt memory region: addr=40020000 size=800
reserving fdt memory region: addr=48000000 size=1000000
reserving fdt memory region: addr=48100000 size=4000
reserving fdt memory region: addr=48104000 size=1000
reserving fdt memory region: addr=48105000 size=1000
reserving fdt memory region: addr=43000000 size=1a000
Loading Ramdisk to 498fc000, end 49fffac9 ... OK
Using Device Tree in place at 44000000, end 4401d6bf
Starting kernel ...
INFO: BL3-1: Next image address = 0x41000000
INFO: BL3-1: Next image spsr = 0x3c5
卡在这里不知道是什么原因,自己画的板子,重新焊接了两遍H6感觉不像是焊接问题,原理图照抄的https://oshwhub.com/logicworld/h6_board#P6这个项目,求大佬看看是什么原因。
我按照教程又改了改,执行播放视频的命令然后又报下面的错误
c ! autovideoconvert ! fbdevsink
Setting pipeline to PAUSED ...
debug : cedarc <AwOmxComponentInit:26>:OMXCORE: aw_omx_component_init 120a80
debug : omx_vdec <__AwOmxVdecInit:1059>:++++++++++++++++++++++omx begin++++++++++++++++++
debug : omx_vdec <__AwOmxVdecInit:1060>:name = OMX.allwinner.video.decoder.avc
debug : omx_vdec_aw <OmxDecoderCreate:992>:kay: ** 0.
debug : cedarc <CdcMessageQueueCreate:47>:nMessageSize = 20
debug : cedarc <AwOmxComponentSetCallbacks:310>:OMXCORE: aw_omx_component_set_callbacks 120a80, b667a490 , 1191e0
debug : omx_vdec <__AwOmxVdecSetCallbacks:1812>:===== vdec set callbacks
Pipeline is PREROLLING ...
debug : omx_vdec <AwOmxVdecPortSetDefinitioin:192>:port:<<<<<<<<in,nBufferCountActual = 2, mBufferCntActual = 2
debug : omx_vdec <AwOmxVdecPortSetDefinitioin:192>:port:<<<<<<<<in,nBufferCountActual = 2, mBufferCntActual = 2
error : omx_vdec <AwOmxVdecPortGetFormat:288>:erro: pParamData->nIndex > m_sPortFormatType.nIndex
debug : omx_vdec <controlSetState:359>:current state:OMX_StateLoaded, target state:OMX_StateIdle
debug : omx_vdec <doStateWaitforResources2Idle:563>:bEnabled[1],[1],bPopulated[0],[0]
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:919>:kay: *** 33.
debug : omx_vdec_aw <__liAllocatePortBuffer:931>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:933>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:<<<<<<<<in
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:919>:kay: *** 0.
debug : omx_vdec_aw <__liAllocatePortBuffer:931>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:933>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:<<<<<<<<in
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:919>:kay: *** 0.
debug : omx_vdec_aw <__liAllocatePortBuffer:931>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:933>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:>>>>>>>out
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:919>:kay: *** 0.
debug : omx_vdec_aw <__liAllocatePortBuffer:931>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:933>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:>>>>>>>out
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:919>:kay: *** 0.
debug : omx_vdec_aw <__liAllocatePortBuffer:931>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:933>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:>>>>>>>out
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:919>:kay: *** 0.
debug : omx_vdec_aw <__liAllocatePortBuffer:931>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:933>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:>>>>>>>out
debug : omx_vdec <doStateWaitforResources2Idle:563>:bEnabled[1],[1],bPopulated[1],[1]
debug : omx_vdec <controlSetState:380>:Transit current state:OMX_StateLoaded --> target state:OMX_StateIdle --OK!
debug : omx_vdec <controlSetState:359>:current state:OMX_StateIdle, target state:OMX_StateExecuting
debug : omx_vdec <controlSetState:380>:Transit current state:OMX_StateIdle --> target state:OMX_StateExecuting --OK!
Caught SIGSEGV
exec gdb failed: No such file or directory
Spinning. Please run 'gdb gst-launch-1.0 174' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
编译通过后使用这个命令gst-launch-1.0 filesrc location=bad_apple.mp4 ! qtdemux ! h264parse ! omxh264dec ! autovideoconvert ! fbdevsink播放视频报错
c ! autovideoconvert ! fbdevsink
Setting pipeline to PAUSED ...
debug : cedarc <AwOmxComponentInit:26>:OMXCORE: aw_omx_component_init 120a80
debug : omx_vdec <__AwOmxVdecInit:1059>:++++++++++++++++++++++omx begin++++++++++++++++++
debug : omx_vdec <__AwOmxVdecInit:1060>:name = OMX.allwinner.video.decoder.avc
debug : omx_vdec_aw <OmxDecoderCreate:924>:kay: ** 0.
debug : cedarc <CdcMessageQueueCreate:47>:nMessageSize = 20
debug : cedarc <AwOmxComponentSetCallbacks:310>:OMXCORE: aw_omx_component_set_callbacks 120a80, b6699490 , 1191e0
debug : omx_vdec <__AwOmxVdecSetCallbacks:1812>:===== vdec set callbacks
Pipeline is PREROLLING ...
debug : omx_vdec <AwOmxVdecPortSetDefinitioin:192>:port:<<<<<<<<in,nBufferCountActual = 2, mBufferCntActual = 2
debug : omx_vdec <AwOmxVdecPortSetDefinitioin:192>:port:<<<<<<<<in,nBufferCountActual = 2, mBufferCntActual = 2
error : omx_vdec <AwOmxVdecPortGetFormat:288>:erro: pParamData->nIndex > m_sPortFormatType.nIndex
debug : omx_vdec <controlSetState:359>:current state:OMX_StateLoaded, target state:OMX_StateIdle
debug : omx_vdec <doStateWaitforResources2Idle:563>:bEnabled[1],[1],bPopulated[0],[0]
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:851>:kay: *** 0.
debug : omx_vdec_aw <__liAllocatePortBuffer:863>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:865>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:<<<<<<<<in
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:851>:kay: *** 0.
debug : omx_vdec_aw <__liAllocatePortBuffer:863>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:865>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:<<<<<<<<in
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:851>:kay: *** 0.
debug : omx_vdec_aw <__liAllocatePortBuffer:863>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:865>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:>>>>>>>out
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:851>:kay: *** 0.
debug : omx_vdec_aw <__liAllocatePortBuffer:863>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:865>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:>>>>>>>out
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:851>:kay: *** 0.
debug : omx_vdec_aw <__liAllocatePortBuffer:863>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:865>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:>>>>>>>out
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:851>:kay: *** 0.
debug : omx_vdec_aw <__liAllocatePortBuffer:863>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:865>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:>>>>>>>out
debug : omx_vdec <doStateWaitforResources2Idle:563>:bEnabled[1],[1],bPopulated[1],[1]
debug : omx_vdec <controlSetState:380>:Transit current state:OMX_StateLoaded --> target state:OMX_StateIdle --OK!
debug : omx_vdec <controlSetState:359>:current state:OMX_StateIdle, target state:OMX_StateExecuting
debug : omx_vdec <controlSetState:380>:Transit current state:OMX_StateIdle --> target state:OMX_StateExecuting --OK!
debug : omx_vdec_aw <liDealWithInitData:153>:fatal error! pInBufHdr is NULL, check code!
debug : omx_vdec_aw <liDealWithInitData:153>:fatal error! pInBufHdr is NULL, check code!
debug : omx_vdec_aw <liDealWithInitData:172>:++++++++++++++++pCtx->mCodecSpecificDataLen[0]
debug : omx_vdec_aw <__liPrepare:461>:decoder prepare
warning: cedarc <AddVDPlugin:1538>: 1117 get local path: /usr/lib/
warning: cedarc <AddVDPlugin:1548>: 1117 load so: /usr/lib/libawmpeg4base.so
warning: cedarc <AddVDPluginSingle:1498>: Invalid plugin, CedarPluginVDInit not found.
warning: cedarc <AddVDPlugin:1548>: 1117 load so: /usr/lib/libawmpeg2.so
debug : cedarc <AddVDPluginSingle:1501>: vdecoder open lib: /usr/lib/libawmpeg2.so
warning: cedarc <VDecoderRegister:127>: register codec: '102:mpeg2' success.
warning: cedarc <VDecoderRegister:127>: register codec: '103:mpeg2' success.
warning: cedarc <AddVDPlugin:1548>: 1117 load so: /usr/lib/libawh264.so
debug : cedarc <AddVDPluginSingle:1501>: vdecoder open lib: /usr/lib/libawh264.so
warning: cedarc <VDecoderRegister:127>: register codec: '115:h264' success.
warning: cedarc <AddVDPlugin:1548>: 1117 load so: /usr/lib/libawh265.so
debug : cedarc <AddVDPluginSingle:1501>: vdecoder open lib: /usr/lib/libawh265.so
warning: cedarc <VDecoderRegister:127>: register codec: '116:h265' success.
warning: cedarc <AddVDPlugin:1548>: 1117 load so: /usr/lib/libawmpeg4h263.so
debug : cedarc <AddVDPluginSingle:1501>: vdecoder open lib: /usr/lib/libawmpeg4h263.so
warning: cedarc <VDecoderRegister:127>: register codec: '104:mpeg4H263' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10b:mpeg4H263' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10d:mpeg4H263' success.
warning: cedarc <AddVDPlugin:1548>: 1117 load so: /usr/lib/libawavs.so
debug : cedarc <AddVDPluginSingle:1501>: vdecoder open lib: /usr/lib/libawavs.so
warning: cedarc <VDecoderRegister:127>: register codec: '117:avs' success.
warning: cedarc <AddVDPlugin:1548>: 1117 load so: /usr/lib/libawvp9Hw.so
debug : cedarc <AddVDPluginSingle:1501>: vdecoder open lib: /usr/lib/libawvp9Hw.so
warning: cedarc <VDecoderRegister:127>: register codec: '113:Vp9Hw' success.
warning: cedarc <AddVDPlugin:1548>: 1117 load so: /usr/lib/libawmjpeg.so
debug : cedarc <AddVDPluginSingle:1501>: vdecoder open lib: /usr/lib/libawmjpeg.so
warning: cedarc <VDecoderRegister:127>: register codec: '101:mjpeg' success.
warning: cedarc <AddVDPlugin:1548>: 1117 load so: /usr/lib/libawvp8.so
debug : cedarc <AddVDPluginSingle:1501>: vdecoder open lib: /usr/lib/libawvp8.so
warning: cedarc <VDecoderRegister:127>: register codec: '112:vp8' success.
warning: cedarc <AddVDPlugin:1548>: 1117 load so: /usr/lib/libawwmv3.so
debug : cedarc <AddVDPluginSingle:1501>: vdecoder open lib: /usr/lib/libawwmv3.so
warning: cedarc <VDecoderRegister:127>: register codec: '110:vc1' success.
warning: cedarc <AddVDPlugin:1548>: 1117 load so: /usr/lib/libawmpeg4normal.so
debug : cedarc <AddVDPluginSingle:1501>: vdecoder open lib: /usr/lib/libawmpeg4normal.so
warning: cedarc <VDecoderRegister:127>: register codec: '10a:mpeg4Normal' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10c:mpeg4Normal' success.
warning: cedarc <VDecoderRegister:127>: register codec: '108:mpeg4Normal' success.
warning: cedarc <VDecoderRegister:127>: register codec: '109:mpeg4Normal' success.
warning: cedarc <AddVDPlugin:1548>: 1117 load so: /usr/lib/libawmjpegplus.so
debug : cedarc <AddVDPluginSingle:1501>: vdecoder open lib: /usr/lib/libawmjpegplus.so
warning: cedarc <VDecoderRegister:127>: register codec: '101:mjpegplus' success.
warning: cedarc <AddVDPlugin:1548>: 1117 load so: /usr/lib/libawmpeg4dx.so
debug : cedarc <AddVDPluginSingle:1501>: vdecoder open lib: /usr/lib/libawmpeg4dx.so
warning: cedarc <VDecoderRegister:127>: register codec: '105:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '106:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '107:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10e:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10f:mpeg4dx' success.
warning: cedarc <AddVDPlugin:1548>: 1117 load so: /usr/lib/libawmpeg4vp6.so
debug : cedarc <AddVDPluginSingle:1501>: vdecoder open lib: /usr/lib/libawmpeg4vp6.so
warning: cedarc <VDecoderRegister:127>: register codec: '111:Mpeg4Vp6' success.
debug : cedarc <LogVersionInfo:40>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : CedarC-v1.1.9
branch: master
commit: 1951abe1456450ea48bfd446e801861a1354e93c
date : Wed May 30 18:59:36 2018 +0800
author: jenkins8080
patch :
----------------------------------------------------------------------
debug : cedarc <CreateVideoDecoder:215>:CreateVideoDecoder ****
debug : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS ***
debug : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : ionAlloc <ion_alloc_open:175>:** phy offset = 40000000
debug : cedarc <VeRelease:1253>: ve release ok
debug : cedarc <InitializeVideoDecoder:344>:*** pVconfig->nVeFreq = 0
debug : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS ***
debug : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open
warning: cedarc <InitializeVideoDecoder:428>:warning: the nDeInterlaceHoldingFrameBufferNum is 0
warning: cedarc <InitializeVideoDecoder:434>:warning: the nDisplayHoldingFrameBufferNum is 0
debug : cedarc <DecideStreamBufferSize:1943>:nBufferSize=2097152
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : cedarc <VideoEngineCreate:388>: *** pEngine->nIcVeVersion = 1663, decIpVersion = 0
debug : cedarc <CreateSpecificDecoder:1209>: Create decoder '115:h264'
debug : cedarc <VideoEngineCreate:481>: **************eCtlAfcbMode = 0
debug : cedarc <GetSbmInterface:1705>:*********GetSbmInterface, nType=4
debug : cedarc <GetSbmInterfaceFrame:1663>:******* sbm-type: Frame*******
debug : cedarc <SbmFrameInit:178>:************pSbm->sbmInterface.bUseNewVeMemoryProgram=0
debug : cedarc <CdcMessageQueueCreate:47>:nMessageSize = 20
debug : omx_vdec <onMessageReceived:778>:********start***********
debug : omx_thread <createThread:123>:+++++ self->mThread: 2997388400
debug : omx_thread <OmxThread_Run:151>:thread submit start to run!
debug : omx_thread <createThread:123>:+++++ self->mThread: 2988999792
debug : omx_thread <OmxThread_Run:151>:thread decode start to run!
debug : omx_thread <createThread:123>:+++++ self->mThread: 2980611184
debug : omx_thread <OmxThread_Run:151>:thread drain start to run!
debug : cedarc <AvcSbmFrameCheckBitStreamType:320>:result: bStreamWithStartCode[1], with[1], whitout[0]
debug : cedarc <H264DecVuiParameters:300>: nFrameRate=60
debug : cedarc <H264DecodePictureScanType:2688>: here3:hCtx->bProgressice=1
debug : fbm.c <FbmCreateBuffer:133>:FbmCreate, total fbm number: 4, decoder needed: 4, nWidth=480, nHeight=272 nAlignStride = 16
debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 0, maxNum = 4
debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 1, maxNum = 4
debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 2, maxNum = 4
debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 3, maxNum = 4
debug : fbm.c <FbmCreateBuffer:379>:*** finish fbmCreateBuffer
warning: cedarc <H264MallocBuffer:1235>: h264 scale down fbm buffer number need double check!
debug : fbm.c <FbmCreateBuffer:133>:FbmCreate, total fbm number: 8, decoder needed: 4, nWidth=480, nHeight=272 nAlignStride = 16
debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 0, maxNum = 8
debug : fbm.c <FbmAllocatePictureBuffer:1410>:pPicture->bEnableAfbcFlag = 0
debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 1, maxNum = 8
debug : fbm.c <FbmAllocatePictureBuffer:1410>:pPicture->bEnableAfbcFlag = 0
debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 2, maxNum = 8
debug : fbm.c <FbmAllocatePictureBuffer:1410>:pPicture->bEnableAfbcFlag = 0
debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 3, maxNum = 8
debug : fbm.c <FbmAllocatePictureBuffer:1410>:pPicture->bEnableAfbcFlag = 0
debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 4, maxNum = 8
debug : fbm.c <FbmAllocatePictureBuffer:1410>:pPicture->bEnableAfbcFlag = 0
debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 5, maxNum = 8
debug : fbm.c <FbmAllocatePictureBuffer:1410>:pPicture->bEnableAfbcFlag = 0
debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 6, maxNum = 8
debug : fbm.c <FbmAllocatePictureBuffer:1410>:pPicture->bEnableAfbcFlag = 0
debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 7, maxNum = 8
debug : fbm.c <FbmAllocatePictureBuffer:1410>:pPicture->bEnableAfbcFlag = 0
debug : fbm.c <FbmCreateBuffer:379>:*** finish fbmCreateBuffer
debug : omx_vdec_aw <liCheckResolutionChange:211>:gqy********l:0, t:0, w:480, h:272
warning: omx_vdec_aw <liCheckResolutionChange:248>: port setting changed -- old info : widht = 176, height = 144, mVideoRect: 0, 0, 480, 272
warning: omx_vdec_aw <liCheckResolutionChange:253>: port setting changed -- new info : widht = 480, height = 272, mVideoRect: 0, 0, 480, 272
debug : omx_vdec <decoderCallbackProcess:844>:*******AW_OMX_CB_PORT_CHANGE
debug : omx_thread <OmxThread_suspend:220>:++++++++++suspend, drain
debug : omx_thread <loopEntryWrapper:38>:post stop run sem drain
debug : omx_thread <OmxThread_suspend:223>:++++++++wait stop-run sem done: drain
debug : omx_vdec <control[ 125.509759] random: crng init done
StopPort:431>:gqy****stop port****, portIdx:1
debug : omx_vdec <AwOmxVdecPortFreeBuffer:455>:port:>>>>>>>out, pBufferHdr:0x121020
debug : omx_vdec <AwOmxVdecPortFreeBuffer:455>:port:>>>>>>>out, pBufferHdr:0x121070
debug : omx_vdec <AwOmxVdecPortFreeBuffer:455>:port:>>>>>>>out, pBufferHdr:0x1210c0
debug : omx_vdec <AwOmxVdecPortFreeBuffer:455>:port:>>>>>>>out, pBufferHdr:0x121110
debug : omx_vdec <controlRestartPort:500>: restart port command. portIdx:1,m_state:OMX_StateExecuting
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:851>:kay: *** 0.
debug : omx_vdec_aw <__liAllocatePortBuffer:863>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:865>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:>>>>>>>out
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:851>:kay: *** 0.
debug : omx_vdec_aw <__liAllocatePortBuffer:863>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:865>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:>>>>>>>out
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:851>:kay: *** 0.
debug : omx_vdec_aw <__liAllocatePortBuffer:863>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:865>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:>>>>>>>out
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug : omx_vdec_aw <__liAllocatePortBuffer:851>:kay: *** 0.
debug : omx_vdec_aw <__liAllocatePortBuffer:863>:kay: malloc
debug : omx_vdec_aw <__liAllocatePortBuffer:865>:kay: malloc2
debug : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:>>>>>>>out
debug : omx_thread <OmxThread_resume:246>:++++++++++resume, drain
**
ERROR:gstomxbufferpool.c:419:gst_omx_buffer_pool_alloc_buffer: code should not be reached
Aborted
这个错误ERROR:gstomxbufferpool.c:419:gst_omx_buffer_pool_alloc_buffer: code should not be reached
Aborted,不太懂是哪的问题
佬,编译的时候出错,这是啥问题
checking for arm-buildroot-linux-gnueabi-gcc... (cached) /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-gcc accepts -g... (cached) yes
checking for /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-gcc option to accept ISO C89... (cached) none needed
checking whether /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-gcc understands -c and -o together... (cached) yes
checking dependency style of /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-gcc... (cached) none
checking for /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-gcc option to accept ISO C99... none needed
checking for /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-gcc option to accept ISO Standard C... (cached) none needed
checking dependency style of /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-gcc... none
checking whether we are using the GNU C++ compiler... yes
checking whether /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-g++ accepts -g... yes
checking dependency style of /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-g++... none
checking how to run the C++ preprocessor... /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-g++ -E
checking for ld used by /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-g++... /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-ld
checking if the linker (/home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-ld) is GNU ld... yes
checking whether the /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-g++ linker (/home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-ld) supports shared libraries... yes
checking for /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-g++ option to produce PIC... -fPIC -DPIC
checking if /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-g++ PIC flag -fPIC -DPIC works... yes
checking if /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-g++ static flag -static works... yes
checking if /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-g++ supports -c -o file.o... yes
checking if /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-g++ supports -c -o file.o... (cached) yes
checking whether the /home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-g++ linker (/home/book/tftpboot/buildroot-2017.08/output/host/bin/arm-buildroot-linux-gnueabi-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: working c++ compiler found: yes
checking for perl... /usr/bin/perl
checking for bison... /home/book/tftpboot/buildroot-2017.08/output/host/bin/bison
checking bison version 3.0.4 >= 2.4... yes
checking for flex... /home/book/tftpboot/buildroot-2017.08/output/host/bin/flex
checking flex version >= 2.5.31... Use of uninitialized value $flex_version_major in numeric gt (>) at - line 3.
Use of uninitialized value $flex_version_major in numeric eq (==) at - line 3.
Use of uninitialized value $flex_version_major in numeric eq (==) at - line 3.
configure: error: no
package/pkg-generic.mk:217: recipe for target '/home/book/tftpboot/buildroot-2017.08/output/build/gstreamer1-1.12.2/.stamp_configured' failed
make[1]: *** [/home/book/tftpboot/buildroot-2017.08/output/build/gstreamer1-1.12.2/.stamp_configured] Error 1
Makefile:79: recipe for target '_all' failed
make: *** [_all] Error 2
我使用荔枝派官网的教程用tf卡构建系统,第一分区:boot.scr zImage suniv-f1c100s-licheepi-nano.dtb 第二分区:rootfs解压的文件,但是插上tf卡启动不了,这是漏了哪一步吗
U-Boot 2018.01-05688-ga9729b3241-dirty (Mar 27 2023 - 03:14:35 -0400) Allwinner Technology
CPU: Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM: 32 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment
Setting up a 800x480 lcd console (overscan 0x0)
In: serial@1c25000
Out: serial@1c25000
Err: serial@1c25000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x100000, size 0x4000
SF: 16384 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
=>
=>
我是在这个贴子里找到的并解决问题的 https://whycan.com/viewtopic.php?pid=15768#p15768
在这个脚本中:
#!/bin/sh
dd if=/dev/zero of=f1c100s_spiflash_16M.bin bs=1M count=16 &&\
dd if=u-boot/u-boot-sunxi-with-spl.bin of=f1c100s_spiflash_16M.bin bs=1K conv=notrunc &&\
dd if=linux-f1c100s-480272lcd-test/arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dtb of=f1c100s_spiflash_16M.bin bs=1K seek=1024 conv=notrunc &&\
dd if=linux-f1c100s-480272lcd-test/arch/arm/boot/zImage of=f1c100s_spiflash_16M.bin bs=1K seek=1088 conv=notrunc &&\
mkfs.jffs2 -s 0x100 -e 0x10000 --pad=0xAF0000 -d rootfs/ -o rootfs.jffs2 &&\
dd if=rootfs.jffs2 of=f1c100s_spiflash_16M.bin bs=1k seek=5184 conv=notrunc &&\
sync
在mkfs.jffs2 -s 0x100 -e 0x10000 --pad=0xAF0000 -d rootfs/ -o rootfs.jffs2 &&\这一行前面是不是得加一个 fakeroot,我在没加之前一直报错can't open /dev/console: Permission denied,加完之后就能正常启动了
我把晕哥 dump 出来的bin 文件, dd 到了 TF 卡,然后报这样的错误是为什么呢
CPU: Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM: 32 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment
Setting up a 480x272 lcd console (overscan 0x0)
In: serial@1c25000
Out: serial@1c25000
Err: serial@1c25000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
starting USB...
No controllers found
USB is stopped. Please issue 'usb start' first.
starting USB...
No controllers found
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-sunxi
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
starting USB...
No controllers found
No ethernet found.
No ethernet found.
=>
页次: 1