使用的是https://whycan.com/t_7248.html 固件
没有如帖子中所说显示荷花
执行cat /dev/zero > /dev/fb0 和 cat /dev/urandom > /dev/fb0命令提示如下:
# cat /dev/zero > /dev/fb0
cat: write error: No space left on device
启动信息如下:
U-Boot 2021.07 (Oct 24 2021 - 18:41:20 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Smallwit Pi Lite
DRAM: 128 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
switch to partitions #0, OK
mmc0 is current device
MMC Device 1 not found
no mmc device at slot 1
jedec_spi_nor spi_flash@0:0: unrecognized JEDEC id bytes: ff, ff, ff
Failed to initialize SPI flash at 0:0 (error -2)
Unknown command 'mtd' - try 'help'
=========================
Boot Device: mmc0
Boot Slot 0: mmc0
Boot Slot 1: empty
=========================
DFU waiting on MMC0...
switch to partitions #0, OK
mmc0 is current device
Unknown command 'dfu' - try 'help'
switch to partitions #0, OK
mmc0 is current device
Booting from MMC0...
4223184 bytes read in 234 ms (17.2 MiB/s)
13716 bytes read in 2 ms (6.5 MiB/s)
Kernel image @ 0x40000000 [ 0x000000 - 0x4070d0 ]
## Flattened Device Tree blob at 40700000
Booting using the fdt blob at 0x40700000
Loading Device Tree to 416f9000, end 416ff593 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.70-smallwitpi (whycan@ubuntu) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)) #2 SMP Sun Oct 24 19:40:26 CST 2021
[ 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: SMALLWITPY
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 16 MiB at 0x46c00000
[ 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: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk rootwait consoleblank=0 net.ifnames=0 biosdevname=0 root=/dev/mmcblk0p3
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 103488K/131072K available (6144K kernel code, 410K rwdata, 1804K rodata, 1024K init, 251K bss, 11200K 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.000433] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000888] Console: colour dummy device 80x30
[ 0.000991] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.001014] pid_max: default: 32768 minimum: 301
[ 0.001300] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001325] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001503] *** VALIDATE tmpfs ***
[ 0.002553] *** VALIDATE proc ***
[ 0.002851] *** VALIDATE cgroup1 ***
[ 0.002875] *** VALIDATE cgroup2 ***
[ 0.002904] CPU: Testing write buffer coherency: ok
[ 0.003843] /cpus/cpu@0 missing clock-frequency property
[ 0.003890] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.005208] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.005598] rcu: Hierarchical SRCU implementation.
[ 0.006532] smp: Bringing up secondary CPUs ...
[ 0.006570] smp: Brought up 1 node, 1 CPU
[ 0.006581] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.006591] CPU: All CPU(s) started in HYP mode.
[ 0.006599] CPU: Virtualization extensions available.
[ 0.007783] devtmpfs: initialized
[ 0.013907] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.014481] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.014531] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.015787] pinctrl core: initialized pinctrl subsystem
[ 0.017880] NET: Registered protocol family 16
[ 0.020583] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.022737] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.022764] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.049860] SCSI subsystem initialized
[ 0.050289] usbcore: registered new interface driver usbfs
[ 0.050659] usbcore: registered new interface driver hub
[ 0.050838] usbcore: registered new device driver usb
[ 0.051243] mc: Linux media interface: v0.10
[ 0.051304] videodev: Linux video capture interface: v2.00
[ 0.051360] pps_core: LinuxPPS API ver. 1 registered
[ 0.051370] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.051402] PTP clock support registered
[ 0.054188] clocksource: Switched to clocksource arch_sys_counter
[ 0.054708] *** VALIDATE ramfs ***
[ 0.071991] thermal_sys: Registered thermal governor 'step_wise'
[ 0.072677] NET: Registered protocol family 2
[ 0.073995] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.074055] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.074278] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.074314] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.074627] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.074726] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.075185] NET: Registered protocol family 1
[ 0.078493] Initialise system trusted keyrings
[ 0.079156] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.089776] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.090343] utf8_selftest: All 154 tests passed
[ 0.090360] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.091234] *** VALIDATE jffs2 ***
[ 0.140308] Key type asymmetric registered
[ 0.140341] Asymmetric key parser 'x509' registered
[ 0.140509] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.140529] io scheduler mq-deadline registered
[ 0.140540] io scheduler kyber registered
[ 0.140547] test_strscpy: loaded.
[ 0.140581] test_strscpy: all 32 tests passed
[ 0.142295] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[ 0.149062] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.150067] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.151400] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[ 0.329728] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.337107] printk: console [ttyS0] disabled
[ 0.357587] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 32, base_baud = 1500000) is a U6_16550A
[ 0.967993] printk: console [ttyS0] enabled
[ 0.973520] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[ 1.005897] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 33, base_baud = 1500000) is a U6_16550A
[ 1.038341] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 34, base_baud = 1500000) is a U6_16550A
[ 1.083943] panel-simple panel: panel supply power not found, using dummy regulator
[ 1.095121] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[ 1.107637] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[ 1.115978] libphy: Fixed MDIO Bus: probed
[ 1.120726] dwmac-sun8i 1c30000.ethernet: IRQ eth_wake_irq not found
[ 1.127298] dwmac-sun8i 1c30000.ethernet: IRQ eth_lpi not found
[ 1.133505] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 1.139435] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 1.146373] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 1.153630] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 1.160979] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 1.165982] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 1.172767] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 1.178443] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 1.184145] dwmac-sun8i 1c30000.ethernet: device MAC address 06:91:ac:02:b2:94
[ 1.191828] libphy: stmmac: probed
[ 1.196508] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[ 1.202952] libphy: mdio_mux: probed
[ 1.206738] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[ 1.213106] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[ 1.221766] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.228530] ehci-platform: EHCI generic platform driver
[ 1.234369] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 1.240031] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 1.248658] ehci-platform 1c1a000.usb: irq 24, io mem 0x01c1a000
[ 1.284149] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 1.292155] hub 1-0:1.0: USB hub found
[ 1.296300] hub 1-0:1.0: 1 port detected
[ 1.301378] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.307830] ohci-platform: OHCI generic platform driver
[ 1.313646] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.320464] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.329004] ohci-platform 1c1a400.usb: irq 25, io mem 0x01c1a400
[ 1.412597] hub 2-0:1.0: USB hub found
[ 1.416704] hub 2-0:1.0: 1 port detected
[ 1.421947] usbcore: registered new interface driver usb-storage
[ 1.429572] mousedev: PS/2 mouse device common for all mice
[ 1.436233] i2c /dev entries driver
[ 1.443551] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.452971] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 1.491174] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.499992] usbcore: registered new interface driver usbhid
[ 1.505733] usbhid: USB HID core driver
[ 1.511031] IPv4 over IPsec tunneling driver
[ 1.516634] NET: Registered protocol family 17
[ 1.521215] Key type dns_resolver registered
[ 1.525852] Registering SWP/SWPB emulation handler
[ 1.532363] Loading compiled-in X.509 certificates
[ 1.548567] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.564642] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc075ffa0)
[ 1.572728] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc075d100)
[ 1.580565] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.587212] [drm] No driver support for vblank timestamp query.
[ 1.595229] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[ 1.637283] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.640126] mmc0: new high speed SDHC card at address aaaa
[ 1.643655] Console: switching to colour frame buffer device 60x34
[ 1.645503] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[ 1.653527] mmcblk0: p1 p2 p3
[ 1.688411] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device
[ 1.697270] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.709637] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.715640] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.725757] hub 3-0:1.0: USB hub found
[ 1.729809] hub 3-0:1.0: 1 port detected
[ 1.735942] hctosys: unable to open rtc device (rtc0)
[ 1.753445] EXT4-fs (mmcblk0p3): INFO: recovery required on readonly filesystem
[ 1.761076] EXT4-fs (mmcblk0p3): write access will be enabled during recovery
[ 1.787243] random: fast init done
[ 1.813537] EXT4-fs (mmcblk0p3): recovery complete
[ 1.824336] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[ 1.832749] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[ 1.842929] devtmpfs: mounted
[ 1.849107] Freeing unused kernel memory: 1024K
[ 1.853889] Run /sbin/init as init process
[ 2.075765] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
Mounting OverlayFS: Skip
Populating /dev using udev: [ 2.446301] udevd[79]: starting version 3.2.9
[ 2.478957] random: udevd: uninitialized urandom read (16 bytes read)
[ 2.500762] random: udevd: uninitialized urandom read (16 bytes read)
[ 2.514915] random: udevd: uninitialized urandom read (16 bytes read)
fbv - The Framebuffer Viewer
/usr/img/hehua.jpg
1024 x 682
[ 2.659254] udevd[80]: starting eudev-3.2.9
[ 3.774803] rtc-hym8563 0-0051: could not init device, -6
[ 3.797909] input: TSC2007 Touchscreen as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input0
done
Initializing random number generator: OK
Saving random seed: [ 6.080484] random: dd: uninitialized urandom read (512 bytes read)
OK
Starting network: OK
#
离线
示波器量一下 DE/HSYNC/VSYNC/PCLK 这些信号看看,如果没有信号,可能是那一组的IO电源没有接.
更换了一个50Pin的FPC座子,重新下载了一个800*480的固件,目前可以正常显示了
离线
板子画的不错 是用来做产品的嘛
是想做一个linux小主机,上面带了VGA接口,用来跑Qt,现在不知道怎么改分辨率,能提示一下吗?
离线