您尚未登录。

楼主 #1 2020-08-15 06:15:38

w61999
会员
注册时间: 2020-07-27
已发帖子: 2
积分: 2

lichee pi zero spi 启动时间问题

lichee pi zero 焊接了 32M spi nor flash
烧写系统后
首次启动日志如下:

U-Boot SPL 2017.01-rc2-gdd6e874-dirty (Aug 14 2020 - 22:35:58)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2-gdd6e874-dirty (Aug 14 2020 - 22:35:58 +0800) 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-gdd6e874-dirty (Aug 14 2020 - 22:35:58 +0800) 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 0xa0000, size 0x10000
SF: 65536 bytes @ 0xa0000 Read: OK
device 0 offset 0xb0000, size 0x410000
SF: 4259840 bytes @ 0xb0000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dfffc5 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.0-licheepi-zero+ (pi@vm) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) #2 SMP Thu Aug 13 06:40:23 CST 2020
[    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: setenv bootargs console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi0.0:640k(uboot),64k(dtb)ro,4160k(kernel)ro,-(rootfs) root=/dev/mtdblock3 rw rootfstype=jffs2 init=/linuxrc 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: 55044K/65536K available (6144K kernel code, 302K rwdata, 1696K rodata, 1024K init, 255K bss, 10492K 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+0x2fc/0x488 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.000208] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000450] Console: colour dummy device 80x30
[    0.000507] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000524] pid_max: default: 32768 minimum: 301
[    0.000690] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000706] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001514] CPU: Testing write buffer coherency: ok
[    0.002019] /cpus/cpu@0 missing clock-frequency property
[    0.002048] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002889] Setting up static identity map for 0x40100000 - 0x40100060
[    0.003101] rcu: Hierarchical SRCU implementation.
[    0.003639] smp: Bringing up secondary CPUs ...
[    0.003661] smp: Brought up 1 node, 1 CPU
[    0.003671] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003677] CPU: All CPU(s) started in SVC mode.
[    0.004758] devtmpfs: initialized
[    0.008326] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.008646] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008679] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.008919] pinctrl core: initialized pinctrl subsystem
[    0.010058] NET: Registered protocol family 16
[    0.010615] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.011901] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.011920] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.036185] SCSI subsystem initialized
[    0.036361] usbcore: registered new interface driver usbfs
[    0.036438] usbcore: registered new interface driver hub
[    0.036550] usbcore: registered new device driver usb
[    0.036755] mc: Linux media interface: v0.10
[    0.036795] videodev: Linux video capture interface: v2.00
[    0.037011] Advanced Linux Sound Architecture Driver Initialized.
[    0.038364] clocksource: Switched to clocksource arch_sys_counter
[    0.050917] NET: Registered protocol family 2
[    0.051738] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.051776] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051804] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.051829] TCP: Hash tables configured (established 1024 bind 1024)
[    0.051976] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.052028] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.052346] NET: Registered protocol family 1
[    0.054251] Initialise system trusted keyrings
[    0.054635] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.061834] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.098224] Key type asymmetric registered
[    0.098244] Asymmetric key parser 'x509' registered
[    0.098438] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.098458] io scheduler mq-deadline registered
[    0.098466] io scheduler kyber registered
[    0.099510] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.103273] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.177530] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.180234] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.181361] printk: console [ttyS0] disabled
[    0.201668] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.726776] printk: console [ttyS0] enabled
[    0.757636] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[    0.769392] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
[    0.774481] 4 cmdlinepart partitions found on MTD device spi0.0
[    0.780461] Creating 4 MTD partitions on "spi0.0":
[    0.785255] 0x000000000000-0x0000000a0000 : "uboot"
[    0.792537] 0x0000000a0000-0x0000000b0000 : "dtb"
[    0.799683] 0x0000000b0000-0x0000004c0000 : "kernel"
[    0.806904] 0x0000004c0000-0x000002000000 : "rootfs"
[    0.814596] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.821284] ehci-platform: EHCI generic platform driver
[    0.826839] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.832541] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.840525] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.868368] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.875574] hub 1-0:1.0: USB hub found
[    0.879558] hub 1-0:1.0: 1 port detected
[    0.884168] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.890525] ohci-platform: OHCI generic platform driver
[    0.896078] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.902802] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.910780] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    0.983444] hub 2-0:1.0: USB hub found
[    0.987283] hub 2-0:1.0: 1 port detected
[    0.994591] usbcore: registered new interface driver usb-storage
[    1.001886] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.011155] sun6i-rtc 1c20400.rtc: registered as rtc0
[    1.016220] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.020929] i2c /dev entries driver
[    1.025826] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.035735] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.044430] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.080954] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.088234] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    1.125097] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.133207] usbcore: registered new interface driver usbhid
[    1.138875] usbhid: USB HID core driver
[    1.144537] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.152164] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.159567] Initializing XFRM netlink socket
[    1.163882] NET: Registered protocol family 17
[    1.169211] Registering SWP/SWPB emulation handler
[    1.175103] Loading compiled-in X.509 certificates
[    1.186556] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.198060] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.203912] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.213347] hub 3-0:1.0: USB hub found
[    1.217227] hub 3-0:1.0: 1 port detected
[    1.223684] debugfs: Directory '1c22c00.codec' with parent 'V3s Audio Codec' already present!
[    1.232363] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory: -17
[    1.242417] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.251058] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:00:06 UTC (6)
[    1.259361] vcc5v0: disabling
[    1.262338] ALSA device list:
[    1.265304]   #0: V3s Audio Codec
[    1.270868] random: fast init done
[    1.314985] random: crng init done
[    7.251462] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[    7.258127] devtmpfs: mounted
[    7.262368] Freeing unused kernel memory: 1024K
[    7.267056] Run /linuxrc as init process
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Saving random seed: OK
Starting network: OK

Welcome to Buildroot for the LicheePi Zero
licheepi-zero login: root
#

为什么这个地方会花那么久
可能是什么原因
求指导

[    1.314985] random: crng init done
[    7.251462] VFS: Mounted root (jffs2 filesystem) on device 31:3.

最近编辑记录 w61999 (2020-08-15 06:18:24)

离线

页脚

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

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