|
发表于 2022-3-5 14:54:30
只看该作者
板凳
多谢支持,我现在用ai_uvc的sdk,同步升级后
./build.sh device/rockchip/rv1126_rv1109/cam-crv1126s2u-uvcc-BE-45.mk
./build.sh 编译成功,烧录后kernel启动失败了,是什么情况呢,完整的kernel启动log如下,到
[ 0.432589] cpu cpu0: pvtm-volt0:这里就卡死了
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0xf00
[ 0.000000] Linux version 4.19.111 (zxx@ubuntu) (rv1126_rv1109_linux_ai_camer a_20220112.xml) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #1 SMP PRE EMPT Sat Mar 5 13:01:31 CST 2022
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio n cache
[ 0.000000] OF: fdt: Machine model: Firefly CAM-CRV1126S2U BE-45 Board
[ 0.000000] earlycon: uart8250 at MMIO32 0xff570000 (options '')
[ 0.000000] bootconsole [uart8250] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x7f800000, size 8 Mi B
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id share d-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x78000000, size 92 M iB
[ 0.000000] OF: reserved mem: initialized node isp, compatible id shared-dma- pool
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] percpu: Embedded 15 pages/cpu s32204 r8192 d21044 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 521656
[ 0.000000] Kernel command line: user_debug=31 storagemedia=emmc androidboot. storagemedia=emmc androidboot.mode=normal rootwait earlycon=uart8250,mmio32,0xf f570000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext4 snd_aloop.in dex=7
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1951564K/2094816K available (9216K kernel code, 420K rwda ta, 2352K rodata, 1024K init, 322K bss, 40852K reserved, 102400K cma-reserved, 9 44936K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xb0000000 - 0xf0000000 (1024 MB)
[ 0.000000] pkmap : 0xafe00000 - 0xb0000000 ( 2 MB)
[ 0.000000] modules : 0xaf000000 - 0xafe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (10208 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 421 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 323 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: random: get_random_bytes called from start_kernel+0x328/0 x4ac with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000010] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 43980 46511097ns
[ 0.000751] Switching to timer-based delay loop, resolution 41ns
[ 0.002566] Calibrating delay loop (skipped), value calculated using timer fr equency.. 48.00 BogoMIPS (lpj=80000)
[ 0.003518] pid_max: default: 4096 minimum: 301
[ 0.004129] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.004751] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.006209] CPU: Testing write buffer coherency: ok
[ 0.007053] /cpus/cpu@f00 missing clock-frequency property
[ 0.007576] /cpus/cpu@f01 missing clock-frequency property
[ 0.008094] /cpus/cpu@f02 missing clock-frequency property
[ 0.008613] /cpus/cpu@f03 missing clock-frequency property
[ 0.009126] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 0.010438] Setting up static identity map for 0x100000 - 0x100060
[ 0.011193] rcu: Hierarchical SRCU implementation.
[ 0.012294] smp: Bringing up secondary CPUs ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
[ 0.014375] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[ 0.016123] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[ 0.017879] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[ 0.018028] smp: Brought up 1 node, 4 CPUs
[ 0.020017] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.020593] CPU: All CPU(s) started in SVC mode.
[ 0.022063] devtmpfs: initialized
[ 0.046689] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.046879] Unpacking initramfs...
[ 0.048197] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 6370867519511994 ns
[ 0.049099] futex hash table entries: 16 (order: -2, 1024 bytes)
[ 0.049917] pinctrl core: initialized pinctrl subsystem
[ 0.051884] NET: Registered protocol family 16
[ 0.053056] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.055863] cpuidle: using governor menu
[ 0.056270] Registered FIQ tty driver
[ 0.057256] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.058022] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.060885] console [pstore-1] enabled
[ 0.061604] pstore: Registered ramoops as persistent store backend
[ 0.062185] ramoops: attached 0x100000@0x8000000, ecc: 0/0
[ 0.108909] cryptd: max_cpu_qlen set to 1000
[ 0.110304] fiq debugger fiq mode enabled
[[ 0.111168] console [ttyFIQ0] enabled
0.111168] console [ttyFIQ0] enabled
[ 0.111891] bootconsole [uart8250] disabled
[ 0.111891] bootconsole [uart8250] disabled
[ 0.112613] Registered fiq debugger ttyFIQ0
[ 0.116400] vcc_avdd: supplied by vcc3v3_sys
[ 0.117138] vcc1v2_dvdd: supplied by vcc3v3_sys
[ 0.117816] vcc1v3_dvdd: supplied by vcc3v3_sys
[ 0.119576] rk_iommu ffb00f00.iommu: version = 1
[ 0.120356] rk_iommu ffb60e00.iommu: version = 1
[ 0.121069] rk_iommu ffb80480.iommu: version = 1
[ 0.121559] rk_iommu ffb90800.iommu: version = 1
[ 0.122038] rk_iommu ffbb0f00.iommu: version = 1
[ 0.123015] SCSI subsystem initialized
[ 0.123363] usbcore: registered new interface driver usbfs
[ 0.123455] usbcore: registered new interface driver hub
[ 0.123600] usbcore: registered new device driver usb
[ 0.123710] media: Linux media interface: v0.10
[ 0.123790] videodev: Linux video capture interface: v2.00
[ 0.123861] pps_core: LinuxPPS API ver. 1 registered
[ 0.123885] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome tti <giometti@linux.it>
[ 0.123928] PTP clock support registered
[ 0.125545] Advanced Linux Sound Architecture Driver Initialized.
[ 0.126271] Bluetooth: Core ver 2.22
[ 0.126391] NET: Registered protocol family 31
[ 0.126416] Bluetooth: HCI device and connection manager initialized
[ 0.126447] Bluetooth: HCI socket layer initialized
[ 0.126475] Bluetooth: L2CAP socket layer initialized
[ 0.126537] Bluetooth: SCO socket layer initialized
[ 0.127069] rockchip-cpuinfo cpuinfo: SoC : 11260000
[ 0.127110] rockchip-cpuinfo cpuinfo: Serial : caf9d16b1a0607b9
[ 0.128209] clocksource: Switched to clocksource arch_sys_counter
[ 0.131083] NET: Registered protocol family 2
[ 0.132044] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.132107] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.132270] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.132475] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.132650] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.132735] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.133016] NET: Registered protocol family 1
[ 0.135066] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counter s available
[ 0.137728] Initialise system trusted keyrings
[ 0.138052] workingset: timestamp_bits=29 max_order=19 bucket_order=0
[ 0.145709] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.148572] Key type asymmetric registered
[ 0.148616] Asymmetric key parser 'x509' registered
[ 0.148697] bounce: pool size: 64 pages
[ 0.148772] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 44)
[ 0.148802] io scheduler noop registered
[ 0.148823] io scheduler deadline registered
[ 0.149015] io scheduler cfq registered (default)
[ 0.149044] io scheduler mq-deadline registered
[ 0.149067] io scheduler kyber registered
[ 0.149233] io scheduler bfq registered
[ 0.153768] phy phy-ff4c0000.usb2-phy.1: Failed to get VBUS supply regulator
[ 0.158855] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[ 0.159008] pwm-backlight backlight: Linked as a consumer to regulator.0
[ 0.159440] mpp_service mpp-srv: 92c80dd author: Yandong Lin 2021-08-10 video : rockchip: mpp: workaround patch for rv1126 iommu issue
[ 0.159467] mpp_service mpp-srv: probe start
[ 0.160528] iommu: Adding device ffb80000.rkvdec to group 2
[ 0.160605] mpp_rkvdec ffb80000.rkvdec: Linked as a consumer to ffb80480.iomm u
[ 0.160816] mpp_rkvdec ffb80000.rkvdec: probing start
[ 0.161580] mpp_rkvdec ffb80000.rkvdec: shared_niu_a is not found!
[ 0.161618] rkvdec_init:1190: No niu aclk reset resource define
[ 0.161650] mpp_rkvdec ffb80000.rkvdec: shared_niu_h is not found!
[ 0.161672] rkvdec_init:1193: No niu hclk reset resource define
[ 0.162054] mpp_rkvdec ffb80000.rkvdec: probing finish
[ 0.162877] iommu: Adding device
[ 0.387662] himax_tp: probe of 3-0048 fail ed with error -9
[ 0.389596] rockchip-mipi-csi2: probe success, v4l2_dev:(null)!
[ 0.391077] rkcifhw ffae0000.rkcif: no iommu attached, using non-iommu buffer s
[ 0.391144] rkcifhw ffae0000.rkcif: assigned reserved memory node isp
[ 0.391308] rkcif rkcif_dvp: rkcif driver version: v00.01.0a
[ 0.391411] rkcif rkcif_dvp: attach to cif hw node
[ 0.391440] rkcif rkcif_dvp: rkcif wait line 0
[ 0.392639] rkcif_dvp: cif_subdev_notifier: no subdev be found!
[ 0.392672] rkcif_dvp: Failed to register subdev notifier(-19)
[ 0.393649] rkcif rkcif_dvp: detach to cif hw node
[ 0.393784] rkcif rkcif_mipi_lvds: rkcif driver version: v00.01.0a
[ 0.393901] rkcif rkcif_mipi_lvds: attach to cif hw node
[ 0.393930] rkcif rkcif_mipi_lvds: rkcif wait line 0
[ 0.394993] rkcif rkcif_mipi_lvds: Entity type for entity rockchip-mipi-csi2 was not initialized!
[ 0.395032] rockchip-mipi-csi2: Async registered subdev
[ 0.397442] rkisp_hw ffb50000.rkisp: is_thunderboot: 0
[ 0.397487] rkisp_hw ffb50000.rkisp: Missing rockchip,grf property
[ 0.397835] rkisp_hw ffb50000.rkisp: iommu is disabled, using non-iommu buffe rs
[ 0.397888] rkisp_hw ffb50000.rkisp: assigned reserved memory node isp
[ 0.398277] rkisp rkisp-vir0: rkisp driver version: v01.06.02
[ 0.398551] rkisp rkisp-vir0: No memory-region-thunderboot specified
[ 0.398825] rkisp rkisp-vir0: Entity type for entity rkisp-isp-subdev was not initialized!
[ 0.398871] rkisp rkisp-vir0: Entity type for entity rkisp-csi-subdev was not initialized!
[ 0.398902] rkisp rkisp-vir0: Entity type for entity rkisp-bridge-ispp was no t initialized!
[ 0.401960] rkisp rkisp-vir1: rkisp driver version: v01.06.02
[ 0.402227] rkisp rkisp-vir1: No memory-region-thunderboot specified
[ 0.402471] rkisp rkisp-vir1: Entity type for entity rkisp-isp-subdev was not initialized!
[ 0.402515] rkisp rkisp-vir1: Entity type for entity rkisp-csi-subdev was not initialized!
[ 0.402546] rkisp rkisp-vir1: Entity type for entity rkisp-bridge-ispp was no t initialized!
[ 0.406302] iommu: Adding device ffb60000.rkispp to group 1
[ 0.406380] rkispp_hw ffb60000.rkispp: Linked as a consumer to ffb60e00.iommu
[ 0.406854] rkispp_hw ffb60000.rkispp: max input:1920x1080@30fps
[ 0.406909] rkispp_hw ffb60000.rkispp: can't request region for resource [mem 0xffb60000-0xffb7ffff]
[ 0.407162] rkispp_hw ffb60000.rkispp: failed to get cru reset
[ 0.407494] rkispp rkispp-vir0: rkispp driver version: v01.06.02
[ 0.409956] rkispp rkispp-vir1: rkispp driver version: v01.06.02
[ 0.413170] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consume r to regulator.4
[ 0.413250] rockchip-iodomain fe020000.syscon:io-domains: vccio3(1800000 uV) supplied by vcc_1v8
[ 0.413384] rockchip-iodomain fe020000.syscon:io-domains: vccio4(1800000 uV) supplied by vcc_1v8
[ 0.413543] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consume r to regulator.2
[ 0.413591] rockchip-iodomain fe020000.syscon:io-domains: vccio5(3300000 uV) supplied by vcc3v3_sys
[ 0.413717] rockchip-iodomain fe020000.syscon:io-domains: vccio6(3300000 uV) supplied by vcc3v3_sys
[ 0.413832] rockchip-iodomain fe020000.syscon:io-domains: vccio7(3300000 uV) supplied by vcc3v3_sys
[ 0.413978] rockchip-iodomain fe020000.syscon:io-domains: pmuio0(1800000 uV) supplied by vcc_1v8
[ 0.414099] rockchip-iodomain fe020000.syscon:io-domains: pmuio1(3300000 uV) supplied by vcc3v3_sys
[ 0.417398] rockchip-thermal ff5f0000.tsadc: tsadc trimmed value = 8
[ 0.417860] rockchip-thermal ff5f0000.tsadc: tsadc is probed successfully!
[ 0.418488] rockchip-thermal ff5f8000.tsadc: tsadc trimmed value = 9
[ 0.418792] rockchip-thermal ff5f8000.tsadc: tsadc is probed successfully!
[ 0.419732] Bluetooth: HCI UART driver ver 2.3
[ 0.419767] Bluetooth: HCI UART protocol H4 registered
[ 0.420111] cpu cpu0: bin=0
[ 0.420171] cpu cpu0: leakage=1.125
[ 0.420337] cpu cpu0: Linked as a consumer to regulator.9
[ 0.432153] cpu cpu0: temp=48500, pvtm=98954 (98811 + 143)
[ 0.432589] cpu cpu0: pvtm-volt0
|
|