您尚未登录。

#1 Re: 全志 SOC » 为新设备构建主线u-boot » 2022-03-25 18:35:36

lorenzo 说:

请问主线u-boot相比官方的有啥优势吗

同问 有时候感觉用自带的uboot就行了

#2 Re: 全志 SOC » 子午线V3s路由器试玩 » 2021-12-10 21:42:44

惊了 V3s这芯片竟然还能搞成路由器

#3 Re: 哇酷地摊(跳蚤市场) » 转行清仓 » 2021-12-10 21:38:55

电子转行舞蹈。。。
不过高一的话应该问题不大

#6 Re: 全志 SOC » 玩玩50元淘来的全志H6机顶盒 » 2021-09-07 15:59:34

资本家大善人 说:
Meekdai 说:

楼主是用乐高积木搭了一个外壳?

别的公司送的积木,顺便搭了下

差点以为楼主是今年毕业联发科的:lol:

#7 Re: ESP32/ESP8266 » 简单说一说 baidu 语音合成与识别 api 使用流程 » 2021-08-04 21:54:28

abc3240660 说:

可以不联网 本地用吗

这个ADF自带的例子貌似不能
不过乐鑫这个芯片里边可以支持离线识别 但是句子长了可能不好说
离线语音合成的话 上次看好像是没有的

#13 Re: 司徒开源 » 感謝狀 » 2021-07-06 14:40:54

欢迎大佬
跟着看了好一阵的帖子

#14 Re: 全志 SOC » 全志H3 SD卡启动问题 » 2021-01-29 11:11:55

zoums 说:

根据你sdcard中启动的内核日志,sd卡看起来设备也是mmcblk1,mmc反而成了mmcblk2,估计是内核的驱动有意为之。

感谢 好像是这里的问题
我说咋当时候进去mmcblk1还觉得有点怪

#15 全志 SOC » 全志H3 SD卡启动问题 » 2021-01-28 22:05:42

来日方长
回复: 2

如题,在H3上linux启动后一直卡在 Waiting for root device /dev/mmcblk0p2... 下面是日志:

U-Boot SPL 2017.11-g73e3bbb (Jan 28 2021 - 20:48:09)
DRAM: 512 MiB(408MHz)
CPU Freq: 408MHz
memory test: 1
Pattern 55aa  Writing...Reading...OK
Trying to boot from MMC1
Boot device: sd


U-Boot 2017.11-g73e3bbb (Jan 28 2021 - 20:48:09 +0800) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyElec NanoPi H3
DRAM:  512 MiB
CPU Freq: 1008MHz
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
BOARD: nanopi-m1-plus
starting USB...
No controllers found
Hit any key to stop autoboot:  0
reading boot.scr
1947 bytes read in 31 ms (60.5 KiB/s)
## Executing script at 43100000
reading zImage
5845760 bytes read in 304 ms (18.3 MiB/s)
reading sun8i-h3-nanopi-neo-core.dtb
34556 bytes read in 29 ms (1.1 MiB/s)
## Flattened Device Tree blob at 48000000
   Booting using the fdt blob at 0x48000000
   Loading Device Tree to 49ff4000, end 49fff6fb ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.111 (spaceman@spaceman) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #1 SMP Thu Jan 28 21:05:20 CST 2021
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d
[    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: FriendlyElec NanoPi-NEO-Core
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000005c000000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] percpu: Embedded 17 pages/cpu @dbafc000 s37068 r8192 d24372 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rootfstype=ext4 earlyprintk rw
[    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: 436060K/524288K available (10240K kernel code, 391K rwdata, 2080K rodata, 2048K init, 302K bss, 22692K reserved, 65536K 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 : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0c00000   (12256 kB)
[    0.000000]       .init : 0xc1000000 - 0xc1200000   (2048 kB)
[    0.000000]       .data : 0xc1200000 - 0xc1261dc0   ( 392 kB)
[    0.000000]        .bss : 0xc126a7a0 - 0xc12b60f8   ( 303 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000017] Switching to timer-based delay loop, resolution 41ns
[    0.000217] Console: colour dummy device 80x30
[    0.000253] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[    0.000266] pid_max: default: 32768 minimum: 301
[    0.000420] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000432] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001161] CPU: Testing write buffer coherency: ok
[    0.001607] CPU0: update cpu_capacity 1024
[    0.001620] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001991] Setting up static identity map for 0x40200000 - 0x40200060
[    0.002121] Hierarchical SRCU implementation.
[    0.002674] smp: Bringing up secondary CPUs ...
[    0.003940] smp: Brought up 1 node, 1 CPU
[    0.003955] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003962] CPU: All CPU(s) started in SVC mode.
[    0.004596] devtmpfs: initialized
[    0.011246] random: get_random_u32 called from bucket_table_alloc+0xfc/0x228 with crng_init=0
[    0.011700] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.011986] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.012010] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.014602] xor: measuring software checksum speed
[    0.060130]    arm4regs  :  1263.200 MB/sec
[    0.110178]    8regs     :   877.600 MB/sec
[    0.160228]    32regs    :   808.800 MB/sec
[    0.210274]    neon      :  1284.000 MB/sec
[    0.210282] xor: using function: neon (1284.000 MB/sec)
[    0.210303] pinctrl core: initialized pinctrl subsystem
[    0.211334] NET: Registered protocol family 16
[    0.212648] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.213389] cpuidle: using governor ladder
[    0.213402] cpuidle: using governor menu
[    0.213633] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.213642] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.232598] SCSI subsystem initialized
[    0.233057] usbcore: registered new interface driver usbfs
[    0.233102] usbcore: registered new interface driver hub
[    0.233160] usbcore: registered new device driver usb
[    0.233328] media: Linux media interface: v0.10
[    0.233371] Linux video capture interface: v2.00
[    0.233469] pps_core: LinuxPPS API ver. 1 registered
[    0.233476] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.233494] PTP clock support registered
[    0.233838] Advanced Linux Sound Architecture Driver Initialized.
[    0.235301] clocksource: Switched to clocksource arch_sys_counter
[    0.235591] VFS: Disk quotas dquot_6.6.0
[    0.235665] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.235818] FS-Cache: Loaded
[    0.242759] NET: Registered protocol family 2
[    0.243397] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.243442] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.243505] TCP: Hash tables configured (established 4096 bind 4096)
[    0.243613] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.243655] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.243853] NET: Registered protocol family 1
[    0.244319] RPC: Registered named UNIX socket transport module.
[    0.244331] RPC: Registered udp transport module.
[    0.244336] RPC: Registered tcp transport module.
[    0.244342] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.244782] kvm [1]: HYP mode not available
[    0.247495] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.252064] zbud: loaded
[    0.253692] FS-Cache: Netfs 'nfs' registered for caching
[    0.254228] NFS: Registering the id_resolver key type
[    0.254271] Key type id_resolver registered
[    0.254278] Key type id_legacy registered
[    0.254301] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.254318] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.255229] fuse init (API version 7.26)
[    0.261410] async_tx: api initialized (async)
[    0.261520] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.261797] io scheduler noop registered (default)
[    0.261809] io scheduler deadline registered
[    0.262003] io scheduler cfq registered
[    0.262013] io scheduler mq-deadline registered
[    0.262155] io scheduler bfq registered
[    0.262797] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO, pinctrl may not init
[    0.266651] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.268175] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.274036] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.276038] console [ttyS0] disabled
[    0.296248] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A
[    0.986502] console [ttyS0] enabled
[    1.012695] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.044296] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.075888] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 48, base_baud = 1500000) is a U6_16550A
[    1.087091] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.093753] [drm] No driver support for vblank timestamp query.
[    1.109121] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0c51bb8)
[    1.116206] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    1.124052] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0c508bc)
[    1.255383] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    1.265315] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.273031] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0c51f38)
[    1.279883] [drm] Cannot find any crtc or sizes - going 1920x1080
[    1.327112] Console: switching to colour frame buffer device 240x67
[    1.357639] sun4i-drm display-engine: fb0:  frame buffer device
[    1.363960] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.380944] loop: module loaded
[    1.400429] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    1.406797] osst :I: Tape driver with OnStream support version 0.99.4
[    1.406797] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[    1.420112] SCSI Media Changer driver v0.25
[    1.426408] libphy: Fixed MDIO Bus: probed
[    1.430546] tun: Universal TUN/TAP device driver, 1.6
[    1.435777] CAN device driver interface
[    1.440107] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.445966] dwmac-sun8i 1c30000.ethernet: No regulator found
[    1.451705] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    1.457858] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.463531] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.470755] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.476416] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.483639] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.488607] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.495965] libphy: stmmac: probed
[    1.500985] PPP generic driver version 2.4.2
[    1.505539] PPP BSD Compression module registered
[    1.510239] PPP Deflate Compression module registered
[    1.515352] PPP MPPE Compression module registered
[    1.520140] NET: Registered protocol family 24
[    1.524742] usbcore: registered new interface driver qmi_wwan
[    1.530547] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.537087] ehci-platform: EHCI generic platform driver
[    1.542563] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.548180] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.556379] ehci-platform 1c1a000.usb: irq 29, io mem 0x01c1a000
[    1.575333] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.581622] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.588421] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.595646] usb usb1: Product: EHCI Host Controller
[    1.600529] usb usb1: Manufacturer: Linux 4.14.111 ehci_hcd
[    1.606103] usb usb1: SerialNumber: 1c1a000.usb
[    1.611161] hub 1-0:1.0: USB hub found
[    1.614942] hub 1-0:1.0: 1 port detected
[    1.619586] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.625836] ohci-platform: OHCI generic platform driver
[    1.631280] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.637932] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.645889] ohci-platform 1c1a400.usb: irq 30, io mem 0x01c1a400
[    1.714493] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    1.721298] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.728525] usb usb2: Product: Generic Platform OHCI controller
[    1.734448] usb usb2: Manufacturer: Linux 4.14.111 ohci_hcd
[    1.740024] usb usb2: SerialNumber: 1c1a400.usb
[    1.747363] hub 2-0:1.0: USB hub found
[    1.751199] hub 2-0:1.0: 1 port detected
[    1.755867] usbcore: registered new interface driver cdc_acm
[    1.761562] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.769633] usbcore: registered new interface driver usblp
[    1.775159] usbcore: registered new interface driver cdc_wdm
[    1.780856] usbcore: registered new interface driver uas
[    1.786254] usbcore: registered new interface driver usb-storage
[    1.792341] usbcore: registered new interface driver usbserial
[    1.798209] usbcore: registered new interface driver usbserial_generic
[    1.804765] usbserial: USB Serial support registered for generic
[    1.810804] usbcore: registered new interface driver option
[    1.816402] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.823496] usbcore: registered new interface driver qcserial
[    1.829277] usbserial: USB Serial support registered for Qualcomm USB modem
[    1.837055] mousedev: PS/2 mouse device common for all mice
[    1.843206] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.850031] sun6i-rtc 1f00000.rtc: RTC enabled
[    1.854577] i2c /dev entries driver
[    1.859955] lirc_dev: IR Remote Control driver registered, major 244
[    1.866351] IR NEC protocol handler initialized
[    1.870888] IR RC5(x/sz) protocol handler initialized
[    1.875940] IR RC6 protocol handler initialized
[    1.880473] IR JVC protocol handler initialized
[    1.884996] IR Sony protocol handler initialized
[    1.889615] IR SANYO protocol handler initialized
[    1.894322] IR Sharp protocol handler initialized
[    1.899020] IR MCE Keyboard/mouse protocol handler initialized
[    1.904852] IR LIRC bridge handler initialized
[    1.909297] IR XMP protocol handler initialized
[    1.914691] thermal thermal_zone0: failed to read out thermal zone (-16)
[    1.921967] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.930351] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    1.980356] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    2.022738] mmc1: host does not support reading read-only switch, assuming write-enable
[    2.030778] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[    2.038971] ledtrig-cpu: registered to indicate activity on CPUs
[    2.045033] mmc1: Problem switching card into high-speed mode!
[    2.052159] hidraw: raw HID events driver (C) Jiri Kosina
[    2.059672] mmc1: new SDHC card at address 0001
[    2.064359] usbcore: registered new interface driver usbhid
[    2.069950] usbhid: USB HID core driver
[    2.074235] mmcblk1: mmc1:0001 SD 7.45 GiB
[    2.080692]  mmcblk1: p1 p2
[    2.098340] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    2.108448] Initializing XFRM netlink socket
[    2.113417] NET: Registered protocol family 10
[    2.120190] Segment Routing with IPv6
[    2.124069] NET: Registered protocol family 17
[    2.128615] NET: Registered protocol family 15
[    2.133112] can: controller area network core (rev 20170425 abi 9)
[    2.139517] NET: Registered protocol family 29
[    2.144032] can: raw protocol (rev 20170425)
[    2.148351] can: broadcast manager protocol (rev 20170425 t)
[    2.154087] can: netlink gateway (rev 20170425) max_hops=1
[    2.160131] Key type dns_resolver registered
[    2.164644] Registering SWP/SWPB emulation handler
[    2.170953] registered taskstats version 1
[    2.176347] Key type encrypted registered
[    2.182488] mmc2: new DDR MMC card at address 0001
[    2.193258] vcc1v2: supplied by vcc5v0
[    2.197199] mmcblk2: mmc2:0001 016GB0 14.7 GiB
[    2.202079] vcc-dram: supplied by vcc5v0
[    2.206314] mmcblk2boot0: mmc2:0001 016GB0 partition 1 4.00 MiB
[    2.212575] vdd-cpux-en: supplied by vcc5v0
[    2.218749] ehci-platform 1c1b000.usb: EHCI Host Controller
[    2.224453] mmcblk2boot1: mmc2:0001 016GB0 partition 2 4.00 MiB
[    2.231057] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    2.238989]  mmcblk2: p1 p2 p3
[    2.243861] ehci-platform 1c1b000.usb: irq 31, io mem 0x01c1b000
[    2.260304] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    2.266603] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    2.273401] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.280625] usb usb3: Product: EHCI Host Controller
[    2.285506] usb usb3: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.291087] usb usb3: SerialNumber: 1c1b000.usb
[    2.296157] hub 3-0:1.0: USB hub found
[    2.299945] hub 3-0:1.0: 1 port detected
[    2.304649] ehci-platform 1c1c000.usb: EHCI Host Controller
[    2.310323] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    2.318435] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[    2.335301] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    2.341542] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    2.348337] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.355560] usb usb4: Product: EHCI Host Controller
[    2.360449] usb usb4: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.366028] usb usb4: SerialNumber: 1c1c000.usb
[    2.371054] hub 4-0:1.0: USB hub found
[    2.374839] hub 4-0:1.0: 1 port detected
[    2.379447] ehci-platform 1c1d000.usb: EHCI Host Controller
[    2.385105] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    2.393343] ehci-platform 1c1d000.usb: irq 35, io mem 0x01c1d000
[    2.410302] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    2.416535] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    2.423331] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.430556] usb usb5: Product: EHCI Host Controller
[    2.435444] usb usb5: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.441019] usb usb5: SerialNumber: 1c1d000.usb
[    2.446059] hub 5-0:1.0: USB hub found
[    2.449835] hub 5-0:1.0: 1 port detected
[    2.454431] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    2.461122] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    2.469149] ohci-platform 1c1b400.usb: irq 32, io mem 0x01c1b400
[    2.534430] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    2.541234] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.548457] usb usb6: Product: Generic Platform OHCI controller
[    2.554379] usb usb6: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.559956] usb usb6: SerialNumber: 1c1b400.usb
[    2.564952] hub 6-0:1.0: USB hub found
[    2.568779] hub 6-0:1.0: 1 port detected
[    2.573359] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    2.580041] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    2.588229] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[    2.645316] usb 3-1: new high-speed USB device number 2 using ehci-platform
[    2.656537] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    2.663340] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.670572] usb usb7: Product: Generic Platform OHCI controller
[    2.676502] usb usb7: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.682080] usb usb7: SerialNumber: 1c1c400.usb
[    2.687097] hub 7-0:1.0: USB hub found
[    2.690919] hub 7-0:1.0: 1 port detected
[    2.695514] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    2.702187] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    2.710203] ohci-platform 1c1d400.usb: irq 36, io mem 0x01c1d400
[    2.779427] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[    2.786227] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.793452] usb usb8: Product: Generic Platform OHCI controller
[    2.799376] usb usb8: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.804951] usb usb8: SerialNumber: 1c1d400.usb
[    2.810028] hub 8-0:1.0: USB hub found
[    2.813848] hub 8-0:1.0: 1 port detected
[    2.818485] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[    2.829642] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[    2.835473] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 9
[    2.843539] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
[    2.850359] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.857587] usb usb9: Product: MUSB HDRC host driver
[    2.862564] usb usb9: Manufacturer: Linux 4.14.111 musb-hcd
[    2.868145] usb usb9: SerialNumber: musb-hdrc.4.auto
[    2.873667] hub 9-0:1.0: USB hub found
[    2.877520] hub 9-0:1.0: 1 port detected
[    2.881718] usb 3-1: New USB device found, idVendor=0bda, idProduct=b720
[    2.888437] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.895580] usb 3-1: Product: 802.11n WLAN Adapter
[    2.900381] usb 3-1: Manufacturer: Realtek
[    2.904476] usb 3-1: SerialNumber: 00e04c000001
[    2.914033] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[    2.923472] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[    2.931426] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:15 UTC (15)
[    2.939849] vcc3v0: disabling
[    2.942851] vcc5v0: disabling
[    2.945824] usb0-vbus: disabling
[    2.949056] ALSA device list:
[    2.952045]   #0: Dummy 1
[    2.954662]   #1: Loopback 1
[    2.957550]   #2: H3 Audio Codec
[    2.960782]   #3: allwinner,hdmi
[    2.964475] Waiting for root device /dev/mmcblk0p2...
[   82.055661] random: fast init done
[  307.089983] random: crng init done

参考了如下链接:关于SD卡启动遇到的问题,但是这里在uboot中查看是有这个分区的。分区也是2个,FAT16和EXT4,ubuntu上Gparted手动分区,uboot输出如下:

=> mmc dev 0
switch to partitions #0, OK
mmc0 is current device

=> mmc part

Partition Map for MMC device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     8192            67584           33ec79ce-01     0b Boot
  2     75776           15538176        33ec79ce-02     83

根文件系统是自己根据busybox 1.30.1做的,按照在 ubuntu@x86 用 chroot 到 ARM 平台的 rootfs 这篇帖子尝试过,能够正常进入根目录,其中也换过一些其他的文件系统,都是这个问题。

但是,我在EMMC中烧录了官方的镜像,uboot中的启动参数将root=/dev/mmcblk0p2切换到emmc中:root=/dev/mmcblk1p2是能够正常启动的,日志:

=> setenv bootargs console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rootfstype=ext4 earlyprintk rw
=>
=> load mmc 0:1 0x46000000 zImage
reading zImage
5845760 bytes read in 303 ms (18.4 MiB/s)
=> load mmc 0:1 0x46000000 zImage<INTERRUPT>
=> ls mmc 0:1
  5845760   zImage
    35679   sun8i-h2-plus-nanopi-duo.dtb
    37203   sun8i-h3-nanopi-duo2.dtb
    36107   sun8i-h3-nanopi-m1.dtb
    37691   sun8i-h3-nanopi-m1-plus.dtb
    37222   sun8i-h3-nanopi-neo-air.dtb
    34556   sun8i-h3-nanopi-neo-core.dtb
    34439   sun8i-h3-nanopi-neo.dtb
    36380   sun8i-h3-nanopi-neo-s.dtb
    36147   sun8i-h3-nanopi-r1.dtb
    36142   sun8i-h3-nanopi-r1s.dtb
     1947   boot.scr
     1875   boot.cmd
  5895024   zImage1
    32271   sun8i-h3-atom_n.dtb
    34283   sun8i-h3-unit.dtb
            System Volume Information/

16 file(s), 1 dir(s)

=> load mmc 0:1 0x48000000 sun8i-h3-nanopi-neo-core.dtb
reading sun8i-h3-nanopi-neo-core.dtb
34556 bytes read in 28 ms (1.2 MiB/s)
=>
=> bootz 0x46000000 - 0x48000000
## Flattened Device Tree blob at 48000000
   Booting using the fdt blob at 0x48000000
   Loading Device Tree to 49ff4000, end 49fff6fb ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.111 (spaceman@spaceman) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #1 SMP Thu Jan 28 21:05:20 CST 2021
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d
[    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: FriendlyElec NanoPi-NEO-Core
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000005bc00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 17 pages/cpu @dff5a000 s37068 r8192 d24372 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk1p2 rootfstype=ext4 earlyprintk rw
[    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: 436044K/524288K available (10240K kernel code, 391K rwdata, 2080K rodata, 2048K init, 302K bss, 22708K reserved, 65536K 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 : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0c00000   (12256 kB)
[    0.000000]       .init : 0xc1000000 - 0xc1200000   (2048 kB)
[    0.000000]       .data : 0xc1200000 - 0xc1261dc0   ( 392 kB)
[    0.000000]        .bss : 0xc126a7a0 - 0xc12b60f8   ( 303 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000017] Switching to timer-based delay loop, resolution 41ns
[    0.000216] Console: colour dummy device 80x30
[    0.000251] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[    0.000266] pid_max: default: 32768 minimum: 301
[    0.000426] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000440] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001171] CPU: Testing write buffer coherency: ok
[    0.001625] CPU0: update cpu_capacity 1024
[    0.001637] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002011] Setting up static identity map for 0x40200000 - 0x40200060
[    0.002135] Hierarchical SRCU implementation.
[    0.002698] smp: Bringing up secondary CPUs ...
[    0.013454] CPU1: update cpu_capacity 1024
[    0.013461] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024286] CPU2: update cpu_capacity 1024
[    0.024291] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035032] CPU3: update cpu_capacity 1024
[    0.035038] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035120] smp: Brought up 1 node, 4 CPUs
[    0.035149] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035155] CPU: All CPU(s) started in HYP mode.
[    0.035160] CPU: Virtualization extensions available.
[    0.035983] devtmpfs: initialized
[    0.042542] random: get_random_u32 called from bucket_table_alloc+0xfc/0x228 with crng_init=0
[    0.043084] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.043388] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.043413] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.046003] xor: measuring software checksum speed
[    0.094876]    arm4regs  :  1263.200 MB/sec
[    0.144918]    8regs     :   877.600 MB/sec
[    0.194965]    32regs    :   808.800 MB/sec
[    0.245006]    neon      :  1281.600 MB/sec
[    0.245014] xor: using function: neon (1281.600 MB/sec)
[    0.245035] pinctrl core: initialized pinctrl subsystem
[    0.246022] NET: Registered protocol family 16
[    0.247572] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.248381] cpuidle: using governor ladder
[    0.248420] cpuidle: using governor menu
[    0.248764] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.248775] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.267532] SCSI subsystem initialized
[    0.267944] usbcore: registered new interface driver usbfs
[    0.267989] usbcore: registered new interface driver hub
[    0.268072] usbcore: registered new device driver usb
[    0.268258] media: Linux media interface: v0.10
[    0.268292] Linux video capture interface: v2.00
[    0.268415] pps_core: LinuxPPS API ver. 1 registered
[    0.268422] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.268440] PTP clock support registered
[    0.268732] Advanced Linux Sound Architecture Driver Initialized.
[    0.270215] clocksource: Switched to clocksource arch_sys_counter
[    0.270389] VFS: Disk quotas dquot_6.6.0
[    0.270470] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.270629] FS-Cache: Loaded
[    0.277686] NET: Registered protocol family 2
[    0.278343] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.278391] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.278454] TCP: Hash tables configured (established 4096 bind 4096)
[    0.278562] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.278605] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.278801] NET: Registered protocol family 1
[    0.279272] RPC: Registered named UNIX socket transport module.
[    0.279283] RPC: Registered udp transport module.
[    0.279289] RPC: Registered tcp transport module.
[    0.279294] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.279754] kvm [1]: 8-bit VMID
[    0.280497] kvm [1]: vgic interrupt IRQ16
[    0.280594] kvm [1]: Hyp mode initialized successfully
[    0.283293] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.287910] zbud: loaded
[    0.289481] FS-Cache: Netfs 'nfs' registered for caching
[    0.290029] NFS: Registering the id_resolver key type
[    0.290066] Key type id_resolver registered
[    0.290073] Key type id_legacy registered
[    0.290089] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.290106] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.291157] fuse init (API version 7.26)
[    0.296512] async_tx: api initialized (async)
[    0.296646] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.296807] io scheduler noop registered (default)
[    0.296818] io scheduler deadline registered
[    0.297004] io scheduler cfq registered
[    0.297013] io scheduler mq-deadline registered
[    0.297149] io scheduler bfq registered
[    0.297839] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO, pinctrl may not init
[    0.301631] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.303168] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.308588] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.310487] console [ttyS0] disabled
[    0.330699] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.078239] console [ttyS0] enabled
[    1.104486] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.136069] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.167641] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 48, base_baud = 1500000) is a U6_16550A
[    1.178855] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.185488] [drm] No driver support for vblank timestamp query.
[    1.200826] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0c51bb8)
[    1.207921] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    1.215771] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0c508bc)
[    1.345308] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    1.355195] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.362957] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0c51f38)
[    1.369798] [drm] Cannot find any crtc or sizes - going 1920x1080
[    1.417192] Console: switching to colour frame buffer device 240x67
[    1.448120] sun4i-drm display-engine: fb0:  frame buffer device
[    1.454504] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.471432] loop: module loaded
[    1.491024] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    1.497403] osst :I: Tape driver with OnStream support version 0.99.4
[    1.497403] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[    1.510713] SCSI Media Changer driver v0.25
[    1.517006] libphy: Fixed MDIO Bus: probed
[    1.521152] tun: Universal TUN/TAP device driver, 1.6
[    1.526395] CAN device driver interface
[    1.530751] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.536562] dwmac-sun8i 1c30000.ethernet: No regulator found
[    1.542269] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    1.548381] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.554051] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.561274] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.566938] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.574160] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.579129] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.586503] libphy: stmmac: probed
[    1.591582] PPP generic driver version 2.4.2
[    1.596104] PPP BSD Compression module registered
[    1.600820] PPP Deflate Compression module registered
[    1.605900] PPP MPPE Compression module registered
[    1.610697] NET: Registered protocol family 24
[    1.615257] usbcore: registered new interface driver qmi_wwan
[    1.621031] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.627559] ehci-platform: EHCI generic platform driver
[    1.633029] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.638651] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.646839] ehci-platform 1c1a000.usb: irq 29, io mem 0x01c1a000
[    1.665232] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.671536] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.678335] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.685562] usb usb1: Product: EHCI Host Controller
[    1.690444] usb usb1: Manufacturer: Linux 4.14.111 ehci_hcd
[    1.696020] usb usb1: SerialNumber: 1c1a000.usb
[    1.701089] hub 1-0:1.0: USB hub found
[    1.704867] hub 1-0:1.0: 1 port detected
[    1.709497] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.715718] ohci-platform: OHCI generic platform driver
[    1.721153] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.727796] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.735763] ohci-platform 1c1a400.usb: irq 30, io mem 0x01c1a400
[    1.804374] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    1.811181] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.818410] usb usb2: Product: Generic Platform OHCI controller
[    1.824333] usb usb2: Manufacturer: Linux 4.14.111 ohci_hcd
[    1.829909] usb usb2: SerialNumber: 1c1a400.usb
[    1.837238] hub 2-0:1.0: USB hub found
[    1.841038] hub 2-0:1.0: 1 port detected
[    1.845681] usbcore: registered new interface driver cdc_acm
[    1.851356] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.859403] usbcore: registered new interface driver usblp
[    1.864922] usbcore: registered new interface driver cdc_wdm
[    1.870619] usbcore: registered new interface driver uas
[    1.876026] usbcore: registered new interface driver usb-storage
[    1.882117] usbcore: registered new interface driver usbserial
[    1.887986] usbcore: registered new interface driver usbserial_generic
[    1.894543] usbserial: USB Serial support registered for generic
[    1.900582] usbcore: registered new interface driver option
[    1.906182] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.913280] usbcore: registered new interface driver qcserial
[    1.919061] usbserial: USB Serial support registered for Qualcomm USB modem
[    1.926849] mousedev: PS/2 mouse device common for all mice
[    1.932940] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.939739] sun6i-rtc 1f00000.rtc: RTC enabled
[    1.944264] i2c /dev entries driver
[    1.949622] lirc_dev: IR Remote Control driver registered, major 244
[    1.956011] IR NEC protocol handler initialized
[    1.960549] IR RC5(x/sz) protocol handler initialized
[    1.965603] IR RC6 protocol handler initialized
[    1.970127] IR JVC protocol handler initialized
[    1.974659] IR Sony protocol handler initialized
[    1.979278] IR SANYO protocol handler initialized
[    1.983975] IR Sharp protocol handler initialized
[    1.988681] IR MCE Keyboard/mouse protocol handler initialized
[    1.994513] IR LIRC bridge handler initialized
[    1.998960] IR XMP protocol handler initialized
[    2.004346] thermal thermal_zone0: failed to read out thermal zone (-16)
[    2.011575] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.019876] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    2.070277] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    2.112669] mmc1: host does not support reading read-only switch, assuming write-enable
[    2.115566] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[    2.122611] mmc1: Problem switching card into high-speed mode!
[    2.133647] mmc1: new SDHC card at address 0001
[    2.134619] ledtrig-cpu: registered to indicate activity on CPUs
[    2.138635] mmcblk1: mmc1:0001 SD 7.45 GiB
[    2.144435] hidraw: raw HID events driver (C) Jiri Kosina
[    2.150671]  mmcblk1: p1 p2
[    2.153992] usbcore: registered new interface driver usbhid
[    2.162202] usbhid: USB HID core driver
[    2.178255] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    2.188351] Initializing XFRM netlink socket
[    2.193201] NET: Registered protocol family 10
[    2.199956] Segment Routing with IPv6
[    2.203743] NET: Registered protocol family 17
[    2.208247] NET: Registered protocol family 15
[    2.212725] can: controller area network core (rev 20170425 abi 9)
[    2.219056] NET: Registered protocol family 29
[    2.223536] can: raw protocol (rev 20170425)
[    2.227841] can: broadcast manager protocol (rev 20170425 t)
[    2.233515] can: netlink gateway (rev 20170425) max_hops=1
[    2.239530] Key type dns_resolver registered
[    2.244047] Registering SWP/SWPB emulation handler
[    2.250815] registered taskstats version 1
[    2.254963] mmc2: new DDR MMC card at address 0001
[    2.255640] Key type encrypted registered
[    2.260301] mmcblk2: mmc2:0001 016GB0 14.7 GiB
[    2.268771] mmcblk2boot0: mmc2:0001 016GB0 partition 1 4.00 MiB
[    2.269822] vcc1v2: supplied by vcc5v0
[    2.275007] mmcblk2boot1: mmc2:0001 016GB0 partition 2 4.00 MiB
[    2.278881] vcc-dram: supplied by vcc5v0
[    2.288517]  mmcblk2: p1 p2 p3
[    2.288784] vdd-cpux-en: supplied by vcc5v0
[    2.297651] ehci-platform 1c1b000.usb: EHCI Host Controller
[    2.303290] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    2.311495] ehci-platform 1c1b000.usb: irq 31, io mem 0x01c1b000
[    2.330234] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    2.336541] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    2.343337] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.350564] usb usb3: Product: EHCI Host Controller
[    2.355446] usb usb3: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.361023] usb usb3: SerialNumber: 1c1b000.usb
[    2.366170] hub 3-0:1.0: USB hub found
[    2.369958] hub 3-0:1.0: 1 port detected
[    2.374608] ehci-platform 1c1c000.usb: EHCI Host Controller
[    2.380254] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    2.388347] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[    2.405230] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    2.411470] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    2.418265] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.425491] usb usb4: Product: EHCI Host Controller
[    2.430374] usb usb4: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.435949] usb usb4: SerialNumber: 1c1c000.usb
[    2.440975] hub 4-0:1.0: USB hub found
[    2.444751] hub 4-0:1.0: 1 port detected
[    2.449301] ehci-platform 1c1d000.usb: EHCI Host Controller
[    2.454910] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    2.462989] ehci-platform 1c1d000.usb: irq 35, io mem 0x01c1d000
[    2.480222] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    2.486454] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    2.493249] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.500474] usb usb5: Product: EHCI Host Controller
[    2.505357] usb usb5: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.510933] usb usb5: SerialNumber: 1c1d000.usb
[    2.515977] hub 5-0:1.0: USB hub found
[    2.519754] hub 5-0:1.0: 1 port detected
[    2.524322] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    2.530980] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    2.538960] ohci-platform 1c1b400.usb: irq 32, io mem 0x01c1b400
[    2.604364] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    2.611165] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.618391] usb usb6: Product: Generic Platform OHCI controller
[    2.624312] usb usb6: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.629888] usb usb6: SerialNumber: 1c1b400.usb
[    2.634977] hub 6-0:1.0: USB hub found
[    2.638775] hub 6-0:1.0: 1 port detected
[    2.643377] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    2.650024] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    2.658136] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[    2.715243] usb 3-1: new high-speed USB device number 2 using ehci-platform
[    2.726416] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    2.733217] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.740451] usb usb7: Product: Generic Platform OHCI controller
[    2.746381] usb usb7: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.751960] usb usb7: SerialNumber: 1c1c400.usb
[    2.756980] hub 7-0:1.0: USB hub found
[    2.760780] hub 7-0:1.0: 1 port detected
[    2.765361] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    2.772014] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    2.780020] ohci-platform 1c1d400.usb: irq 36, io mem 0x01c1d400
[    2.849357] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[    2.856160] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.863387] usb usb8: Product: Generic Platform OHCI controller
[    2.869311] usb usb8: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.874888] usb usb8: SerialNumber: 1c1d400.usb
[    2.879981] hub 8-0:1.0: USB hub found
[    2.883776] hub 8-0:1.0: 1 port detected
[    2.888418] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[    2.899503] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[    2.905319] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 9
[    2.913399] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
[    2.920226] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.927464] usb usb9: Product: MUSB HDRC host driver
[    2.932442] usb usb9: Manufacturer: Linux 4.14.111 musb-hcd
[    2.938023] usb usb9: SerialNumber: musb-hdrc.4.auto
[    2.943626] hub 9-0:1.0: USB hub found
[    2.947459] hub 9-0:1.0: 1 port detected
[    2.951566] usb 3-1: New USB device found, idVendor=0bda, idProduct=b720
[    2.958278] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.965418] usb 3-1: Product: 802.11n WLAN Adapter
[    2.970221] usb 3-1: Manufacturer: Realtek
[    2.974318] usb 3-1: SerialNumber: 00e04c000001
[    2.982808] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[    2.993129] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[    3.000916] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:40:11 UTC (2411)
[    3.009465] vcc3v0: disabling
[    3.012454] vcc5v0: disabling
[    3.015438] usb0-vbus: disabling
[    3.018667] ALSA device list:
[    3.021646]   #0: Dummy 1
[    3.024263]   #1: Loopback 1
[    3.027149]   #2: H3 Audio Codec
[    3.030394]   #3: allwinner,hdmi
[    3.058317] random: fast init done
[    3.063101] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.071266] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    3.096082] devtmpfs: mounted
[    3.101746] Freeing unused kernel memory: 2048K
mount: mounting tmpfs on /tmp failed: No such file or directory

Please press Enter to activate this console.
-/bin/sh: tput: not found
-/bin/sh: tput: not found
-/bin/sh: tput: not found
-/bin/sh: tput: not found
@(none):[/]:
@(none):[/]:

板子采用Quantum,换过H3的其他板子(NanoPi Duo2),结果是一样的(直接将SD卡插入NanoPi Duo2中)一直卡在 Waiting for root device /dev/mmcblk0p2...中
设备树目前是用的sun8i-h3-nanopi-neo-core.dtb。
内核和uboot都是根据友善官方教程Building U-boot and Linux for H5/H3/H2+/zh重新编译的(未修改源码,直接编译),编译器用的Ubuntu2004中apt中的arm-linux-gnueabihf-gcc(尝试过友善提供的,结果一样)

现在一直卡在这里好久了 求大佬帮个忙看看哪里出问题了 感激不尽

#21 Re: 全志 SOC » 求助,480*272的lcd在linux起来后不能正常显示 » 2019-11-25 10:21:08

歌以咏志 说:

大神现在搞定了吗?可以显示正常了吗?

可以了 能够正常显示
需要修改设备树 增加panel节点 还有pio里边得增加lcd引脚 具体的可以参考荔枝派Nano的设备树 我就是根据那个弄好的

#22 Re: 全志 SOC » 求助,480*272的lcd在linux起来后不能正常显示 » 2019-11-25 10:15:55

jimmy 说:

linux 4.14???貌似显示架构改了,你看下荔枝派nano就知道了,linux设备树要再设置一次lcd的dts.

太感谢了 这个问题弄了我好久

#23 全志 SOC » 求助,480*272的lcd在linux起来后不能正常显示 » 2019-11-23 17:15:52

来日方长
回复: 15

如题,使用的是荔枝派zero,内核用的蓝莓派的4.18的内核,uboot为荔枝派github上的u-boot-3s-current分支。在uboot中可以正常的显示,证明硬件和连接没有问题。进入linux后整个LCD慢慢就会变白,最后白屏。目前尝试过两种方法,但是找不到问题在哪里:

  1. 用framebuffer往fb0里边写数据,但是屏幕什么反应也没有。(这里采用的代码是这里的:https://blog.csdn.net/Bruno_Mars/article/details/94404842

  2. 修改uboot启动参数bootarg为

     console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0 

    尝试直接从屏幕上输出启动信息,但是仍然没有反映。

  3. 示例列表项三。

然后蓝莓派中的设备树中自己根据荔枝派加了framebuffer节点:

chosen {
	stdout-path = "serial0:115200n8";

	fb0: framebuffer@0 {
		compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
		allwinner,pipeline = "de0-lcd0";
		// clocks = <0x2 0x21 0x2 0x23 0x2 0x3f 0x2 0x40>;
		clocks = <&ccu CLK_BUS_TCON0>, <&display_clocks 0>, <&display_clocks 6>, <&ccu CLK_TCON0>;
		status = "disabled";
	};
};

下面是启动的log

U-Boot SPL 2017.01-rc2 (Nov 19 2019 - 17:12:25)
DRAM: 64 MiB
Trying to boot from MMC1

U-Boot 2017.01-rc2 (Nov 19 2019 - 17:12:25 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
Setting up a 480x272 lcd console (overscan 0x0)
dotclock: 10000kHz = 10000kHz: (1 * 3MHz * 20) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2 (Nov 19 2019 - 17:12:25 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
Setting up a 480x272 lcd console (overscan 0x0)
dotclock: 10000kHz = 10000kHz: (1 * 3MHz * 20) / 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 
reading zImage
5492552 bytes read in 273 ms (19.2 MiB/s)
reading sun8i-v3s-blueberrypi-csi-ov2640-480x272LCD.dtb
12439 bytes read in 31 ms (391.6 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42df9000, end 42dff096 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.20.0-02953-g5694cecdb092-dirty (marcel@workpad) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #2 SMP Wed Dec 26 11:14:42 CET 2018
[    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: Blueberry PI
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 16 MiB at 0x41c00000
[    0.000000] random: get_random_bytes called from start_kernel+0xa0/0x3f4 with crng_init=0
[    0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s34508 r8192 d22836 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16129
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 34828K/65024K available (8192K kernel code, 510K rwdata, 2228K rodata, 1024K init, 260K bss, 13812K reserved, 16384K 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 : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3f80000   (  63 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 511 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 261 kB)
[    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] 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.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000021] Switching to timer-based delay loop, resolution 41ns
[    0.000241] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000484] Console: colour dummy device 80x30
[    0.000542] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000560] pid_max: default: 32768 minimum: 301
[    0.000721] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000738] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001446] CPU: Testing write buffer coherency: ok
[    0.001943] /cpus/cpu@0 missing clock-frequency property
[    0.001967] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002720] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002967] rcu: Hierarchical SRCU implementation.
[    0.003698] smp: Bringing up secondary CPUs ...
[    0.003719] smp: Brought up 1 node, 1 CPU
[    0.003729] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003737] CPU: All CPU(s) started in SVC mode.
[    0.004664] devtmpfs: initialized
[    0.008232] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.008559] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008589] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.009417] pinctrl core: initialized pinctrl subsystem
[    0.010715] NET: Registered protocol family 16
[    0.011871] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.013178] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.013199] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.028113] SCSI subsystem initialized
[    0.028789] usbcore: registered new interface driver usbfs
[    0.028874] usbcore: registered new interface driver hub
[    0.028959] usbcore: registered new device driver usb
[    0.029193] media: Linux media interface: v0.10
[    0.029233] videodev: Linux video capture interface: v2.00
[    0.029355] pps_core: LinuxPPS API ver. 1 registered
[    0.029365] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.029387] PTP clock support registered
[    0.029622] Advanced Linux Sound Architecture Driver Initialized.
[    0.030417] Bluetooth: Core ver 2.22
[    0.030499] NET: Registered protocol family 31
[    0.030510] Bluetooth: HCI device and connection manager initialized
[    0.030537] Bluetooth: HCI socket layer initialized
[    0.030548] Bluetooth: L2CAP socket layer initialized
[    0.030576] Bluetooth: SCO socket layer initialized
[    0.031273] clocksource: Switched to clocksource arch_sys_counter
[    0.042468] NET: Registered protocol family 2
[    0.043090] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.043127] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.043154] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.043178] TCP: Hash tables configured (established 1024 bind 1024)
[    0.043333] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.043386] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.043641] NET: Registered protocol family 1
[    0.044575] RPC: Registered named UNIX socket transport module.
[    0.044595] RPC: Registered udp transport module.
[    0.044601] RPC: Registered tcp transport module.
[    0.044607] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.047075] Initialise system trusted keyrings
[    0.047465] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.055441] NFS: Registering the id_resolver key type
[    0.055497] Key type id_resolver registered
[    0.055507] Key type id_legacy registered
[    0.055835] JFS: nTxBlock = 400, nTxLock = 3200
[    0.069981] Key type asymmetric registered
[    0.070005] Asymmetric key parser 'x509' registered
[    0.070109] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.070122] io scheduler noop registered
[    0.070130] io scheduler deadline registered
[    0.070227] io scheduler cfq registered (default)
[    0.070239] io scheduler mq-deadline registered
[    0.070247] io scheduler kyber registered
[    0.075187] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.140109] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.143438] printk: console [ttyS0] disabled
[    0.163725] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.806640] printk: console [ttyS0] enabled
[    0.814511] libphy: Fixed MDIO Bus: probed
[    0.818628] CAN device driver interface
[    0.823249] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.829068] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.835334] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.842647] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.849864] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.854848] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.861643] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.867297] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.873185] libphy: stmmac: probed
[    0.877269] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[    0.883634] libphy: mdio_mux: probed
[    0.887239] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[    0.893638] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[    0.901099] usbcore: registered new interface driver mt7601u
[    0.906960] usbcore: registered new interface driver mt76x0u
[    0.912725] usbcore: registered new interface driver mt76x2u
[    0.918457] usbcore: registered new interface driver rt2500usb
[    0.924386] usbcore: registered new interface driver rt73usb
[    0.930081] usbcore: registered new interface driver rt2800usb
[    0.935983] usbcore: registered new interface driver rtl8187
[    0.941767] usbcore: registered new interface driver rtl8192cu
[    0.947636] usbcore: registered new interface driver rtl8xxxu
[    0.953407] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.959926] ehci-platform: EHCI generic platform driver
[    0.965463] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.971075] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.979290] ehci-platform 1c1a000.usb: irq 27, io mem 0x01c1a000
[    1.011266] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.018448] hub 1-0:1.0: USB hub found
[    1.022404] hub 1-0:1.0: 1 port detected
[    1.026992] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.033310] ohci-platform: OHCI generic platform driver
[    1.038864] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.045596] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.053669] ohci-platform 1c1a400.usb: irq 28, io mem 0x01c1a400
[    1.126427] hub 2-0:1.0: USB hub found
[    1.130257] hub 2-0:1.0: 1 port detected
[    1.137560] usbcore: registered new interface driver cdc_acm
[    1.143330] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.151449] usbcore: registered new interface driver usblp
[    1.156972] usbcore: registered new interface driver cdc_wdm
[    1.162707] usbcore: registered new interface driver usbtmc
[    1.168312] usbcore: registered new interface driver uas
[    1.173758] usbcore: registered new interface driver usb-storage
[    1.179809] usbcore: registered new interface driver ums-realtek
[    1.185905] usbcore: registered new interface driver mdc800
[    1.191501] mdc800: v0.7.5 (30/10/2000):USB Driver for Mustek MDC800 Digital Camera
[    1.199192] usbcore: registered new interface driver microtekX6
[    1.205265] usbcore: registered new interface driver usbserial_generic
[    1.211869] usbserial: USB Serial support registered for generic
[    1.217928] usbcore: registered new interface driver ch341
[    1.223479] usbserial: USB Serial support registered for ch341-uart
[    1.229780] usbcore: registered new interface driver cp210x
[    1.235399] usbserial: USB Serial support registered for cp210x
[    1.241418] usbcore: registered new interface driver usb_debug
[    1.247272] usbserial: USB Serial support registered for debug
[    1.253158] usbserial: USB Serial support registered for xhci_dbc
[    1.259286] usbcore: registered new interface driver ftdi_sio
[    1.265081] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.272541] usbcore: registered new interface driver pl2303
[    1.278143] usbserial: USB Serial support registered for pl2303
[    1.284164] usbcore: registered new interface driver usb_serial_simple
[    1.290718] usbserial: USB Serial support registered for carelink
[    1.296869] usbserial: USB Serial support registered for zio
[    1.302581] usbserial: USB Serial support registered for funsoft
[    1.308608] usbserial: USB Serial support registered for flashloader
[    1.315002] usbserial: USB Serial support registered for google
[    1.320939] usbserial: USB Serial support registered for libtransistor
[    1.327515] usbserial: USB Serial support registered for vivopay
[    1.333563] usbserial: USB Serial support registered for moto_modem
[    1.339847] usbserial: USB Serial support registered for motorola_tetra
[    1.346496] usbserial: USB Serial support registered for novatel_gps
[    1.352879] usbserial: USB Serial support registered for hp4x
[    1.358641] usbserial: USB Serial support registered for suunto
[    1.364593] usbserial: USB Serial support registered for siemens_mpi
[    1.372460] sun4i-a10-lradc-keys 1c22800.lradc: Linked as a consumer to regulator.1
[    1.380476] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.389757] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.396662] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.401431] i2c /dev entries driver
[    1.409323] ov2640 1-0030: ov2640 Product ID 26:42 Manufacturer ID 7f:a2
[    1.416140] i2c i2c-1: OV2640 Probed
[    1.422091] Driver for 1-wire Dallas network protocol.
[    1.428312] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.436365] Bluetooth: HCI UART driver ver 2.3
[    1.440813] Bluetooth: HCI UART protocol H4 registered
[    1.445981] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    1.452534] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2
[    1.485302] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.492830] sunxi-mmc 1c10000.mmc: Linked as a consumer to regulator.2
[    1.523862] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.532346] ledtrig-cpu: registered to indicate activity on CPUs
[    1.539265] usbcore: registered new interface driver usbhid
[    1.544938] usbhid: USB HID core driver
[    1.550904] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.558536] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.565522] NET: Registered protocol family 17
[    1.570040] can: controller area network core (rev 20170425 abi 9)
[    1.576416] NET: Registered protocol family 29
[    1.580868] can: raw protocol (rev 20170425)
[    1.585189] can: broadcast manager protocol (rev 20170425 t)
[    1.590849] can: netlink gateway (rev 20170425) max_hops=1
[    1.596865] Bluetooth: RFCOMM TTY layer initialized
[    1.601910] Bluetooth: RFCOMM socket layer initialized
[    1.607092] Bluetooth: RFCOMM ver 1.11
[    1.610939] Key type dns_resolver registered
[    1.615440] Registering SWP/SWPB emulation handler
[    1.621559] Loading compiled-in X.509 certificates
[    1.631505] simple-framebuffer 43f80000.framebuffer: framebuffer at 0x43f80000, 0x7f800 bytes, mapped to 0x(ptrval)
[    1.642016] simple-framebuffer 43f80000.framebuffer: format=x8r8g8b8, mode=480x272x32, linelength=1920
[    1.654352] Console: switching to colour frame buffer device 60x34
[    1.662404] simple-framebuffer 43f80000.framebuffer: fb0: simplefb registered!
[    1.671407] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.682263] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
[    1.690837] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.696686] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.704643] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.713920] hub 3-0:1.0: USB hub found
[    1.718030] mmc0: new high speed SDHC card at address 1234
[    1.725155] mmcblk0: mmc0:1234 SA32G 28.9 GiB 
[    1.730234] hub 3-0:1.0: 1 port detected
[    1.737460] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.745105] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.751672]  mmcblk0: p1 p2
[    1.757208] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.764864] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.772331] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.779827] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.786485] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:19:05 UTC (1145)
[    1.794954] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.806297] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.813082] vcc5v0: disabling
[    1.816055] ALSA device list:
[    1.819018]   No soundcards found.
[    1.823229] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.831922] cfg80211: failed to load regulatory.db
[    1.927169] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.935444] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.942598] devtmpfs: mounted
[    1.946905] Freeing unused kernel memory: 1024K
[    1.951937] Run /sbin/init as init process
[    2.073071] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting logging: OK
Populating /dev using udev: [    2.211071] udevd[119]: starting version 3.2.5
[    2.219006] random: udevd: uninitialized urandom read (16 bytes read)
[    2.228599] random: udevd: uninitialized urandom read (16 bytes read)
[    2.235413] random: udevd: uninitialized urandom read (16 bytes read)
[    2.282000] udevd[120]: starting eudev-3.2.5
done
Starting watchdog...
Initializing random number generator... [    4.209578] random: dd: uninitialized urandom read (512 bytes read)
done.
Starting system message bus: [    4.259585] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
[    4.267131] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
done
Starting network: OK
Starting dhcpcd...
all: IPv6 kernel autoconf disabled
no interfaces have a carrier
forked to background, child pid 175
[    4.519391] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    4.527059] sun4i-codec 1c22c00.codec: Failed to register our card
[    4.536465] Generic PHY 0.1:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0.1:01, irq=POLL)
[    4.549193] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[    4.556707] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[    4.564393] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
Starting dropbear sshd: OK

Welcome to Buildroot
Blueberry-PI login: [    5.601852] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    8.428132] random: fast init done

Welcome to Buildroot
Blueberry-PI login: root
Password: 
root@Blueberry-PI:~#

按理来说应该是uboot显示没问题的话(这里直接采用的荔枝派提供的配置文件),Linux启动后也不会有啥问题,但是偏偏碰到了这么个问题,现在是一脸懵逼不知道从哪里下手,希望各位大佬帮忙分析下

页脚

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

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