您尚未登录。

楼主 # 2022-07-11 23:02:56

liefyuan
会员
注册时间: 2021-05-30
已发帖子: 70
积分: 96

Lichee Pi Zero Dock使用OV2640照片出现横纹,请教是怎么回事啊?

这是开发板:
360截图17860605366643.png

这是拍的照片:
fswebcam2.jpg

fswebcam.jpg

不知道为啥

这是上电信息:

U-Boot SPL 2017.01-rc2 (May 31 2022 - 23:43:42)
DRAM: 64 MiB
Trying to boot from MMC1

U-Boot 2017.01-rc2 (May 31 2022 - 23:43:42 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2 (May 31 2022 - 23:43:42 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
282 bytes read in 15 ms (17.6 KiB/s)
## Executing script at 41900000
reading zImage
4152248 bytes read in 213 ms (18.6 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
12748 bytes read in 26 ms (478.5 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42df9000, end 42dff1cb ... OK
Cannot setup simplefb: node not found

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.0-licheepi-zero (liefyuan@ubuntu) (gcc version 4.9.4 (Linaro GCC 4.9-2017.01)) #7 SMP Sun Jul 10 23:54:29 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 instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu s34560 r8192 d22784 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10 earlyprintk rw
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 55060K/65536K available (6144K kernel code, 289K rwdata, 1668K rodata, 1024K init, 252K bss, 10476K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x2f8/0x48c 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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000020] Switching to timer-based delay loop, resolution 41ns
[    0.000228] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000469] Console: colour dummy device 80x30
[    0.000527] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000543] pid_max: default: 32768 minimum: 301
[    0.000706] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000723] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001540] CPU: Testing write buffer coherency: ok
[    0.002065] /cpus/cpu@0 missing clock-frequency property
[    0.002091] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002865] Setting up static identity map for 0x40100000 - 0x40100060
[    0.003067] rcu: Hierarchical SRCU implementation.
[    0.003600] smp: Bringing up secondary CPUs ...
[    0.003620] smp: Brought up 1 node, 1 CPU
[    0.003631] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003638] CPU: All CPU(s) started in SVC mode.
[    0.004731] devtmpfs: initialized
[    0.008355] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.008673] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008707] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.008958] pinctrl core: initialized pinctrl subsystem
[    0.010119] NET: Registered protocol family 16
[    0.010644] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.011877] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.011896] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.035896] SCSI subsystem initialized
[    0.036087] usbcore: registered new interface driver usbfs
[    0.036143] usbcore: registered new interface driver hub
[    0.036244] usbcore: registered new device driver usb
[    0.036468] mc: Linux media interface: v0.10
[    0.036511] videodev: Linux video capture interface: v2.00
[    0.036763] Advanced Linux Sound Architecture Driver Initialized.
[    0.038053] clocksource: Switched to clocksource arch_sys_counter
[    0.050341] NET: Registered protocol family 2
[    0.051201] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.051241] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051266] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.051290] TCP: Hash tables configured (established 1024 bind 1024)
[    0.051440] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.051494] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.051802] NET: Registered protocol family 1
[    0.053725] Initialise system trusted keyrings
[    0.054109] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.091272] Key type asymmetric registered
[    0.091296] Asymmetric key parser 'x509' registered
[    0.091406] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.091421] io scheduler mq-deadline registered
[    0.091428] io scheduler kyber registered
[    0.092459] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.096291] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.096754] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.166691] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.170275] printk: console [ttyS0] disabled
[    0.190590] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 37, base_baud = 1500000) is a U6_16550A
[    0.697387] printk: console [ttyS0] enabled
[    0.726788] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.733418] ehci-platform: EHCI generic platform driver
[    0.738954] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.744568] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.752572] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.788066] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.795292] hub 1-0:1.0: USB hub found
[    0.799257] hub 1-0:1.0: 1 port detected
[    0.803893] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.810221] ohci-platform: OHCI generic platform driver
[    0.815766] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.822488] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.830449] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    0.903194] hub 2-0:1.0: USB hub found
[    0.907034] hub 2-0:1.0: 1 port detected
[    0.914422] usbcore: registered new interface driver usb-storage
[    0.921753] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    0.931087] sun6i-rtc 1c20400.rtc: registered as rtc0
[    0.936152] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.940900] i2c /dev entries driver
[    0.945888] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    0.954922] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[    0.968452] ov2640 1-0030: ov2640 Product ID 26:42 Manufacturer ID 7f:a2
[    0.975168] i2c i2c-1: OV2640 Probed
[    0.981689] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.990407] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.026889] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.034207] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    1.069001] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.077099] usbcore: registered new interface driver usbhid
[    1.082771] usbhid: USB HID core driver
[    1.088984] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.096488] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.104062] Initializing XFRM netlink socket
[    1.108497] NET: Registered protocol family 17
[    1.113596] Registering SWP/SWPB emulation handler
[    1.119687] Loading compiled-in X.509 certificates
[    1.131401] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.142898] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.148746] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.158394] hub 3-0:1.0: USB hub found
[    1.162325] hub 3-0:1.0: 1 port detected
[    1.168978] debugfs: Directory '1c22c00.codec' with parent 'V3s Audio Codec' already present!
[    1.177526] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory: -17
[    1.187621] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.196406] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:00:05 UTC (5)
[    1.204748] vcc5v0: disabling
[    1.207725] ALSA device list:
[    1.210756]   #0: V3s Audio Codec
[    1.214665] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.223303] Waiting for root device /dev/mmcblk0p2...
[    1.228784] mmc0: new high speed SDHC card at address 1234
[    1.236073] mmcblk0: mmc0:1234 SA32G 29.1 GiB
[    1.243135]  mmcblk0: p1 p2
[    1.251711] mmc1: new high speed SDIO card at address 0001
[    1.272495] random: fast init done
[    1.292832] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.301113] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.308957] devtmpfs: mounted
[    1.313137] Freeing unused kernel memory: 1024K
[    1.317812] Run /sbin/init as init process
[    1.439444] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting mdev... OK
modprobe: can't change directory to '5.2.0-licheepi-zero': No such file or directory
Initializing random number generator: OK
Saving random seed: [    2.871613] random: dd: uninitialized urandom read (512 bytes read)
OK
Starting system message bus: [    2.935508] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
[    2.942911] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
done
Starting network: OK
Starting dhcpcd...
no valid interfaces found
no interfaces have a carrier
forked to background, child pid 149
# [   46.968136] random: crng init done
[   46.971564] random: 2 urandom warning(s) missed due to ratelimiting
fswebcam -S 20 -d /dev/video0 -p UYVY -r 800x600 --dumpframe dump.bin fswebcam
.jpg
--- Opening /dev/video0...
Trying source module v4l2...[   57.844044] sun6i-csi 1cb4000.csi: Unsupported pixformat: 0x59565955, defaulting to YUYV

/dev/video0 opened.
No input was specified, using the first.
--- Capturing frame...
Skipping 20 frames...
Capturing 1 frames...
Dumping raw frame to 'dump.bin'...
Captured 21 frames in 1.37 seconds. (15 fps)
--- Processing captured image...
Unable to load font 'sans': Could not find/open font
Disabling the the banner.
Writing JPEG image to 'fswebcam.jpg'.
# fswebcam -S 20 -d /dev/video0 -p UYVY -r 800x600 --dumpframe dump.bin fswebcam
.jpg
--- Opening /dev/video0...
Trying source module v4l2...[   68.149654] sun6i-csi 1cb4000.csi: Unsupported pixformat: 0x59565955, defaulting to YUYV

/dev/video0 opened.
No input was specified, using the first.
--- Capturing frame...
Skipping 20 frames...
Capturing 1 frames...
Dumping raw frame to 'dump.bin'...
Captured 21 frames in 1.37 seconds. (15 fps)
--- Processing captured image...
Unable to load font 'sans': Could not find/open font
Disabling the the banner.
Writing JPEG image to 'fswebcam.jpg'.
# fswebcam -S 20 -d /dev/video0 -p UYVY -r 800x600 --dumpframe dump.bin fswebcam
.jpg
--- Opening /dev/video0...
Trying source module v4l2...[   75.053734] sun6i-csi 1cb4000.csi: Unsupported pixformat: 0x59565955, defaulting to YUYV

/dev/video0 opened.
No input was specified, using the first.
--- Capturing frame...
Skipping 20 frames...
Capturing 1 frames...
Dumping raw frame to 'dump.bin'...
Captured 21 frames in 1.37 seconds. (15 fps)
--- Processing captured image...
Unable to load font 'sans': Could not find/open font
Disabling the the banner.
Writing JPEG image to 'fswebcam.jpg'.
#
U-Boot SPL 2017.01-rc2 (May 31 2022 - 23:43:42)
DRAM: 64 MiB
Trying to boot from MMC1

U-Boot 2017.01-rc2 (May 31 2022 - 23:43:42 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2 (May 31 2022 - 23:43:42 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
282 bytes read in 15 ms (17.6 KiB/s)
## Executing script at 41900000
reading zImage
4152248 bytes read in 213 ms (18.6 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
12748 bytes read in 25 ms (497.1 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42df9000, end 42dff1cb ... OK
Cannot setup simplefb: node not found

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.0-licheepi-zero (liefyuan@ubuntu) (gcc version 4.9.4 (Linaro GCC 4.9-2017.01)) #7 SMP Sun Jul 10 23:54:29 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 instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu s34560 r8192 d22784 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10 earlyprintk rw
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 55060K/65536K available (6144K kernel code, 289K rwdata, 1668K rodata, 1024K init, 252K bss, 10476K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x2f8/0x48c 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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000219] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000463] Console: colour dummy device 80x30
[    0.000521] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000537] pid_max: default: 32768 minimum: 301
[    0.000699] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000715] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001535] CPU: Testing write buffer coherency: ok
[    0.002063] /cpus/cpu@0 missing clock-frequency property
[    0.002092] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002878] Setting up static identity map for 0x40100000 - 0x40100060
[    0.003091] rcu: Hierarchical SRCU implementation.
[    0.003643] smp: Bringing up secondary CPUs ...
[    0.003664] smp: Brought up 1 node, 1 CPU
[    0.003674] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003682] CPU: All CPU(s) started in SVC mode.
[    0.004776] devtmpfs: initialized
[    0.008401] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.008724] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008759] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.009005] pinctrl core: initialized pinctrl subsystem
[    0.010157] NET: Registered protocol family 16
[    0.010680] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.011910] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.011929] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.035881] SCSI subsystem initialized
[    0.036070] usbcore: registered new interface driver usbfs
[    0.036129] usbcore: registered new interface driver hub
[    0.036231] usbcore: registered new device driver usb
[    0.036458] mc: Linux media interface: v0.10
[    0.036498] videodev: Linux video capture interface: v2.00
[    0.036744] Advanced Linux Sound Architecture Driver Initialized.
[    0.038029] clocksource: Switched to clocksource arch_sys_counter
[    0.050310] NET: Registered protocol family 2
[    0.051157] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.051199] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051225] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.051248] TCP: Hash tables configured (established 1024 bind 1024)
[    0.051402] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.051457] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.051762] NET: Registered protocol family 1
[    0.053679] Initialise system trusted keyrings
[    0.054059] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.091500] Key type asymmetric registered
[    0.091526] Asymmetric key parser 'x509' registered
[    0.091633] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.091645] io scheduler mq-deadline registered
[    0.091652] io scheduler kyber registered
[    0.092677] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.096494] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.096947] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.166811] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.170359] printk: console [ttyS0] disabled
[    0.190675] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 37, base_baud = 1500000) is a U6_16550A
[    0.697467] printk: console [ttyS0] enabled
[    0.726835] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.733468] ehci-platform: EHCI generic platform driver
[    0.739009] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.744621] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.752620] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.788042] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.795274] hub 1-0:1.0: USB hub found
[    0.799236] hub 1-0:1.0: 1 port detected
[    0.803852] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.810176] ohci-platform: OHCI generic platform driver
[    0.815720] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.822444] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.830403] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    0.903161] hub 2-0:1.0: USB hub found
[    0.907004] hub 2-0:1.0: 1 port detected
[    0.914380] usbcore: registered new interface driver usb-storage
[    0.921718] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    0.931036] sun6i-rtc 1c20400.rtc: registered as rtc0
[    0.936100] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.940839] i2c /dev entries driver
[    0.945842] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    0.954878] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[    0.968412] ov2640 1-0030: ov2640 Product ID 26:42 Manufacturer ID 7f:a2
[    0.975127] i2c i2c-1: OV2640 Probed
[    0.981620] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.990338] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.026817] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.034131] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    1.068920] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.077024] usbcore: registered new interface driver usbhid
[    1.082689] usbhid: USB HID core driver
[    1.088904] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.096408] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.103964] Initializing XFRM netlink socket
[    1.108405] NET: Registered protocol family 17
[    1.113508] Registering SWP/SWPB emulation handler
[    1.119590] Loading compiled-in X.509 certificates
[    1.131306] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.142794] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.148643] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.158403] hub 3-0:1.0: USB hub found
[    1.162349] hub 3-0:1.0: 1 port detected
[    1.168939] debugfs: Directory '1c22c00.codec' with parent 'V3s Audio Codec' already present!
[    1.177486] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory: -17
[    1.187591] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.194969] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.204504] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:00:05 UTC (5)
[    1.212839] vcc5v0: disabling
[    1.215819] ALSA device list:
[    1.218854]   #0: V3s Audio Codec
[    1.223054] mmc0: new high speed SDHC card at address 1234
[    1.230868] mmcblk0: mmc0:1234 SA32G 29.1 GiB
[    1.237766]  mmcblk0: p1 p2
[    1.248624] mmc1: new high speed SDIO card at address 0001
[    1.263521] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.271844] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.279806] devtmpfs: mounted
[    1.283992] Freeing unused kernel memory: 1024K
[    1.288856] Run /sbin/init as init process
[    1.410293] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting syslogd: [    1.492741] random: fast init done
OK
Starting klogd: OK
Running sysctl: OK
Starting mdev... OK
modprobe: can't change directory to '5.2.0-licheepi-zero': No such file or directory
Initializing random number generator: OK
Saving random seed: [    2.866104] random: dd: uninitialized urandom read (512 bytes read)
OK
Starting system message bus: [    2.926391] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
[    2.933820] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
done
Starting network: OK
Starting dhcpcd...
no valid interfaces found
no interfaces have a carrier
forked to background, child pid 149
# fswebcam -S 20 -d /dev/video0 -p UYVY -r 800x600 --dumpframe dump.bin fswebcam
.jpg
--- Opening /dev/video0...
Trying source module v4l2...[   32.431306] sun6i-csi 1cb4000.csi: Unsupported pixformat: 0x59565955, defaulting to YUYV

/dev/video0 opened.
No input was specified, using the first.
--- Capturing frame...
Skipping 20 frames...
Capturing 1 frames...
Dumping raw frame to 'dump.bin'...
Captured 21 frames in 1.37 seconds. (15 fps)
--- Processing captured image...
Unable to load font 'sans': Could not find/open font
Disabling the the banner.
Writing JPEG image to 'fswebcam.jpg'.
# fswebcam -S 20 -d /dev/video0 -p UYVY -r 800x600 --dumpframe dump.bin fswebcam
2.jpg
--- Opening /dev/video0...
Trying source module v4l2...[   42.573018] sun6i-csi 1cb4000.csi: Unsupported pixformat: 0x59565955, defaulting to YUYV

/dev/video0 opened.
No input was specified, using the first.
--- Capturing frame...
Skipping 20 frames...
Capturing 1 frames...
Dumping raw frame to 'dump.bin'...
Captured 21 frames in 1.37 seconds. (15 fps)
--- Processing captured image...
Unable to load font 'sans': Could not find/open font
Disabling the the banner.
Writing JPEG image to 'fswebcam2.jpg'.
# fswebcam -S 20 -d /dev/video0 -p UYVY -r 800x600 --dumpframe dump.bin fswebcam
5.jpg
--- Opening /dev/video0...
Trying source module v4l2...[   50.927005] sun6i-csi 1cb4000.csi: Unsupported pixformat: 0x59565955, defaulting to YUYV

/dev/video0 opened.
No input was specified, using the first.
--- Capturing frame...
Skipping 20 frames...
Capturing 1 frames...
Dumping raw frame to 'dump.bin'...
Captured 21 frames in 1.37 seconds. (15 fps)
--- Processing captured image...
Unable to load font 'sans': Could not find/open font
Disabling the the banner.
Writing JPEG image to 'fswebcam5.jpg'.
# fswebcam -S 20 -d /dev/video0 -p UYVY -r 800x600 --dumpframe dump.bin fswebcam
4.jpg
--- Opening /dev/video0...
Trying source module v4l2...[   64.615518] sun6i-csi 1cb4000.csi: Unsupported pixformat: 0x59565955, defaulting to YUYV

/dev/video0 opened.
No input was specified, using the first.
[   64.700752] random: crng init done
[   64.704178] random: 2 urandom warning(s) missed due to ratelimiting
--- Capturing frame...
Skipping 20 frames...
Capturing 1 frames...
Dumping raw frame to 'dump.bin'...
Captured 21 frames in 1.41 seconds. (14 fps)
--- Processing captured image...
Unable to load font 'sans': Could not find/open font
Disabling the the banner.
Writing JPEG image to 'fswebcam4.jpg'.
# fswebcam -S 20 -d /dev/video0 -p UYVY -r 800x600 --dumpframe dump.bin fswebcam
3.jpg
--- Opening /dev/video0...
Trying source module v4l2...[   73.945225] sun6i-csi 1cb4000.csi: Unsupported pixformat: 0x59565955, defaulting to YUYV

/dev/video0 opened.
No input was specified, using the first.
--- Capturing frame...
Skipping 20 frames...
Capturing 1 frames...
Dumping raw frame to 'dump.bin'...
Captured 21 frames in 1.37 seconds. (15 fps)
--- Processing captured image...
Unable to load font 'sans': Could not find/open font
Disabling the the banner.
Writing JPEG image to 'fswebcam3.jpg'.
# ls
bin                          media
dev                          mnt
dump.bin                     opt
etc                          proc
fswebcam.jpg                 root
fswebcam2.jpg                rootfs-bak-rtl8723bs.tar.gz
fswebcam3.jpg                run
fswebcam4.jpg                sbin
fswebcam5.jpg                sys
lib                          tmp
lib32                        usr
linuxrc                      var
#

离线

#1 2022-07-12 08:54:58

wuwuw
会员
注册时间: 2020-07-08
已发帖子: 18
积分: 31

Re: Lichee Pi Zero Dock使用OV2640照片出现横纹,请教是怎么回事啊?

建议,摄像头电源并两个20uF以上的电容,这个条纹干扰,基本都是电源干扰问题

离线

#2 2022-12-03 17:33:25

hess2022
会员
注册时间: 2022-10-27
已发帖子: 2
积分: 2

Re: Lichee Pi Zero Dock使用OV2640照片出现横纹,请教是怎么回事啊?

同样的问题,楼主解决了吗?

离线

#3 2022-12-07 16:24:55

navy
会员
注册时间: 2022-08-15
已发帖子: 10
积分: 5

Re: Lichee Pi Zero Dock使用OV2640照片出现横纹,请教是怎么回事啊?

请问楼主解决了吗

离线

#4 2022-12-07 16:45:40

health
会员
注册时间: 2021-02-23
已发帖子: 28
积分: 52.5

Re: Lichee Pi Zero Dock使用OV2640照片出现横纹,请教是怎么回事啊?

OV2640对电源要求质量要求较高。
涉及到布线,LDO纹波抑制比等,不注意的话就会有横纹干扰。
同一个板子,接GC0328图像就很稳定,接OV2640就满是横线乱飞。

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn