收到芒果大佬的库存 DVP与MIPI 双摄像头R11开发板
-
5寸IPS 800x480 电容触摸屏推荐: https://item.taobao.com/item.htm?id=625081551655
5寸IPS 800x480 电阻触摸屏推荐: https://item.taobao.com/item.htm?id=624199044282以上没有PY关系,仅推荐
以上没有PY关系,仅推荐
以上没有PY关系,仅推荐
R11核心板原理图和PCB: R11_M7-原理图和PCB.pdf
R11 核心板正面丝印: R11_M7-silk-T.pdf
R11 核心板背面丝印: R11_M7-silk-B.pdfR11核心板BOM表: R11_M7_BOM.xls
R11底板原理图: R11_KIT3.pdf
R11底板BOM表: R11_KIT3-BOM.xlsx
R11底板丝印图: R11_KIT3-silk.pdf
其他元器件手册:
SY7201A.pdf
PAM8301.pdf
NS2009_2018-06-21.PDF
AP6181.pdf
XC6206_超低功耗LDO.pdf
tps5430.pdf
其他参考链接:
全志R11核心板和底板(主要跑RTT和柿饼UI)
https://whycan.com/t_2683.html(V3s/S3/S3L/R11通吃)V3s开发板 u-boot/linux/buildroot测试
https://whycan.com/t_7248.htmlR11 资料、SDK、数据手册、硬件参考设计
https://bbs.aw-ol.com/topic/1313/share/1 -
待编辑 ----------
-
-
主线Linux玩法 : (编辑中)
-
Tina Linux玩法 : (编辑中)
-
buildroot 2020.02.4 补丁包(直接解压即可):
buildroot_20200204_mangopi_r11_kit4_src_patch_20220418_by_whycan.tar
make br2_mangopi_kit4_v3_ddr2_uart0_pb8_pb9_tfcard_spinor_defconfig make
生成固件:
-rw-r--r-- 1 whycan whycan 133169152 Apr 18 14:14 output/images/firmware-mangopi-kit4-v1-sdcard.img -rw-r--r-- 1 whycan whycan 15728640 Apr 18 14:14 output/images/firmware-mangopi-kit4-v1-spinor.img
调试串口日志:
U-Boot SPL 2021.07 (Apr 18 2022 - 13:25:04 +0800) DRAM: 64 MiB Trying to boot from sunxi SPI U-Boot 2021.07 (Apr 18 2022 - 13:25:04 +0800) Allwinner Technology CPU: Allwinner V3s (SUN8I 1681) Model: mangopi kit4 DRAM: 64 MiB MMC: mmc@1c0f000: 0 Loading Environment from nowhere... OK In: serial@1c28000 Out: serial@1c28000 Err: serial@1c28000 Net: No ethernet found. Hit any key to stop autoboot: 0 Card did not respond to voltage select! : -110 MMC Device 1 not found no mmc device at slot 1 SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB ========================= Boot Device: spi Boot Slot 0: empty Boot Slot 1: spi-nor ========================= DFU waiting on SPI-NOR... Unknown command 'dfu' - try 'help' Booting from SPI-NOR... SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB device 0 offset 0x70000, size 0x10000 SF: 65536 bytes @ 0x70000 Read: OK device 0 offset 0x80000, size 0x500000 SF: 5242880 bytes @ 0x80000 Read: OK Kernel image @ 0x40000000 [ 0x000000 - 0x499f30 ] ## Flattened Device Tree blob at 40700000 Booting using the fdt blob at 0x40700000 Loading Device Tree to 416f9000, end 416ff81c ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.70-mangopi (whycan@ubuntu) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)) #3 SMP Mon Apr 18 12:20:57 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: MANGOPI R11 KIT4 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 16 MiB at 0x42c00000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT [ 0.000000] percpu: Embedded 15 pages/cpu s30668 r8192 d22580 u61440 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk rootwait consoleblank=0 net.ifnames=0 biosdevname=0 root=/dev/mtdblock3 overlayfsdev=/dev/mtdblock4 [ 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: 36444K/65536K available (7168K kernel code, 422K rwdata, 1980K rodata, 1024K init, 254K bss, 12708K reserved, 16384K 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 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] GIC: GICv2 detected, but range too small and irqchip.gicv2_force_probe not set [ 0.000000] random: get_random_bytes called from start_kernel+0x2b4/0x44c with crng_init=0 [ 0.000000] arch_timer: 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.000012] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000029] Switching to timer-based delay loop, resolution 41ns [ 0.000439] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000889] Console: colour dummy device 80x30 [ 0.000997] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.001020] pid_max: default: 32768 minimum: 301 [ 0.001293] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.001315] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.001486] *** VALIDATE tmpfs *** [ 0.002507] *** VALIDATE proc *** [ 0.002791] *** VALIDATE cgroup1 *** [ 0.002815] *** VALIDATE cgroup2 *** [ 0.002843] CPU: Testing write buffer coherency: ok [ 0.003753] /cpus/cpu@0 missing clock-frequency property [ 0.003798] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.005110] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.005479] rcu: Hierarchical SRCU implementation. [ 0.006419] smp: Bringing up secondary CPUs ... [ 0.006452] smp: Brought up 1 node, 1 CPU [ 0.006464] SMP: Total of 1 processors activated (48.00 BogoMIPS). [ 0.006472] CPU: All CPU(s) started in HYP mode. [ 0.006478] CPU: Virtualization extensions available. [ 0.007578] devtmpfs: initialized [ 0.014063] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.014636] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.014680] futex hash table entries: 256 (order: 2, 16384 bytes, linear) [ 0.015951] pinctrl core: initialized pinctrl subsystem [ 0.018036] NET: Registered protocol family 16 [ 0.019888] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.022219] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.022248] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.049921] SCSI subsystem initialized [ 0.050632] usbcore: registered new interface driver usbfs [ 0.050741] usbcore: registered new interface driver hub [ 0.050874] usbcore: registered new device driver usb [ 0.051280] mc: Linux media interface: v0.10 [ 0.051341] videodev: Linux video capture interface: v2.00 [ 0.051396] pps_core: LinuxPPS API ver. 1 registered [ 0.051407] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.051436] PTP clock support registered [ 0.051767] Advanced Linux Sound Architecture Driver Initialized. [ 0.052835] Bluetooth: Core ver 2.22 [ 0.053001] NET: Registered protocol family 31 [ 0.053016] Bluetooth: HCI device and connection manager initialized [ 0.053051] Bluetooth: HCI socket layer initialized [ 0.053065] Bluetooth: L2CAP socket layer initialized [ 0.053106] Bluetooth: SCO socket layer initialized [ 0.055308] clocksource: Switched to clocksource arch_sys_counter [ 0.055866] *** VALIDATE ramfs *** [ 0.073086] thermal_sys: Registered thermal governor 'step_wise' [ 0.073756] NET: Registered protocol family 2 [ 0.074995] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.075056] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.075092] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.075122] TCP: Hash tables configured (established 1024 bind 1024) [ 0.075568] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.075658] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.076132] NET: Registered protocol family 1 [ 0.080267] Initialise system trusted keyrings [ 0.080886] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.091336] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.091879] utf8_selftest: All 154 tests passed [ 0.091894] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.092777] *** VALIDATE jffs2 *** [ 0.140604] Key type asymmetric registered [ 0.140637] Asymmetric key parser 'x509' registered [ 0.140800] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) [ 0.140820] io scheduler mq-deadline registered [ 0.140830] io scheduler kyber registered [ 0.140838] test_strscpy: loaded. [ 0.140869] test_strscpy: all 32 tests passed [ 0.149960] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 0.151009] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator [ 0.152221] pwm-backlight backlight: backlight supply power not found, using dummy regulator [ 0.332310] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.339735] printk: console [ttyS0] disabled [ 0.360213] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A [ 1.002418] printk: console [ttyS0] enabled [ 1.007957] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator [ 1.040170] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 35, base_baud = 1500000) is a U6_16550A [ 1.053207] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator [ 1.097032] panel-simple panel: panel supply power not found, using dummy regulator [ 1.107824] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator [ 1.120520] spi-nor spi0.0: w25q128 (16384 Kbytes) [ 1.125588] 5 fixed-partitions partitions found on MTD device spi0.0 [ 1.131943] Creating 5 MTD partitions on "spi0.0": [ 1.136809] 0x000000000000-0x000000070000 : "u-boot" [ 1.145432] 0x000000070000-0x000000080000 : "dtb" [ 1.153274] 0x000000080000-0x000000580000 : "kernel" [ 1.161597] 0x000000580000-0x000000f00000 : "rom" [ 1.169651] 0x000000f00000-0x000001100000 : "overlay" [ 1.174736] mtd: partition "overlay" extends beyond the end of device "spi0.0" -- size truncated to 0x100000 [ 1.189281] libphy: Fixed MDIO Bus: probed [ 1.194100] dwmac-sun8i 1c30000.ethernet: IRQ eth_wake_irq not found [ 1.200644] dwmac-sun8i 1c30000.ethernet: IRQ eth_lpi not found [ 1.206903] dwmac-sun8i 1c30000.ethernet: PTP uses main clock [ 1.212744] dwmac-sun8i 1c30000.ethernet: No regulator found [ 1.219386] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported [ 1.226760] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported [ 1.233984] dwmac-sun8i 1c30000.ethernet: COE Type 2 [ 1.238986] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported [ 1.245794] dwmac-sun8i 1c30000.ethernet: Normal descriptors [ 1.251451] dwmac-sun8i 1c30000.ethernet: Chain mode enabled [ 1.257152] dwmac-sun8i 1c30000.ethernet: device MAC address 7a:4b:e5:82:8a:e0 [ 1.264857] libphy: stmmac: probed [ 1.269528] dwmac-sun8i 1c30000.ethernet: Found internal PHY node [ 1.276089] libphy: mdio_mux: probed [ 1.279716] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY [ 1.286170] dwmac-sun8i 1c30000.ethernet: Powering internal PHY [ 1.392205] dwmac-sun8i 1c30000.ethernet: EMAC reset timeout [ 1.398125] dwmac-sun8i 1c30000.ethernet: Error: Failed to register MDIO bus for child /soc/ethernet@1c30000/mdio-mux/mdio@1 [ 1.409406] dwmac-sun8i 1c30000.ethernet: Error: No acceptable child buses found [ 1.416829] dwmac-sun8i 1c30000.ethernet: Failed to register mux [ 1.422853] dwmac-sun8i 1c30000.ethernet eth0: stmmac_dvr_remove: removing driver [ 1.456796] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.463353] ehci-platform: EHCI generic platform driver [ 1.469255] ehci-platform 1c1a000.usb: EHCI Host Controller [ 1.474963] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 1.483441] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000 [ 1.515282] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 1.523185] hub 1-0:1.0: USB hub found [ 1.527287] hub 1-0:1.0: 1 port detected [ 1.532266] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.538732] ohci-platform: OHCI generic platform driver [ 1.544533] ohci-platform 1c1a400.usb: Generic Platform OHCI controller [ 1.551358] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2 [ 1.559801] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400 [ 1.643793] hub 2-0:1.0: USB hub found [ 1.647897] hub 2-0:1.0: 1 port detected [ 1.653067] usbcore: registered new interface driver usb-storage [ 1.660153] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator [ 1.672418] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver [ 1.678386] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3 [ 1.688198] hub 3-0:1.0: USB hub found [ 1.692094] hub 3-0:1.0: 1 port detected [ 1.699343] mousedev: PS/2 mouse device common for all mice [ 1.705839] i2c /dev entries driver [ 1.713507] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.722925] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator [ 1.761046] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB [ 1.785176] mmc0: queuing unknown CIS tuple 0x80 (2 bytes) [ 1.792333] mmc0: queuing unknown CIS tuple 0x80 (3 bytes) [ 1.797958] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB [ 1.805466] sun8i-v3s-pinctrl 1c20800.pinctrl: pin PC0 already requested by 1c68000.spi; cannot claim for 1c11000.mmc [ 1.816141] sun8i-v3s-pinctrl 1c20800.pinctrl: pin-64 (1c11000.mmc) status -22 [ 1.823366] sun8i-v3s-pinctrl 1c20800.pinctrl: could not request pin 64 (PC0) from group PC0 on device 1c20800.pinctrl [ 1.834166] sunxi-mmc 1c11000.mmc: Error applying setting, reverse things back [ 1.841449] sunxi-mmc: probe of 1c11000.mmc failed with error -22 [ 1.849208] usbcore: registered new interface driver usbhid [ 1.854798] usbhid: USB HID core driver [ 1.863430] sun4i-codec 1c22c00.codec: Failed to register our card [ 1.872755] IPv4 over IPsec tunneling driver [ 1.878405] NET: Registered protocol family 17 [ 1.882992] Key type dns_resolver registered [ 1.887675] Registering SWP/SWPB emulation handler [ 1.892902] mmc0: queuing unknown CIS tuple 0x80 (3 bytes) [ 1.899057] Loading compiled-in X.509 certificates [ 1.915972] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator [ 1.929545] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc085ffa0) [ 1.937754] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc085d100) [ 1.945580] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 1.952196] [drm] No driver support for vblank timestamp query. [ 1.959611] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0 [ 1.974701] mmc0: queuing unknown CIS tuple 0x80 (7 bytes) [ 1.978180] mmc0: queuing unknown CIS tuple 0x81 (9 bytes) [ 1.990167] mmc0: new high speed SDIO card at address 0001 [ 2.013308] Console: switching to colour frame buffer device 100x30 [ 2.052411] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device [ 2.061711] debugfs: Directory '1c22c00.codec' with parent 'V3s Audio Codec' already present! [ 2.073660] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok [ 2.083822] hctosys: unable to open rtc device (rtc0) [ 2.089522] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 2.102424] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 2.109436] ALSA device list: [ 2.112429] #0: V3s Audio Codec [ 2.117132] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.125995] cfg80211: failed to load regulatory.db [ 2.132702] random: fast init done [ 2.144172] VFS: Mounted root (squashfs filesystem) readonly on device 31:3. [ 2.155871] devtmpfs: mounted [ 2.162054] Freeing unused kernel memory: 1024K [ 2.167007] Run /sbin/init as init process [ 2.297567] random: crng init done Mounting OverlayFS: [ 3.126893] overlayfs: upper fs does not support tmpfile. [ 3.132407] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. OK Populating /dev using udev: [ 3.666691] udevd[93]: starting version 3.2.9 [ 3.953716] udevd[94]: starting eudev-3.2.9 fbv - The Framebuffer Viewer /usr/img/hehua.jpg 1024 x 682 [ 5.237588] Goodix-TS 0-0014: 0-0014 supply AVDD28 not found, using dummy regulator [ 5.245901] Goodix-TS 0-0014: 0-0014 supply VDDIO not found, using dummy regulator [ 5.277424] gpio gpiochip0: (1c20800.pinctrl): gpiochip_lock_as_irq: tried to flag a GPIO set as output for IRQ [ 5.287824] sun8i-v3s-pinctrl 1c20800.pinctrl: unable to lock HW IRQ 0 for IRQ [ 5.295053] genirq: Failed to request resources for tsc2007 (irq 40) on irqchip sunxi_pio_edge [ 5.304650] rtc-hym8563 0-0051: could not init device, -6 [ 5.406089] Goodix-TS 0-0014: i2c test failed attempt 1: -6 [ 5.445990] Goodix-TS 0-0014: i2c test failed attempt 2: -6 [ 5.455731] tsc2007 0-0048: Failed to request irq 40: -5 [ 5.485535] Goodix-TS 0-0014: I2C communication failure: -6 [ 5.491849] Goodix-TS 0-005d: 0-005d supply AVDD28 not found, using dummy regulator [ 5.499919] Goodix-TS 0-005d: 0-005d supply VDDIO not found, using dummy regulator [ 5.508495] tsc2007: probe of 0-0048 failed with error -5 [ 5.645859] Goodix-TS 0-005d: i2c test failed attempt 1: -6 [ 5.685828] Goodix-TS 0-005d: i2c test failed attempt 2: -6 [ 5.725549] Goodix-TS 0-005d: I2C communication failure: -6 done Initializing random number generator: OK Saving random seed: OK Starting network: OK Starting DHCP server: FAIL hwclock: can't open '/dev/misc/rtc': No such file or directory Realtek Bluetooth :Realtek Bluetooth init uart with init speed:115200, type:HCI UART H5 Realtek Bluetooth :Realtek hciattach version 3.1 Realtek Bluetooth :Use epoll /etc/init.d/S94wifi: line 1: wpa_supplicant: not found 1 udhcpc: SIOCGIFINDEX: No such device playing '/usr/wav/startup.wav': 2 ch, 48000 hz, 16 bit 3.141592653589793238462643383279502884197169399375105820974944 Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout 2 3.141592653589793238462643383279502884197169399375105820974944 Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout 3 3.141592653589793238462643383279502884197169399375105820974944 Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout 4 3.141592653589793238462643383279502884197169399375105820974944 Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout 5 3.141592653589793238462643383279502884197169399375105820974944 Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout 6 3.141592653589793238462643383279502884197169399375105820974944 Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout 7 3.141592653589793238462643383279502884197169399375105820974944 Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout 8 3.141592653589793238462643383279502884197169399375105820974944 Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout 9 Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout 3.141592653589793238462643383279502884197169399375105820974944
感谢:
① buildroot-tiny200 (F1C100/200s) 开发包近期更新内容 * 已支持DVP摄像头 *
https://whycan.com/t_5221.html② (V3s/V3x/S3/S3L/R11通吃)小智V3x开发板smallwitpi lite u-boot/linux/buildroot测试
https://whycan.com/t_7248.html -
修改楼上的 board/mangopi/kit4/v1/dts/linux-v5.4.70/sun8i-v3s.dtsi
添加:
lcd_rgb666_pins_b: lcd-rgb666-pd { pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD16", "PD17", "PD18", "PD19", "PD20", "PD21"; function = "lcd"; };
board/mangopi/kit4/v1/dts/linux-v5.4.70/devicetree.dts 修改为:
&tcon0 { pinctrl-names = "default"; pinctrl-0 = <&lcd_rgb666_pins_b>; status = "okay"; };
-
进入Linux,tsc2007(ns2009)一直提示 -6错误,查了一下设备不存在,用 i2c-detect -y 0命令发现,果然不存在 0x48 设备,但是有 0x49 设备:
# i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- 49 -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- #
这是怎么回事呢,查看一楼原理图,难道 0x49 是加密芯片DX81C04,
但是看了核心板背面的5脚芯片并没有焊上,
那这个 0x49 估计就是 ns2009 芯片了,对照手册和原理图,发现A0 上拉,地址是要 +1
修改 devicetree.dts,一切正常:&i2c0 { status = "okay"; rtp@48 { compatible = "ti,tsc2007"; reg = <0x49>; interrupt-parent = <&pio>; interrupts = <1 10 IRQ_TYPE_EDGE_FALLING>; gpios = <&pio 1 10 GPIO_ACTIVE_LOW>; pendown-gpio = <&pio 1 10 GPIO_ACTIVE_LOW>; ti,x-plate-ohms = <660>; wakeup-source; }; rtc@51 { compatible = "nxp,pcf8563"; reg = <0x51>; status = "disabled"; }; hym8563@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; status = "disabled"; }; ds1307@68 { compatible = "dallas,ds1307"; reg = <0x68>; status = "disabled"; }; ctp@14 { compatible = "goodix,gt911"; reg = <0x14>; interrupt-parent = <&pio>; interrupts = <1 1 IRQ_TYPE_EDGE_FALLING>; // PB1 irq-gpios = <&pio 1 1 GPIO_ACTIVE_HIGH>; // PB1 reset-gpios = <&pio 1 0 GPIO_ACTIVE_HIGH>; // PB0 status = "disabled"; }; ctp@5d { compatible = "goodix,gt911"; reg = <0x5d>; interrupt-parent = <&pio>; interrupts = <1 1 IRQ_TYPE_EDGE_FALLING>; // PB1 irq-gpios = <&pio 1 1 GPIO_ACTIVE_HIGH>; // PB1 reset-gpios = <&pio 1 0 GPIO_ACTIVE_HIGH>; // PB0 status = "disabled"; }; };
触摸校正: TSLIB_TSDEVICE=/dev/input/event0 ts_calibrate
触摸测试: TSLIB_TSDEVICE=/dev/input/event0 ts_test -
最新的源码包下载: buildroot_20200204_mangopi_r11_kit4_src_patch_20220419_by_whycan.tar
16M SPI NOR FLASH 固件下载: firmware-mangopi-kit4-v1-spinor.img
可以用 sunxi-fel 烧录,也可以用 xfel 烧录。
-
buildroot 快速重新编译某package的方法,
先执行删除 rm output/build/xxxxx/.stamp_built
然后执行 make 即可。比如需要重新编译Linux,
执行:
rm output/build/linux-5.4.70/.stamp_built ; make -
make menuconfig 删除了某些软件包,但是文件系统里面确没有同步更新,
那么执行以下操作:
rm output/target/ -rf; find output/build/ -name .stamp_target_installed | xargs rm -rf; make
-
LVGL7 源码下载: 哪吒D1开发板 LVGL7 源码下载(带git仓库)
LVGL固件下载: firmware-mangopi-kit4-v1-spinor.img
-
@whycan 试了一下,好像没有用,还是
touch ./output/images/a.dtb # 防止出现未编译dtb情况 rm ./output/images/*.dtb # 删除设备树 make linux-rebuild -j8 && make
或者更绝的
rm -rf output/build/linux* rm -rf output/build/.linux* make
-
@yuzukitsuru
你的使用姿势不对,应该是要先删除文件 .stamp_built。 -
源码: buildroot_20200204_mangopi_r11_kit4_src_patch_20220421_by_whycan.tar
烧录固件: firmware-mangopi-kit4-v1-spinor.img
AP6181 WIFI 驱动 OK:
U-Boot SPL 2021.07 (Apr 18 2022 - 13:25:04 +0800) DRAM: 64 MiB Trying to boot from sunxi SPI U-Boot 2021.07 (Apr 18 2022 - 13:25:04 +0800) Allwinner Technology CPU: Allwinner V3s (SUN8I 1681) Model: mangopi kit4 DRAM: 64 MiB MMC: mmc@1c0f000: 0 Loading Environment from nowhere... OK In: serial@1c28000 Out: serial@1c28000 Err: serial@1c28000 Net: No ethernet found. Hit any key to stop autoboot: 0 Card did not respond to voltage select! : -110 MMC Device 1 not found no mmc device at slot 1 SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB ========================= Boot Device: spi Boot Slot 0: empty Boot Slot 1: spi-nor ========================= DFU waiting on SPI-NOR... Unknown command 'dfu' - try 'help' Booting from SPI-NOR... SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB device 0 offset 0x70000, size 0x10000 SF: 65536 bytes @ 0x70000 Read: OK device 0 offset 0x80000, size 0x500000 SF: 5242880 bytes @ 0x80000 Read: OK Kernel image @ 0x40000000 [ 0x000000 - 0x499f30 ] ## Flattened Device Tree blob at 40700000 Booting using the fdt blob at 0x40700000 Loading Device Tree to 416f9000, end 416ff95e ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.70-mangopi (whycan@ubuntu) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)) #3 SMP Mon Apr 18 12:20:57 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: MANGOPI R11 KIT4 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 16 MiB at 0x42c00000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT [ 0.000000] percpu: Embedded 15 pages/cpu s30668 r8192 d22580 u61440 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk rootwait consoleblank=0 net.ifnames=0 biosdevname=0 root=/dev/mtdblock3 overlayfsdev=/dev/mtdblock4 [ 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: 36444K/65536K available (7168K kernel code, 422K rwdata, 1980K rodata, 1024K init, 254K bss, 12708K reserved, 16384K 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 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] GIC: GICv2 detected, but range too small and irqchip.gicv2_force_probe not set [ 0.000000] random: get_random_bytes called from start_kernel+0x2b4/0x44c with crng_init=0 [ 0.000000] arch_timer: 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.000011] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000029] Switching to timer-based delay loop, resolution 41ns [ 0.000426] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000878] Console: colour dummy device 80x30 [ 0.000978] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.001001] pid_max: default: 32768 minimum: 301 [ 0.001285] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.001309] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.001484] *** VALIDATE tmpfs *** [ 0.002506] *** VALIDATE proc *** [ 0.002791] *** VALIDATE cgroup1 *** [ 0.002815] *** VALIDATE cgroup2 *** [ 0.002839] CPU: Testing write buffer coherency: ok [ 0.003753] /cpus/cpu@0 missing clock-frequency property [ 0.003797] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.005072] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.005432] rcu: Hierarchical SRCU implementation. [ 0.006363] smp: Bringing up secondary CPUs ... [ 0.006394] smp: Brought up 1 node, 1 CPU [ 0.006406] SMP: Total of 1 processors activated (48.00 BogoMIPS). [ 0.006416] CPU: All CPU(s) started in HYP mode. [ 0.006422] CPU: Virtualization extensions available. [ 0.007524] devtmpfs: initialized [ 0.014071] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.014647] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.014698] futex hash table entries: 256 (order: 2, 16384 bytes, linear) [ 0.016026] pinctrl core: initialized pinctrl subsystem [ 0.018018] NET: Registered protocol family 16 [ 0.019874] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.022213] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.022247] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.049985] SCSI subsystem initialized [ 0.050700] usbcore: registered new interface driver usbfs [ 0.050791] usbcore: registered new interface driver hub [ 0.050922] usbcore: registered new device driver usb [ 0.051305] mc: Linux media interface: v0.10 [ 0.051410] videodev: Linux video capture interface: v2.00 [ 0.051471] pps_core: LinuxPPS API ver. 1 registered [ 0.051481] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.051514] PTP clock support registered [ 0.051816] Advanced Linux Sound Architecture Driver Initialized. [ 0.052898] Bluetooth: Core ver 2.22 [ 0.053069] NET: Registered protocol family 31 [ 0.053083] Bluetooth: HCI device and connection manager initialized [ 0.053123] Bluetooth: HCI socket layer initialized [ 0.053138] Bluetooth: L2CAP socket layer initialized [ 0.053186] Bluetooth: SCO socket layer initialized [ 0.055353] clocksource: Switched to clocksource arch_sys_counter [ 0.055892] *** VALIDATE ramfs *** [ 0.073051] thermal_sys: Registered thermal governor 'step_wise' [ 0.073719] NET: Registered protocol family 2 [ 0.074949] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.075014] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.075047] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.075078] TCP: Hash tables configured (established 1024 bind 1024) [ 0.075509] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.075607] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.076072] NET: Registered protocol family 1 [ 0.080225] Initialise system trusted keyrings [ 0.080844] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.091377] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.091943] utf8_selftest: All 154 tests passed [ 0.091959] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.092821] *** VALIDATE jffs2 *** [ 0.140811] Key type asymmetric registered [ 0.140842] Asymmetric key parser 'x509' registered [ 0.140991] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) [ 0.141012] io scheduler mq-deadline registered [ 0.141022] io scheduler kyber registered [ 0.141030] test_strscpy: loaded. [ 0.141062] test_strscpy: all 32 tests passed [ 0.150362] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 0.151378] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator [ 0.152565] pwm-backlight backlight: backlight supply power not found, using dummy regulator [ 0.331820] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.339230] printk: console [ttyS0] disabled [ 0.359722] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A [ 1.001897] printk: console [ttyS0] enabled [ 1.007461] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator [ 1.039748] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 35, base_baud = 1500000) is a U6_16550A [ 1.052700] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator [ 1.096453] panel-simple panel: panel supply power not found, using dummy regulator [ 1.107243] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator [ 1.119944] spi-nor spi0.0: w25q128 (16384 Kbytes) [ 1.124842] 5 fixed-partitions partitions found on MTD device spi0.0 [ 1.131371] Creating 5 MTD partitions on "spi0.0": [ 1.136226] 0x000000000000-0x000000070000 : "u-boot" [ 1.144708] 0x000000070000-0x000000080000 : "dtb" [ 1.152719] 0x000000080000-0x000000580000 : "kernel" [ 1.161080] 0x000000580000-0x000000f00000 : "rom" [ 1.169143] 0x000000f00000-0x000001100000 : "overlay" [ 1.174230] mtd: partition "overlay" extends beyond the end of device "spi0.0" -- size truncated to 0x100000 [ 1.188844] libphy: Fixed MDIO Bus: probed [ 1.193662] dwmac-sun8i 1c30000.ethernet: IRQ eth_wake_irq not found [ 1.200207] dwmac-sun8i 1c30000.ethernet: IRQ eth_lpi not found [ 1.206474] dwmac-sun8i 1c30000.ethernet: PTP uses main clock [ 1.212308] dwmac-sun8i 1c30000.ethernet: No regulator found [ 1.218952] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported [ 1.226323] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported [ 1.233547] dwmac-sun8i 1c30000.ethernet: COE Type 2 [ 1.238544] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported [ 1.245350] dwmac-sun8i 1c30000.ethernet: Normal descriptors [ 1.251007] dwmac-sun8i 1c30000.ethernet: Chain mode enabled [ 1.256704] dwmac-sun8i 1c30000.ethernet: device MAC address e2:16:b0:58:2d:16 [ 1.264377] libphy: stmmac: probed [ 1.269030] dwmac-sun8i 1c30000.ethernet: Found internal PHY node [ 1.275594] libphy: mdio_mux: probed [ 1.279225] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY [ 1.285662] dwmac-sun8i 1c30000.ethernet: Powering internal PHY [ 1.391668] dwmac-sun8i 1c30000.ethernet: EMAC reset timeout [ 1.397582] dwmac-sun8i 1c30000.ethernet: Error: Failed to register MDIO bus for child /soc/ethernet@1c30000/mdio-mux/mdio@1 [ 1.408858] dwmac-sun8i 1c30000.ethernet: Error: No acceptable child buses found [ 1.416283] dwmac-sun8i 1c30000.ethernet: Failed to register mux [ 1.422308] dwmac-sun8i 1c30000.ethernet eth0: stmmac_dvr_remove: removing driver [ 1.456836] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.463390] ehci-platform: EHCI generic platform driver [ 1.469358] ehci-platform 1c1a000.usb: EHCI Host Controller [ 1.475009] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 1.483494] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000 [ 1.515335] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 1.523239] hub 1-0:1.0: USB hub found [ 1.527346] hub 1-0:1.0: 1 port detected [ 1.532359] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.538826] ohci-platform: OHCI generic platform driver [ 1.544632] ohci-platform 1c1a400.usb: Generic Platform OHCI controller [ 1.551461] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2 [ 1.559870] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400 [ 1.643781] hub 2-0:1.0: USB hub found [ 1.647887] hub 2-0:1.0: 1 port detected [ 1.653064] usbcore: registered new interface driver usb-storage [ 1.660188] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator [ 1.672488] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver [ 1.678463] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3 [ 1.688230] hub 3-0:1.0: USB hub found [ 1.692143] hub 3-0:1.0: 1 port detected [ 1.699312] mousedev: PS/2 mouse device common for all mice [ 1.705823] i2c /dev entries driver [ 1.713164] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.722569] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator [ 1.760356] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB [ 1.784584] mmc0: queuing unknown CIS tuple 0x80 (2 bytes) [ 1.791734] mmc0: queuing unknown CIS tuple 0x80 (3 bytes) [ 1.797365] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB [ 1.804830] sun8i-v3s-pinctrl 1c20800.pinctrl: pin PC0 already requested by 1c68000.spi; cannot claim for 1c11000.mmc [ 1.815583] sun8i-v3s-pinctrl 1c20800.pinctrl: pin-64 (1c11000.mmc) status -22 [ 1.822809] sun8i-v3s-pinctrl 1c20800.pinctrl: could not request pin 64 (PC0) from group PC0 on device 1c20800.pinctrl [ 1.833617] sunxi-mmc 1c11000.mmc: Error applying setting, reverse things back [ 1.840918] sunxi-mmc: probe of 1c11000.mmc failed with error -22 [ 1.848713] usbcore: registered new interface driver usbhid [ 1.854304] usbhid: USB HID core driver [ 1.863049] sun4i-codec 1c22c00.codec: Failed to register our card [ 1.871893] IPv4 over IPsec tunneling driver [ 1.877534] NET: Registered protocol family 17 [ 1.882112] Key type dns_resolver registered [ 1.886810] Registering SWP/SWPB emulation handler [ 1.892520] Loading compiled-in X.509 certificates [ 1.908002] mmc0: queuing unknown CIS tuple 0x80 (3 bytes) [ 1.914735] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator [ 1.928562] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc085ffa0) [ 1.936810] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc085d100) [ 1.944493] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 1.951243] [drm] No driver support for vblank timestamp query. [ 1.958691] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0 [ 1.974414] mmc0: queuing unknown CIS tuple 0x80 (7 bytes) [ 1.977885] mmc0: queuing unknown CIS tuple 0x81 (9 bytes) [ 1.989869] mmc0: new high speed SDIO card at address 0001 [ 2.012386] Console: switching to colour frame buffer device 100x30 [ 2.051547] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device [ 2.060874] debugfs: Directory '1c22c00.codec' with parent 'V3s Audio Codec' already present! [ 2.072778] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok [ 2.082916] hctosys: unable to open rtc device (rtc0) [ 2.088619] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 2.101498] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 2.108508] ALSA device list: [ 2.111506] #0: V3s Audio Codec [ 2.116242] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.124948] cfg80211: failed to load regulatory.db [ 2.131683] random: fast init done [ 2.141790] VFS: Mounted root (squashfs filesystem) readonly on device 31:3. [ 2.153594] devtmpfs: mounted [ 2.159854] Freeing unused kernel memory: 1024K [ 2.175698] Run /sbin/init as init process [ 2.314836] random: crng init done Mounting OverlayFS: [ 3.139500] overlayfs: upper fs does not support tmpfile. [ 3.145015] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. OK Populating /dev using udev: [ 3.623995] udevd[93]: starting version 3.2.9 [ 3.979816] udevd[94]: starting eudev-3.2.9 fbv - The Framebuffer Viewer /usr/img/hehua.jpg 1024 x 682 [ 5.270926] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1 [ 5.391407] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43362-sdio.mangopi,mangopi-kit4.txt failed with error -2 [ 5.474701] Goodix-TS 0-0014: 0-0014 supply AVDD28 not found, using dummy regulator [ 5.482990] Goodix-TS 0-0014: 0-0014 supply VDDIO not found, using dummy regulator [ 5.678780] Goodix-TS 0-0014: ID 911, version: 1060 [ 5.684264] Goodix-TS 0-005d: 0-005d supply AVDD28 not found, using dummy regulator [ 5.692435] Goodix-TS 0-005d: 0-005d supply VDDIO not found, using dummy regulator [ 5.749241] input: Goodix Capacitive TouchScreen as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0014/input/input0 [ 5.767671] Goodix-TS: probe of 0-005d failed with error -16 [ 5.807984] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1 [ 5.817255] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available [ 5.889978] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43362/1 wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d done Initializing random number generator: OK Saving random seed: OK Starting network: OK hwclock: can't open '/dev/misc/rtc': No such file or directory [ 8.470088] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator Realtek Bluetooth :Realtek Bluetooth init uart with init speed:115200, type:HCI UART H5 Realtek Bluetooth :Realtek hciattach version 3.1 Realtek Bluetooth :Use epoll Successfully initialized wpa_supplicant Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout udhcpc: started, v1.31.1 1 playing '/usr/wav/startup.wav': 2 ch, 48000 hz, 16 bit 3.141592653589793238462643383279502884197169399375105820974944 Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout udhcpc: sending discover 2 Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout 3.141592653589793238462643383279502884197169399375105820974944 Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout 3 3.141592653589793238462643383279502884197169399375105820974944 Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout 4 3.141592653589793238462643383279502884197169399375105820974944 ^C [1]+ Done tinyplay /usr/wav/startup.wav # Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout udhcpc: sending discover Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout Realtek Bluetooth ERROR: Retransmission exhausts # udhcpc: sending discover udhcpc: sending select for 192.168.187.193 # # # udhcpc: sending select for 192.168.187.193 udhcpc: lease of 192.168.187.193 obtained, lease time 3599 deleting routers adding dns 192.168.187.8 # # ping www.163.com PING www.163.com (183.252.198.12): 56 data bytes 64 bytes from 183.252.198.12: seq=0 ttl=52 time=54.442 ms 64 bytes from 183.252.198.12: seq=1 ttl=52 time=52.302 ms 64 bytes from 183.252.198.12: seq=2 ttl=52 time=49.202 ms 64 bytes from 183.252.198.12: seq=3 ttl=52 time=155.962 ms 64 bytes from 183.252.198.12: seq=4 ttl=52 time=48.698 ms ^C --- www.163.com ping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max = 48.698/72.121/155.962 ms # #
-
源码: buildroot_20200204_mangopi_r11_kit4_src_patch_20220422_by_whycan.tar
烧录固件: firmware-mangopi-kit4-v1-spinor.img
设置ov2640 摄像头默认格式:
media-ctl --set-v4l2 '"ov2640 1-0030":0[fmt:YUYV8_2X8/640x480]'
开启
LD_LIBRARY_PATH=/usr/lib/mjpg-streamer/:$LD_LIBRARY_PATH mjpg_streamer -i "input_uvc.so -y -d /dev/video0" -o "output_http.so -p 8080 -w /usr/share/mjpg-streamer/www"
-
OV5640 源码下载: buildroot_20200204_mangopi_r11_kit4_src_patch_20220422B_by_whycan.tar
OV5640 固件下载: firmware-mangopi-kit4-v1-spinor.img
设置ov5640 摄像头默认格式:
media-ctl --set-v4l2 '"ov5640 1-003C":0[fmt:YUYV8_2X8/640x480]'
开启:
LD_LIBRARY_PATH=/usr/lib/mjpg-streamer/:$LD_LIBRARY_PATH mjpg_streamer -i "input_uvc.so -y -d /dev/video0" -o "output_http.so -p 8080 -w /usr/share/mjpg-streamer/www"
-
牛逼!
哈哈我准备抄作业了,搞到D1-H上去 -
-
周末整活,成功挽救这台伊拉克成色的15寸显示器于闲鱼市场:
https://bbs.aw-ol.com/topic/1293/share/35
受这个帖子影响,我打算把这个 R11开发板 也驱动 15寸显示屏:
-
-
-
@whycan 大佬,哪里有的卖?
-
-
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号