需要ISP满足20M,有USB3.0接口,不知道有没有符合得
jinxiangwzh 发布的帖子
-
SOC选型
请问图片中哪些SOC满足这个需求:- USB3.0 OTG
- 视频输入接口:subLVDS,1000万以上像素输入
- ISP 8MP以上 (可选)
或者有没有其他更合适得推荐,另外这些SOC得简要数据手册哪里可以查看到?
-
回复: 麻烦大佬们指点一下,日志中文件系统报错是怎么回事,怎么解决
@whycan
我在sys_partition.fex 把你说的这个分区改大了 还是有报错[ 2.469181] Waiting for root device /dev/mmcblk0p7... [ 2.475229] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B [ 2.486043] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B [ 2.496957] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B [ 2.508063] sunxi-mmc sdc2: sdc set ios:clk 52000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B [ 2.519185] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B [ 2.529800] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B [ 2.540602] mmc0: new HS400 MMC card at address 0001 [ 2.546845] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB [ 2.552145] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB [ 2.559032] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB [ 2.566658] mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 p11 > [ 2.572750] mmcblk0: p1 size 13060096 extends beyond EOD, truncated [ 2.587293] EXT4-fs (mmcblk0p7): couldn't mount as ext3 due to feature incompatibilities [ 2.597019] EXT4-fs (mmcblk0p7): couldn't mount as ext2 due to feature incompatibilities [ 2.609863] EXT4-fs (mmcblk0p7): mounted filesystem without journal. Opts: (null) [ 2.618501] VFS: Mounted root (ext4 filesystem) on device 179:7. [ 2.625750] devtmpfs: mounted [ 2.629364] Freeing unused kernel memory: 148K [ 2.634358] This architecture does not have kernel memory protection. mount: mounting none on /dev failed: Resource busy mount: mounting pstore on /sys/fs/pstore failed: No such file or directory mount: mounting /dev/by-name/rootfs_data on /overlay failed: Invalid argument Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... mke2fs 1.42.12 (29-Aug-2014) [ 2.745819] random: mkfs.ext4: uninitialized urandom read (16 bytes read) [ 2.753603] random: mkfs.ext4: uninitialized urandom read (16 bytes read) [ 2.822581] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) skip mount overlayfs as now rootfs not squashfs [ 2.845656] EXT4-fs error (device mmcblk0p7): ext4_has_uninit_itable:3049: comm mount: Inode table for bg 0 marked as needing zeroing [ 2.859803] EXT4-fs (mmcblk0p7): Remounting filesystem read-only [ 2.867082] EXT4-fs (mmcblk0p7): re-mounted. Opts: block_validity,delalloc,barrier,user_xattr starting pid 584, tty '': '/etc/init.d/rcS boot' ------run rc.preboot file----- ifconfig: socket: Function not implemented mke2fs 1.42.12 (29-Aug-2014) [ 2.942788] random: mkfs.ext4: uninitialized urandom read (16 bytes read) [ 6.349531] random: fast init done [ 6.678689] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) mount: mounting /dev/mmcblk0p1 on /mnt/SDCARD failed: Resource busy e2fsck: Cannot continue, aborting.
-
麻烦大佬们指点一下,日志中文件系统报错是怎么回事,怎么解决
[ 2.728899] Waiting for root device /dev/mmcblk0p7... [ 2.746880] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 8 timing LEGACY(SDR12) dt B [ 2.759760] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B [ 2.770517] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B [ 2.781429] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B [ 2.792542] sunxi-mmc sdc2: sdc set ios:clk 52000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B [ 2.803660] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B [ 2.814274] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B [ 2.825075] mmc0: new HS400 MMC card at address 0001 [ 2.831335] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB [ 2.836665] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB [ 2.843582] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB [ 2.851210] mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 p11 > [ 2.857345] mmcblk0: p1 size 13090816 extends beyond EOD, truncated [ 2.967545] EXT4-fs (mmcblk0p7): couldn't mount as ext3 due to feature incompatibilities [ 2.977248] EXT4-fs (mmcblk0p7): couldn't mount as ext2 due to feature incompatibilities [ 2.990135] EXT4-fs (mmcblk0p7): mounted filesystem without journal. Opts: (null) [ 2.998622] VFS: Mounted root (ext4 filesystem) on device 179:7. [ 3.005827] devtmpfs: mounted [ 3.009452] Freeing unused kernel memory: 156K [ 3.014444] This architecture does not have kernel memory protection. mount: mounting none on /dev failed: Resource busy mount: mounting pstore on /sys/fs/pstore failed: No such file or directory mount: mounting /dev/by-name/rootfs_data on /overlay failed: Invalid argument Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... mke2fs 1.42.12 (29-Aug-2014) Filesystem too small for a journal [ 3.121146] random: mkfs.ext4: uninitialized urandom read (16 bytes read) [ 3.133334] random: mkfs.ext4: uninitialized urandom read (16 bytes read) [ 3.153748] EXT4-fs (mmcblk0p9): mounted filesystem without journal. Opts: (null) skip mount overlayfs as now rootfs not squashfs [ 3.176575] EXT4-fs error (device mmcblk0p7): ext4_has_uninit_itable:3049: comm mount: Inode table for bg 0 marked as needing zeroing [ 3.190769] EXT4-fs (mmcblk0p7): Remounting filesystem read-only [ 3.198052] EXT4-fs (mmcblk0p7): re-mounted. Opts: block_validity,delalloc,barrier,user_xattr starting pid 643, tty '': '/etc/init.d/rcS boot' ------run rc.preboot file----- mke2fs 1.42.12 (29-Aug-2014) [ 3.276129] random: mkfs.ext4: uninitialized urandom read (16 bytes read) [ 6.169111] random: fast init done [ 6.994388] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) mount: mounting /dev/mmcblk0p1 on /mnt/SDCARD failed: Resource busy e2fsck: Cannot continue, aborting.
-
关于V4L2自定义CID的问题
我想在sensor驱动中自定义一个平台没有的ID,通过v4l2_ctrl_new_custom接口添加进来,在应用层调用发现返回无效参数,查看源码后,我想确认一个问题,添加平台没有的ID,是不是需要在lichee/linux-4.9/drivers/media/platform/sunxi-vin/vin-video/vin_video.c中的
static int vin_s_ctrl(struct v4l2_ctrl *ctrl)
函数中也要实现一下?
然后int vin_init_controls(struct v4l2_ctrl_handler *hdl, struct vin_vid_cap *cap)
中也要注册一下?
-
axp2101怎么更改PWRON管脚得属性?
规格书上只有这个EN/PWRON pin can be configured as PWRON pin or EN pin by customization.,具体怎么改?
我们硬件把这个管脚接到了船型开关上,AXP2101的四种状态感觉没有适合船型开关的,不知道这样设计是不是有问题?
-
系统突然起不来了
最后停留在
end Kernel panic - not syncing: Requested init /pseudo_init failed (error -2).
我也没修改什么,看不懂啥意思,怎么会出现这个错误
详细启动log如下[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.118 (jamo@bm-wuzhaohua) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #44 SMP PREEMPT Mon Jan 9 02:52:08 UTC 2023 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt:Machine model: sun8iw16 [ 0.000000] cma: Reserved 384 MiB at 0x48000000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] free_area_init_node: node 0, pgdat c0422a80, node_mem_map c7b38000 [ 0.000000] Normal zone: 1024 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 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 12 pages/cpu @c7ae0000 s20428 r8192 d20532 u49152 [ 0.000000] pcpu-alloc: s20428 r8192 d20532 u49152 alloc=12*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x05000c00 initcall_debug=0 console=ttyS4,115200 loglevel=8 root=/dev/mmcblk0p7 rw rootwait init=/pseudo_init partitions=boot-resource@mmcblk0p2:env@mmcblk0p5:boot@mmcblk0p6:rootfs@mmcblk0p7:recovery@mmcblk0p8:rootfs_data@mmcblk0p9:misc@mmcblk0p10:private@mmcblk0p11:UDISK@mmcblk0p1 cma=384M disp_reserve=38454,0x5fc00000 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 120896K/524288K available (2686K kernel code, 182K rwdata, 1028K rodata, 156K init, 114K bss, 10176K reserved, 393216K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf800000 - 0xbfe00000 ( 6 MB) [ 0.000000] .text : 0xc0008000 - 0xc02a7cac (2688 kB) [ 0.000000] .init : 0xc03cf000 - 0xc03f6000 ( 156 kB) [ 0.000000] .data : 0xc03f6000 - 0xc0423960 ( 183 kB) [ 0.000000] .bss : 0xc0423960 - 0xc04402cc ( 115 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000019] Switching to timer-based delay loop, resolution 41ns [ 0.000058] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000071] pid_max: default: 4096 minimum: 301 [ 0.000220] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000230] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000881] CPU: Testing write buffer coherency: ok [ 0.001322] CPU0: update cpu_capacity 1024 [ 0.001335] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.001368] Setting up static identity map for 0x40008240 - 0x4000828c [ 0.170594] CPU1: update cpu_capacity 1024 [ 0.170601] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.170689] Brought up 2 CPUs [ 0.170709] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.170716] CPU: All CPU(s) started in SVC mode. [ 0.171376] devtmpfs: initialized [ 0.193420] OF: Duplicate name in regulator@0, renamed to "regulator2#1" [ 0.193462] OF: Duplicate name in regulator@0, renamed to "regulator3#1" [ 0.193504] OF: Duplicate name in regulator@0, renamed to "regulator7#1" [ 0.198890] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.199394] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.199416] futex hash table entries: 16 (order: -2, 1024 bytes) [ 0.212685] pinctrl core: initialized pinctrl subsystem [ 0.214086] NET: Registered protocol family 16 [ 0.215144] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.216549] dump_class_init,862, success [ 0.220622] sun8iw16p1-r-pinctrl r_pio: initialized sunXi PIO driver [ 0.233571] sun8iw16p1-pinctrl pio: initialized sunXi PIO driver [ 0.235138] sunxi hwspinlock vbase:0xe0858000 [ 0.274291] pwm module init! [ 0.279331] sunxi-pm debug v3.10 [ 0.280532] G2D: Module initialized.major:253 [ 0.281596] usbcore: registered new interface driver usbfs [ 0.281721] usbcore: registered new interface driver hub [ 0.281866] usbcore: registered new device driver usb [ 0.282087] media: Linux media interface: v0.10 [ 0.282188] Linux video capture interface: v2.00 [ 0.283617] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000 [ 0.283871] ion_parse_dt_heap_common: id 1 type 1 name sys_contig align 1000 [ 0.284096] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000 [ 0.284788] Advanced Linux Sound Architecture Driver Initialized. [ 0.286125] [axp2101] chip id detect 0x4a ! [ 0.286258] [axp2101] enable dcdc2 dvm. [ 0.306890] clocksource: Switched to clocksource arch_sys_counter [ 0.310551] get androidboot.mode fail [ 0.310569] sunxi_i2c_adap_init()2494 - init [ 0.311022] [i2c0] twi_regulator: vcc-pi [ 0.311097] sunxi_i2c_probe()2253 - [i2c0] twi_drv_used = 1 [ 0.311194] twi_request_gpio()450 - [i2c0] init name: twi0 [ 0.312287] sunxi_i2c_dma_request()1104 - [i2c0] using dma0chan0 (tx) and dma0chan1 (rx)for DMA transfers [ 0.312638] [i2c1] twi_regulator: vcc-io [ 0.312712] sunxi_i2c_probe()2253 - [i2c1] twi_drv_used = 1 [ 0.312789] twi_request_gpio()450 - [i2c1] init name: twi1 [ 0.313215] sunxi_i2c_dma_request()1104 - [i2c1] using dma0chan2 (tx) and dma0chan3 (rx)for DMA transfers [ 0.315184] NET: Registered protocol family 2 [ 0.315818] TCP established hash table entries: 16 (order: -6, 64 bytes) [ 0.315833] TCP bind hash table entries: 16 (order: -5, 128 bytes) [ 0.315841] TCP: Hash tables configured (established 16 bind 16) [ 0.315894] UDP hash table entries: 128 (order: 0, 4096 bytes) [ 0.315915] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes) [ 0.316088] NET: Registered protocol family 1 [ 0.316377] sunxi budget cooling probe start ! [ 0.316402] CPU freq cooling register Success [ 0.316418] CPU hotplug cooling register Success [ 0.316779] CPU budget cooling register Success [ 0.319124] workingset: timestamp_bits=30 max_order=17 bucket_order=0 [ 0.330956] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) [ 0.330972] io scheduler noop registered [ 0.330980] io scheduler deadline registered [ 0.331218] io scheduler cfq registered (default) [ 0.333794] uart0: ttyS0 at MMIO 0x5000000 (irq = 297, base_baud = 1500000) is a SUNXI [ 0.334726] uart1: ttyS1 at MMIO 0x5000400 (irq = 298, base_baud = 1500000) is a SUNXI [ 0.335572] uart4: ttyS4 at MMIO 0x5001000 (irq = 299, base_baud = 1500000) is a SUNXI [ 0.335596] sw_console_setup()1777 - console setup baud 115200 parity n bits 8, flow n [ 1.151131] console [ttyS4] enabled [ 1.156159] misc dump reg init [ 1.159943] pwmleds debug gpio driver init [ 1.164549] [pwm_leds]: backlight_ctrl_init: 123===into [ 1.170450] [pwm_leds] pwm_request pwm1 success! [ 1.175639] pwm_backlight_init is ok============== [ 1.181649] libphy: Fixed MDIO Bus: probed [ 1.187050] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.195870] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.204712] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.213542] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.222370] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.231196] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.240024] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.248851] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:ephy_25m [ 1.258016] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.266830] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.275659] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.284485] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.293318] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.302145] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.310970] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:mad [ 1.319599] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:mdio [ 1.329113] gmac-power1: NULL [ 1.332451] gmac-power2: NULL [ 1.337013] Failed to alloc md5 [ 1.340553] eth0: Use random mac address [ 1.345330] usbcore: registered new interface driver asix [ 1.351552] usbcore: registered new interface driver ax88179_178a [ 1.358534] usbcore: registered new interface driver cdc_ether [ 1.365196] usbcore: registered new interface driver net1080 [ 1.371689] usbcore: registered new interface driver cdc_subset [ 1.378470] usbcore: registered new interface driver zaurus [ 1.384874] usbcore: registered new interface driver cdc_ncm [ 1.391263] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.398616] ehci-platform: EHCI generic platform driver [ 1.404999] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.411996] ohci-platform: OHCI generic platform driver [ 1.418342] usb_serial_number:20080411 [ 1.423086] foot sw gpio irq:113 [ 1.427126] input: foot_sw_event as /devices/virtual/input/input0 [ 1.434283] evbug: Connected device: input0 (foot_sw_event at unknown) [ 1.441652] foot sw: init success [ 1.446065] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0 [ 1.452997] sunxi-rtc rtc: RTC enabled [ 1.457626] i2c /dev entries driver [ 1.462124] google_vp9: sunxi google vp9 version 0.1 [ 1.468478] bat_param node not found [ 1.481851] input: axp2101-powerkey as /devices/platform/soc/pmu0/axp2101-powerkey/input/input1 [ 1.494173] evbug: Connected device: input1 (axp2101-powerkey at m1kbd/input2) [ 1.507782] sunxi-wdt 30090a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.517095] sunxi_cpufreq_init: only one opp_table [ 1.526101] [cpu_freq] ERR: DEBUG: get cpu 0 device [ 1.534066] sunxi-mmc sdc2: SD/MMC/SDIO Host Controller Driver(v3.32 2019-9-24 15:55) [ 1.543019] sunxi-mmc sdc2: regulator prop vmmc,str vcc-emmc [ 1.553011] sunxi-mmc sdc2: regulator prop vqmmc,str vcc-pc [ 1.559304] sunxi-mmc sdc2: regulator prop vdmmc,str none [ 1.565375] sunxi-mmc sdc2: Can't get vdmmc33sw regulator string [ 1.575701] sunxi-mmc sdc2: Can't get vdmmc18sw regulator string [ 1.582475] sunxi-mmc sdc2: Can't get vqmmc33sw regulator string [ 1.589239] sunxi-mmc sdc2: Can't get vqmmc18sw regulator string [ 1.596956] get() with no identifier [ 1.601010] get() with no identifier [ 1.605026] get() with no identifier [ 1.609073] get() with no identifier [ 1.613092] sunxi-mmc sdc2: No vmmc regulator found [ 1.618607] sunxi-mmc sdc2: No vqmmc regulator found [ 1.624188] sunxi-mmc sdc2: No vdmmc regulator found [ 1.629781] sunxi-mmc sdc2: No vd33sw regulator found [ 1.635486] sunxi-mmc sdc2: No vd18sw regulator found [ 1.641200] sunxi-mmc sdc2: No vq33sw regulator found [ 1.646867] sunxi-mmc sdc2: No vq18sw regulator found [ 1.652616] sunxi-mmc sdc2: Cann't get uart0 pinstate,check if needed [ 1.660397] sunxi-mmc sdc2: set host busy [ 1.664956] mmc:failed to get gpios [ 1.670011] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.706910] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.756915] sunxi-mmc sdc2: detmode:alway in(non removable) [ 1.763482] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0 [ 1.772876] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0 [ 1.773673] sunxi-mmc sdc2: smc 0 p2 err, cmd 52, RTO !! [ 1.783011] sunxi-mmc sdc2: smc 0 p2 err, cmd 52, RTO !! [ 1.788192] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.796277] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.806890] sunxi-mmc sdc2: smc 0 p2 err, cmd 8, RTO !! [ 1.817678] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !! [ 1.818517] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !! [ 1.819393] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !! [ 1.825221] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !! [ 1.831125] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !! [ 1.837007] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !! [ 1.842904] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !! [ 1.848772] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !! [ 1.853942] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.860001] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.860057] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.868091] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.918214] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0 [ 1.927540] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0 [ 1.936823] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.947670] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0 [ 1.956987] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0 [ 1.966554] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.32 2019-9-24 15:55) [ 1.975538] sunxi-mmc sdc0: regulator prop vmmc,str vcc-sdc [ 1.981840] sunxi-mmc sdc0: Can't get vqmmc regulator string [ 1.988243] sunxi-mmc sdc0: Can't get vdmmc regulator string [ 1.994623] sunxi-mmc sdc0: regulator prop vdmmc33sw,str vcc33-pf [ 2.001473] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 8 timing LEGACY(SDR12) dt B [ 2.012364] sunxi-mmc sdc0: regulator prop vdmmc18sw,str vcc18-pf [ 2.019213] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B [ 2.029644] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B [ 2.040472] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B [ 2.040521] sunxi-mmc sdc2: sdc set ios:clk 52000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B [ 2.062576] sunxi-mmc sdc0: regulator prop vqmmc33sw,str vcc33-pf [ 2.069432] sunxi-mmc sdc0: regulator prop vqmmc18sw,str vcc18-pf [ 2.076279] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B [ 2.076338] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B [ 2.097785] get() with no identifier [ 2.097805] mmc0: new HS400 MMC card at address 0001 [ 2.107416] get() with no identifier [ 2.107525] sunxi-mmc sdc0: No vmmc regulator found [ 2.107529] sunxi-mmc sdc0: No vqmmc regulator found [ 2.107533] sunxi-mmc sdc0: No vdmmc regulator found [ 2.108069] sunxi-mmc sdc0: set host busy [ 2.108135] sunxi-mmc sdc0: Got CD GPIO [ 2.108222] sunxi-mmc sdc0: filter speed is 7340032 B/s [ 2.108228] sunxi-mmc sdc0: filter sector is 8 sector [ 2.108233] sunxi-mmc sdc0: Perf function is enable [ 2.108410] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.137922] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.176158] sunxi-mmc sdc0: detmode:gpio irq [ 2.181420] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.32 2019-9-24 15:55) [ 2.190706] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.190776] sunxi-mmc sdc1: Can't get vmmc regulator string [ 2.190781] sunxi-mmc sdc1: Can't get vqmmc regulator string [ 2.190786] sunxi-mmc sdc1: Can't get vdmmc regulator string [ 2.190791] sunxi-mmc sdc1: Can't get vdmmc33sw regulator string [ 2.190796] sunxi-mmc sdc1: Can't get vdmmc18sw regulator string [ 2.190801] sunxi-mmc sdc1: Can't get vqmmc33sw regulator string [ 2.190806] sunxi-mmc sdc1: Can't get vqmmc18sw regulator string [ 2.190809] get() with no identifier [ 2.190810] get() with no identifier [ 2.190812] get() with no identifier [ 2.190814] get() with no identifier [ 2.190815] get() with no identifier [ 2.190816] get() with no identifier [ 2.190818] get() with no identifier [ 2.190822] sunxi-mmc sdc1: No vmmc regulator found [ 2.190826] sunxi-mmc sdc1: No vqmmc regulator found [ 2.190830] sunxi-mmc sdc1: No vdmmc regulator found [ 2.190834] sunxi-mmc sdc1: No vd33sw regulator found [ 2.190838] sunxi-mmc sdc1: No vd18sw regulator found [ 2.190842] sunxi-mmc sdc1: No vq33sw regulator found [ 2.190846] sunxi-mmc sdc1: No vq18sw regulator found [ 2.190859] sunxi-mmc sdc1: Cann't get uart0 pinstate,check if needed [ 2.207497] sunxi-mmc sdc1: set host busy [ 2.207500] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB [ 2.207614] mmc:failed to get gpios [ 2.207870] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.207897] sunxi-mmc sdc1: no vqmmc,Check if there is regulator [ 2.220433] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB [ 2.234171] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB [ 2.240146] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.248378] mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 p11 > [ 2.248403] mmcblk0: p1 size 13090816 extends beyond EOD, truncated [ 2.266933] sunxi-mmc sdc1: detmode:manually by software [ 2.269487] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !! [ 2.269930] [sunxi_hdmi_codec_init] driver and deivce register finished. [ 2.271059] sun8iw16p1-pinctrl pio: pin PH7 already requested by uart0; cannot claim for dmic [ 2.271067] sun8iw16p1-pinctrl pio: pin-231 (dmic) status -22 [ 2.271073] sun8iw16p1-pinctrl pio: could not request pin 231 (PH7) from group PH7 on device pio [ 2.271078] sunxi-dmic dmic: Error applying setting, reverse things back [ 2.271099] sunxi-dmic: probe of dmic failed with error -22 [ 2.272186] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !! [ 2.273316] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.277231] gpio-spk setting ok [ 2.277232] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.279146] sunxi-mmc sdc1: smc 2 p1 err, cmd 8, RTO !! [ 2.280563] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR [ 2.280570] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2 DACL Switch -> AIF1 AD0L Mixer [ 2.280580] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR [ 2.280585] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2 DACR Switch -> AIF1 AD0L Mixer [ 2.280594] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR [ 2.280599] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2 DACR Switch -> AIF1 AD0R Mixer [ 2.280608] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR [ 2.280614] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2 DACL Switch -> AIF1 AD0R Mixer [ 2.280620] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR [ 2.280625] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2 DACL Switch -> AIF1 AD1L Mixer [ 2.280635] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR [ 2.280641] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2 DACR Switch -> AIF1 AD1R Mixer [ 2.280674] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR [ 2.280680] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2DACL Switch -> DACL Mixer [ 2.280695] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR [ 2.280701] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2DACR Switch -> DACR Mixer [ 2.280927] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 2.284857] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 2.285686] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 2.286506] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 2.287332] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !! [ 2.288156] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !! [ 2.288976] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !! [ 2.289796] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !! [ 2.289815] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.290726] sunxi-mmc sdc1: smc 2 p1 err, cmd 1, RTO !! [ 2.290793] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.730026] sunxi-codec-machine sndcodec: codec-aif1 <-> i2s mapping ok [ 2.740275] sndhdmi sndhdmi: audiohdmi-dai <-> audiohdmi mapping ok [ 2.748173] sndhdmi sndhdmi: [sunxi_sndhdmi_dev_probe] register card finished. [ 2.760820] snddmic snddmic: ASoC: CPU DAI (null) not registered [ 2.771444] snddmic snddmic: snd_soc_register_card() fail: -517 [ 2.778245] snddmic: probe of snddmic failed with error -16 [ 2.785001] NET: Registered protocol family 17 [ 2.790125] 8021q: 802.1Q VLAN Support v1.8 [ 2.795749] sid_get_phy_base()317 - Failed to find "" in dts. [ 2.802328] sid_get_phy_base()317 - Failed to find "" in dts. [ 2.809306] sid_get_phy_base()317 - Failed to find "" in dts. [ 2.816126] sid_efuse_key_is_readable()757 - The key thermal_sensor write protect bit not burned! [ 2.826212] sid_get_phy_base()317 - Failed to find "" in dts. [ 2.833138] sid_get_phy_base()317 - Failed to find "" in dts. [ 2.840039] sid_get_phy_base()317 - Failed to find "" in dts. [ 2.848770] Registering SWP/SWPB emulation handler [ 2.861718] sunxi-rtc rtc: setting system clock to 1970-01-01 00:00:14 UTC (14) [ 2.870716] axp2101_dcdc2: incomplete constraints, leaving on [ 2.877243] axp2101_dcdc4: incomplete constraints, leaving on [ 2.883707] axp2101_rtc1: incomplete constraints, leaving on [ 2.890157] axp2101_aldo3: incomplete constraints, leaving on [ 2.896685] axp2101_aldo4: incomplete constraints, leaving on [ 2.903290] axp2101_cpuldos: incomplete constraints, leaving on [ 2.910166] ALSA device list: [ 2.913498] #0: audiocodec [ 2.916731] #1: sndhdmi [ 2.920678] EXT4-fs (mmcblk0p7): couldn't mount as ext3 due to feature incompatibilities [ 2.930368] EXT4-fs (mmcblk0p7): couldn't mount as ext2 due to feature incompatibilities [ 2.942017] EXT4-fs (mmcblk0p7): warning: mounting unchecked fs, running e2fsck is recommended [ 2.952730] EXT4-fs (mmcblk0p7): mounted filesystem without journal. Opts: (null) [ 2.961217] VFS: Mounted root (ext4 filesystem) on device 179:7. [ 2.968503] devtmpfs: mounted [ 2.972062] Freeing unused kernel memory: 156K [ 2.977111] This architecture does not have kernel memory protection. [ 2.984358] Kernel panic - not syncing: Requested init /pseudo_init failed (error -2). [ 2.993264] CPU0: stopping [ 2.996309] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.118 #44 [ 3.003157] Hardware name: sun8iw16 [ 3.007102] [<c0012501>] (unwind_backtrace) from [<c000ff37>] (show_stack+0xb/0xc) [ 3.015624] [<c000ff37>] (show_stack) from [<c01365c3>] (dump_stack+0x5b/0x70) [ 3.023752] [<c01365c3>] (dump_stack) from [<c0011b21>] (handle_IPI+0x8d/0x104) [ 3.031977] [<c0011b21>] (handle_IPI) from [<c000930b>] (gic_handle_irq+0x4b/0x54) [ 3.040492] [<c000930b>] (gic_handle_irq) from [<c00105e5>] (__irq_svc+0x65/0xac) [ 3.048904] Exception stack(0xc03f7f60 to 0xc03f7fa8) [ 3.054585] 7f60: 00000000 000004d2 c7ae2304 c00161e1 c03f6000 c03f8fec 00000001 c03f903c [ 3.063783] 7f80: c7fff740 c03e88c0 00000000 00000000 c03f8d00 c03f7fb0 c000deb5 c000deac [ 3.072977] 7fa0: 40000133 ffffffff [ 3.076901] [<c00105e5>] (__irq_svc) from [<c000deac>] (arch_cpu_idle+0xc/0x20) [ 3.085128] [<c000deac>] (arch_cpu_idle) from [<c003d339>] (cpu_startup_entry+0xa1/0xb8) [ 3.094236] [<c003d339>] (cpu_startup_entry) from [<c03cf8dd>] (start_kernel+0x21d/0x26c) [ 3.103436] ---[ end Kernel panic - not syncing: Requested init /pseudo_init failed (error -2).
-
系统启动打印key pressed value
新作的板子开机打印这个key pressed value,我再boot中追加了打印,然后执行mboot重新编译,打包下载后,追加的log却没有打印,请问这个是哪里打出来的?有没有办法关掉
[146]HELLO! BOOT0 is starting! [149]boot0 commit : e2f593e6bf6f822b1e4fef278a4016aa2a51c5b6 [166]rsb_send_initseq: rsb clk 400Khz -> 3Mhz [170]PMU: AXP2101 [172]set pll start [175]set pll end [177]key pressed value=0x00000017 [180]key pressed value=0x00000016 [223]key pressed value=0x00000016 [267]key pressed value=0x00000017 [310]key pressed value=0x00000017 [353]key pressed value=0x00000016 [397]key pressed value=0x00000017 [440]key pressed value=0x00000016 [483]key pressed value=0x00000017 [527]key pressed value=0x00000017 [570]key pressed value=0x00000017 [613]key pressed value=0x00000017 [657]key pressed value=0x00000017 [700]key pressed value=0x00000017 [743]key pressed value=0x00000017 [786]key pressed value=0x00000017 [830]key pressed value=0x00000017 [873]key pressed value=0x00000016 [916]key pressed value=0x00000016 [960]key pressed value=0x00000016 [1003]key pressed value=0x00000016 [1046]key pressed value=0x00000017 [1090]key pressed value=0x00000016 [1133]key pressed value=0x00000017 [1177]key pressed value=0x00000017 [1220]key pressed value=0x00000017 [1263]key pressed value=0x00000017 [1307]key pressed value=0x00000016 [1350]key pressed value=0x00000016 [1394]key pressed value=0x00000017
-
系统运行一段时间emmc就报错
平台V536H,系统TinaLinux4.9,看不懂啥意思,但是好像对系统没有造成大的影响
[ 305.110361] EXT4-fs (mmcblk0p7): error count since last fsck: 1 [ 305.117015] EXT4-fs (mmcblk0p7): initial error at time 15: ext4_has_uninit_itable:3049 [ 305.125910] EXT4-fs (mmcblk0p7): last error at time 15: ext4_has_uninit_itable:3049
-
回复: 系统无法启动
@whycan 这是完整测日志
[330]HELLO! BOOT0 is starting! [333]boot0 commit : e2f593e6bf6f822b1e4fef278a4016aa2a51c5b6 [350]rsb_send_initseq: rsb clk 400Khz -> 3Mhz [354]PMU: AXP2101 [356]set pll start [359]set pll end [9090]DRAM BOOT DRIVE INFO: V0.41 [9093]the chip id is 0x00000004 [9096]the chip id is 0x00000004 [9100]the chip id is 0x00000004 [9103]the chip id is 0x00000004 [9106]the chip id is 0x00000004 [9109]chip id check OK [9111]DRAM_VCC set to 1500 mv [9114]DRAM CLK =792 MHZ [9117]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4) [9154]Training result is = 00000007 [9158]Actual DRAM SIZE =512 M [9161]DRAM SIZE =512 MBytes, para1 = 000030fa, para2 = 02000001, dram_tpr13 = 08006843 [9178]DRAM simple test OK. [9181]dram size =512 [9184]card no is 2 [9186]sdcard 2 line count 8 [9189][mmc]: mmc driver ver 2020-5-8 14:16 [9193][mmc]: mmc 2 bias 00000000 [9202][mmc]: ***Try MMC card %u*** [9214][mmc]: MMC 5.1 [9216][mmc]: HSDDR52/DDR50 %u bit [9220][mmc]: %u Hz [9222][mmc]: %u MB [9223][mmc]: ***SD/MMC %u init OK!!!*** [9351]Loading boot-pkg Succeed(index=0). [9355]Entry_name = scp [9365]set arisc reset to de-assert state [9369]Entry_name = optee [9373]Entry_name = u-boot [9398]Entry_name = soc-cfg [9402]Entry_name = dtb [9406]Ready to disable icache. [9409]0xffffffff 0xffffffff [9412]0xff17ffff 0xffffffff [9414]0xff0d14ff 0xffffffff [9417]0x1716ffff 0xffff09ff [9420]0x0d1effff 0xffffffff [9423]0x1918ffff 0xffffff29 [9425]Jump to secend Boot. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.118 (jamo@bm-wuzhaohua) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #12 SMP PREEMPT Wed Dec 28 08:29:13 UTC 2022 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt:Machine model: sun8iw16 [ 0.000000] cma: Reserved 384 MiB at 0x48000000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] free_area_init_node: node 0, pgdat c04a5dc0, node_mem_map c7b38000 [ 0.000000] Normal zone: 1024 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 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 13 pages/cpu @c7ade000 s24524 r8192 d20532 u53248 [ 0.000000] pcpu-alloc: s24524 r8192 d20532 u53248 alloc=13*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x05000c00 initcall_debug=0 console=ttyS4,115200 loglevel=8 root=/dev/mmcblk0p7 rw rootwait init=/pseudo_init partitions=boot-resource@mmcblk0p2:env@mmcblk0p5:boot@mmcblk0p6:rootfs@mmcblk0p7:recovery@mmcblk0p8:rootfs_data@mmcblk0p9:misc@mmcblk0p10:private@mmcblk0p11:UDISK@mmcblk0p1 cma=384M disp_reserve=38454,0x5fc00000 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 120352K/524288K available (3018K kernel code, 211K rwdata, 1176K rodata, 168K init, 125K bss, 10720K reserved, 393216K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf800000 - 0xbfe00000 ( 6 MB) [ 0.000000] .text : 0xc0008000 - 0xc02fae2c (3020 kB) [ 0.000000] .init : 0xc0448000 - 0xc0472000 ( 168 kB) [ 0.000000] .data : 0xc0472000 - 0xc04a6ca0 ( 212 kB) [ 0.000000] .bss : 0xc04a6ca0 - 0xc04c634c ( 126 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000018] Switching to timer-based delay loop, resolution 41ns [ 0.000055] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000069] pid_max: default: 4096 minimum: 301 [ 0.000218] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000229] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000880] CPU: Testing write buffer coherency: ok [ 0.001318] CPU0: update cpu_capacity 1024 [ 0.001332] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.001361] Setting up static identity map for 0x40008240 - 0x4000828c [ 0.170593] CPU1: update cpu_capacity 1024 [ 0.170600] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.170688] Brought up 2 CPUs [ 0.170708] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.170715] CPU: All CPU(s) started in SVC mode. [ 0.171383] devtmpfs: initialized [ 0.193576] OF: Duplicate name in regulator@0, renamed to "regulator2#1" [ 0.193618] OF: Duplicate name in regulator@0, renamed to "regulator3#1" [ 0.193659] OF: Duplicate name in regulator@0, renamed to "regulator7#1" [ 0.199035] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.199539] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.199561] futex hash table entries: 16 (order: -2, 1024 bytes) [ 0.212789] pinctrl core: initialized pinctrl subsystem [ 0.214171] NET: Registered protocol family 16 [ 0.215244] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.216644] dump_class_init,862, success [ 0.220781] sun8iw16p1-r-pinctrl r_pio: initialized sunXi PIO driver [ 0.233692] sun8iw16p1-pinctrl pio: initialized sunXi PIO driver [ 0.235227] sunxi hwspinlock vbase:0xe0858000 [ 0.275986] pwm module init! [ 0.281110] sunxi-pm debug v3.10 [ 0.282261] G2D: Module initialized.major:253 [ 0.282773] SCSI subsystem initialized [ 0.283797] usbcore: registered new interface driver usbfs [ 0.283939] usbcore: registered new interface driver hub [ 0.284072] usbcore: registered new device driver usb [ 0.284295] media: Linux media interface: v0.10 [ 0.284399] Linux video capture interface: v2.00 [ 0.285839] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000 [ 0.286092] ion_parse_dt_heap_common: id 1 type 1 name sys_contig align 1000 [ 0.286323] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000 [ 0.286999] Advanced Linux Sound Architecture Driver Initialized. [ 0.288359] [axp2101] chip id detect 0x4a ! [ 0.288493] [axp2101] enable dcdc2 dvm. [ 0.320437] clocksource: Switched to clocksource arch_sys_counter [ 0.323239] get androidboot.mode fail [ 0.323258] sunxi_i2c_adap_init()2494 - init [ 0.323708] [i2c0] twi_regulator: vcc-pi [ 0.323780] sunxi_i2c_probe()2253 - [i2c0] twi_drv_used = 1 [ 0.323864] twi_request_gpio()450 - [i2c0] init name: twi0 [ 0.330324] sunxi_i2c_dma_request()1104 - [i2c0] using dma0chan0 (tx) and dma0chan1 (rx)for DMA transfers [ 0.330713] [i2c1] twi_regulator: vcc-io [ 0.330785] sunxi_i2c_probe()2253 - [i2c1] twi_drv_used = 1 [ 0.330864] twi_request_gpio()450 - [i2c1] init name: twi1 [ 0.331193] sunxi_i2c_dma_request()1104 - [i2c1] using dma0chan2 (tx) and dma0chan3 (rx)for DMA transfers [ 0.332834] NET: Registered protocol family 2 [ 0.333423] TCP established hash table entries: 16 (order: -6, 64 bytes) [ 0.333437] TCP bind hash table entries: 16 (order: -5, 128 bytes) [ 0.333446] TCP: Hash tables configured (established 16 bind 16) [ 0.333495] UDP hash table entries: 128 (order: 0, 4096 bytes) [ 0.333519] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes) [ 0.333684] NET: Registered protocol family 1 [ 0.333976] sunxi budget cooling probe start ! [ 0.334000] CPU freq cooling register Success [ 0.334016] CPU hotplug cooling register Success [ 0.334278] CPU budget cooling register Success [ 0.346078] workingset: timestamp_bits=30 max_order=17 bucket_order=0 [ 0.355066] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) [ 0.355082] io scheduler noop registered [ 0.355090] io scheduler deadline registered [ 0.355267] io scheduler cfq registered (default) [ 0.357539] uart0: ttyS0 at MMIO 0x5000000 (irq = 297, base_baud = 1500000) is a SUNXI [ 0.358374] uart1: ttyS1 at MMIO 0x5000400 (irq = 298, base_baud = 1500000) is a SUNXI [ 0.359131] uart4: ttyS4 at MMIO 0x5001000 (irq = 299, base_baud = 1500000) is a SUNXI [ 0.359154] sw_console_setup()1777 - console setup baud 115200 parity n bits 8, flow n [ 1.179224] console [ttyS4] enabled [ 1.184030] misc dump reg init [ 1.210694] loop: module loaded [ 1.214356] [NAND]NOT support panic nand [ 1.219886] [NAND]SPIC0_BASE_ADDR e0864000 [ 1.224896] Failed to get dragonboard_flag [ 1.229503] [NAND]nand init start [ 1.233252] SpiNandHwInit: Start Nand Hardware initializing Jul 6 2021 01:57:53..... [ 1.242083] kernel: nand version: 4 6023 20210913 851 [ 1.247765] print_level is no used [ 1.251602] request spi gpio ok! [ 1.255326] request tx DMA [ 1.258369] request general tx dma channel ok! [ 1.263377] request rx DMA [ 1.266419] request general rx dma channel ok! [ 1.271423] NAND_ClkRequest [ 1.274621] NAND_ClkRequest: get pll6 rate 600000000HZ [ 1.280506] SPI nand ID: 0 0 [ 1.283754] SPI nand ID: 0 0 [ 1.286989] _SearchNandArchi fail [ 1.290738] [ERR]SpiNandHwInit: SCN_AnalyzeNandSystem() failed! [ 1.297398] SpiNandHwInit: End Nand Hardware initializing ..... FAIL! [ 1.305240] sunxi-wlan wlan: wlan_busnum (1) [ 1.310052] sunxi-wlan wlan: wlan_power_num (-1) [ 1.315269] sunxi-wlan wlan: io_regulator_name (vcc-pg) [ 1.321169] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed [ 1.329139] sunxi-wlan wlan: wlan_regon gpio=203 mul-sel=1 pull=-1 drv_level=-1 data=0 [ 1.338474] sunxi-wlan wlan: get gpio chip_en failed [ 1.344091] sunxi-wlan wlan: wlan_hostwake gpio=357 mul-sel=6 pull=-1 drv_level=-1 data=0 [ 1.353710] sunxi-wlan wlan: wakeup source is disabled! [ 1.359590] sunxi-wlan wlan: clk_name () [ 1.364330] pwmleds debug gpio driver init [ 1.368942] [pwm_leds]: backlight_ctrl_init: 123===into [ 1.374842] [pwm_leds] pwm_request pwm1 success! [ 1.380033] pwm_backlight_init is ok============== [ 1.386065] libphy: Fixed MDIO Bus: probed [ 1.391243] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.400062] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.408903] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.417730] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.426563] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.435388] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.444214] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.453040] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:ephy_25m [ 1.462200] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.471032] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.479845] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.488673] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.497501] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.506328] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii [ 1.515154] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:mad [ 1.523784] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:mdio [ 1.533294] gmac-power1: NULL [ 1.536633] gmac-power2: NULL [ 1.541035] Failed to alloc md5 [ 1.544580] eth0: Use random mac address [ 1.549250] usbcore: registered new interface driver asix [ 1.555438] usbcore: registered new interface driver ax88179_178a [ 1.562379] usbcore: registered new interface driver cdc_ether [ 1.568995] usbcore: registered new interface driver net1080 [ 1.575439] usbcore: registered new interface driver cdc_subset [ 1.582177] usbcore: registered new interface driver zaurus [ 1.588534] usbcore: registered new interface driver cdc_ncm [ 1.594934] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.602298] ehci-platform: EHCI generic platform driver [ 1.608627] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.615628] ohci-platform: OHCI generic platform driver [ 1.621905] usb_serial_number:20080411 [ 1.626283] sunxi_gpadc_init,1773, success [ 1.631661] input: sunxi-gpadc0 as /devices/virtual/input/input0 [ 1.639489] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0 [ 1.646447] sunxi-rtc rtc: RTC enabled [ 1.650995] i2c /dev entries driver [ 1.655358] google_vp9: sunxi google vp9 version 0.1 [ 1.661676] bat_param node not found [ 1.691739] input: axp2101-powerkey as /devices/platform/soc/pmu0/axp2101-powerkey/input/input1 [ 1.711451] sunxi-wdt 30090a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.720858] sunxi_cpufreq_init: only one opp_table [ 1.726251] [cpu_freq] ERR: DEBUG: get cpu 0 device [ 1.734979] sun8iw16p1-pinctrl pio: pin PC0 already requested by spinand; cannot claim for sdc2 [ 1.744805] sun8iw16p1-pinctrl pio: pin-64 (sdc2) status -22 [ 1.751188] sun8iw16p1-pinctrl pio: could not request pin 64 (PC0) from group PC0 on device pio [ 1.761123] sunxi-mmc sdc2: Error applying setting, reverse things back [ 1.768586] sunxi-mmc: probe of sdc2 failed with error -22 [ 1.774958] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0 [ 1.784275] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0 [ 1.793584] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0 [ 1.802893] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0 [ 1.812200] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0 [ 1.821514] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0 [ 1.831057] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.32 2019-9-24 15:55) [ 1.839965] sunxi-mmc sdc0: regulator prop vmmc,str vcc-sdc [ 1.846251] sunxi-mmc sdc0: Can't get vqmmc regulator string [ 1.852623] sunxi-mmc sdc0: Can't get vdmmc regulator string [ 1.858988] sunxi-mmc sdc0: regulator prop vdmmc33sw,str vcc33-pf [ 1.865852] sunxi-mmc sdc0: regulator prop vdmmc18sw,str vcc18-pf [ 1.872714] sunxi-mmc sdc0: regulator prop vqmmc33sw,str vcc33-pf [ 1.879567] sunxi-mmc sdc0: regulator prop vqmmc18sw,str vcc18-pf [ 1.886456] get() with no identifier [ 1.890484] get() with no identifier [ 1.894630] sunxi-mmc sdc0: No vmmc regulator found [ 1.900114] sunxi-mmc sdc0: No vqmmc regulator found [ 1.905708] sunxi-mmc sdc0: No vdmmc regulator found [ 1.911391] random: fast init done [ 1.915439] sunxi-mmc sdc0: set host busy [ 1.920012] sunxi-mmc sdc0: Got CD GPIO [ 1.925187] sunxi-mmc sdc0: filter speed is 7340032 B/s [ 1.931107] sunxi-mmc sdc0: filter sector is 8 sector [ 1.936786] sunxi-mmc sdc0: Perf function is enable [ 1.942599] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.980457] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.020609] sunxi-mmc sdc0: detmode:gpio irq [ 2.020632] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.037247] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.32 2019-9-24 15:55) [ 2.046153] sunxi-mmc sdc1: Can't get vmmc regulator string [ 2.052434] sunxi-mmc sdc1: Can't get vqmmc regulator string [ 2.058797] sunxi-mmc sdc1: Can't get vdmmc regulator string [ 2.065169] sunxi-mmc sdc1: Can't get vdmmc33sw regulator string [ 2.071932] sunxi-mmc sdc1: Can't get vdmmc18sw regulator string [ 2.078686] sunxi-mmc sdc1: Can't get vqmmc33sw regulator string [ 2.085448] sunxi-mmc sdc1: Can't get vqmmc18sw regulator string [ 2.092208] get() with no identifier [ 2.096222] get() with no identifier [ 2.100236] get() with no identifier [ 2.104258] get() with no identifier [ 2.108272] get() with no identifier [ 2.112315] get() with no identifier [ 2.116330] get() with no identifier [ 2.120348] sunxi-mmc sdc1: No vmmc regulator found [ 2.125839] sunxi-mmc sdc1: No vqmmc regulator found [ 2.131428] sunxi-mmc sdc1: No vdmmc regulator found [ 2.137006] sunxi-mmc sdc1: No vd33sw regulator found [ 2.142692] sunxi-mmc sdc1: No vd18sw regulator found [ 2.148370] sunxi-mmc sdc1: No vq33sw regulator found [ 2.154061] sunxi-mmc sdc1: No vq18sw regulator found [ 2.159750] sunxi-mmc sdc1: Cann't get uart0 pinstate,check if needed [ 2.167407] sunxi-mmc sdc1: set host busy [ 2.171983] mmc:failed to get gpios [ 2.176188] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.186510] sunxi-mmc sdc1: no vqmmc,Check if there is regulator [ 2.220453] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.260456] sunxi-mmc sdc1: detmode:manually by software [ 2.261285] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 2.267266] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 2.272453] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.280495] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.282351] sunxi-mmc sdc1: smc 1 p1 err, cmd 8, RTO !! [ 2.293130] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.303905] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.309782] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.315668] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.321561] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !! [ 2.327437] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !! [ 2.333325] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !! [ 2.339302] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !! [ 2.344485] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.345342] sunxi-mmc sdc1: smc 1 p1 err, cmd 1, RTO !! [ 2.350530] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.385150] usbcore: registered new interface driver usbhid [ 2.391473] usbhid: USB HID core driver [ 2.396988] [sunxi_hdmi_codec_init] driver and deivce register finished. [ 2.405613] sun8iw16p1-pinctrl pio: pin PH7 already requested by uart0; cannot claim for dmic [ 2.415257] sun8iw16p1-pinctrl pio: pin-231 (dmic) status -22 [ 2.421751] sun8iw16p1-pinctrl pio: could not request pin 231 (PH7) from group PH7 on device pio [ 2.431751] sunxi-dmic dmic: Error applying setting, reverse things back [ 2.439313] sunxi-dmic: probe of dmic failed with error -22 [ 2.447006] gpio-spk setting ok [ 2.451095] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR [ 2.460019] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2 DACL Switch -> AIF1 AD0L Mixer [ 2.471904] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR [ 2.480639] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2 DACR Switch -> AIF1 AD0L Mixer [ 2.492499] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR [ 2.501225] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2 DACR Switch -> AIF1 AD0R Mixer [ 2.513079] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR [ 2.521807] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2 DACL Switch -> AIF1 AD0R Mixer [ 2.533658] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR [ 2.542383] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2 DACL Switch -> AIF1 AD1L Mixer [ 2.554242] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR [ 2.562967] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2 DACR Switch -> AIF1 AD1R Mixer [ 2.574848] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR [ 2.583574] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2DACL Switch -> DACL Mixer [ 2.594847] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR [ 2.603570] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2DACR Switch -> DACR Mixer [ 2.615553] sunxi-codec-machine sndcodec: codec-aif1 <-> i2s mapping ok [ 2.625589] sndhdmi sndhdmi: audiohdmi-dai <-> audiohdmi mapping ok [ 2.633332] sndhdmi sndhdmi: [sunxi_sndhdmi_dev_probe] register card finished. [ 2.642183] snddmic snddmic: ASoC: CPU DAI (null) not registered [ 2.648956] snddmic snddmic: snd_soc_register_card() fail: -517 [ 2.655732] snddmic: probe of snddmic failed with error -16 [ 2.662512] NET: Registered protocol family 17 [ 2.667587] 8021q: 802.1Q VLAN Support v1.8 [ 2.673234] sid_get_phy_base()317 - Failed to find "" in dts. [ 2.679749] sid_get_phy_base()317 - Failed to find "" in dts. [ 2.686716] sid_get_phy_base()317 - Failed to find "" in dts. [ 2.693565] sid_efuse_key_is_readable()757 - The key thermal_sensor write protect bit not burned! [ 2.703629] sid_get_phy_base()317 - Failed to find "" in dts. [ 2.710473] sid_get_phy_base()317 - Failed to find "" in dts. [ 2.717299] sid_get_phy_base()317 - Failed to find "" in dts. [ 2.726097] Registering SWP/SWPB emulation handler [ 2.737506] sunxi-rtc rtc: setting system clock to 1970-01-01 00:00:14 UTC (14) [ 2.746538] axp2101_dcdc2: incomplete constraints, leaving on [ 2.753101] axp2101_dcdc4: incomplete constraints, leaving on [ 2.759570] axp2101_rtc1: incomplete constraints, leaving on [ 2.766034] axp2101_aldo3: incomplete constraints, leaving on [ 2.772727] axp2101_cpuldos: incomplete constraints, leaving on [ 2.779595] ALSA device list: [ 2.782946] #0: audiocodec [ 2.786183] #1: sndhdmi [ 2.789341] Waiting for root device /dev/mmcblk0p7...
-
系统无法启动
系统:TinaLinux,平台V536H,
开发板厂家提供的SDK是V1.2,我下载了最新的SDK通过beyond compare比对合并,编译打包下载之后,系统无法启动,看log是卡在了挂载flash,哪位大哥指点一下看看哪里的问题[ 2.694297] sid_get_phy_base()317 - Failed to find "" in dts. [ 2.702988] Registering SWP/SWPB emulation handler [ 2.714148] sunxi-rtc rtc: setting system clock to 1970-01-01 00:01:04 UTC (64) [ 2.723153] axp2101_dcdc2: incomplete constraints, leaving on [ 2.729710] axp2101_dcdc4: incomplete constraints, leaving on [ 2.736172] axp2101_rtc1: incomplete constraints, leaving on [ 2.742625] axp2101_aldo3: incomplete constraints, leaving on [ 2.749305] axp2101_cpuldos: incomplete constraints, leaving on [ 2.756162] ALSA device list: [ 2.759506] #0: audiocodec [ 2.762739] #1: sndhdmi [ 2.765897] Waiting for root device /dev/mmcblk0p7...
代码位置
void __init prepare_namespace(void) { int is_floppy; if (root_delay) { printk(KERN_INFO "Waiting %d sec before mounting root device...\n", root_delay); ssleep(root_delay); } /* * wait for the known devices to complete their probing * * Note: this is a potential source of long boot delays. * For example, it is not atypical to wait 5 seconds here * for the touchpad of a laptop to initialize. */ wait_for_device_probe(); md_run_setup(); dm_run_setup(); if (saved_root_name[0]) { root_device_name = saved_root_name; if (!strncmp(root_device_name, "mtd", 3) || !strncmp(root_device_name, "ubi", 3)) { mount_block_root(root_device_name, root_mountflags); goto out; } ROOT_DEV = name_to_dev_t(root_device_name); if (strncmp(root_device_name, "/dev/", 5) == 0) root_device_name += 5; } if (initrd_load()) goto out; /* wait for any asynchronous scanning to complete */ if ((ROOT_DEV == 0) && root_wait) { printk(KERN_INFO "Waiting for root device %s...\n", saved_root_name); while (driver_probe_done() != 0 || (ROOT_DEV = name_to_dev_t(saved_root_name)) == 0) msleep(100); async_synchronize_full(); } is_floppy = MAJOR(ROOT_DEV) == FLOPPY_MAJOR; if (is_floppy && rd_doload && rd_load_disk(0)) ROOT_DEV = Root_RAM0; mount_root(); out: devtmpfs_mount("dev"); sys_mount(".", "/", NULL, MS_MOVE, NULL); sys_chroot("."); }
-
TinaLinux4.9在进行全编的时候为什么不编译uboot?
uboot版本是2014 ,
我现在把brandy目录下的u-boot-2014.07改为了u-boot-2013,编译都不报错。全编的时候,好像并没有编译uboot。 -
回复: V536H用的哪个uboot
@whycan 焊接了,AXP2101的I2C也能看到应答,但是后面两个地址不知道写的什么?下面图片是下载过程中逻辑分析西抓包的连接PMU的I2C总线
-
V536H用的哪个uboot
SDK中lichee/brandy中有u-boot-2011.09和u-boot-2014.07,我下载固件时报错
[779]rsb_send_initseq: rsb clk 400Khz -> 3Mhz [784]unknow PMU [786]set pll start [789]set pll end [790]beign to init dram [793]DRAM BOOT DRIVE INFO: V0.41 [796]the chip id is 0x00000004 [799]the chip id is 0x00000004 [802]the chip id is 0x00000004 [805]the chip id is 0x00000004 [808]the chip id is 0x00000004 [811]chip id check OK [813]POWER SETTING ERROR! [815]init dram fail
于是我搜索unknow PMU,找到了lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun8iw16p1/spl/pmu_spl.c中的函数pmu_init有打印这个,但是奇怪的是我在文件头部随便输入“====”然后编译却没有编译错误,打包重新下载也没有输出我更改的printf内容。我搜索编译的log又发现编译的好像是u-boot-2018,但是搜索这个文件夹却没有地方打印unknow PMU,所以我就搞不明白了,希望大佬指点一下,这个log是哪个位置输出的。
-
回复: 更改了DRAM,代码配置需要修改吗
@kelsey 是的 ,DRAM和Flash物料都做了更换,新板子用的
DDR3L:一颗,NT5CC256M16ER-EKI(4Gb)EMMC: KLM8G1GETF-B041-8GB,
开发板使用的是:
DDR3:两颗,H5TQ4G63EFR-4Gb,EMMC:NCEMAD9D-16GB
串口无法输出log,下面的log是用上面的兄弟 提到的Dbgview捕获的。
正常.txt
异常.txt感谢您的回复,期待您的帮助。我前两天阳了,今天刚上班,所以回复晚了,希望不要介意。
-
回复: 求助,自己做的V536H板子无法下载程序
左边是开发板的正常log,右边是我们板子的log,请问这是什么问题?我们板子更改了RAM和emmc,请问是不是跟这个有关系?需要做哪些适配
-
回复: 求助,自己做的V536H板子无法下载程序
@xiaowenge [7504] 大哥 帮忙看看,用你说的工具打印的
[7504] current adb path: D:\platform-tools\ [7504] ****************load: [7504] ImgDecode64.dll [7504] [7504] ****************load: [7504] ImgDecode32.dll [7504] [7504] m_FesParser.SetImagePath .\LiveProcMan.cpp 362 113 [7504] no use interface ! [7504] m_FesParser.SetInterface .\LiveProcMan.cpp 371 249 2 [7504] Initial .\LiveProcMan.cpp 244 InitialFesParser failed 249 [7504] Read key value from registry failed. [7504] Img_OpenItem now! [7504] Img_OpenItem[PXTOOLSB][XXXXXXXXXXXXXXXX] [7504] Closing image now! [7504] CloseImage OK [7504] The spec_tool.fex file is spec_tool_no.fex. [7504] The spec_tool file is not exist. [7504] Img_OpenItem now! [7504] Img_OpenItem[PXTOOLSB][XXXXXXXXXXXXXXXX] [7504] Closing image now! [7504] CloseImage OK [7504] ImageTools64 .\image\ASuitImage.cpp 572 0 [7504] Img_OpenItem now! [7504] Img_OpenItem[12345678][1234567890DLINFO] [7504] Closing image now! [7504] CloseImage OK [7504] D:\platform-tools\adb.exe devices [7504] No deivce Attached!!!!!!!!!!!! [7504] IN 1 [7504] PnpFelIn current m_tools_if is NULL [7504] Img_OpenItem now! [7504] Img_OpenItem[PXTOOLSB][XXXXXXXXXXXXXXXX] [7504] Closing image now! [7504] CloseImage OK [7504] The spec_tool.fex file is spec_tool_no.fex. [7504] The spec_tool file is not exist. [7504] Img_OpenItem now! [7504] Img_OpenItem[PXTOOLSB][XXXXXXXXXXXXXXXX] [7504] Closing image now! [7504] CloseImage OK [7504] ImageTools64 .\image\ASuitImage.cpp 572 0 [7504] ************************************** [7504] *********global_info_entry*********** [7504] ************************************** [7504] ********* before Fel2Fes ********* [7504] ********* pFel2FesParam->extend = 0xefe8da00 ********* [7504] *************************************** [7504] ********ToolEntry_fel************ [7504] *************************************** [7504] PANIC : enter fel choose mode [7504] fel other=0x20a4b0 [7504] OS SourceCodePage = 936 [7504] WRN: fail in LoadPluginCenter, f(IniLanPlg)L45 [7504] WRN: f(exist_multiple_lang_tips)L94, Fail to init plg of iniLan, "Please update LiveSuit" [7504] user choose to erase=1 [7504] Img_OpenItem now! [7504] Img_OpenItem[FES ][FES_1-0000000000] [7504] down file length = a580. [7504] magic eGON.BT0 [7504] ?髝? it is fes1 [7504] down and run fes1 at addr 0x28000 [7504] Clear dram log OK. [7504] DOWN FES1_dram OK [7504] RUN fes1 OK. [7504] INFO: try to down and run fes2 [7504] Img_OpenItem now! [7504] Img_OpenItem[12345678][UBOOT_0000000000] [7504] fes2 size 0x198000 [7504] uboot down and run addr 0x43100000 [7504] dtb_syscfg_base 0x43300000
-
axp2101每个输出管脚的电压在哪里设置
芯片V536H,系统TinaLinux4.9
在sys_config.fex只看到了这个;compatible ---regulator0 name, support:axp233-regulator ;regulator_count ---pmu ldo count, changed with different pmu ;regulator(1~regulator_count) ---ldo details ;-------------------------------------------------------------------------------------------------------- [regulator0] compatible = "axp2101-regulator" regulator_count = 15 regulator1 = "axp2101_dcdc1 none vcc-3v3 vcc-io vcc33-usb vcc33-wifi vcc33-pc vcc-pd vcc-pa vcc-nand vcc-ephy vcc-card vcc33-pf vcc-pe" regulator2 = "axp2101_dcdc2 none vdd-cpua vdd-test" regulator3 = "axp2101_dcdc3 none vdd-sys vdd09-usb vdd09-hdmi" regulator4 = "axp2101_dcdc4 none vcc-dram" regulator5 = "axp2101_rtc none vcc-rtc" regulator6 = "axp2101_rtc1 none" regulator7 = "axp2101_aldo1 none vdd18-lpddr vdd18-dram vcc-pll avcc" regulator8 = "axp2101_aldo2 none vcc-pi vcc-pj iovdd-csi afvcc-csi" regulator9 = "axp2101_aldo3 none vcc-pl vcc-ctp" regulator10 = "axp2101_aldo4 none vcc-pf vcc33-AHD" regulator11 = "axp2101_bldo1 none vcc18-pc vcc-lvds vcc18-lcd vcc18-dsi vcc-tv vcc18-hdmi vcc18-cmbcsi0 vcc18-cmbcsi1 vcc-efuse vcc18-pf vcc18-wifi vcc-dcxo-io vcc-pg" regulator12 = "axp2101_bldo2 none avdd-csi" regulator13 = "axp2101_cpuldos none vdd-cpus" regulator14 = "axp2101_dldo1 none vcc-lcd" regulator15 = "axp2101_dldo2 none dvdd-csi"
在设备树中找到了
pmu0: pmu@0{ interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; status = "okay"; wakeup-source; powerkey0: powerkey@0{ status = "okay"; }; regulator0: regulator@0{ status = "okay"; regulator2 { regulator-name = "vdd-cpua"; }; regulator3 { regulator-name = "vdd-sys"; }; regulator7 { regulator-name = "vcc-pll"; }; }; axp_gpio0: axp_gpio@0{ gpio-controller; #size-cells = <0>; #gpio-cells = <6>; status = "okay"; }; charger0: charger@0{ status = "okay"; /* input current limit reg:0x16 */ iin_limit = <1500>; /* const current charge current limit reg:0x62 */ icc_cfg = <300>; /* axp2101 parameter */ param = <&axp2101_parameter>; }; };
但是没看到设置管脚电压的位置,我现在需要把LX4的输出电压改为1.35V
-
V536H加入python3编译出错
系统TinaLinux4.9
CFLAGS="-Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -fno-caller-saves -Wno-unused-result -mfloat-abi=hard -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -fno-inline -I/home/jamo/workspace/lindenis-v536/out/v536-Inomec_SBC/staging_dir/target/usr/include -I/home/jamo/workspace/lindenis-v536/out/v536-Inomec_SBC/staging_dir/target/include -I/home/jamo/workspace/lindenis-v536/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/usr/include -I/home/jamo/workspace/lindenis-v536/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include -I/home/jamo/workspace/lindenis-v536/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/fortify " CXXFLAGS="-Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -fno-caller-saves -Wno-unused-result -mfloat-abi=hard -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wno-virtual-dtor -DNDEBUG -fno-inline -I/home/jamo/workspace/lindenis-v536/out/v536-Inomec_SBC/staging_dir/target/usr/include -I/home/jamo/workspace/lindenis-v536/out/v536-Inomec_SBC/staging_dir/target/include -I/home/jamo/workspace/lindenis-v536/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/usr/include -I/home/jamo/workspace/lindenis-v536/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include -I/home/jamo/workspace/lindenis-v536/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/fortify " LDFLAGS="-L/home/jamo/workspace/lindenis-v536/out/v536-Inomec_SBC/staging_dir/target/usr/lib -L/home/jamo/workspace/lindenis-v536/out/v536-Inomec_SBC/staging_dir/target/lib -L/home/jamo/workspace/lindenis-v536/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/usr/lib -L/home/jamo/workspace/lindenis-v536/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/lib -znow -zrelro -L/home/jamo/workspace/lindenis-v536/out/v536-Inomec_SBC/compile_dir/target/Python-3.5.6" LIBS="" make -C /home/jamo/workspace/lindenis-v536/out/v536-Inomec_SBC/compile_dir/target/Python-3.5.6/. AR="arm-openwrt-linux-muslgnueabi-ar" AS="arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -fno-caller-saves -Wno-unused-result -mfloat-abi=hard -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=arm-openwrt-linux-muslgnueabi-ld NM="arm-openwrt-linux-muslgnueabi-nm" CC="arm-openwrt-linux-muslgnueabi-gcc" GCC="arm-openwrt-linux-muslgnueabi-gcc" CXX="arm-openwrt-linux-muslgnueabi-g++" RANLIB="arm-openwrt-linux-muslgnueabi-ranlib" STRIP=arm-openwrt-linux-muslgnueabi-strip OBJCOPY=arm-openwrt-linux-muslgnueabi-objcopy OBJDUMP=arm-openwrt-linux-muslgnueabi-objdump SIZE=arm-openwrt-linux-muslgnueabi-size CROSS="arm-openwrt-linux-muslgnueabi-" ARCH="arm" CROSS_COMPILE=yes LD="arm-openwrt-linux-muslgnueabi-gcc" FREEZE_IMPORTLIB=_freeze_importlib PGEN=pgen3 ; make[4]: Entering directory '/home/jamo/workspace/lindenis-v536/out/v536-Inomec_SBC/compile_dir/target/Python-3.5.6' _PYTHON_PROJECT_BASE=/home/jamo/workspace/lindenis-v536/out/v536-Inomec_SBC/compile_dir/target/Python-3.5.6 _PYTHON_HOST_PLATFORM=linux-arm PYTHONPATH=./Lib:./Lib/plat-linux python3 -S -m sysconfig --generate-posix-vars ;\ if test $? -ne 0 ; then \ echo "generate-posix-vars failed" ; \ rm -f ./pybuilddir.txt ; \ exit 1 ; \ fi Could not import runpy module Traceback (most recent call last): File "./Lib/runpy.py", line 14, in <module> import importlib.machinery # importlib first so we can test #15386 via -m File "./Lib/importlib/__init__.py", line 51, in <module> _w_long = _bootstrap_external._w_long AttributeError: module 'importlib._bootstrap_external' has no attribute '_w_long' generate-posix-vars failed Makefile:568: recipe for target 'pybuilddir.txt' failed make[4]: *** [pybuilddir.txt] Error 1 make[4]: Leaving directory '/home/jamo/workspace/lindenis-v536/out/v536-Inomec_SBC/compile_dir/target/Python-3.5.6' Makefile:242: recipe for target '/home/jamo/workspace/lindenis-v536/out/v536-Inomec_SBC/compile_dir/target/Python-3.5.6/.built' failed make[3]: *** [/home/jamo/workspace/lindenis-v536/out/v536-Inomec_SBC/compile_dir/target/Python-3.5.6/.built] Error 2 make[3]: Leaving directory '/home/jamo/workspace/lindenis-v536/package/lang/python3' package/Makefile:192: recipe for target 'package/lang/python3/compile' failed
-
回复: 求救!视频传输一段时间select就超时
@chengwei_peng 内核是通过这个查看吗
root@inomec:/# mount -t debugfs none /sys/kernel/debug root@inomec:/# cat /sys/kernel/debug/mpp/vi ***************************************************** VIN hardware feature list: mcsi 1, ncsi 2, parser 2, isp 1, vipp 4, dma 4 CSI_VERSION: CSI230_100, ISP_VERSION: ISP0_0 CSI_CLK: 105000000, ISP_CLK: 94500000 ***************************************************** vi0: MT9J003 => mipi0 => csi0 => isp0 => vipp0 input => hoff: 0, voff: 0, w: 3260, h: 2304, fmt: BGGR8 output => width: 3260, height: 2304, fmt: NULL interface: MIPI, isp_mode: NORMAL, hflip: 0, vflip: 0 prs_in => x: 1888, y: 2656, hb: 1, hs: 5932 buf => cnt: 3 size: 7520256 rest: 3, mode: software_update frame => cnt: 0, lost_cnt: 0, error_cnt: 0 internal => avg: 391(ms), max: 391(ms), min: 46(ms) *****************************************************
-
求救!视频传输一段时间select就超时
平台V536, TinaLinux4.9,捕获一段时间的图片之后(大概三四分钟),
select(v4l2->videofd + 1, &fds, NULL, NULL, &tv);
select返回超时,而且一直超时恢复不了,切换分辨率也不行,请问是怎么回事?
-
可不可以不要固定几种分辨率,应用层任意设置分辨率
系统TinaLinux,我想在应用层任意设置分辨率,驱动中我根据传入的width、height计算cmos的相关参数,然后写入。而不是写好固定的几个列表,请问当前的架构支持这样做嘛?如果支持下面这些平台用的参数怎么设置?
.hts .vts .pclk .mipi_bps .fps_fixed .bin_factor
-
编译出来的应用文件怎么自动拷贝到/usr/bin目录
平台V536 系统TinaLinux4.9
我在package目录下创建了我们自己产品的目录,编译出来的应用文件怎么在打包的时候自动拷贝到/usr/bin目录,并且开机的时候能够自动运行?
-
回复: 关于TinaLinux4.9中的sys_config.fex的pwm配置
@whycanservice 感谢回复 这个看明白了
我另一组按键的配置为啥在这个文件中找不到 无论是搜索gpiokey还是PD19都没有?
[gpiokey] compatible = "gpio-keys" autorepeat = 1 label = "capture_key" gpios = port:PD19<6><default><default><default> linux,input-type = <1> linux,code = 0x1ba
-
关于TinaLinux4.9中的sys_config.fex的pwm配置
手册上的配置,为什么[pwm0]的pwm_used配置为0?[pwm0_suspend]中的pwm_used又为啥配置为1?
不管配置为哦0还是1,执行下面的命令都失败,请问是怎么回事
root@inomec:/# echo 0 > /sys/class/pwm/pwmchip0/export sh: write error: Resource busy
-
按键驱动问题
平台V536 系统Tinalinux4.9
在sys_config.fex文件中修改,后面的一组配置是我新加的,请问上升沿/下降沿触发在哪里配置?
[gpiokey] compatible = "gpio-keys" autorepeat = 1 [gpiokey/ok_key] label = "ok_key" gpios = port:PL04<0><default><default><1> linux,input-type = <1> linux,code = 28 wakeup-source = 1 [gpiokey/capture_key] label = "capture_key" gpios = port:PD19<6><default><default><default> linux,input-type = <1> linux,code = 0x1ba
lichee/linux-4.9/drivers/input/keyboard/gpio_keys.c这个模块加入了,并没有显示我新加入的”capture_key“,通过cat /dev/input/event2,按下按键也看不到事件过来,麻烦请指导以下菜鸟
root@pc:/# cat /proc/bus/input/devices I: Bus=0019 Vendor=0001 Product=0001 Version=0100 N: Name="sunxi-gpadc0" P: Phys=sunxigpadc0/input0 S: Sysfs=/devices/virtual/input/input0 U: Uniq= H: Handlers=event0 B: PROP=0 B: EV=100003 B: KEY=800 c0040 0 0 10000000 I: Bus=0019 Vendor=0001 Product=0001 Version=0100 N: Name="axp2101-powerkey" P: Phys=m1kbd/input2 S: Sysfs=/devices/platform/soc/pmu0/axp2101-powerkey/input/input1 U: Uniq= H: Handlers=event1 B: PROP=0 B: EV=100007 B: KEY=100000 0 0 0 B: REL=0 I: Bus=0019 Vendor=0001 Product=0001 Version=0100 N: Name="gpiokey" P: Phys=gpio-keys/input0 S: Sysfs=/devices/platform/soc/gpiokey/input/input2 U: Uniq= H: Handlers=event2 B: PROP=0 B: EV=100003 B: KEY=4000000 0 0 0 0 0 0 0 0 0 0 0 0 10000000
-
通过VIDIOC_S_FMT更改分辨率后系统崩溃
CMOS在工作的时候通过VIDIOC_S_FMT更改分辨率 有什么注意事项吗?我执行这个ioctl之后内核就崩了
[[ 95.151592] s_fmt set width = 3260, height = 2304 ls-p100]col start:0 [ls-p100]width:3260 [ls-p100]height:2304 [ls-p100]shutter_width:274 [ls-p100]row_skip:0, col_skip:0 Unable to handle kernel NULL pointer dereference at virtual address 00000000 input_width:3260 [ls-p100]input_height:2304 [ls-p100]capture mode is set:16 [ls-p100]camera_resolution_set, width=3260,[ 95.189082] pgd = d6a50000 hieght=2304 [ls-p100]set phy camera [ls-p100]stream off [CAMERA] VIDIOC_S_FMT succeed [CAMERA] fmt.type = 9 [CAMERA] fmt.f[ 95.203231] [00000000] *pgd=7fc65835mt.pix_mp.width = 3260 [CAMERA] fmt.fmt.pix_mp.height = 2304 [CAMERA] fmt.fmt.pix_mp.pixelformat = SBGGR8 [CAMERA] fmt.fmt.pi x_mp.field = 1 [CAMERA]num_planes = 1 [ls-p100]stream on [ 95.229503] Internal error: Oops - BUG: 17 [#1] PREEMPT SMP THUMB2 [ 95.241579] Modules linked in: g_inomec_ls usb_f_inomec_ls vin_v4l2 mt9j003_parallel vin_io videobuf2_v4l2 videobuf2_dma_contig videobuf2_memops videobuf2_core [ 95.257689] CPU: 0 PID: 801 Comm: ls-p100 Not tainted 4.9.118 #308 [ 95.264636] Hardware name: sun8iw16 [ 95.268558] task: d73cf440 task.stack: d695c000 [ 95.273804] PC is at vin_set_addr+0x39/0x174 [vin_v4l2] [ 95.279772] LR is at vin_set_addr+0x3a/0x174 [vin_v4l2] [ 95.285651] pc : [<bf830006>] lr : [<bf830007>] psr: 60000033 [ 95.285651] sp : d695dce0 ip : 00000000 fp : 00000cbc [ 95.298560] r10: d7330608 r9 : 00000000 r8 : 00000000 [ 95.304436] r7 : 00000008 r6 : d7330000 r5 : d7330400 r4 : d7330458 [ 95.311777] r3 : d7330458 r2 : 00000000 r1 : 00000000 r0 : 00000000 [ 95.319120] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment none [ 95.327340] Control: 50c5387d Table: 56a5006a DAC: 00000051 [ 95.333800] [ 95.333800] SP: 0xd695dc60: [ 95.338599] dc60 00000000 c002a0d7 ffffffff c04e2548 00000002 c04a6000 ffffffff bf830006 [ 95.347854] dc80 60000033 ffffffff d695dcc4 c0010553 00000000 00000000 00000000 d7330458 [ 95.357106] dca0 d7330458 d7330400 d7330000 00000008 00000000 00000000 d7330608 00000cbc [ 95.366358] dcc0 00000000 d695dce0 bf830007 bf830006 60000033 ffffffff 00000051 bf000000 [ 95.375611] dce0 d7330000 00000900 d7330400 d7330000 3132434c 00000000 00000001 00000014 [ 95.384862] dd00 bf836996 bf8369aa 00000000 bf83016d 00000000 bf8304bb 00000000 00000000 [ 95.394114] dd20 00000cbc 00000cbc 00000900 00000cbc 00000cbc 00000000 00000900 00000000 [ 95.403365] dd40 00000000 00000000 00000000 00000002 00000000 00000000 00000002 d7330864 [ 95.412617] [ 95.412617] R3: 0xd73303d8: [ 95.417417] 03d8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.426667] 03f8 d7330780 00000000 00000cbc 00000900 00000000 00000000 00000000 00000000 [ 95.435918] 0418 0072c000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.445168] 0438 00000cbc 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.454418] 0458 59f80000 00000000 00000000 00003001 bf838a04 00000002 31384142 00010001 [ 95.463670] 0478 00000008 00000000 00020000 00000007 00000001 00000000 00000000 00000000 [ 95.472920] 0498 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.482170] 04b8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.491421] [ 95.491421] R4: 0xd73303d8: [ 95.496221] 03d8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.505471] 03f8 d7330780 00000000 00000cbc 00000900 00000000 00000000 00000000 00000000 [ 95.514722] 0418 0072c000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.523972] 0438 00000cbc 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.533223] 0458 59f80000 00000000 00000000 00003001 bf838a04 00000002 31384142 00010001 [ 95.542475] 0478 00000008 00000000 00020000 00000007 00000001 00000000 00000000 00000000 [ 95.551725] 0498 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.560975] 04b8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.570227] [ 95.570227] R5: 0xd7330380: [ 95.575026] 0380 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.584276] 03a0 00000003 00000000 00b100b1 d6bcc280 d6bcc280 00000000 00000000 00000000 [ 95.593528] 03c0 c023f4e5 bf8362ec 1c6fc335 1c0000f0 ce000799 00000080 00000000 00000000 [ 95.602780] 03e0 00000000 00000000 00000000 00000000 00000000 00000000 d7330780 00000000 [ 95.612031] 0400 00000cbc 00000900 00000000 00000000 00000000 00000000 0072c000 00000000 [ 95.621281] 0420 00000000 00000000 00000000 00000000 00000000 00000000 00000cbc 00000000 [ 95.630532] 0440 00000000 00000000 00000000 00000000 00000000 00000000 59f80000 00000000 [ 95.639782] 0460 00000000 00003001 bf838a04 00000002 31384142 00010001 00000008 00000000 [ 95.649036] [ 95.649036] R6: 0xd732ff80: [ 95.653836] ff80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.663086] ffa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.672336] ffc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.681586] ffe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.690836] 0000 01000000 00000000 00000002 00000000 00000000 00000000 00000000 00000000 [ 95.700086] 0020 00000000 00000000 00000000 00000000 00000000 0000013e f1fe8000 d72f9400 [ 95.709337] 0040 00000000 00000000 00000000 00000000 00000000 00000000 d68e3018 bf836a20 [ 95.718587] 0060 00000cbc 00000900 00000000 00000000 00000000 00000003 0072c000 00000003 [ 95.727840] [ 95.727840] R10: 0xd7330588: [ 95.732737] 0588 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.741988] 05a8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.751238] 05c8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.760488] 05e8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.769738] 0608 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 95.778989] 0628 00000000 00000000 00000000 00000009 00000017 00000000 00000000 00000008 [ 95.788239] 0648 d7330780 d6bcc280 bf8364b8 bf80cb00 bf811eec d73300f0 00000168 00002000 [ 95.797492] 0668 00000000 00000000 00000001 00000000 d7330678 d7330678 00000000 00000000 [ 95.806749] Process ls-p100 (pid: 801, stack limit = 0xd695c210) [ 95.813503] Stack: (0xd695dce0 to 0xd695e000) [ 95.818411] dce0: d7330000 00000900 d7330400 d7330000 3132434c 00000000 00000001 00000014 [ 95.827614] dd00: bf836996 bf8369aa 00000000 bf83016d 00000000 bf8304bb 00000000 00000000 [ 95.836818] dd20: 00000cbc 00000cbc 00000900 00000cbc 00000cbc 00000000 00000900 00000000 [ 95.846020] dd40: 00000000 00000000 00000000 00000002 00000000 00000000 00000002 d7330864 [ 95.855223] dd60: d7330000 00000001 00000006 bf833c89 00000000 00000005 d7330000 d73307a8 [ 95.864417] dd80: 00000002 bf833dab 00000000 00000000 d7330634 00000001 00000002 00000012 [ 95.873622] dda0: 00000000 d7330000 00000000 d6ab8600 d6bcc280 c04d2354 d695de4c d6ab8600 [ 95.882826] ddc0: 00000000 bf82f447 bf82f3ed 00000001 40045612 d73300f0 c0240539 c0243a9d [ 95.892030] dde0: d695ddf8 d7173040 d695c000 bf8362ec d6bcc280 d6bcc280 d70663f0 c0196d4b [ 95.901233] de00: c0196cc3 00000002 0000000a 14000000 00000000 00000000 00000000 40045612 [ 95.910437] de20: 00000000 00e823c0 d695de4c 00000000 00e823c0 c0243903 00000001 d6ab8600 [ 95.919641] de40: c02439bd 00000000 d6978800 00000009 d685ff8c 20000013 00000001 00000001 [ 95.928845] de60: 00000004 be8fa900 00000000 c003cc97 00000004 00000001 d685fe00 00000001 [ 95.938048] de80: 00000001 d69b0848 00000001 c018f103 00000001 c0191671 00000000 00000000 [ 95.947251] dea0: 00000013 d69b0848 00000013 00000000 00000002 d70af728 d695ded8 c018f159 [ 95.956455] dec0: 00000000 c0093f23 00000000 00040976 10000000 d73300f0 d7330780 40045612 [ 95.965659] dee0: d6ab8600 00e823c0 d695c000 00000000 00000000 c023f84f 00e823c0 d6938650 [ 95.974864] df00: d6ab8600 00000004 00e823c0 c009e50f 00002000 c009e639 be8fa8ff 00000001 [ 95.984067] df20: 00000001 d6531188 00000001 c004ec59 00000000 00000000 00000000 00000000 [ 95.993271] df40: 00000000 d6531188 d69b0840 c00a54c1 00000000 d69b0841 be8fa8c8 00000002 [ 96.002476] df60: d6ab8600 c00a54c1 00004000 00000004 d6ab8601 d6ab8600 40045612 00e823c0 [ 96.011680] df80: d695c000 00000000 00000000 c009ec5f 00e823b0 00e823b0 00000900 00000036 [ 96.020884] dfa0: c000d604 c000d421 00e823b0 00e823b0 00000004 40045612 00e823c0 be8fa910 [ 96.030088] dfc0: 00e823b0 00e823b0 00000900 00000036 00000000 00000000 be8fad44 00000000 [ 96.039292] dfe0: 00029f40 be8fa8f8 00016118 b6f46440 60000010 00000004 00000000 00000000 [ 96.048692] [<bf830006>] (vin_set_addr [vin_v4l2]) from [<bf83016d>] (vin_set_next_buf_addr+0x2c/0x2e [vin_v4l2]) [ 96.060420] [<bf83016d>] (vin_set_next_buf_addr [vin_v4l2]) from [<bf8304bb>] (vin_subdev_s_stream+0x34c/0x3c2 [vin_v4l2]) [ 96.073024] [<bf8304bb>] (vin_subdev_s_stream [vin_v4l2]) from [<bf833c89>] (vin_remove+0x10a/0x13a [vin_v4l2]) [ 96.084555] [<bf833c89>] (vin_remove [vin_v4l2]) from [<bf833dab>] (__vin_pipeline_s_stream+0xf2/0x25c [vin_v4l2]) [ 96.096377] [<bf833dab>] (__vin_pipeline_s_stream [vin_v4l2]) from [<bf82f447>] (vidioc_streamon+0x5a/0x98 [vin_v4l2]) [ 96.108514] [<bf82f447>] (vidioc_streamon [vin_v4l2]) from [<c0243a9d>] (__video_do_ioctl+0xe1/0x198) [ 96.118903] [<c0243a9d>] (__video_do_ioctl) from [<c0243903>] (video_usercopy+0x28f/0x33c) [ 96.128209] [<c0243903>] (video_usercopy) from [<c023f84f>] (v4l2_ioctl+0x57/0x68) [ 96.136734] [<c023f84f>] (v4l2_ioctl) from [<c009e50f>] (vfs_ioctl+0x11/0x1e) [ 96.144770] [<c009e50f>] (vfs_ioctl) from [<c009e639>] (do_vfs_ioctl+0x61/0x664) [ 96.153097] [<c009e639>] (do_vfs_ioctl) from [<c009ec5f>] (SyS_ioctl+0x23/0x3c) [ 96.161329] [<c009ec5f>] (SyS_ioctl) from [<c000d421>] (ret_fast_syscall+0x1/0x54) [ 96.169851] Code: f895 807a f7d0 f835 (6803) 9a01 [ 96.175618] ---[ end trace 36331293414b4002 ]---
-
读取的CMOS图片高度呗压缩了怎么调
用的平台是V536,输出的图片感觉被压缩了,底部多出黑色区域。发现调节top_clk和isp_clk有影响,但是一直找不到合适的值,请问怎么修改
-
TinaLinux 4.9如何在应用层更改MIPI-CSI的lane
因为特殊原因,分辨率比较多,数据量较小的配置V536使用4lane一直纯在接收问题,这种情况想配置为2lane,请问应用层怎么动态的更改lane数
-
回复: V536H画板更改DDR和eMMC软件层面要做更改吗?
@yuzukitsuru 都是兼容列表里的物料,因为工作温度不合适就做了变更,那eMMC软件上需要更改吗 容量变了
-
求全志的兄弟们拉一把-----CMOS图像输出字节数不对
平台V536
我设置的宽:906, 高640, 输出的图像长度却是583680,
总线格式:MEDIA_BUS_FMT_SBGGR8_1X8
像素格式:V4L2_PIX_FMT_SBGGR8
驱动中有这个尺寸的配置{ .width = 906, .height = 640, .hoffset = 0, //1488, .voffset = 0, //1834, .hts = 3824, //7421, /* line_length_pck TODO:*/ .vts = 784, /* frame_length_lines,与寄存器的值要一致 */ .pclk = 64 * 1000 * 1000, /* mipi_bps = hts * vts * fps * raw bit / lane num */ .mipi_bps = 368 * 1000 * 1000, // TODO: /* 定义帧率, fps * hts * vts = pclk */ .fps_fixed = 21, .bin_factor = 1, .intg_min = 4 << 4, .intg_max = 784 << 4, .gain_min = 1 << 4, // TODO: .gain_max = 16 << 4, // TODO: .regs = sensor_906_640_regs, .regs_size = ARRAY_SIZE(sensor_906_640_regs), .set_size = NULL, .wdr_mode = ISP_NORMAL_MODE, /*.top_clk = 310000000,*/ .isp_clk = 384000000, },
快接近出图了 麻烦全志的兄弟们拉一把 就能上岸了
-
ISP报错
V536中ISP报错
[ 13.670223] [VIN_LOG_ISP]isp0 interrupt, status is 0x4142!!! [ 13.683232] [VIN_ERR]isp0 source0 fifo overflow [ 13.688322] [VIN_ERR]isp0 BIS fifo overflow [ 13.693023] [VIN]isp0 reset!!!
-
V536 mipi相关参数在哪里修改
( 图片地址)
请问这个图片中MIPI相关参数,V536是否在范围内?
每个参数对应在sdk中应该怎么设置?
我现在只知道体格ths-settle对应sdk中的time_hs,但是又不知道这个变量的单位是什么?
请大佬 花几分钟指点一下。 -
求助:V536,如何dump MIPI-CSI相关寄存器
我现在是CMOS有数据,但是无论如何调整参数就是无法进入vin_isr中断,请问怎么把MIPI的相关寄存器读出来,看看具体是哪里的问题?
-
tina linux文件系统创建用户
我在
创建了用户得目录jamo在 创建用户
请问在哪个目录执行
chown jamo jamo/
不然生成得镜像 第一次使用没有权限在/home/jamo/目录进行写操作。
不知道是不是有标准得方法在镜像中创建用户和用户目录呢?
-
关于Tina Linux CMOS驱动目录的问题
lichee/linux-4.9/drivers/media/i2c/和
lichee/linux-4.9/drivers/media/platform/sunxi-vin/modules/sensor/目录下的CMOS驱动有啥区别?前者是标准的基于V4L2的驱动,后者是基于VIN的?
新写的驱动参考哪个目录下的实现? -
关于并口转MIPI的一些问题
这个问题虽说跟全志关系不大,但是想在这里寻求一些帮助。
我们现在用的摄像头是1000万并口输出,但是V536并口只能接收500万,所以我们加了桥接芯片(东芝TC358748)转换成MIPI信号再给V536。因为之前没搞过,现在有下面的这些问题,希望大家能给一些资料参考或者思路。-
- 桥接驱动和我用的CMOS,在物理连接上我清楚,但是在软件架构上跟VIN(V4L2)配合就有点模糊了。我看到现在的SDK中有一个HDMI转CSI的驱动代码,好像完全是作为一个CMOS驱动来实现的。那在应用层比如说我想更改一个分辨率,那这个控制流程是怎样的?
如下图:
- 1 配置的参数从应用层,经过V4L2给bridge设置参数,然后bridge再给CMOS设置;
- 2 与上述过程相反;
- 3 两个配置是独立过程。参数过来之后分别给两个驱动;
- 桥接驱动和我用的CMOS,在物理连接上我清楚,但是在软件架构上跟VIN(V4L2)配合就有点模糊了。我看到现在的SDK中有一个HDMI转CSI的驱动代码,好像完全是作为一个CMOS驱动来实现的。那在应用层比如说我想更改一个分辨率,那这个控制流程是怎样的?
-
- 按照我的理解,若是裸机的情况下,只需要给bridge通过I2C配置参数就可以了。但现在要跟V4L2配合,那这个驱动中除了完成I2C部分的功能外,还需要完成哪些功能(接口、参数等)。
-
- 调试建议?
-
-
回复: tina linux怎么把摄像头的接口由mipi改为hispi
@yuzukitsuru 没找到你说的,我目前找到的关于hispi的撇脂只有这个
static int sensor_g_mbus_config(struct v4l2_subdev *sd, struct v4l2_mbus_config *cfg) { struct sensor_info *info = to_state(sd); cfg->type = V4L2_MBUS_HISPI; if (info->isp_wdr_mode == ISP_DOL_WDR_MODE) cfg->flags = 0 | V4L2_MBUS_SUBLVDS_4_LANE | V4L2_MBUS_CSI2_CHANNEL_0 | V4L2_MBUS_CSI2_CHANNEL_1; else cfg->flags = 0 | V4L2_MBUS_SUBLVDS_4_LANE | V4L2_MBUS_CSI2_CHANNEL_0; return 0; }
-
回复: tina linux怎么把摄像头的接口由mipi改为hispi
@yuzukitsuru 这位大哥 你把我说迷糊了。首先V536支持HiSPi,其次难道你的意思是V536上面MIPI和HiSPi不是共用引脚吗?
-
回复: tina linux怎么把摄像头的接口由mipi改为hispi
@yuzukitsuru 啥意思 还要转接芯片?我现在用的CMOS模组就是MT9J003,这个CMOS是HISPI输出,开发板是用imx317,由imx317切换到MT9J003,我按照Tina Linux Camera
开发指南.pdf 上面说的进行了修改,但是这个上面没有描述修改到HISPI的内容 -
回复: starting kernel之后没有log输出
@honey130602 解决了,忘了复制lichee/linux-4.9/arch/arm/boot/dts/sun8iw16p1-v536-Inomec_SBC.dts
-
starting kernel之后没有log输出
starting kernel之后串口终端没有log输出,但是进入adb shell看系统是启动了。请问这个怎么解决。
我得板子是V536,我在target新创建了一个 ,device目录下也进行了相应得修改,请问是哪里漏掉了吗 -
摄像头模组有四个增益,驱动中怎么处理
我看源代码中处理增益是实现这个接口,可以我的camera有四个增益寄存器有分别配置,请怎么这个接口能处理吗?应该如何实现
int sensor_s_gain(struct v4l2_subdev *sd, unsigned int gain_val)
-
回复: 谁能帮我解释一下[vind0/sensor0]中的参数什么意思
@yteraa 在 谁能帮我解释一下[vind0/sensor0]中的参数什么意思 中说:
口,而要用spi的功能,这里引脚
谢谢,理解你说的,但是我还是没对上来。首先camera也不支持SPI。
在sys_config.fex,中也没有配置spi3_used = 1。但是在lichee/linux-4.9/arch/arm/boot/dts/sun8iw16p1-pinctrl.dtsi中我看到了下面这个配置csi_cci0_pins_a: csi_cci0@0 { allwinner,pins = "PI5", "PI6"; allwinner,pname = "csi_cci0_sck", "csi_cci0_sda"; allwinner,function = "csi_cci0"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; csi_cci0_pins_b: csi_cci0@1 { allwinner,pins = "PI5", "PI6"; allwinner,pname = "csi_cci0_sck", "csi_cci0_sda"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; };
请问以哪个为准呢?
还有一点,PI5 PI6看excel表格都没有复用功能7,这里怎么配置为allwinner,muxsel = <7>;
新手,感谢指导
-
回复: 谁能帮我解释一下[vind0/sensor0]中的参数什么意思
@yteraa 另外多问一个[vind0/csi_cci0]中的csi_cci0_used应该配置为1还是0,结合文档和原理图应该是配置为1,但是给的代码配置为0,把我整疑惑了
-
谁能帮我解释一下[vind0/sensor0]中的参数什么意思
下面的这些参数,我把我能理解的都去掉了,有些似懂非懂。
[vind0/sensor0] sensor0_used = 1 sensor0_twi_cci_id = 0 sensor0_mclk_id = 0 sensor0_isp_used = 0 sensor0_fmt = 1 sensor0_stby_mode = 1 sensor0_iovdd = "iovdd-csi" ;有哪些选择 sensor0_power_en = sensor0_reset = port:PI3<0><0><1><0> sensor0_pwdn = port:PI4<0><0><1><0> sensor0_sm_hs = port:PI0<1><0><1><0> sensor0_sm_vs = port:PI1<1><0><1><0>
-
.fex文件是在哪解析的
我想看device/config/chips/v536/configs/Lindenis_SBC/sys_config.fex里面的camera配置在哪解析 没搜索到。这个不想设备树在c代码里面读属性吗?
-
V536 Tina Linux camerademo运行报错
我ISP已经关闭,但是还是打印ISP的错误log,log截取如下,主要是两个
[ISP_WARN]open /mnt/isp0_ctx_saved.bin failed!!!
和
[ISP_ERR] func: isp_set_table1_map, line: 223,VIDIOC_VIN_ISP_TABLE_MAPPING error!麻烦问一下是怎么回事?
[ISP]register sensor entity is imx317_mipi [ISP]open isp device[0] success! [ISP_WARN]open /mnt/isp0_ctx_saved.bin failed!!! [ISP]find imx317_mipi_3840_2160_30_0 isp config [ISP]create isp0 server thread! [CAMERA] capture num is [0] [CAMERA_DEBUG]*****DQBUF[0] FINISH***** [CAMERA_PROMPT] the time interval from the start to the first frame is 22 ms [CAMERA_DEBUG] the interval of two frames is 0 ms write file:/tmp/source_YUV422P_1.yuv [ISP_ERR] func: isp_set_table1_map, line: 223,VIDIOC_VIN_ISP_TABLE_MAPPING error! [ISP_ERR] func: isp_set_table2_map, line: 234,VIDIOC_VIN_ISP_TABLE_MAPPING error! [ISP_ERR] func: isp_set_table1_map, line: 223,VIDIOC_VIN_ISP_TABLE_MAPPING error! [ISP_ERR] func: isp_set_table2_map, line: 234,VIDIOC_VIN_ISP_TABLE_MAPPING error! [ISP_ERR] func: isp_set_table1_map, line: 223,VIDIOC_VIN_ISP_TABLE_MAPPING error! [ISP_ERR] func: isp_set_table2_map, line: 234,VIDIOC_VIN_ISP_TABLE_MAPPING error! [CAMERA_DEBUG]************QBUF[0] FINISH************** [CAMERA] capture num is [1] [CAMERA_DEBUG]*****DQBUF[1] FINISH***** [CAMERA_DEBUG] the interval of two frames is 100 ms write file:/tmp/source_YUV422P_2.yuv [ISP_ERR] func: isp_set_table1_map, line: 223,VIDIOC_VIN_ISP_TABLE_MAPPING error! [ISP_ERR] func: isp_set_table2_map, line: 234,VIDIOC_VIN_ISP_TABLE_MAPPING error! [ISP_ERR] func: isp_set_table1_map, line: 223,VIDIOC_VIN_ISP_TABLE_MAPPING error! [ISP_ERR] func: isp_set_table2_map, line: 234,VIDIOC_VIN_ISP_TABLE_MAPPING error! [CAMERA_DEBUG]************QBUF[1] FINISH************** [CAMERA] capture num is [2] [ISP_ERR] func: isp_set_table1_map, line: 223,VIDIOC_VIN_ISP_TABLE_MAPPING error! [ISP_ERR] func: isp_set_table2_map, line: 234,VIDIOC_VIN_ISP_TABLE_MAPPING error! [CAMERA_DEBUG]*****DQBUF[2] FINISH***** [CAMERA_DEBUG] the interval of two frames is 100 ms write file:/tmp/source_YUV422P_3.yuv [ISP_ERR] func: isp_set_table1_map, line: 223,VIDIOC_VIN_ISP_TABLE_MAPPING error! [ISP_ERR] func: isp_set_table2_map, line: 234,VIDIOC_VIN_ISP_TABLE_MAPPING error! [ISP_ERR] func: isp_set_table1_map, line: 223,VIDIOC_VIN_ISP_TABLE_MAPPING error! [ISP_ERR] func: isp_set_table2_map, line: 234,VIDIOC_VIN_ISP_TABLE_MAPPING error! [ISP_ERR] func: isp_set_table1_map, line: 223,VIDIOC_VIN_ISP_TABLE_MAPPING error! [ISP_ERR] func: isp_set_table2_map, line: 234,VIDIOC_VIN_ISP_TABLE_MAPPING error! [CAMERA_DEBUG]************QBUF[2] FINISH**************
-
回复: 这个目录下的sample是怎么编译的
咨询了板子厂家, 需要在softwinner/eyesee-mpp/middleware/v316/tina.mk中修改,把相应sample前面的#去掉即可,编译结果存放在各个sample自己的目录下
-
回复: 这个目录下的sample是怎么编译的
@yteraa 在 这个目录下的sample是怎么编译的 中说:
eyesee-mpp\middleware\
好像没有这个目录
#/softwinner/eyesee-mpp/middleware/v316/sample$ ls Readme.txt sample_ai sample_ao2ai sample_demux2vdec2vo sample_glog sample_timelapse sample_virvi sample_virvi2venc2muxer configfileparser sample_ai2aenc sample_demux sample_demux2vdec_saveFrame sample_hello sample_uvcout sample_virvi2eis2venc sample_virvi2vo sample_UVC sample_ai2aenc2muxer sample_demux2adec sample_face_detect sample_region sample_vdec sample_virvi2fish2venc sample_vo sample_adec sample_ai2ao sample_demux2adec2ao sample_fish sample_rtsp sample_venc sample_virvi2fish2vo sample_aenc sample_ao sample_demux2vdec sample_g2d sample_select sample_venc2muxer sample_virvi2venc
-
回复: 这个目录下的sample是怎么编译的
@yteraa 编译生成的文件在哪里?我编译sample_vo,只在out/v536-Lindenis_SBC/compile_dir/target/eyesee-mpp-middleware/eyesee-mpp-middleware/media/目录找到一个libmpp_vo.so
-
这个目录下的sample是怎么编译的
这个路径下的各种sample是怎么编译的,softwinner/eyesee-mpp/middleware/v316/sample/
看不懂.mk文件 恳请帮助
-
tina linux bug反馈
lichee/linux-4.9/drivers/media/platform/sunxi-vin/vin-video/vin_video.c
static int vin_close(struct file *file) { struct vin_core *vinc = video_drvdata(file); struct vin_md *vind = dev_get_drvdata(vinc->v4l2_dev->dev); struct vin_vid_cap *cap = &vinc->vid_cap; struct modules_config *module = &vind->modules[vinc->sensor_sel]; int valid_idx = module->sensors.valid_idx; int ret; if (!vin_busy(cap)) { vin_warn("video%d have been closed!\n", vinc->id); return 0; } if (vin_streaming(cap)) vin_timer_del(vinc); #if 0 // cause kernel NULL pointer mutex_lock(&cap->vdev.entity.graph_obj.mdev->graph_mutex); if (!cap->pipe.sd[VIN_IND_SENSOR]->entity.use_count) { vin_err("%s is not used, video%d cannot be close!\n", cap->pipe.sd[VIN_IND_SENSOR]->name, vinc->id); mutex_unlock(&cap->vdev.entity.graph_obj.mdev->graph_mutex); return -1; } #endif if (vin_streaming(cap)) { clear_bit(VIN_STREAM, &cap->state); vin_pipeline_call(vinc, set_stream, &cap->pipe, 0); vb2_ioctl_streamoff(file, NULL, V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE); }
这个位置的代码会造成系统崩溃
mutex_lock(&cap->vdev.entity.graph_obj.mdev->graph_mutex); if (!cap->pipe.sd[VIN_IND_SENSOR]->entity.use_count) { vin_err("%s is not used, video%d cannot be close!\n", cap->pipe.sd[VIN_IND_SENSOR]->name, vinc->id); mutex_unlock(&cap->vdev.entity.graph_obj.mdev->graph_mutex); return -1; }