页次: 1
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.2.0-200563-g338e6aaa6f28-dirty (linux@linux) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12)) #18 SMP Mon Feb 10 16:02:44 CST 2025
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 16 MiB at 0x43000000
[ 0.000000] percpu: Embedded 16 pages/cpu s34508 r8192 d22836 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 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, 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: 38512K/65536K available (6144K kernel code, 429K rwdata, 1640K rodata, 1024K init, 244K bss, 10640K 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] random: get_random_bytes called from start_kernel+0x2f8/0x484 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000019] Switching to timer-based delay loop, resolution 41ns
[ 0.000231] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000492] Console: colour dummy device 80x30
[ 0.000547] 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, linear)
[ 0.000740] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001541] CPU: Testing write buffer coherency: ok
[ 0.002068] /cpus/cpu@0 missing clock-frequency property
[ 0.002096] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002871] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.003072] rcu: Hierarchical SRCU implementation.
[ 0.003577] smp: Bringing up secondary CPUs ...
[ 0.003596] smp: Brought up 1 node, 1 CPU
[ 0.003606] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.003613] CPU: All CPU(s) started in SVC mode.
[ 0.004604] devtmpfs: initialized
[ 0.008062] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.008366] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008397] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.009194] pinctrl core: initialized pinctrl subsystem
[ 0.010599] NET: Registered protocol family 16
[ 0.011741] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.012977] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.012994] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.029574] SCSI subsystem initialized
[ 0.030394] usbcore: registered new interface driver usbfs
[ 0.030454] usbcore: registered new interface driver hub
[ 0.030542] usbcore: registered new device driver usb
[ 0.030863] pps_core: LinuxPPS API ver. 1 registered
[ 0.030874] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.030896] PTP clock support registered
[ 0.032364] clocksource: Switched to clocksource arch_sys_counter
[ 0.043307] NET: Registered protocol family 2
[ 0.043937] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.043978] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.044004] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.044026] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.044174] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.044224] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.044461] NET: Registered protocol family 1
[ 0.045470] RPC: Registered named UNIX socket transport module.
[ 0.045490] RPC: Registered udp transport module.
[ 0.045496] RPC: Registered tcp transport module.
[ 0.045502] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.047584] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.055587] NFS: Registering the id_resolver key type
[ 0.055644] Key type id_resolver registered
[ 0.055653] Key type id_legacy registered
[ 0.055774] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.055786] io scheduler mq-deadline registered
[ 0.055794] io scheduler kyber registered
[ 0.056719] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[ 0.060685] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.126889] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.129229] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.130364] printk: console [ttyS0] disabled
[ 0.150653] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 7500000) is a U6_16550A
[ 0.684643] printk: console [ttyS0] enabled
[ 0.689391] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[ 0.720632] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 37, base_baud = 7500000) is a U6_16550A
[ 0.751419] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 38, base_baud = 7500000) is a U6_16550A
[ 0.785980] libphy: Fixed MDIO Bus: probed
[ 0.790095] CAN device driver interface
[ 0.794753] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 0.800557] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 0.806874] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 58000)
[ 0.816359] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 0.823596] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 0.830810] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 0.835784] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 0.842575] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 0.848228] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 0.854135] libphy: stmmac: probed
[ 0.858246] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[ 0.864627] libphy: mdio_mux: probed
[ 0.868229] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[ 0.874634] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[ 0.881724] libphy: mdio_mux: probed
[ 0.885759] PPP generic driver version 2.4.2
[ 0.890405] PPP BSD Compression module registered
[ 0.895208] PPP Deflate Compression module registered
[ 0.900267] PPP MPPE Compression module registered
[ 0.905081] NET: Registered protocol family 24
[ 0.909653] usbcore: registered new interface driver asix
[ 0.915141] usbcore: registered new interface driver ax88179_178a
[ 0.921260] usbcore: registered new interface driver cdc_ether
[ 0.927149] usbcore: registered new interface driver net1080
[ 0.932852] usbcore: registered new interface driver rndis_host
[ 0.938819] usbcore: registered new interface driver cdc_subset
[ 0.944794] usbcore: registered new interface driver zaurus
[ 0.950416] usbcore: registered new interface driver cdc_ncm
[ 0.956094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.962626] ehci-platform: EHCI generic platform driver
[ 0.968156] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.973827] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.981985] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 1.012354] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 1.019559] hub 1-0:1.0: USB hub found
[ 1.023510] hub 1-0:1.0: 1 port detected
[ 1.028076] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.034392] ohci-platform: OHCI generic platform driver
[ 1.039942] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.046664] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.054790] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[ 1.127465] hub 2-0:1.0: USB hub found
[ 1.131291] hub 2-0:1.0: 1 port detected
[ 1.138630] usbcore: registered new interface driver option
[ 1.144391] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1.152717] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 1.161882] sun6i-rtc 1c20400.rtc: registered as rtc0
[ 1.167056] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.171794] i2c /dev entries driver
[ 1.178031] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.186725] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 1.223369] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.230650] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.265396] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.273533] usbcore: registered new interface driver usbhid
[ 1.279110] usbhid: USB HID core driver
[ 1.283659] NET: Registered protocol family 17
[ 1.288139] can: controller area network core (rev 20170425 abi 9)
[ 1.294497] NET: Registered protocol family 29
[ 1.298947] can: raw protocol (rev 20170425)
[ 1.303247] can: broadcast manager protocol (rev 20170425 t)
[ 1.308906] can: netlink gateway (rev 20170425) max_hops=1
[ 1.314698] Key type dns_resolver registered
[ 1.319098] Registering SWP/SWPB emulation handler
[ 1.332073] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.343569] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.349334] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.359501] hub 3-0:1.0: USB hub found
[ 1.363567] hub 3-0:1.0: 1 port detected
[ 1.368753] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:12:02 UTC (722)
[ 1.377256] vcc5v0: disabling
[ 1.381259] Waiting for root device /dev/mmcblk0p2...
[ 1.386522] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.396462] mmc0: new high speed SDHC card at address 59b4
[ 1.403944] mmcblk0: mmc0:59b4 SDU1 14.8 GiB
[ 1.410725] mmcblk0: p1 p2
[ 1.454002] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.462209] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.470502] devtmpfs: mounted
[ 1.475293] Freeing unused kernel memory: 1024K
[ 1.480000] Run /sbin/init as init process
[ 1.601952] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 1.622540] usb 1-1: new high-speed USB device number 2 using ehci-platform
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Initializing random number generator: OK
Saving random seed: [ 1.841692] random: dd: uninitialized urandom read (512 bytes read)
[ 1.850812] cdc_ncm 1-1:1.0: MAC-Address: 00:1e:10:1f:00:00
[ 1.856570] cdc_ncm 1-1:1.0: setting rx_max = 16384
OK
Starting haveged: [ 1.872565] cdc_ncm 1-1:1.0 wwan0: register 'cdc_ncm' at usb-1c1a000.usb-1, Mobile Broadband Network Device, 00:1e:10:1f:00:00
[ 1.894135] option 1-1:1.1: GSM modem (1-port) converter detected
[ 1.901979] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 1.912110] option 1-1:1.2: GSM modem (1-port) converter detected
[ 1.919619] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
haveged: listening socket at 3[ 1.932920] option 1-1:1.3: GSM modem (1-port) converter detected
[ 1.952533] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 1.963189] option 1-1:1.4: GSM modem (1-port) converter detected
[ 1.982726] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
日志的头直接成这样了,串口0的波特率为115200,修改了如下部分
为了串口通信稳定,一般要求波特率误差在2.5%以内。
V3S的uart是挂在APB2下,而APB2时钟是24M,所以对一些高速率的波特率,难以分频到合适的频率。
以921600为例,下面进行修改:
进入 uboot的arch/arm/mach-sunxi/clock_sun6i.c,修改uart时钟:
void clock_init_uart(void)
{
#if CONFIG_CONS_INDEX < 5
struct sunxi_ccm_reg *const ccm =
(struct sunxi_ccm_reg *)SUNXI_CCM_BASE;
/* uart clock source is apb2 */
writel(APB2_CLK_SRC_OSC24M| //这里改为APB2_CLK_SRC_PLL6,从内部pll6时钟分频
APB2_CLK_RATE_N_1| //这里预分频不变
APB2_CLK_RATE_M(1),
&ccm->apb2_div);
pll6时钟默认为600MHz,可以分出比较高的串口波特率。
600/0.9216/16=40.69, 舍入为41,相对误差为0.75%
/* ns16550 reg in the low bits of cpu reg */
#define CONFIG_SYS_NS16550_CLK 24000000 //这里改为600000000
#ifndef CONFIG_DM_SERIAL
剩余的就是按照原有方法修改波特率了。
# reboot
# Stopping sshd: OK
Stopping network: OK
Stopping haveged: stopped /usr/sbin/haveged (pid 110)
OK
Saving random seed: OK
Stopping klogd: OK
Stopping syslogd: OK
umount: devtmpfs busy - remounted read-only
[ 16.307125] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
Requesting system reboot
[ 18.323344] reboot: Restarting system
[ 19.327102] Reboot failed -- System halted
U-Boot SPL 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 27 2024 - 02:57:40)
DRAM: 64 MiB
Trying to boot from sunxi SPI
U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 27 2024 - 02:57:40 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 27 2024 - 02:57:40 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
Booting using the fdt blob at 0x41800000
Loading Device Tree to 42dfa000, end 42dfffd9 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.2.0-200563-g338e6aaa6f28-dirty (linux@linux) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12)) #36 SMP Fri Dec 27 16:44:58 CST 2024
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 16 MiB at 0x43000000
[ 0.000000] percpu: Embedded 16 pages/cpu s34508 r8192 d22836 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi0.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[ 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: 38512K/65536K available (6144K kernel code, 424K rwdata, 1628K rodata, 1024K init, 244K bss, 10640K 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 event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x2f8/0x424 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000019] Switching to timer-based delay loop, resolution 41ns
[ 0.000238] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000507] Console: colour dummy device 80x30
[ 0.000564] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000578] pid_max: default: 32768 minimum: 301
[ 0.000734] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000749] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001579] CPU: Testing write buffer coherency: ok
[ 0.002120] /cpus/cpu@0 missing clock-frequency property
[ 0.002146] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002934] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.003151] rcu: Hierarchical SRCU implementation.
[ 0.003694] smp: Bringing up secondary CPUs ...
[ 0.003714] smp: Brought up 1 node, 1 CPU
[ 0.003724] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.003730] CPU: All CPU(s) started in SVC mode.
[ 0.004830] devtmpfs: initialized
[ 0.008419] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.008729] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008759] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.009490] prandom: seed boundary self test passed
[ 0.012508] prandom: 100 self tests passed
[ 0.012600] pinctrl core: initialized pinctrl subsystem
[ 0.013818] NET: Registered protocol family 16
[ 0.014971] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.016254] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.016274] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.033480] SCSI subsystem initialized
[ 0.034211] usbcore: registered new interface driver usbfs
[ 0.034277] usbcore: registered new interface driver hub
[ 0.034363] usbcore: registered new device driver usb
[ 0.034618] pps_core: LinuxPPS API ver. 1 registered
[ 0.034628] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.034652] PTP clock support registered
[ 0.036145] clocksource: Switched to clocksource arch_sys_counter
[ 0.048465] NET: Registered protocol family 2
[ 0.049145] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.049183] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.049207] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.049231] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.049385] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.049440] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.049678] NET: Registered protocol family 1
[ 0.050640] RPC: Registered named UNIX socket transport module.
[ 0.050660] RPC: Registered udp transport module.
[ 0.050666] RPC: Registered tcp transport module.
[ 0.050671] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.052665] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.060002] NFS: Registering the id_resolver key type
[ 0.060059] Key type id_resolver registered
[ 0.060067] Key type id_legacy registered
[ 0.060117] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.060697] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.060715] io scheduler mq-deadline registered
[ 0.060722] io scheduler kyber registered
[ 0.061618] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[ 0.065651] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.138933] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.141447] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.142569] printk: console [ttyS0] disabled
[ 0.162880] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.720106] printk: console [ttyS0] enabled
[ 0.749781] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[ 0.761529] libphy: Fixed MDIO Bus: probed
[ 0.765641] CAN device driver interface
[ 0.770258] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 0.776063] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 0.782361] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 58000)
[ 0.791847] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 0.799087] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 0.806314] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 0.811274] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 0.818067] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 0.823719] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 0.829653] libphy: stmmac: probed
[ 0.833758] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[ 0.840149] libphy: mdio_mux: probed
[ 0.843758] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[ 0.850160] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[ 0.857315] libphy: mdio_mux: probed
[ 0.861235] PPP generic driver version 2.4.2
[ 0.865864] PPP BSD Compression module registered
[ 0.870677] PPP Deflate Compression module registered
[ 0.875737] PPP MPPE Compression module registered
[ 0.880566] NET: Registered protocol family 24
[ 0.885146] usbcore: registered new interface driver asix
[ 0.890634] usbcore: registered new interface driver ax88179_178a
[ 0.896806] usbcore: registered new interface driver cdc_ether
[ 0.902660] usbcore: registered new interface driver net1080
[ 0.908373] usbcore: registered new interface driver rndis_host
[ 0.914319] usbcore: registered new interface driver cdc_subset
[ 0.920284] usbcore: registered new interface driver zaurus
[ 0.925904] usbcore: registered new interface driver cdc_ncm
[ 0.931579] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.938111] ehci-platform: EHCI generic platform driver
[ 0.943628] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.949295] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.957489] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 0.986141] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.993374] hub 1-0:1.0: USB hub found
[ 0.997334] hub 1-0:1.0: 1 port detected
[ 1.001990] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.008362] ohci-platform: OHCI generic platform driver
[ 1.013927] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.020657] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.028732] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[ 1.101235] hub 2-0:1.0: USB hub found
[ 1.105083] hub 2-0:1.0: 1 port detected
[ 1.112445] usbcore: registered new interface driver option
[ 1.118192] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1.126533] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 1.135758] sun6i-rtc 1c20400.rtc: registered as rtc0
[ 1.140936] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.145680] i2c /dev entries driver
[ 1.151777] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.160519] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 1.197159] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.204407] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.241081] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.249231] usbcore: registered new interface driver usbhid
[ 1.254805] usbhid: USB HID core driver
[ 1.259347] NET: Registered protocol family 17
[ 1.263826] can: controller area network core (rev 20170425 abi 9)
[ 1.270183] NET: Registered protocol family 29
[ 1.274630] can: raw protocol (rev 20170425)
[ 1.278936] can: broadcast manager protocol (rev 20170425 t)
[ 1.284598] can: netlink gateway (rev 20170425) max_hops=1
[ 1.290433] Key type dns_resolver registered
[ 1.294856] Registering SWP/SWPB emulation handler
[ 1.307414] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.318951] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.324715] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.334228] hub 3-0:1.0: USB hub found
[ 1.338242] hub 3-0:1.0: 1 port detected
[ 1.343678] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T04:15:31 UTC (15331)
[ 1.352306] vcc5v0: disabling
[ 1.356700] VFS: Cannot open root device "31:03" or unknown-block(31,3): error -19
[ 1.364273] Please append a correct "root=" boot option; here are the available partitions:
[ 1.372701] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[ 1.381049] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.2.0-200563-g338e6aaa6f28-dirty #36
[ 1.389298] Hardware name: Allwinner sun8i Family
[ 1.394034] [<c010ee84>] (unwind_backtrace) from [<c010b804>] (show_stack+0x10/0x14)
[ 1.401775] [<c010b804>] (show_stack) from [<c0645f98>] (dump_stack+0x88/0x9c)
[ 1.408996] [<c0645f98>] (dump_stack) from [<c011e0c8>] (panic+0x110/0x2fc)
[ 1.415959] [<c011e0c8>] (panic) from [<c0901300>] (mount_block_root+0x1a4/0x28c)
[ 1.423438] [<c0901300>] (mount_block_root) from [<c090152c>] (mount_root+0x144/0x160)
[ 1.431350] [<c090152c>] (mount_root) from [<c090168c>] (prepare_namespace+0x144/0x188)
[ 1.439346] [<c090168c>] (prepare_namespace) from [<c065c6e0>] (kernel_init+0x8/0x10c)
[ 1.447257] [<c065c6e0>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 1.454814] Exception stack(0xc2835fb0 to 0xc2835ff8)
[ 1.459861] 5fa0: 00000000 00000000 00000000 00000000
[ 1.468028] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.476194] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 1.482816] Rebooting in 5 seconds..
我这个咋回事呀楼主救救!!
U-Boot SPL 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 27 2024 - 02:57:40)
DRAM: 64 MiB
Trying to boot from sunxi SPI
U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 27 2024 - 02:57:40 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 27 2024 - 02:57:40 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
Booting using the fdt blob at 0x41800000
Loading Device Tree to 42dfa000, end 42dfffd9 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.2.0-200563-g338e6aaa6f28-dirty (linux@linux) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12)) #30 SMP Fri Dec 27 13:01:47 CST 2024
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 16 MiB at 0x43000000
[ 0.000000] percpu: Embedded 16 pages/cpu s34508 r8192 d22836 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi0.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[ 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: 38512K/65536K available (6144K kernel code, 424K rwdata, 1628K rodata, 1024K init, 244K bss, 10640K 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 event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x2f8/0x484 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000020] Switching to timer-based delay loop, resolution 41ns
[ 0.000231] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000496] Console: colour dummy device 80x30
[ 0.000553] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000569] pid_max: default: 32768 minimum: 301
[ 0.000729] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000746] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001565] CPU: Testing write buffer coherency: ok
[ 0.002100] /cpus/cpu@0 missing clock-frequency property
[ 0.002126] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002940] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.003168] rcu: Hierarchical SRCU implementation.
[ 0.003706] smp: Bringing up secondary CPUs ...
[ 0.003726] smp: Brought up 1 node, 1 CPU
[ 0.003735] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.003742] CPU: All CPU(s) started in SVC mode.
[ 0.004824] devtmpfs: initialized
[ 0.008281] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.008594] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008625] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.009431] pinctrl core: initialized pinctrl subsystem
[ 0.010777] NET: Registered protocol family 16
[ 0.011928] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.013193] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.013211] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.030504] SCSI subsystem initialized
[ 0.031258] usbcore: registered new interface driver usbfs
[ 0.031320] usbcore: registered new interface driver hub
[ 0.031401] usbcore: registered new device driver usb
[ 0.031663] pps_core: LinuxPPS API ver. 1 registered
[ 0.031672] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.031694] PTP clock support registered
[ 0.033184] clocksource: Switched to clocksource arch_sys_counter
[ 0.045265] NET: Registered protocol family 2
[ 0.045940] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.045979] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.046004] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.046027] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.046183] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.046232] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.046468] NET: Registered protocol family 1
[ 0.047427] RPC: Registered named UNIX socket transport module.
[ 0.047449] RPC: Registered udp transport module.
[ 0.047456] RPC: Registered tcp transport module.
[ 0.047461] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.049628] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.056699] NFS: Registering the id_resolver key type
[ 0.056769] Key type id_resolver registered
[ 0.056777] Key type id_legacy registered
[ 0.056828] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.057395] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.057414] io scheduler mq-deadline registered
[ 0.057422] io scheduler kyber registered
[ 0.058316] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[ 0.062308] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.132988] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.135568] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.136692] printk: console [ttyS0] disabled
[ 0.157001] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.705276] printk: console [ttyS0] enabled
[ 0.735009] libphy: Fixed MDIO Bus: probed
[ 0.739123] CAN device driver interface
[ 0.743727] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 0.749534] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 0.755803] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 58000)
[ 0.765288] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 0.772504] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 0.779741] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 0.784716] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 0.791497] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 0.797160] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 0.803055] libphy: stmmac: probed
[ 0.807229] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[ 0.813612] libphy: mdio_mux: probed
[ 0.817217] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[ 0.823621] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[ 0.830740] libphy: mdio_mux: probed
[ 0.834781] PPP generic driver version 2.4.2
[ 0.839457] PPP BSD Compression module registered
[ 0.844275] PPP Deflate Compression module registered
[ 0.849335] PPP MPPE Compression module registered
[ 0.854153] NET: Registered protocol family 24
[ 0.858743] usbcore: registered new interface driver asix
[ 0.864237] usbcore: registered new interface driver ax88179_178a
[ 0.870355] usbcore: registered new interface driver cdc_ether
[ 0.876250] usbcore: registered new interface driver net1080
[ 0.881950] usbcore: registered new interface driver rndis_host
[ 0.887924] usbcore: registered new interface driver cdc_subset
[ 0.893886] usbcore: registered new interface driver zaurus
[ 0.899505] usbcore: registered new interface driver cdc_ncm
[ 0.905184] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.911703] ehci-platform: EHCI generic platform driver
[ 0.917236] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.922845] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.931073] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 0.963163] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.970396] hub 1-0:1.0: USB hub found
[ 0.974334] hub 1-0:1.0: 1 port detected
[ 0.978924] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.985249] ohci-platform: OHCI generic platform driver
[ 0.990819] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 0.997544] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.005638] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[ 1.078297] hub 2-0:1.0: USB hub found
[ 1.082143] hub 2-0:1.0: 1 port detected
[ 1.089488] usbcore: registered new interface driver option
[ 1.095233] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1.103608] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 1.112821] sun6i-rtc 1c20400.rtc: registered as rtc0
[ 1.117998] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.122739] i2c /dev entries driver
[ 1.128904] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.137593] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 1.174198] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.181437] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.218158] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.226272] usbcore: registered new interface driver usbhid
[ 1.231848] usbhid: USB HID core driver
[ 1.236415] NET: Registered protocol family 17
[ 1.240894] can: controller area network core (rev 20170425 abi 9)
[ 1.247253] NET: Registered protocol family 29
[ 1.251702] can: raw protocol (rev 20170425)
[ 1.256010] can: broadcast manager protocol (rev 20170425 t)
[ 1.261674] can: netlink gateway (rev 20170425) max_hops=1
[ 1.267509] Key type dns_resolver registered
[ 1.271935] Registering SWP/SWPB emulation handler
[ 1.284555] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.296042] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.301807] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.311265] hub 3-0:1.0: USB hub found
[ 1.315322] hub 3-0:1.0: 1 port detected
[ 1.320764] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T02:10:14 UTC (7814)
[ 1.329348] vcc5v0: disabling
[ 1.333628] VFS: Cannot open root device "31:03" or unknown-block(31,3): error -19
[ 1.341200] Please append a correct "root=" boot option; here are the available partitions:
[ 1.349632] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[ 1.357980] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.2.0-200563-g338e6aaa6f28-dirty #30
[ 1.366229] Hardware name: Allwinner sun8i Family
[ 1.370962] [<c010ee84>] (unwind_backtrace) from [<c010b814>] (show_stack+0x10/0x14)
[ 1.378703] [<c010b814>] (show_stack) from [<c0649518>] (dump_stack+0x88/0x9c)
[ 1.385923] [<c0649518>] (dump_stack) from [<c011e148>] (panic+0x110/0x2fc)
[ 1.392885] [<c011e148>] (panic) from [<c0901360>] (mount_block_root+0x1a4/0x28c)
[ 1.400362] [<c0901360>] (mount_block_root) from [<c090158c>] (mount_root+0x144/0x160)
[ 1.408271] [<c090158c>] (mount_root) from [<c09016f8>] (prepare_namespace+0x150/0x194)
[ 1.416271] [<c09016f8>] (prepare_namespace) from [<c065fc60>] (kernel_init+0x8/0x10c)
[ 1.424181] [<c065fc60>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 1.431738] Exception stack(0xc2835fb0 to 0xc2835ff8)
[ 1.436776] 5fa0: 00000000 00000000 00000000 00000000
[ 1.444943] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.453109] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 1.459728] Rebooting in 5 seconds..
U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 26 2024 - 01:19:55 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
Booting using the fdt blob at 0x41800000
Loading Device Tree to 42dfa000, end 42dfffd9 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.2.0-licheepi-zero+ (linux@linux) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12)) #23 SMP Fri Dec 27 09:31:57 CST 2024
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 16 pages/cpu s34508 r8192 d22836 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi0.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 55060K/65536K available (6144K kernel code, 285K rwdata, 1676K rodata, 1024K init, 252K bss, 10476K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x2f8/0x484 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000019] Switching to timer-based delay loop, resolution 41ns
[ 0.000201] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000444] Console: colour dummy device 80x30
[ 0.000497] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000515] pid_max: default: 32768 minimum: 301
[ 0.000676] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000693] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001493] CPU: Testing write buffer coherency: ok
[ 0.001999] /cpus/cpu@0 missing clock-frequency property
[ 0.002029] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002815] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.003027] rcu: Hierarchical SRCU implementation.
[ 0.003553] smp: Bringing up secondary CPUs ...
[ 0.003575] smp: Brought up 1 node, 1 CPU
[ 0.003585] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.003592] CPU: All CPU(s) started in SVC mode.
[ 0.004656] devtmpfs: initialized
[ 0.008171] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.008484] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008514] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.008757] pinctrl core: initialized pinctrl subsystem
[ 0.009781] NET: Registered protocol family 16
[ 0.010386] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.011660] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.011677] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.036027] SCSI subsystem initialized
[ 0.036319] usbcore: registered new interface driver usbfs
[ 0.036376] usbcore: registered new interface driver hub
[ 0.036479] usbcore: registered new device driver usb
[ 0.036722] mc: Linux media interface: v0.10
[ 0.036761] videodev: Linux video capture interface: v2.00
[ 0.038222] clocksource: Switched to clocksource arch_sys_counter
[ 0.049974] NET: Registered protocol family 2
[ 0.050774] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.050813] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.050838] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.050860] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.051008] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.051059] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.051391] NET: Registered protocol family 1
[ 0.053259] Initialise system trusted keyrings
[ 0.053631] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.059840] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.096638] Key type asymmetric registered
[ 0.096658] Asymmetric key parser 'x509' registered
[ 0.096774] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.096789] io scheduler mq-deadline registered
[ 0.096797] io scheduler kyber registered
[ 0.097816] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[ 0.101754] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.168097] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.170586] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.171648] printk: console [ttyS0] disabled
[ 0.191955] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.704525] printk: console [ttyS0] enabled
[ 0.734605] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[ 0.746286] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
[ 0.751455] 4 cmdlinepart partitions found on MTD device spi0.0
[ 0.757371] Creating 4 MTD partitions on "spi0.0":
[ 0.762190] 0x000000000000-0x000000100000 : "uboot"
[ 0.767860] 0x000000100000-0x000000110000 : "dtb"
[ 0.773191] 0x000000110000-0x000000510000 : "kernel"
[ 0.778748] 0x000000510000-0x000002000000 : "rootfs"
[ 0.784777] libphy: Fixed MDIO Bus: probed
[ 0.789535] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 0.795340] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 0.801601] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 58000)
[ 0.811083] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 0.818323] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 0.825538] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 0.830512] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 0.837292] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 0.842957] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 0.848864] libphy: stmmac: probed
[ 0.852978] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[ 0.859331] libphy: mdio_mux: probed
[ 0.862934] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[ 0.869336] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[ 0.876481] libphy: mdio_mux: probed
[ 0.880528] PPP generic driver version 2.4.2
[ 0.885157] PPP BSD Compression module registered
[ 0.889963] PPP Deflate Compression module registered
[ 0.895030] PPP MPPE Compression module registered
[ 0.899844] NET: Registered protocol family 24
[ 0.904417] usbcore: registered new interface driver cdc_ether
[ 0.910349] usbcore: registered new interface driver rndis_host
[ 0.916300] usbcore: registered new interface driver zaurus
[ 0.921908] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.928446] ehci-platform: EHCI generic platform driver
[ 0.933963] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.939634] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.947591] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 0.978212] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.985421] hub 1-0:1.0: USB hub found
[ 0.989388] hub 1-0:1.0: 1 port detected
[ 0.994025] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.000351] ohci-platform: OHCI generic platform driver
[ 1.005892] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.012613] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.020612] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[ 1.093317] hub 2-0:1.0: USB hub found
[ 1.097157] hub 2-0:1.0: 1 port detected
[ 1.104459] usbcore: registered new interface driver cdc_acm
[ 1.110225] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.118312] usbcore: registered new interface driver cdc_wdm
[ 1.124084] usbcore: registered new interface driver usbserial_generic
[ 1.130742] usbserial: USB Serial support registered for generic
[ 1.136790] usbcore: registered new interface driver option
[ 1.142419] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1.149576] usbcore: registered new interface driver usb_serial_simple
[ 1.156137] usbserial: USB Serial support registered for carelink
[ 1.162304] usbserial: USB Serial support registered for zio
[ 1.167983] usbserial: USB Serial support registered for funsoft
[ 1.174035] usbserial: USB Serial support registered for flashloader
[ 1.180438] usbserial: USB Serial support registered for google
[ 1.186377] usbserial: USB Serial support registered for libtransistor
[ 1.192942] usbserial: USB Serial support registered for vivopay
[ 1.198983] usbserial: USB Serial support registered for moto_modem
[ 1.205265] usbserial: USB Serial support registered for motorola_tetra
[ 1.211917] usbserial: USB Serial support registered for novatel_gps
[ 1.218304] usbserial: USB Serial support registered for hp4x
[ 1.224065] usbserial: USB Serial support registered for suunto
[ 1.230014] usbserial: USB Serial support registered for siemens_mpi
[ 1.236981] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
[ 1.246684] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 1.256521] sun6i-rtc 1c20400.rtc: registered as rtc0
[ 1.261705] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.266319] i2c /dev entries driver
[ 1.271309] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[ 1.281119] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.289845] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 1.326323] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.333629] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.370034] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.378079] usbcore: registered new interface driver usbhid
[ 1.383745] usbhid: USB HID core driver
[ 1.388120] Initializing XFRM netlink socket
[ 1.392516] NET: Registered protocol family 17
[ 1.397581] Registering SWP/SWPB emulation handler
[ 1.403616] Loading compiled-in X.509 certificates
[ 1.414892] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.426464] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.432320] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.441731] hub 3-0:1.0: USB hub found
[ 1.445690] hub 3-0:1.0: 1 port detected
[ 1.450937] using random self ethernet address
[ 1.455430] using random host ethernet address
[ 1.460585] usb0: HOST MAC ce:0b:ef:4c:ed:d6
[ 1.464909] usb0: MAC c2:73:c1:0a:a4:88
[ 1.468868] using random self ethernet address
[ 1.473314] using random host ethernet address
[ 1.477862] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[ 1.484521] g_ether gadget: g_ether ready
[ 1.489046] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:17:04 UTC (1024)
[ 1.497531] vcc5v0: disabling
[ 1.502907] random: fast init done
[ 1.524563] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[ 1.551436] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[ 1.560858] random: crng init done
[ 1.571385] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[ 1.583208] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[ 1.593894] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[ 1.603483] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[ 1.612158] mmc1: new high speed SDIO card at address 0001
[ 7.543223] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[ 7.550615] devtmpfs: mounted
[ 7.554776] Freeing unused kernel memory: 1024K
[ 7.559536] Run /sbin/init as init process
Starting logging: OK
Starting mdev...
/etc/init.d/S10mdev: line 21: can't create /proc/sys/kernel/hotplug: nonexistent directory
modprobe: can't change directory to '/lib/modules': No such file or directory
Initializing random number generator... done.
Starting network: OK
完整log,求大佬指正
U-Boot SPL 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 26 2024 - 01:19:55)
DRAM: 64 MiB
Trying to boot from sunxi SPI
U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 26 2024 - 01:19:55 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 26 2024 - 01:19:55 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
USB0: musb_init_controller failed with status -22
probe failed, error -5
USB error: all controllers failed lowlevel init
Hit any key to stop autoboot: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
Booting using the fdt blob at 0x41800000
Loading Device Tree to 42dfa000, end 42dfffd9 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.2.0-licheepi-zero+ (linux@linux) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12)) #18 SMP Thu Dec 26 16:06:08 CST 2024
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 16 pages/cpu s34508 r8192 d22836 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi0.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 55060K/65536K available (6144K kernel code, 284K rwdata, 1672K rodata, 1024K init, 252K bss, 10476K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x2f8/0x484 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000019] Switching to timer-based delay loop, resolution 41ns
[ 0.000198] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000439] Console: colour dummy device 80x30
[ 0.000497] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000514] pid_max: default: 32768 minimum: 301
[ 0.000676] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000694] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001483] CPU: Testing write buffer coherency: ok
[ 0.001989] /cpus/cpu@0 missing clock-frequency property
[ 0.002016] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002835] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.003050] rcu: Hierarchical SRCU implementation.
[ 0.003583] smp: Bringing up secondary CPUs ...
[ 0.003603] smp: Brought up 1 node, 1 CPU
[ 0.003612] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.003619] CPU: All CPU(s) started in SVC mode.
[ 0.004698] devtmpfs: initialized
[ 0.008189] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.008508] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008538] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.008781] pinctrl core: initialized pinctrl subsystem
[ 0.009809] NET: Registered protocol family 16
[ 0.010413] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.011668] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.011687] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.035754] SCSI subsystem initialized
[ 0.036036] usbcore: registered new interface driver usbfs
[ 0.036091] usbcore: registered new interface driver hub
[ 0.036198] usbcore: registered new device driver usb
[ 0.036434] mc: Linux media interface: v0.10
[ 0.036474] videodev: Linux video capture interface: v2.00
[ 0.037925] clocksource: Switched to clocksource arch_sys_counter
[ 0.049958] NET: Registered protocol family 2
[ 0.050763] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.050802] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.050826] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.050849] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.050993] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.051043] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.051365] NET: Registered protocol family 1
[ 0.053229] Initialise system trusted keyrings
[ 0.053602] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.059841] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.097203] Key type asymmetric registered
[ 0.097225] Asymmetric key parser 'x509' registered
[ 0.097340] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.097354] io scheduler mq-deadline registered
[ 0.097363] io scheduler kyber registered
[ 0.098577] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[ 0.102273] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.171857] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.174202] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.175262] printk: console [ttyS0] disabled
[ 0.195570] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.708183] printk: console [ttyS0] enabled
[ 0.738352] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[ 0.750004] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
[ 0.755092] 4 cmdlinepart partitions found on MTD device spi0.0
[ 0.761079] Creating 4 MTD partitions on "spi0.0":
[ 0.765876] 0x000000000000-0x000000100000 : "uboot"
[ 0.771567] 0x000000100000-0x000000110000 : "dtb"
[ 0.776792] 0x000000110000-0x000000510000 : "kernel"
[ 0.782396] 0x000000510000-0x000002000000 : "rootfs"
[ 0.788531] libphy: Fixed MDIO Bus: probed
[ 0.793200] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 0.799093] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 0.805293] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 58000)
[ 0.814781] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 0.822018] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 0.829247] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 0.834208] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 0.841000] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 0.846652] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 0.852557] libphy: stmmac: probed
[ 0.856680] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[ 0.863034] libphy: mdio_mux: probed
[ 0.866637] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[ 0.873038] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[ 0.880196] libphy: mdio_mux: probed
[ 0.884108] PPP generic driver version 2.4.2
[ 0.888916] usbcore: registered new interface driver cdc_ether
[ 0.894790] usbcore: registered new interface driver rndis_host
[ 0.900876] usbcore: registered new interface driver zaurus
[ 0.906460] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.913016] ehci-platform: EHCI generic platform driver
[ 0.918557] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.924171] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.932173] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 0.967915] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.975108] hub 1-0:1.0: USB hub found
[ 0.979078] hub 1-0:1.0: 1 port detected
[ 0.983740] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.990069] ohci-platform: OHCI generic platform driver
[ 0.995615] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.002337] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.010328] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[ 1.083022] hub 2-0:1.0: USB hub found
[ 1.086868] hub 2-0:1.0: 1 port detected
[ 1.094201] usbcore: registered new interface driver cdc_acm
[ 1.099969] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.108070] usbcore: registered new interface driver cdc_wdm
[ 1.113838] usbcore: registered new interface driver usbserial_generic
[ 1.120475] usbserial: USB Serial support registered for generic
[ 1.126519] usbcore: registered new interface driver option
[ 1.132181] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1.139338] usbcore: registered new interface driver usb_serial_simple
[ 1.145918] usbserial: USB Serial support registered for carelink
[ 1.152084] usbserial: USB Serial support registered for zio
[ 1.157764] usbserial: USB Serial support registered for funsoft
[ 1.163814] usbserial: USB Serial support registered for flashloader
[ 1.170205] usbserial: USB Serial support registered for google
[ 1.176153] usbserial: USB Serial support registered for libtransistor
[ 1.182720] usbserial: USB Serial support registered for vivopay
[ 1.188759] usbserial: USB Serial support registered for moto_modem
[ 1.195038] usbserial: USB Serial support registered for motorola_tetra
[ 1.201694] usbserial: USB Serial support registered for novatel_gps
[ 1.208078] usbserial: USB Serial support registered for hp4x
[ 1.213839] usbserial: USB Serial support registered for suunto
[ 1.219791] usbserial: USB Serial support registered for siemens_mpi
[ 1.226757] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
[ 1.236454] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 1.246288] sun6i-rtc 1c20400.rtc: registered as rtc0
[ 1.251476] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.256096] i2c /dev entries driver
[ 1.261075] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[ 1.270890] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.279609] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 1.316092] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.323406] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.359793] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.367855] usbcore: registered new interface driver usbhid
[ 1.373521] usbhid: USB HID core driver
[ 1.377994] Initializing XFRM netlink socket
[ 1.382306] NET: Registered protocol family 17
[ 1.387377] Registering SWP/SWPB emulation handler
[ 1.393437] Loading compiled-in X.509 certificates
[ 1.404635] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.416192] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.422045] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.431475] hub 3-0:1.0: USB hub found
[ 1.435440] hub 3-0:1.0: 1 port detected
[ 1.440747] using random self ethernet address
[ 1.445201] using random host ethernet address
[ 1.450360] usb0: HOST MAC 12:9c:f0:3e:ad:4f
[ 1.454687] usb0: MAC b6:7a:5c:ef:71:96
[ 1.458649] using random self ethernet address
[ 1.463095] using random host ethernet address
[ 1.467623] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[ 1.474273] g_ether gadget: g_ether ready
[ 1.478812] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T06:53:24 UTC (24804)
[ 1.487378] vcc5v0: disabling
[ 1.492701] random: fast init done
[ 1.515033] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[ 1.540214] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[ 1.549245] random: crng init done
[ 1.560854] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[ 1.572614] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[ 1.582774] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[ 1.592160] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[ 1.600082] mmc1: new high speed SDIO card at address 0001
[ 7.527354] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[ 7.534716] devtmpfs: mounted
[ 7.538929] Freeing unused kernel memory: 1024K
[ 7.543622] Run /sbin/init as init process
Starting logging: OK
Starting mdev...
/etc/init.d/S10mdev: line 21: can't create /proc/sys/kernel/hotplug: nonexistent directory
modprobe: can't change directory to '/lib/modules': No such file or directory
Initializing random number generator... done.
Starting network: OK
U-Boot SPL 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 25 2024 - 03:11:10)
DRAM: 64 MiB
Trying to boot from sunxi SPI
U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 25 2024 - 03:11:10 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 25 2024 - 03:11:10 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
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
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
Booting using the fdt blob at 0x41800000
Loading Device Tree to 42dfa000, end 42dfffd9 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.2.0-licheepi-zero+ (linux@linux) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12)) #8 SMP Wed Dec 25 14:15:21 CST 2024
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 16 pages/cpu s34508 r8192 d22836 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[ 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: 55056K/65536K available (6144K kernel code, 290K rwdata, 1640K rodata, 1024K init, 252K bss, 10480K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x2f8/0x484 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000019] Switching to timer-based delay loop, resolution 41ns
[ 0.000208] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000448] Console: colour dummy device 80x30
[ 0.000507] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000522] pid_max: default: 32768 minimum: 301
[ 0.000684] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000698] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001504] CPU: Testing write buffer coherency: ok
[ 0.002022] /cpus/cpu@0 missing clock-frequency property
[ 0.002049] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002832] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.003048] rcu: Hierarchical SRCU implementation.
[ 0.003578] smp: Bringing up secondary CPUs ...
[ 0.003598] smp: Brought up 1 node, 1 CPU
[ 0.003607] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.003615] CPU: All CPU(s) started in SVC mode.
[ 0.004715] devtmpfs: initialized
[ 0.008231] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.008543] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008573] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.008814] pinctrl core: initialized pinctrl subsystem
[ 0.009834] NET: Registered protocol family 16
[ 0.010432] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.011668] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.011686] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.035733] SCSI subsystem initialized
[ 0.036015] usbcore: registered new interface driver usbfs
[ 0.036069] usbcore: registered new interface driver hub
[ 0.036172] usbcore: registered new device driver usb
[ 0.036400] mc: Linux media interface: v0.10
[ 0.036439] videodev: Linux video capture interface: v2.00
[ 0.037870] clocksource: Switched to clocksource arch_sys_counter
[ 0.049569] NET: Registered protocol family 2
[ 0.050349] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.050385] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.050409] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.050432] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.050568] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.050618] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.050941] NET: Registered protocol family 1
[ 0.052770] Initialise system trusted keyrings
[ 0.053144] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.059313] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.096763] Key type asymmetric registered
[ 0.096785] Asymmetric key parser 'x509' registered
[ 0.096898] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.096913] io scheduler mq-deadline registered
[ 0.096919] io scheduler kyber registered
[ 0.098086] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[ 0.101820] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.168460] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.170776] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.171846] printk: console [ttyS0] disabled
[ 0.192145] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.704981] printk: console [ttyS0] enabled
[ 0.735047] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[ 0.746723] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
[ 0.753154] libphy: Fixed MDIO Bus: probed
[ 0.757779] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 0.763674] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 0.769934] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 38000 (expect 58000)
[ 0.779333] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 0.786550] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 0.793788] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 0.798765] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 0.805545] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 0.811211] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 0.817135] libphy: stmmac: probed
[ 0.821297] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[ 0.827576] libphy: mdio_mux: probed
[ 0.831265] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[ 0.837619] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[ 0.844784] libphy: mdio_mux: probed
[ 0.848877] usbcore: registered new interface driver asix
[ 0.854349] usbcore: registered new interface driver ax88179_178a
[ 0.860582] usbcore: registered new interface driver cdc_ether
[ 0.866446] usbcore: registered new interface driver net1080
[ 0.872182] usbcore: registered new interface driver rndis_host
[ 0.878160] usbcore: registered new interface driver cdc_subset
[ 0.884098] usbcore: registered new interface driver zaurus
[ 0.889746] usbcore: registered new interface driver cdc_ncm
[ 0.895399] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.901939] ehci-platform: EHCI generic platform driver
[ 0.907436] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.913101] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.921054] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 0.947869] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.955097] hub 1-0:1.0: USB hub found
[ 0.959050] hub 1-0:1.0: 1 port detected
[ 0.963633] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.969958] ohci-platform: OHCI generic platform driver
[ 0.975532] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 0.982275] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 0.990252] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[ 1.062931] hub 2-0:1.0: USB hub found
[ 1.066772] hub 2-0:1.0: 1 port detected
[ 1.074094] usbcore: registered new interface driver usb-storage
[ 1.081365] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 1.090672] sun6i-rtc 1c20400.rtc: registered as rtc0
[ 1.095736] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.100456] i2c /dev entries driver
[ 1.105324] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[ 1.115144] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.123833] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 1.160372] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.167613] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.204511] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.212600] usbcore: registered new interface driver usbhid
[ 1.218269] usbhid: USB HID core driver
[ 1.222662] Initializing XFRM netlink socket
[ 1.226964] NET: Registered protocol family 17
[ 1.232092] Registering SWP/SWPB emulation handler
[ 1.238148] Loading compiled-in X.509 certificates
[ 1.249335] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.260794] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.266556] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.276021] hub 3-0:1.0: USB hub found
[ 1.280086] hub 3-0:1.0: 1 port detected
[ 1.285527] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:00:30 UTC (30)
[ 1.293920] vcc5v0: disabling
[ 1.298227] VFS: Cannot open root device "31:03" or unknown-block(31,3): error -19
[ 1.305797] Please append a correct "root=" boot option; here are the available partitions:
[ 1.314236] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[ 1.322583] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.2.0-licheepi-zero+ #8
[ 1.329706] Hardware name: Allwinner sun8i Family
[ 1.334440] [<c010eea4>] (unwind_backtrace) from [<c010b81c>] (show_stack+0x10/0x14)
[ 1.342182] [<c010b81c>] (show_stack) from [<c06537b8>] (dump_stack+0x88/0x9c)
[ 1.349402] [<c06537b8>] (dump_stack) from [<c011df24>] (panic+0x110/0x2fc)
[ 1.356367] [<c011df24>] (panic) from [<c090134c>] (mount_block_root+0x218/0x2f4)
[ 1.363846] [<c090134c>] (mount_block_root) from [<c0901600>] (prepare_namespace+0x150/0x194)
[ 1.372363] [<c0901600>] (prepare_namespace) from [<c0669ee8>] (kernel_init+0x8/0x10c)
[ 1.380274] [<c0669ee8>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 1.387832] Exception stack(0xc3833fb0 to 0xc3833ff8)
[ 1.392878] 3fa0: 00000000 00000000 00000000 00000000
[ 1.401046] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.409212] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 1.415832] Rebooting in 5 seconds..
页次: 1