V821 怎么在编译好的文件系统里 增加或修改自己的 配置文件, 相当于overlayrootfs
QY157 发布的帖子
-
V821 怎么在编译好的文件系统里 增加或修改自己的 配置文件, 相当于overlayrootfs
-
V821 sample_ao 运行报错 无声
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0101 04:05:44.877432 490 play.c:411] <main2> Hello, sample_ao!
I0101 04:05:44.880457 490 play.c:347] <loadSampleAOConfig> param: pcmFilePath[/mnt/UDISK/test.wav], sampleRate[44100], channelCount[2], bitWidth[16], frameSize[1024], aoVolume[90], aoSoftVolume[60]
I0101 04:05:44.883114 490 play.c:48] <ParseWavHeader> Be careful! wav header has chunk:[0x5453494c], size:26, skip
I0101 04:05:44.886113 490 play.c:469] <main2> parse wav header size:78, ChnNum[2], SampleRate[44100], BitsPerSample[16]
I0101 04:05:44.887240 490 mpi_sys.c:854] <AW_MPI_SYS_SetConf> kfctmpdir is [/tmp]
I0101 04:05:44.897525 490 mpi_sys.c:1505] <AW_MPI_SYS_Init> ISP init
I0101 04:05:44.898756 490 isp_version.h:32] <isp_version_info> [ISP]>>>>>>>>>>>>>>>>>>>> ISP VERSION INFO <<<<<<<<<<<<<<<<<<<
IPCORE: ISP603
branch: libisp-dev
commit: 85909eef135a0108ea1214df4886d6c741a71c39
date : Tue May 27 18:59:00 2025 +0800
author: mayifei@allwinnertech.comI0101 04:05:44.903154 490 mpi_sys.c:1507] <AW_MPI_SYS_Init> ISP init done
I0101 04:05:44.903994 490 hwdisplay.c:84] <hw_display_init>
I0101 04:05:44.904516 490 hwdisplay.c:1020] <hwd_init> (hwd_init 1020)
E0101 04:05:45.407127 490 hwdisplay.c:1013] <tryOpenDev> fatal error! open dev[/dev/disp] fail. error[2-No such file or directory]!
E0101 04:05:45.409490 490 hwdisplay.c:1030] <hwd_init> fatal error! Failed to open disp device
E0101 04:05:45.411430 490 mpi_vo.c:382] <VO_Construct> fatal error! hw display init fail!
E0101 04:05:45.412406 490 mpi_sys.c:1554] <AW_MPI_SYS_Init> VO Construct error!
I0101 04:05:45.433770 490 audio_hw.c:198] <MakeAllMixerElemsAvailable> pcm open and close, all MixerElems maybe exist.
I0101 04:05:45.434882 490 alsa_interface.c:736] <alsaOpenMixer> open mixer:hw:0
I0101 04:05:45.437875 490 alsa_interface.c:792] <alsaOpenMixer> set playback vol_val to value: 27, mppValue:87
I0101 04:05:45.439026 490 alsa_interface.c:805] <alsaOpenMixer> set playback soft_vol val to value: 130, mppValue:0
I0101 04:05:45.439966 490 alsa_interface.c:736] <alsaOpenMixer> open mixer:hw:1
E0101 04:05:45.441201 490 alsa_interface.c:748] <alsaOpenMixer> Mixer hw:1 attach error: No such file or directory
E0101 04:05:45.444337 490 audio_hw.c:306] <audioHw_Construct> AIO device 1 open mixer failed!
I0101 04:05:45.448022 490 AOChannel_Component.c:1386] <AOChannel_ComponentInit> create AOChannel threadId[0xb6abb3a0]
I0101 04:05:45.449174 490 play.c:503] <main2> create ao channel[0] success!
I0101 04:05:45.450489 490 alsa_interface.c:1126] <alsaMixerGetVolume> playback getVolume:27, mppValue:87, err:0
I0101 04:05:45.451532 490 play.c:605] <main2> Get Ao Volume:87, set:90
I0101 04:05:45.452454 490 alsa_interface.c:1092] <alsaMixerSetVolume> snd_card:0, elem_name:LINEOUT Gain, playback setVolume:27, mppValue:90, err:0
E0101 04:05:45.453406 490 alsa_interface.c:1162] <alsaMixerSetSoftVolume> want to setAIOSoftVol[-52,50], playFlag[1], but usr value=60 is invalid!
I0101 04:05:45.454409 490 play.c:609] <main2> Set Ao SoftVolume:60
I0101 04:05:45.459268 493 AOChannel_Component.c:2034] <AOChannel_ComponentThread> AO get first pcm from ADec, nBufferLen: 4096, nTimeStamp:0us, param[44100-1-1],use it to init AudioRenderHal
I0101 04:05:45.460340 493 AOChannel_Component.c:2049] <AOChannel_ComponentThread> audioDev[0-0] is not config, config it now, [0-44100-1-2]
E0101 04:05:45.461477 493 audio_hw.c:1614] <audioHw_AO_SetChnPubAttr> ao_set_attr_chl:0,stat:0
I0101 04:05:45.461312 492 mpi_sys.c:1085] <MonitorEnvVarThread> detect user environment:
I0101 04:05:45.463076 492 mpi_sys.c:1086] <MonitorEnvVarThread> /tmp/mpp_log_level
I0101 04:05:45.463754 492 mpi_sys.c:1087] <MonitorEnvVarThread> /tmp/mpp_venc_sei_config_param
I0101 04:05:45.462539 493 AOChannel_Component.c:2056] <AOChannel_ComponentThread> audioDev[0-0] is not start, start it now
E0101 04:05:45.465061 493 audio_hw.c:1709] <audioHw_AO_EnableChn> ao_enable_chl:0-0
W0101 04:05:45.465526 493 audio_hw.c:1758] <audioHw_AO_EnableChn> params of play_daudio0 chn[0] [44100-2-2646] don't matter now. asound.conf make sure same to PlaybackRateDmix
I0101 04:05:45.466553 493 alsa_interface.c:492] <alsaOpenPcm> open pcm! card:[I2STX], pcmFlag:1
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
E0101 04:05:45.474079 493 alsa_interface.c:504] <alsaOpenPcm> fatal error! card[I2STX] audio open error: No such device
E0101 04:05:45.475322 493 audio_hw.c:1795] <audioHw_AO_EnableChn> fatal error! daudio0 open_pcm failed, ch:0
I0101 04:05:45.478526 493 AOChannel_Component.c:2060] <AOChannel_ComponentThread> audio render hal init and run ok:0!
E0101 04:05:45.479985 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
E0101 04:05:45.481732 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
E0101 04:05:45.483016 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
E0101 04:05:45.484220 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
E0101 04:05:45.485244 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
E0101 04:05:45.486320 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
E0101 04:05:45.487200 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
E0101 04:05:45.488029 493 AOChannel_Component.c:2242] <AOChannel_ComponentThrea
E0101 04:05:46.076803 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
E0101 04:05:46.077981 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
E0101 04:05:46.079810 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
E0101 04:05:46.081652 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
E0101 04:05:46.083474 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
I0101 04:05:46.084648 490 play.c:652] <main2> read file finish! last read [2720]bytes
W0101 04:05:46.084874 490 mpi_ao.c:877] <AW_MPI_AO_SetStreamEof> warning! ao dev was not started!
I0101 04:05:46.085012 490 AOChannel_Component.c:185] <AOSetStreamEof> AO end flag is set! drain pcm flag:1!
E0101 04:05:46.085162 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
E0101 04:05:46.086092 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
E0101 04:05:46.086403 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
E0101 04:05:46.087456 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
E0101 04:05:46.089085 493 AOChannel_Component.c:2242] <AOChannel_ComponentThread> fatal error! send to alsaLib fail[0xa0168005], but still release frame
W0101 04:05:46.089367 493 AOChannel_Component.c:2107] <AOChannel_ComponentThread> Be careful! aoChn[0-0] no node in UsedList?! privFlag[0x2], drainPostDataFlag:0
I0101 04:05:46.090322 493 AOChannel_Component.c:2159] <AOChannel_ComponentThread> Be careful! we need create empty audio frame[1-1-44100] to drain postData!
I0101 04:05:46.090505 493 AOChannel_Component.c:2253] <AOChannel_ComponentThread> Be careful! maybe drain post datalen[0], flag:1!
I0101 04:05:46.091361 493 AOChannel_Component.c:1992] <AOChannel_ComponentThread> A. AOChn[0-0] notify player eof!
I0101 04:05:46.091555 493 AOChannel_Component.c:1995] <AOChannel_ComponentThread> AOChn[0-0] drain pcm ring buf!
E0101 04:05:46.092636 493 AOChannel_Component.c:2004] <AOChannel_ComponentThread> fatal error! AOChn[0-0] is not start, so do not drain!
I0101 04:05:46.093917 493 AOChannel_Component.c:2008] <AOChannel_ComponentThread> AOChn[0-0] drain pcm ring buf done, cost[1]ms!
I0101 04:05:46.094095 493 play.c:267] <SampleAOCallbackWrapper> AO channel notify APP that play complete!
I0101 04:05:46.095027 493 AOChannel_Component.c:1939] <AOChannel_ComponentThread> AO EOF!I0101 04:05:49.547520 494 play.c:399] <volumeAdjustThread> unknow cmd:
!
I0101 04:05:49.547703 494 play.c:400] <volumeAdjustThread> help: setvol/mute x for set volume/mute
I0101 04:05:49.547774 494 play.c:401] <volumeAdjustThread> getvol/mute for get volume/mute value
W0101 04:05:49.563646 490 mpi_ao.c:490] <AW_MPI_AO_StopChn> Be careful! aoChn[0-0] is not start
W0101 04:05:49.564628 490 mpi_ao.c:308] <AW_MPI_AO_DestroyChn> Be careful! aoChn[0-0] is not start
I0101 04:05:49.564937 493 AOChannel_Component.c:1791] <AOChannel_ComponentThread> release all frames to ADec, when state[0x2]->[0x1]
I0101 04:05:49.565807 490 AOChannel_Component.c:1118] <AOChannel_ComponentDeInit> wait AO channel component exit!...
I0101 04:05:49.567048 490 AOChannel_Component.c:1215] <AOChannel_ComponentDeInit> AO component exited!
I0101 04:05:49.568072 490 alsa_interface.c:839] <alsaCloseMixer> close mixer[0x36f544].card_id:0
I0101 04:05:49.568470 490 mpi_vo.c:408] <VO_Destruct> already destruct vo
I0101 04:05:49.570005 492 mpi_sys.c:1097] <MonitorEnvVarThread> MonitorEnvVar thread receive stop command, cur sys state is:2
I0101 04:05:49.571155 490 play.c:710] <main2> success test result. -
回复: v821切换到spi nand flash(XT26G01CWSIG) 系统无法启动
@awwwwa
ubuntu20.04,按照上面的方法进行编译,编译成功后 输出的居然还是nor的镜像
这是怎么回事啊?
-
回复: v821切换到spi nand flash(XT26G01CWSIG) 系统无法启动
@awwwwa 能把你的board.dts 发出来吗? 你除了使用quick_config配置之外还有别的改动吗?我看了下dts 好像不太对劲, spi0好像都没有nand的节点,
&spi0 { pinctrl-0 = <&spi0_pins_default &spi0_pins_cs>; pinctrl-1 = <&spi0_pins_sleep>; pinctrl-names = "default", "sleep"; sunxi,spi-bus-mode = <SUNXI_SPI_BUS_NOR>; sunxi,spi-cs-mode = <SUNXI_SPI_CS_SOFT>; status = "okay"; dmas; dma-names; spi_board0 { device_type = "spi_board0"; compatible = "spi-nor"; spi-max-frequency = <100000000>; m25p,fast-read = <1>; /*individual_lock;*/ reg = <0x0>; spi-rx-bus-width = <4>; spi-tx-bus-width = <4>; status = "disabled"; }; };
-
回复: v821切换到spi nand flash(XT26G01CWSIG) 系统无法启动
@awwwwa 我这个SDK应该部是最新的,造成的, 我看这颗物料的更新是7月30日,而我的SDK是6月份的, 应该是SDK的问题了, 能发我一份SDK吗?
-
回复: v821切换到spi nand flash(XT26G01CWSIG) 系统无法启动
@awwwwa 是用quick_config配置编译的吗? 你的SDK是哪个版本是1.2吗? 能否 发我一份
-
回复: v821切换到spi nand flash(XT26G01CWSIG) 系统无法启动
@awwwwa Waiting for root device /dev/ubiblock0_7 中 ubiblock0_7 名字是否正确,是不是因为这个名字错了,无法进入文件系统的情况下怎么查看这个名字,在uboot中能查看吗?
-
回复: v821切换到spi nand flash(XT26G01CWSIG) 系统无法启动
@awwwwa 重新 make distclean 并且 重新quick_config 还是一样的问题,这个要怎么解决呢?
-
回复: v821 sample_smartIPC_demo无法正常运行
main_enable = 1 #0:disable main stream, 1:enable main stream
main_rtsp_id = 0 #-1:disable main rtsp是这些吗? 只要保证主码流有不就行吗?
-
v821切换到spi nand flash(XT26G01CWSIG) 系统无法启动
日志如下:
[0]HELLO! BOOT0 is starting! [0]BOOT0 commit : [0]set pll start [1]set pll end [1]reset_src: rtc wdg rst [2]reset_src: det rst [2]reset_src: pwron rst [3]board init ok: use hosc 40M [4]mode:0x1 sample delay:0xf [4]OperationOpt:7 [4]spinand quad mode error [4]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32 [5]BOOT_PARAM_OFFSET:0x500000 [6]boot param - magic error [6]DRAM use internal ZQ!! [7]ZQ value = 0x30 [7]DRAM BOOT DRIVE INFO: V1.02 [7]DRAM CLK = 520 MHz [7]DRAM Type = 2 (2:DDR2,3:DDR3) [7]DRAMC read ODT off. [8]DRAM ODT off. [8]ddr_clk0 = 1040 MHz [9]trefi: 7.8us [9]DRAM Size = 64 MB [11]DRAM simple test OK. [11]dram size =64 [11]mode:0x1 sample delay:0xf [11]OperationOpt:7 [11]spinand quad mode error [12]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32 [12]mode:0x1 sample delay:0xf [12]OperationOpt:7 [13]spinand quad mode error [13]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32 [13]block from 8 to 32 [141]Check is correct. Find a good uboot copy at block 8 [142]dma 0x2009c7c int is not used yet [142]dma 0x2009c7c int is free, you do not need to free it again [142]Entry_name = opensbi [143]Entry_name = u-boot [145]Entry_name = melis-elf [148]Jump to OpenSBI: opensbi_base = 0x80fc0000, dtb_base = 0x0, uboot_base = 0x82000000 OpenSBI 92310c8ed361641fa38c20bd0073be189e0f1282 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| init msb region pma attribute Platform Name : sun300iw1 Platform Features : medeleg Platform HART Count : 1 Platform IPI Device : sunxi_plicsw Platform Timer Device : sunxi_plmt @ 40000000Hz Platform Console Device : sunxi_uart Platform HSM Device : --- Platform PMU Device : --- Platform Reboot Device : sunxi_wdt Platform Shutdown Device : sunxi_wdt Firmware Base : 0x80fc0400 Firmware Size : 75 KB Runtime SBI Version : 0.3 Domain0 Name : root Domain0 Boot HART : 0 Domain0 HARTs : 0* Domain0 Region00 : 0x80fc0000-0x80fdffff () Domain0 Region01 : 0x00000000-0xffffffff (R,W,X) Domain0 Next Address : 0x82000000 Domain0 Next Arg1 : 0x00000000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Boot HART ID : 0 Boot HART Domain : root Boot HART ISA : rv32imafdcnsux Boot HART Features : scounteren,mcounteren,mcountinhibit,sscofpmf Boot HART PMP Count : 64 Boot HART PMP Granularity : 8 Boot HART PMP Address Bits: 31 Boot HART MHPM Count : 4 Boot HART MIDELEG : 0x00000222 Boot HART MEDELEG : 0x0000b109 U-Boot 2018.07 (Aug 15 2025 - 10:41:44 +0800) Allwinner Technology I2C: ready [00.162]DRAM: 64 MiB [00.163]Relocation Offset is: 01f23000, reloc addr is: 83f23000 [00.165]secure enable bit: 0 [00.165]drivers/sunxi_power/pmu_axpnull.c pmu_axpnull_probe 26 axpdummy probe FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL [00.167]axp2601 pmic_bus_read fail [00.167]BMU: AXPNULL [00.168]CPU=960 MHz,PERI=3072 Mhz,AHB=192 Mhz, APB=96Mhz SPI ALL: ready [00.170]flash init start [00.171]workmode = 0,storage type = 0 [00.177]sunxi-spinand-phy: spinand sample_mode:1 sample_delay:f device nand0 <nand>, # parts = 4 #: name size offset mask_flags 0: boot0 0x00100000 0x00000000 1 1: uboot 0x00300000 0x00100000 1 2: secure_storage 0x00100000 0x00400000 1 3: sys 0x07b00000 0x00500000 0 active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000 defaults: mtdids : nand0=nand mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys) [00.330]ubi0: attaching mtd4 [00.926]ubi0: scanning is finished [00.934]ubi0: attached mtd4 (name "sys", size 123 MiB) [00.935]ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [00.935]ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [00.936]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [00.936]ubi0: good PEBs: 980, bad PEBs: 4, corrupted PEBs: 0 [00.936]ubi0: user volume: 10, internal volumes: 1, max. volumes count: 128 [00.937]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [00.938]ubi0: available PEBs: 0, total reserved PEBs: 980, PEBs reserved for bad PEB handling: 16 [00.938]sunxi flash init ok [01.194]Loading Environment from SUNXI_FLASH... OK [01.235]usb burn from boot delay time 0 [01.244]usb prepare ok [01.545]overtime [01.548]do_burn_from_boot usb : no usb exist List file under ULI/factory ** Unrecognized filesystem type ** [01.575]update bootcmd [01.609]change working_fdt 0x838e2ea0 to 0x838c2ea0 [01.617]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND [01.619]update dts Info: gmac phy mode = rmii, phy_interface = 6 FDT ERROR:get muxsel err returned FDT_ERR_INTERNAL Error: gmac set pin failed [01.623]Board Net Initialization Failed [01.623]No ethernet found. Hit any key to stop autoboot: 0 [02.238]no vendor_boot partition is found Android's image name: sun300i_riscv32 Detect comp gzip ERROR: reserving fdt memory region failed (addr=80ffff00 size=100) [02.465] Starting kernel ... [ 0.000000] Linux version 5.4.220 (yinqi@yinqi) (gcc version 10.4.0 (2024-02-02_nds32le-linux-glibc-v5d-bbc31ec98)) #2 PREEMPT Fri Aug 15 10:48:09 CST 2025 [ 0.000000] printk: bootconsole [earlycon0] enabled [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000083c00000, size 4 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x0000000081200000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node vdev0buffer@81200000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x0000000081646000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node e907_rpbuf@81646000, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000080000000-0x0000000083ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x0000000080ffefff] [ 0.000000] node 0: [mem 0x0000000081244000-0x0000000081643fff] [ 0.000000] node 0: [mem 0x000000008164e000-0x0000000083ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000083ffffff] [ 0.000000] On node 0 totalpages: 15793 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 15793 pages, LIFO batch:3 [ 0.000000] SBI specification v0.3 detected [ 0.000000] SBI implementation ID=0x1 Version=0x10000 [ 0.000000] SBI v0.2 TIME extension detected [ 0.000000] SBI v0.2 IPI extension detected [ 0.000000] SBI v0.2 RFENCE extension detected [ 0.000000] SBI SRST extension detected [ 0.000000] riscv: base ISA extensions acdfim [ 0.000000] riscv: ELF capabilities acdfim [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 15665 [ 0.000000] Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x42500000 initcall_debug=0 console=ttyS0,1500000 loglevel=8 root=/dev/ubiblock0_7 rootwait rootfstype=squashfs init=/init rdinit=/rdinit partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:private@ubi0_5:riscv0@ubi0_6:rootfs@ubi0_7:rootfs_data@ubi0_8:UDISK@ubi0_9: cma=1M snum=7c000c71a300c822250 mac_addr= wifi_mac=60:c2:2a:12:48:6f bt_mac= selinux=0 specialstr= gpt=1 arm-smmu-v3.disable_bypass=0 androidboot.serialno=7c000c71a300c822250 androidboot.hardware=sun300iw1p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.07(08/15/2025-10:41:44) mbr_offset=1032192 bootreason=button aw-ubi-spinand.ubootblks=24 androidboot.dramfreq=520 androidboot.dramsize=64 mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys) uboot_backup=ubootA [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.000000] Sorting __ex_table... [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 27108K/63172K available (5310K kernel code, 432K rwdata, 2008K rodata, 168K init, 345K bss, 31968K reserved, 4096K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] NR_IRQS: 72, nr_irqs: 72, preallocated irqs: 0 [ 0.000000] plic: mapped 187 interrupts with 1 handlers for 2 contexts. [ 0.000000] sunxi:ccu-ng:[INFO]: Current HOSC rate is 40000000HZ [ 0.000000] AW BSP version: UNKNOWN, 2025-08-15 10:48:03 [ 0.000000] sunxi:ccu-ng:[INFO]: aon_ccu: sunxi ccu init OK [ 0.000000] sunxi:ccu-ng:[INFO]: sunxi ccu common driver version: 1.2.4 [ 0.000000] sunxi:ccu-ng:[INFO]: ccu: sunxi ccu init OK [ 0.000000] sunxi:ccu-ng:[INFO]: sunxi app ccu driver version: 0.7.2 [ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] [ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x939a85c40, max_idle_ns: 440795202120 ns [ 0.000011] sched_clock: 64 bits at 40MHz, resolution 25ns, wraps every 4398046511100ns [ 0.001079] Console: colour dummy device 80x25 [ 0.001158] Calibrating delay loop (skipped), value calculated using timer frequency.. 80.00 BogoMIPS (lpj=160000) [ 0.001799] pid_max: default: 32768 minimum: 301 [ 0.002388] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.002723] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.005662] rcu: Hierarchical SRCU implementation. [ 0.011077] devtmpfs: initialized [ 0.032057] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.032410] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.033279] pinctrl core: initialized pinctrl subsystem [ 0.041638] phys:80000000 low vir:c0000000 non-cache:dfc80000~e3c80000 [ 0.042819] NET: Registered protocol family 16 [ 0.048151] sunxi:ccu-ng:[INFO]: sunxi prcm ccu driver version: 0.0.4 [ 0.056385] sunxi:pin-42000000.pinctrl:[INFO]: pinctrl withstand voltage config mode=auto_hard [ 0.056634] sunxi:pin:[INFO]: sunxi pinctrl core driver version: 1.4.8 [ 0.057827] sunxi:pin:[INFO]: sunxi rtc-pinctrl version: 0.0.2 [ 0.060225] sunxi:pin-42000540.pinctrl:[INFO]: pinctrl withstand voltage config mode=auto_hard [ 0.064663] sunxi hwspinlock vbase:0x(ptrval) [ 0.094655] SCSI subsystem initialized [ 0.095049] usbcore: registered new interface driver usbfs [ 0.095159] usbcore: registered new interface driver hub [ 0.095544] usbcore: registered new device driver usb [ 0.095997] mc: Linux media interface: v0.10 [ 0.096236] videodev: Linux video capture interface: v2.00 [ 0.097469] Advanced Linux Sound Architecture Driver Initialized. [ 0.103063] sun6i-dma 43002000.dma-controller: sunxi dma probed, driver version: 1.2.11 [ 0.105049] sunxi-soc-regulator 4a000800.soc_pmu0: Supply for ldo1 (ldo1) resolved to itself [ 0.105290] ldo1: supplied by regulator-dummy [ 0.106476] ion_size_pool heap_size_pool@0: no small_source configurated, use cma as default [ 0.108467] sunxi:pin-42000000.pinctrl:[INFO]: Auto power withstand voltage configuration detected, automatically exit! [ 0.109089] sunxi-twi 42502000.twi0: 42502000.twi0 supply twi not found, using dummy regulator [ 0.110457] sunxi:twi-42502000.twi0:[INFO]: v2.7.9 probe success [ 0.111516] sunxi:pwm-42000c00.pwm:[INFO]: start probe [ 0.112199] sunxi:pwm-42000c00.pwm:[INFO]: pwmchip probe success [ 0.114694] clocksource: Switched to clocksource riscv_clocksource [ 0.119503] thermal_sys: Registered thermal governor 'fair_share' [ 0.119512] thermal_sys: Registered thermal governor 'bang_bang' [ 0.119568] thermal_sys: Registered thermal governor 'step_wise' [ 0.120057] thermal_sys: Registered thermal governor 'user_space' [ 0.120486] thermal_sys: Registered thermal governor 'power_allocator' [ 0.121571] thermal thermal_zone1: power_allocator: sustainable_power will be estimated [ 0.123059] sunxi_usb_udc 44100000.udc-controller: sunxi:sunxi_usb_udc UDC Inner DMA Feature - wordaddr: -1, extend: disabled [ 0.124488] NET: Registered protocol family 2 [ 0.124847] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.126023] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.126286] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.126967] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.127389] TCP: Hash tables configured (established 1024 bind 1024) [ 0.128035] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.128379] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.129190] NET: Registered protocol family 1 [ 0.130036] RPC: Registered named UNIX socket transport module. [ 0.130079] RPC: Registered udp transport module. [ 0.130438] RPC: Registered tcp transport module. [ 0.130942] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.132161] sunxi:spi-44025000.spi:[INFO]: spi manual set sample type_1, mode_1, delay_15 [ 0.132441] sunxi-spi-ng 44025000.spi: 44025000.spi supply spi not found, using dummy regulator [ 0.133298] sunxi:spi-44025000.spi:[INFO]: bus num_0 mode_16 freq_100000000 [ 0.133573] sunxi:spi-44025000.spi:[INFO]: cs num_1 mode_1 [ 0.134045] of_dma_request_slave_channel: dma-names property of node '/soc@2002000/spi@44025000' missing or empty [ 0.134926] sunxi:spi-44025000.spi:[ERR]: failed to request dma tx channel -19 [ 0.135557] sunxi:spi-44025000.spi:[WARN]: clk 100000000 not support, round to nearly 78769230 [ 0.136648] sunxi:spi-44025000.spi:[INFO]: probe success (Version 2.5.4) [ 0.140353] workingset: timestamp_bits=30 max_order=13 bucket_order=0 [ 0.153175] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.154617] NFS: Registering the id_resolver key type [ 0.154885] Key type id_resolver registered [ 0.154913] Key type id_legacy registered [ 0.155244] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.155757] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.156672] fuse: init (API version 7.31) [ 0.158230] NET: Registered protocol family 38 [ 0.158328] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) [ 0.158803] io scheduler mq-deadline registered [ 0.159071] io scheduler kyber registered [ 0.182643] loop: module loaded [ 0.183676] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.183832] ehci-platform: EHCI generic platform driver [ 0.184643] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.184758] ohci-platform: OHCI generic platform driver [ 0.186474] usbcore: registered new interface driver uas [ 0.186604] usbcore: registered new interface driver usb-storage [ 0.187135] i2c /dev entries driver [ 0.188465] usbcore: registered new interface driver usbhid [ 0.188499] usbhid: USB HID core driver [ 0.190424] uart-ng uart-ng0: uart-ng0 supply uart not found, using dummy regulator [ 0.190929] sunxi:uart-ng-uart-ng0:[INFO]: cannot get the TX DMA channel! [ 0.191121] sunxi:uart-ng-uart-ng0:[INFO]: cannot get the RX DMA channel! [ 0.191728] sunxi:uart-ng:[INFO]: sunxi uart-ng driver version: 1.1.10 [ 0.192184] uart-ng0: ttyS0 at MMIO 0x42500000 (irq = 134, base_baud = 12000000) is a SUNXI [ 0.192818] sunxi:uart-ng-uart-ng0:[INFO]: console setup baud 1500000 parity n bits 8, flow n [ 0.193443] sunxi:uart-ng-uart-ng0:[INFO]: uart0, select set 6, baud 1500000, uartclk 192000000 beyond rance[24000000, 120000000] [ 0.194407] printk: console [ttyS0] enabled [ 0.194407] printk: console [ttyS0] enabled [ 0.195353] printk: bootconsole [earlycon0] disabled [ 0.195353] printk: bootconsole [earlycon0] disabled [ 0.197491] sunxi:rtc-4a000c00.rtc:[WARN]: Fail to get clock 'rtc-1k' [ 0.198340] sunxi:rtc-4a000c00.rtc:[WARN]: Fail to get clock 'rtc-spi' [ 0.199297] sunxi:rtc:[INFO]: Saving SoC boot-reason: COLD-BOOT [ 0.200052] sunxi:rtc-4a000c00.rtc:[INFO]: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1 [ 0.201334] sunxi:rtc-4a000c00.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate! [ 0.202587] sunxi:rtc-4a000c00.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate! [ 0.204182] sunxi:rtc-4a000c00.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate! [ 0.205429] sunxi:rtc-4a000c00.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate! [ 0.206657] sunxi:rtc-4a000c00.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate! [ 0.208574] sunxi-rtc 4a000c00.rtc: registered as rtc0 [ 0.209276] sunxi:rtc_sun300iw1_frun_counter:[ERR]: rtc_frun_counter_init(83): rtc frun counter src not from extern32k osc [ 0.210620] sunxi:rtc-4a000c00.rtc:[WARN]: clocksource not work: rtc free running counter [ 0.211673] sunxi:rtc-4a000c00.rtc:[INFO]: sunxi rtc probed [ 0.214209] sunxi-wdt 4a001000.watchdog: Watchdog enabled (timeout=300 sec, nowayout=0), driver version: 1.0.5 [ 0.217946] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: SD/MMC/SDIO Host Controller Driver(v5.55 2024-08-26 15:32) [ 0.219496] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: ctl-spec-caps 8 [ 0.220385] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: No vmmc regulator found [ 0.221294] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: No vqmmc regulator found [ 0.222196] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: No vdmmc regulator found [ 0.223120] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: No vd33sw regulator found [ 0.224027] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: No vd18sw regulator found [ 0.224935] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: No vq33sw regulator found [ 0.225847] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: No vq18sw regulator found [ 0.226781] sunxi:sunxi_mmc_host-44020000.sdmmc:[ERR]: manual set ocr [ 0.227585] sunxi:sunxi_mmc_host-44020000.sdmmc:[WARN]: Cann't get pin bias hs pinstate,check if needed [ 0.228831] sunxi:sunxi_mmc_host-44020000.sdmmc:[ERR]: Could not get store clock [ 0.229760] sunxi:sunxi_mmc_host-44020000.sdmmc:[ERR]: Could not get msi_lite clock [ 0.231262] sunxi-mmc 44020000.sdmmc: Got CD GPIO [ 0.231985] sunxi-mmc 44020000.sdmmc: sunxi:sunxi_mmc_hostcd-set-debounce is missing, function is no used [ 0.233806] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 0.247734] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 0.262047] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: detmode:gpio irq [ 0.265212] sunxi:g2d_sunxi:[INFO]: [G2D]: rcq version initialized.major:245 [ 0.266098] sunxi:g2d_sunxi:[INFO]: [G2D]: g2d_module_init [ 0.267974] sunxi:gpadc:[INFO]: sunxi_gpadc_init(): 2148: gpadc class register success [ 0.269444] sunxi:gpadc-42009000.gpadc0:[WARN]: warn: sample rate not set [ 0.270781] input: sunxi-gpadc0/channel0/input0 as /devices/platform/soc@2002000/42009000.gpadc0/input/input0 [ 0.272603] input: sunxi-gpadc0/channel1/input0 as /devices/platform/soc@2002000/42009000.gpadc0/input/input1 [ 0.274629] sunxi:gpadc-42009000.gpadc0:[INFO]: sunxi_gpadc probe success [ 0.281842] sunxi-msgbox 43033000.msgbox: sunxi:sunxi_msgboxsunxi_msgbox_probe(): sunxi msgbox start probe [ 0.283401] sunxi-msgbox 43033000.msgbox: sunxi:sunxi_msgboxsunxi_msgbox_probe(): sunxi msgbox probe success [ 0.285972] sunxi-rproc 43030000.e907_rproc: sunxi rproc driver 2.4.3 [ 0.287102] sunxi-rproc 43030000.e907_rproc: rv-cfg base: 0x43030000, va: 0xdfc43000 [ 0.288137] sunxi-rproc 43030000.e907_rproc: find rproc standby error [ 0.289201] sunxi-rproc 43030000.e907_rproc: timeout_ms: 6000 [ 0.289932] sunxi-rproc 43030000.e907_rproc: reset_type: 2 [ 0.290599] sunxi-rproc 43030000.e907_rproc: reg: 43031000 [ 0.291480] sunxi-rproc 43030000.e907_rproc: irq_num: 163 [ 0.292191] sunxi-rproc 43030000.e907_rproc: panic_on_timeout: 1 [ 0.293223] sunxi-rproc 43030000.e907_rproc: The bootloader doesn't boot up the remoteproc when auto-boot is enabled! [ 0.294531] sunxi-rproc 43030000.e907_rproc: is_using_kernel_fw: 0 [ 0.295479] remoteproc remoteproc0: e907_rproc is available [ 0.296342] sunxi-rproc 43030000.e907_rproc: sunxi rproc driver probe ok [ 0.297988] sunxi-rpbuf-controller rpbuf_controller0@0: assigned reserved memory node e907_rpbuf@81646000 [ 0.300077] [ADDR_MGT] addr_mgt_probe: module version: v1.0.13 [ 0.301347] [ADDR_MGT] addr_mgt_probe: success. [ 0.302458] NET: Registered protocol family 17 [ 0.303118] NET: Registered protocol family 15 [ 0.303803] Key type dns_resolver registered [ 0.327081] UBI error: cannot open mtd sys, error -2 [ 0.327732] UBI: block: can't open volume on ubi0_-1, err=-19 [ 0.328437] sunxi:rtc-4a000c00.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate! [ 0.329755] sunxi-rtc 4a000c00.rtc: setting system clock to 1970-01-01T00:00:02 UTC (2) [ 0.333265] sunxi:disp:[WARN]: [DE]: not found boot_disp0 [ 0.334000] sunxi:disp:[WARN]: [DE]: sel 0, gamma_base=0xe4130040 [ 0.334875] sunxi:disp:[WARN]: [DE]: sel 0, gamma_ctrl_block 0xe4130040 val c352a000 dirty 0 size 8 gamma_tab_block 0xe4130100 val c352a0c0 dirty 0 size 1024 [ 0.337464] sunxi:disp:[ERR]: [FB]: fb_num 1 fb_format 0 [ 0.338175] sunxi:disp:[ERR]: [FB]: fbinfo: fb: 0, disp: 0 channel: 0 layer: 0 zorder: 16 w: 320 h: 192 [ 0.339649] sunxi:disp:[ERR]: [FB]: fb_num 0 use rot 0 degree0 [ 0.340394] sunxi:disp:[ERR]: [FB]: smooth display disp0: type64 mode4 disp1: type0 mode0 [ 0.343303] sunxi:disp:[ERR]: [FB]: display logo on display 0 channel 0 layer 0 type 0 [ 0.344407] sunxi:disp:[ERR]: [FB]: fb 0 vir 0x(ptrval) phy 0x83c80000 [ 0.345222] sunxi:disp:[ERR]: [FB]: platform_fb_post_init start [ 0.346303] sunxi:disp:[WARN]: [DE]: attached ok, mgr0<-->dev0 [ 0.347098] sunxi:disp:[WARN]: [DE]: type:64,mode:4,fmt:rgb,bits:8bits,eotf:0,cs:0 dvi_hdmi:2, range:0 scan:0 ratio:8 [ 0.349612] sunxi:sound-common:[ERR]: 301 pacfg_level_trig_init(): pa-pin-0 (79) request failed [ 0.350769] sunxi:sound-common:[ERR]: 612 snd_sunxi_pa_pin_init(): pacfg_level_trig_init failed [ 0.353290] sunxi:sound-i2s:[WARN]: 2206 snd_sunxi_dts_params_init(): clk-en-post-delay missing [ 0.354388] sunxi:sound-i2s:[WARN]: 2214 snd_sunxi_dts_params_init(): clk-keep missing [ 0.356164] sunxi:sound-mach:[WARN]: 372 asoc_simple_parse_ucfmt(): set data late to default [ 0.357653] debugfs: Directory 'soc@2002000:codec_plat' with parent 'audiocodec' already present! [ 0.359023] sunxi-snd-mach soc@2002000:codec_mach: 42030000.codec <-> soc@2002000:codec_plat mapping ok [ 0.361686] sunxi:sound-mach:[WARN]: 372 asoc_simple_parse_ucfmt(): set data late to default [ 0.362839] sunxi-snd-mach soc@2002000:i2s0_mach: No 'sound-dai' property [ 0.364009] debugfs: Directory '42032000.i2s0_plat' with parent 'sndi2s0' already present! [ 0.365273] sunxi-snd-mach soc@2002000:i2s0_mach: snd-soc-dummy-dai <-> 42032000.i2s0_plat mapping ok [ 0.372382] ALSA device list: [ 0.372797] #0: audiocodec [ 0.373151] #1: sndi2s0 [ 0.373742] sunxi:uart-ng-uart-ng0:[INFO]: uart0, select set 6, baud 1500000, uartclk 192000000 beyond rance[24000000, 120000000] [ 0.375365] Waiting for root device /dev/ubiblock0_7... [ 0.462775] sunxi:sunxi_mmc_host-44020000.sdmmc:[INFO]: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 0.464227] sunxi:pin-42000000.pinctrl:[INFO]: Auto power withstand voltage configuration detected, automatically exit! [ 1.378907] sunxi_usb_udc 44100000.udc-controller: 44100000.udc-controller supply udc not found, using dummy regulator
-
回复: v821 sample_smartIPC_demo无法正常运行
@momoyu 如果正常启动的话 应该会打印出rtsp的地址, 我看了源码 应该会展示出来,现在好像没有运行到rtsp server 的启动的日志那里
-
v821 sample_smartIPC_demo无法正常运行
日志如下:
root@(none):/mnt/extsd# ./sample_smartIPC_demo -path sample_smartIPC_demo.conf WARNING: Logging before InitGoogleLogging() is written to STDERR I0101 01:00:50.172865 274 sample_smartIPC_demo.c:104] <ParseCmdLine> path:[./sample_smartIPC_demo], arg number is [3] I0101 01:00:50.187725 274 confparser.c:60] <createConfParser> load conf file sample_smartIPC_demo.conf ok! I0101 01:00:50.188644 274 sample_smartIPC_demo.c:684] <loadSampleConfig> audio test enable 0, capture 1-16000-16-1-1-1-1-/mnt/extsd/capture_, playback 1-80-/mnt/extsd/test.wav I0101 01:00:50.189453 274 sample_smartIPC_demo.c:779] <loadSampleConfig> H.264 I0101 01:00:50.190427 274 sample_smartIPC_demo.c:879] <loadSampleConfig> motiondetect param: {mJudgeMotionNum:20, mMotionPdetThres:0.400000, mMotionDynamicThres:0.500000} I0101 01:00:50.191038 274 sample_smartIPC_demo.c:937] <loadSampleConfig> H.264 I0101 01:00:50.191647 274 sample_smartIPC_demo.c:1005] <loadSampleConfig> mSub2nd take picture 0 interval 10 file /mnt/extsd/sub_2nd_pic cnt 10 I0101 01:00:50.192522 274 sample_smartIPC_demo.c:1071] <loadSampleConfig> H.264 I0101 01:00:50.193194 274 sample_smartIPC_demo.c:1139] <loadSampleConfig> three2nd take picture 0 interval 10 file /mnt/extsd/three_2nd_pic cnt 10 I0101 01:00:50.194039 274 sample_smartIPC_demo.c:1205] <loadSampleConfig> H.264 I0101 01:00:50.194751 274 sample_smartIPC_demo.c:1273] <loadSampleConfig> four2nd take picture 0 interval 10 file /mnt/extsd/four_2nd_pic cnt 10 I0101 01:00:50.195152 274 sample_smartIPC_demo.c:1285] <loadSampleConfig> MainEn:1, Main2ndEn:0, SubEn:0, Sub2ndEn:0, IspAndVeLinkageEn:1, AdaptEn:1, LensMoveMaxQp:40, WbYuvEn:0, TestDuration:0 I0101 01:00:50.195819 274 sample_smartIPC_demo.c:1304] <loadSampleConfig> MultiSensorOnlineEnable:0 Committed_AS: 4360 kB I0101 01:00:50.210305 274 mpi_sys.c:854] <AW_MPI_SYS_SetConf> kfctmpdir is [/tmp] I0101 01:00:50.213994 274 mpi_sys.c:1505] <AW_MPI_SYS_Init> ISP init I0101 01:00:50.215011 274 isp_version.h:32] <isp_version_info> [ISP]>>>>>>>>>>>>>>>>>>>> ISP VERSION INFO <<<<<<<<<<<<<<<<<<< IPCORE: ISP603 branch: libisp-dev commit: 85909eef135a0108ea1214df4886d6c741a71c39 date : Tue May 27 18:59:00 2025 +0800 author: <mayifei@allwinnertech.co[ 3649.151127] sunxi:disp:[WARN]: [DE]: (0,2,0) fail m> ----------------------------[ 3649.151888] sunxi:disp:[WARN]: [DE]: get layer(0,2,0) fail ---------------------------- I0101 01:00:50.215322 274 mpi_sys.c:1507] <AW_MPI_SYS_Init> ISP init done I0101 01:00:50.216050 274 hwdisplay.c:84] <hw_display_init> I0101 01:00:50.216321 274 hwdisplay.c:1020] <hwd_init> (hwd_init 1020) I0101 01:00:50.218615 274 hwdisplay.c:1071] <hwd_init> ret[0][2,0]ch[2]lyl[0] init: enable[0], screenwin[0,0, 0x0], zorder[0], alpha[mode:0, value:0] I0101 01:00:50.238796 274 audio_hw.c:198] <MakeAllMixerElemsAvailable> pcm open and close, all MixerElems maybe exist. I0101 01:00:50.239120 274 alsa_interface.c:736] <alsaOpenMixer> open mixer:hw:0 I0101 01:00:50.241465 274 alsa_interface.c:792] <alsaOpenMixer> set playback vol_val to value: 27, mppValue:87 I0101 01:00:50.241841 274 alsa_interface.c:805] <alsaOpenMixer> set playback soft_vol val to value: 130, mppValue:0 I0101 01:00:50.242093 274 alsa_interface.c:736] <alsaOpenMixer> open mixer:hw:1 I0101 01:00:50.243814 274 sample_smartIPC_demo.c:2028] <configMainStream> main vipp0 ve_online_en:0, dma_buf_num:0, venc ch0 OnlineEnable:0, OnlineShareBufNum:0 I0101 01:00:50.244122 274 sample_smartIPC_demo.c:2074] <co[ 3649.179690] sunxi:vin:[INFO]: video0 open nfigMainStream> main vipp0 tdm_speed_down_en:0 I0101 01:00:50.244342 274 sample_smartIPC_demo.c:2094] <configMainStream> main EncppSharpAttenCoefPer: 100% I0101 01:00:50.244854 274 sample_smartIPC_demo.c:2106] <configMainStream> main vbvThreshSize: 1[ 3649.181800] sunxi:vin:[INFO]: [gc2083_mipi]PWR_ON!!! 31070, vbvBufSize: 655358 I0101 01:00:50.245204 274 video.c:138] <video_init> [ISP]video device name is vin_video0 I0101 01:00:50.246112 274 isp_dev.c:588] <isp_video_open> [ISP]open video device[0], detect isp0 success! I0101 01:00:50.248623 279 mpi_sys.c:1085] <MonitorEnvVarThread> detect user environment: I0101 01:00:50.248933 279 mpi_sys.c:1086] <MonitorEnvVarThread> /tmp/mpp_log_level I0101 01:00:50.249121 279 mpi_sys.c:1087] <MonitorEnvVarThread> /tmp/mpp_venc_sei_config_param I0101 01:00:50.281463 274 vide[ 3649.215930] sunxi:vin:[INFO]: ve_online close o.c:209] <video_set_fmt> [ISP]video0 fd[9] ve_online_en=0, dma_buf_num=0 I0101 01:00:50.284276 274 isp_dev.c:408] <isp_tdm_open> [ISP]tdm_rx device name is sunxi_tdm_rx.0 W0101 01:00:50.284738 274 isp_dev.c:454] <isp_dev_open> [ISP_WARN]ISP0 maybe online mode, ignore tdm open failed. I0101 01:00:50.285208 274 isp_dev.c:480] <isp_dev_open> [ISP]open isp device[0] success! I0101 01:00:50.291840 274 isp_helper.c:164] <isp_ctx_save_init> [ISP]get isp_ctx from /mnt/extsd/isp0_1920_1080_15_0_gc2083_mipi_ctx_saved.bin success!!! I0101 01:00:50.292305 274 isp_ini_parse.c:1611] <parser_ini_info> [ISP]prefer isp config: [gc2083_mipi], 1920x1080, 15, 0, 0 W0101 01:00:50.292836 274 isp_ini_parse.c:1628] <parser_ini_info> [ISP_WARN]cannot find gc2083_mipi_1920_1080_15_0_0 isp config, use gc2083_mipi_1920_1088_15_0_0 -> [gc2083_mipi_isp603_20241205_171656_final_rgb_suit] [ISP]read restrict mark_id is 0x6c00 I0101 01:00:50.303422 274 isp.c:1718] <isp_run> [ISP]create isp0 server thread! W0101 01:00:50.304517 274 isp.c:3861] <isp_set_algo_freq_div> [ISP_WARN]div_ratio = 0, the vaild ratio is [1,10]! I0101 01:00:50.305002 278 videoInputHw.c:5244] <VideoInputHw_CapThread> isp[0] sensor info size:1920x1080, user set size:1280x720 I0101 01:00:50.309040 278 videoInputHw.c:5295] <VideoInputHw_CapThread> EnableVipp[0]: vfmt.bufs:3, online:0 I0101 01:00:50.309456 278 video.c:708] <video_queue_buffer> [ISP]buffer 0 plane 0x82000000 DMABUF fd is 14 I0101 01:00:50.309758 278 video.c:708] <video_queue_buffer> [ISP]buffer 1 plane 0x8208d000 DMABUF fd is 15 I0101 01:00:50.310027 278 video.c:708] <video_queue_buffer> [ISP]buffer 2 plane 0x8211a000 DMABUF fd is 16 I0101 01:00:50.310240 278 videoInputHw.c:5305] <VideoInputHw_CapThread> pVipp[0]->mstAttr.large_dma_merge_en = 0 I0101 01:00:50.310735 282 TDMRawProcessForTools.c:591] <SaveTdmRawDataThread> pRawInfo->flagpath is /tmp/isp0_1920_1080_15_0/raw/raw_flag I0101 01:00:50.327197 274 videoInputHw.c:1054] <videoInputHw_ChnEnable> receive enable vipp[0] reply: 0x0! INFO : cedarc <cdc_log_set_level:78>: Set log level to 5 from /etc/cedarc.conf [ 3649.264978] sunxi:VE:[INFO]: 469 enable_cedar_hw_clk_module(): execute set_vcu_en_regmode_to1_to0 [ 3649.265028] sunxi:VE:[INFO]: 1264 ioctl_platform(): IOCTL_SET_CSI_IRQ_FUNC [ 3649.267075] sunxi:VE:[INFO]: 469 enable_cedar_hw_clk_module(): execute set_vcu_en_regmode_to1_to0 I0101 01:00:50.334574 284 VideoEnc_Component.c:1311] <CedarvEncInit> VencChn[0] set VbrOptEn 1 I0101 01:00:50.334929 284 VideoEnc_Component.c:1333] <CedarvEncInit> VencChn[0] set ProductCase mode: 0 I0101 01:00:50.335448 274 sample_smartIPC_demo.c:5744] <prepare> VencChn[0] use the default venc params for product mode 0 I0101 01:00:50.335743 274 sample_smartIPC_demo.c:5762] <prepare> VencChn[0] ispVeLink:1-1-0 I0101 01:00:50.335977 274 sample_smartIPC_demo.c:5541] <setRegionDetectLink> VencChn[0] region_link_en: 0 -> 1 I0101 01:00:50.336171 274 sample_smartIPC_demo.c:5546] <setRegionDetectLink> VencChn[0] tex_detect_en: 0 -> 1 I0101 01:00:50.336347 274 sample_smartIPC_demo.c:5551] <setRegionDetectLink> VencChn[0] motion_detect_en: 0 -> 1 I0101 01:00:50.336765 274 sam[ 3649.267142] sunxi:VE:[INFO]: 469 enable_cedar_hw_clk_module(): execute set_vcu_en_regmode_to1_to0 ple_common_venc.c:307] <setRcVbrOptParam> VencChn[0] change RcPriority 0 -> 3 I0101 01:00:50.337007 274 sample_common_venc.c:296] <setVencLensMovingMaxQp> VeChn[0] set LensMovingMaxQp 40 I0101 01:00:50.337219 274 VideoEnc_Component.c:6540] <VideoEncSetLensMovingMaxQp> VencChn[0] set LensMovingMaxQp:40 I0101 01:00:50.337469 274 VideoEnc_Component.c:7956] <VideoEncComponentTunnelRequest> set inputPortTunnelFlag = TRUE I0101 01:00:50.337669 274 sample_smartIPC_demo.c:5786] <prepare> mainStream vipp:0 viChn:0 veChn:0 I0101 01:00:50.338237 274 VideoEnc_Component.c:993] <setVbvBufferConfig> bitrate: 1024 Kbps, set encode vbv size [655360]bytes, frame length threshold [131070]bytes I0101 01:00:50.338625 274 VideoEnc_Component.c:2474] <CedarvVideoEncInit> VencChn[0] Online Mode=1,Chn=0,BufNum=0,OnlineEnFlag=0,sensorID=0,bkID=0,VcuOn=1,MultiSensorOnlineEn=0 I0101 01:00:50.341493 286 sample_smartIPC_demo.c:5365] <MsgQueueThread> msg queue thread start run! WARNING: cedarc <resetEncoderVcu:887>: reset vcu and encoder I0101 01:00:50.377128 289 record.c:341] <record_set_config> record[0] requestKeyFrame[0x2a2c8] I0101 01:00:50.377526 289 record.c:343] <record_set_config> record[0] valid[1] VeChn[0] handler[0] max file cnt[10], max file duration[60000000] file path[/mnt/extsd/mainStream] I0101 01:00:50.378167 289 sample_smartIPC_demo.c:4638] <getVencStreamThread> VencChn[0] stream_buf:0xb74d3020, size=138240 E0101 01:00:50.533507 281 isp_dev.c:274] <isp_stat_process_buffer> [ISP_ERR]AEWB: stats error, skipping buffer. I0101 01:00:50.575969 289 record.c:432] <record_send_data> record[0] output file path[/mnt/extsd/mainStream_0.raw] I0101 01:00:50.590434 289 record.c:220] <openFile> record[0] open file[/mnt/extsd/mainStream_0.raw] success! I0101 01:00:50.590784 289 record.c:439] <record_send_data> record[0] first frame I0101 01:00:50.591035 289 record.c:476] <record_send_data> record[0] got I frame W0101 01:00:50.600942 281 isp_dev.c:1093] <isp_sensor_get_flip> [ISP_WARN]gc2083_mipi get sensor_flip failed: Invalid argument (22). I0101 01:00:51.329550 285 VideoEnc_Component.c:9926] <SEIThread> veChn[0] offline sei get ispDev[0] from vipp[0]