1.uboot 已经配置环境
#define CONFIG_BOOTCOMMAND "sf probe 0; " \
"sf read 0x41800000 0x100000 0x10000; " \
"sf read 0x41000000 0x110000 0x400000; " \
"bootz 0x41000000 - 0x41800000"
#define CONFIG_BOOTARGS "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"
2.文件系统jffs2
3.已添加SPI节点
4.菜单已添加分区传递
U-Boot SPL 2017.01-rc2-00073-gdd6e874-dirty (May 27 2020 - 09:16:11)
DRAM: 64 MiB
Trying to boot from sunxi SPI
U-Boot 2017.01-rc2-00073-gdd6e874-dirty (May 27 2020 - 09:16:11 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment
Setting up a 480x272 lcd console (overscan 0x0)
dotclock: 10000kHz = 10000kHz: (1 * 3MHz * 20) / 6
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
U-Boot 2017.01-rc2-00073-gdd6e874-dirty (May 27 2020 - 09:16:11 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment
Setting up a 480x272 lcd console (overscan 0x0)
dotclock: 10000kHz = 10000kHz: (1 * 3MHz * 20) / 6
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 2 1 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 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 42dffecd ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.13.16-licheepi-zero (root@linux-6850) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)) #7 SMP Wed May 27 10:04: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 @c3edf000 s33868 r8192 d23476 u65536
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16129
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0: 1M(uboot)ro, 64k(dtb)ro, 4M(kernel)ro, 8M(rootfs), -(data) root=31:03 rw rootfstype=jffs2
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 54572K/65024K available (6144K kernel code, 217K rwdata, 1436K rodata, 1024K init, 261K bss, 10452K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc4000000 - 0xff800000 ( 952 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc3f80000 ( 63 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB)
[ 0.000000] .init : 0xc0900000 - 0xc0a00000 (1024 kB)
[ 0.000000] .data : 0xc0a00000 - 0xc0a366c0 ( 218 kB)
[ 0.000000] .bss : 0xc0a3d6f4 - 0xc0a7eeec ( 262 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU event tracing is enabled.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000020] Switching to timer-based delay loop, resolution 41ns
[ 0.000185] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000413] Console: colour dummy device 80x30
[ 0.000447] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000463] pid_max: default: 32768 minimum: 301
[ 0.000590] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000607] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001208] CPU: Testing write buffer coherency: ok
[ 0.001576] /cpus/cpu@0 missing clock-frequency property
[ 0.001602] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002040] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.002216] Hierarchical SRCU implementation.
[ 0.002711] smp: Bringing up secondary CPUs ...
[ 0.002726] smp: Brought up 1 node, 1 CPU
[ 0.002735] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.002742] CPU: All CPU(s) started in SVC mode.
[ 0.003486] devtmpfs: initialized
[ 0.006753] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.007035] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.007059] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.007226] pinctrl core: initialized pinctrl subsystem
[ 0.008120] random: get_random_u32 called from bucket_table_alloc+0xf0/0x23c with crng_init=0
[ 0.008262] NET: Registered protocol family 16
[ 0.008798] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.010063] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.010083] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.023481] SCSI subsystem initialized
[ 0.023789] usbcore: registered new interface driver usbfs
[ 0.023860] usbcore: registered new interface driver hub
[ 0.023948] usbcore: registered new device driver usb
[ 0.024196] pps_core: LinuxPPS API ver. 1 registered
[ 0.024205] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.024228] PTP clock support registered
[ 0.024464] Advanced Linux Sound Architecture Driver Initialized.
[ 0.026370] clocksource: Switched to clocksource arch_sys_counter
[ 0.037300] NET: Registered protocol family 2
[ 0.037884] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.037916] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.037940] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.038070] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.038117] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.038348] NET: Registered protocol family 1
[ 0.038921] RPC: Registered named UNIX socket transport module.
[ 0.038944] RPC: Registered udp transport module.
[ 0.038950] RPC: Registered tcp transport module.
[ 0.038956] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.041126] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.050061] NFS: Registering the id_resolver key type
[ 0.050110] Key type id_resolver registered
[ 0.050117] Key type id_legacy registered
[ 0.051079] random: fast init done
[ 0.053962] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.053986] io scheduler noop registered
[ 0.053994] io scheduler deadline registered
[ 0.054251] io scheduler cfq registered (default)
[ 0.054262] io scheduler mq-deadline registered
[ 0.054269] io scheduler kyber registered
[ 0.058631] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.127454] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.130733] console [ttyS0] disabled
[ 0.151006] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.738697] console [ttyS0] enabled
[ 0.746787] m25p80 spi32766.0: w25q128 (16384 Kbytes)
[ 0.752404] spi32766.0: parser ofpart: 0
[ 0.757347] libphy: Fixed MDIO Bus: probed
[ 0.761958] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 0.767882] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 0.773595] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[ 0.779784] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 0.785449] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 0.792748] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 0.798429] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 0.805641] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 0.810616] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 0.817592] libphy: stmmac: probed
[ 0.822735] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.829386] ehci-platform: EHCI generic platform driver
[ 0.834898] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.840586] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.848520] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 0.876391] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.883621] hub 1-0:1.0: USB hub found
[ 0.887564] hub 1-0:1.0: 1 port detected
[ 0.892053] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.898353] ohci-platform: OHCI generic platform driver
[ 0.903895] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 0.910622] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 0.918580] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[ 0.991468] hub 2-0:1.0: USB hub found
[ 0.995305] hub 2-0:1.0: 1 port detected
[ 1.002923] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[ 1.012508] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 1.021534] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[ 1.028438] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.032983] i2c /dev entries driver
[ 1.037992] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[ 1.047504] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.116417] sunxi-mmc 1c0f000.mmc: base:0xc4103000 irq:23
[ 1.176400] sunxi-mmc 1c10000.mmc: base:0xc4107000 irq:24
[ 1.182801] usbcore: registered new interface driver usbhid
[ 1.188451] usbhid: USB HID core driver
[ 1.193866] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[ 1.201905] sun4i-codec 1c22c00.codec: Failed to register our card
[ 1.209206] NET: Registered protocol family 17
[ 1.213784] Key type dns_resolver registered
[ 1.218377] Registering SWP/SWPB emulation handler
[ 1.230871] simple-framebuffer 43f80000.framebuffer: framebuffer at 0x43f80000, 0x7f800 bytes, mapped to 0xc4300000
[ 1.241497] simple-framebuffer 43f80000.framebuffer: format=x8r8g8b8, mode=480x272x32, linelength=1920
[ 1.253761] Console: switching to colour frame buffer device 60x34
[ 1.262219] simple-framebuffer 43f80000.framebuffer: fb0: simplefb registered!
[ 1.270775] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.282170] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.288015] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.297136] hub 3-0:1.0: USB hub found
[ 1.301000] hub 3-0:1.0: 1 port detected
[ 1.306105] using random self ethernet address
[ 1.310672] using random host ethernet address
[ 1.316152] usb0: HOST MAC 76:3e:11:e9:bf:67
[ 1.320564] usb0: MAC be:e7:7d:90:08:f8
[ 1.324446] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[ 1.331959] g_cdc gadget: g_cdc ready
[ 1.338286] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[ 1.348007] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 01:52:50 UTC (6770)
[ 1.356491] vcc3v3: disabling
[ 1.359468] vcc5v0: disabling
[ 1.362432] ALSA device list:
[ 1.365395] #0: V3s Audio Codec
[ 1.369894] VFS: Cannot open root device "31:03" or unknown-block(31,3): error -19
[ 1.377548] Please append a correct "root=" boot option; here are the available partitions:
[ 1.385896] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[ 1.394240] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.16-licheepi-zero #7
[ 1.401449] Hardware name: Allwinner sun8i Family
[ 1.406187] [<c010e4c4>] (unwind_backtrace) from [<c010b218>] (show_stack+0x10/0x14)
[ 1.413936] [<c010b218>] (show_stack) from [<c066053c>] (dump_stack+0x84/0x98)
[ 1.421159] [<c066053c>] (dump_stack) from [<c011b544>] (panic+0xdc/0x248)
[ 1.428036] [<c011b544>] (panic) from [<c09011ec>] (mount_block_root+0x198/0x26c)
[ 1.435515] [<c09011ec>] (mount_block_root) from [<c09013e4>] (mount_root+0x124/0x12c)
[ 1.443427] [<c09013e4>] (mount_root) from [<c090153c>] (prepare_namespace+0x150/0x198)
[ 1.451425] [<c090153c>] (prepare_namespace) from [<c0900e24>] (kernel_init_freeable+0x1bc/0x1cc)
[ 1.460289] [<c0900e24>] (kernel_init_freeable) from [<c0672e58>] (kernel_init+0x8/0x110)
[ 1.468460] [<c0672e58>] (kernel_init) from [<c0107578>] (ret_from_fork+0x14/0x3c)
[ 1.476035] Rebooting in 5 seconds..
离线
是不是内核没有打开spi nor flash支持。严格按照这个检查下吧http://zero.lichee.pro/%E7%B3%BB%E7%BB%9F%E5%BC%80%E5%8F%91/SPI_flash_build.html
离线
是不是内核没有打开spi nor flash支持。严格按照这个检查下吧http://zero.lichee.pro/%E7%B3%BB%E7%BB%9F%E5%BC%80%E5%8F%91/SPI_flash_build.html
已经阅读好多遍
晕哥 说:
终于找到了不生成分区的原因, 原来是使用了错误 SPI 驱动.
应该使用 CONFIG_SUN6I_SPI, 而不是 CONFIG_SUN4I_SPI
但是始终没有找到这个是在哪里配置
离线
离线
直接修改Linux源码目录下面的.config文件即可。
离线
找到问题了,因为spiflash 4k擦除问题。
离线
找到问题了,因为spiflash 4k擦除问题。
为啥会有这个问题?
离线
我也遇到了类似的问题 检查是wiki中的mtdparts不匹配导致
wiki中使用的是spi32766.0
#define CONFIG_BOOTARGS "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"
实际编译启动时设置的mtd->name是spi0.0 不匹配导致找不到rootfs
修改后启动正常
U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (May 30 2020 - 09:18:46 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected xt25f128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (May 30 2020 - 09:18:46 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected xt25f128 with page size 256 Bytes, erase size 4 KiB, total 16 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 xt25f128 with page size 256 Bytes, erase size 4 KiB, total 16 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 42dffc64 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.14-licheepi-zero+ (jack@ubuntu) (gcc version 4. 9.4 (Linaro GCC 4.9-2017.01)) #9 SMP Sat May 30 09:08:41 UTC 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
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] random: fast init done
[ 0.000000] percpu: Embedded 16 pages/cpu @c3f5f000 s33792 r8192 d23552 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 root wait mtdparts=spi0.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 55024K/65536K available (6144K kernel code, 282K rwdata, 1 492K rodata, 1024K init, 265K bss, 10512K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc4800000 - 0xff800000 ( 944 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB)
[ 0.000000] .init : 0xc0900000 - 0xc0a00000 (1024 kB)
[ 0.000000] .data : 0xc0a00000 - 0xc0a46ba0 ( 283 kB)
[ 0.000000] .bss : 0xc0a4d934 - 0xc0a8ff74 ( 266 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU event tracing is enabled.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 439804 6511097ns
[ 0.000019] Switching to timer-based delay loop, resolution 41ns
[ 0.000175] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_i dle_ns: 79635851949 ns
[ 0.000406] Console: colour dummy device 80x30
[ 0.000446] Calibrating delay loop (skipped), value calculated using timer fre quency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000462] pid_max: default: 32768 minimum: 301
[ 0.000601] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000617] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001271] CPU: Testing write buffer coherency: ok
[ 0.001660] /cpus/cpu@0 missing clock-frequency property
[ 0.001683] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002133] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.002309] Hierarchical SRCU implementation.
[ 0.002812] smp: Bringing up secondary CPUs ...
[ 0.002828] smp: Brought up 1 node, 1 CPU
[ 0.002836] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.002844] CPU: All CPU(s) started in SVC mode.
[ 0.003641] devtmpfs: initialized
[ 0.006664] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.006964] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max _idle_ns: 19112604462750000 ns
[ 0.006994] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.007181] pinctrl core: initialized pinctrl subsystem
[ 0.008178] NET: Registered protocol family 16
[ 0.008643] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.009715] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint r egisters.
[ 0.009734] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.020941] SCSI subsystem initialized
[ 0.021177] usbcore: registered new interface driver usbfs
[ 0.021232] usbcore: registered new interface driver hub
[ 0.021336] usbcore: registered new device driver usb
[ 0.021565] pps_core: LinuxPPS API ver. 1 registered
[ 0.021578] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giomet ti <giometti@linux.it>
[ 0.021600] PTP clock support registered
[ 0.021762] Advanced Linux Sound Architecture Driver Initialized.
[ 0.023509] clocksource: Switched to clocksource arch_sys_counter
[ 0.032796] NET: Registered protocol family 2
[ 0.033404] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.033437] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.033460] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.033667] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.033715] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.033962] NET: Registered protocol family 1
[ 0.034643] RPC: Registered named UNIX socket transport module.
[ 0.034664] RPC: Registered udp transport module.
[ 0.034670] RPC: Registered tcp transport module.
[ 0.034675] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.036464] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.042122] NFS: Registering the id_resolver key type
[ 0.042174] Key type id_resolver registered
[ 0.042184] Key type id_legacy registered
[ 0.042244] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.046616] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 24 9)
[ 0.046642] io scheduler noop registered
[ 0.046649] io scheduler deadline registered
[ 0.046969] io scheduler cfq registered (default)
[ 0.046983] io scheduler mq-deadline registered
[ 0.046990] io scheduler kyber registered
[ 0.047548] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[ 0.050684] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.112170] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.115229] console [ttyS0] disabled
[ 0.135494] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 33, base_baud = 150 0000) is a U6_16550A
[ 0.718570] console [ttyS0] enabled
[ 0.726184] m25p80 spi0.0: xt25f128 (16384 Kbytes)
[ 0.730992] m25p80 spi0.0: mtd .name = spi0.0, .size = 0x1000000 (16MiB), .era sesize = 0x00010000 (64KiB) .numeraseregions = 0
[ 0.742470] 4 cmdlinepart partitions found on MTD device spi0.0
[ 0.748405] Creating 4 MTD partitions on "spi0.0":
[ 0.753201] 0x000000000000-0x000000100000 : "uboot"
[ 0.758690] mtd: Giving out device 0 to uboot
[ 0.763075] 0x000000100000-0x000000110000 : "dtb"
[ 0.768194] mtd: Giving out device 1 to dtb
[ 0.772399] 0x000000110000-0x000000510000 : "kernel"
[ 0.777751] mtd: Giving out device 2 to kernel
[ 0.782215] 0x000000510000-0x000001000000 : "rootfs"
[ 0.787568] mtd: Giving out device 3 to rootfs
[ 0.792448] libphy: Fixed MDIO Bus: probed
[ 0.796996] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.803571] ehci-platform: EHCI generic platform driver
[ 0.809064] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.814747] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus nu mber 1
[ 0.822653] ehci-platform 1c1a000.usb: irq 25, io mem 0x01c1a000
[ 0.853535] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.860637] hub 1-0:1.0: USB hub found
[ 0.864583] hub 1-0:1.0: 1 port detected
[ 0.869115] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.875430] ohci-platform: OHCI generic platform driver
[ 0.880975] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 0.887696] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus nu mber 2
[ 0.895656] ohci-platform 1c1a400.usb: irq 26, io mem 0x01c1a400
[ 0.968493] hub 2-0:1.0: USB hub found
[ 0.972324] hub 2-0:1.0: 1 port detected
[ 0.980508] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[ 0.987415] sun6i-rtc 1c20400.rtc: RTC enabled
[ 0.991976] i2c /dev entries driver
[ 0.996821] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048 /input/input0
[ 1.005796] IR NEC protocol handler initialized
[ 1.010334] IR RC5(x/sz) protocol handler initialized
[ 1.015470] IR RC6 protocol handler initialized
[ 1.019998] IR JVC protocol handler initialized
[ 1.024546] IR Sony protocol handler initialized
[ 1.029156] IR SANYO protocol handler initialized
[ 1.033867] IR Sharp protocol handler initialized
[ 1.038563] IR MCE Keyboard/mouse protocol handler initialized
[ 1.044398] IR XMP protocol handler initialized
[ 1.049619] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowa yout=0)
[ 1.113564] sunxi-mmc 1c0f000.mmc: base:0xc48ba000 irq:23
[ 1.120388] usbcore: registered new interface driver usbhid
[ 1.126073] usbhid: USB HID core driver
[ 1.132042] NET: Registered protocol family 17
[ 1.136728] Key type dns_resolver registered
[ 1.141149] Registering SWP/SWPB emulation handler
[ 1.152537] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto sup ply vcc not found, using dummy regulator
[ 1.164035] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.169799] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus n umber 3
[ 1.180908] hub 3-0:1.0: USB hub found
[ 1.184904] hub 3-0:1.0: 1 port detected
[ 1.190204] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:13:42 UTC (822)
[ 1.198644] vcc3v0: disabling
[ 1.201620] vcc5v0: disabling
[ 1.204646] ALSA device list:
[ 1.207613] No soundcards found.
[ 1.251931] random: crng init done
[ 2.155316] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[ 2.162678] devtmpfs: mounted
[ 2.166893] Freeing unused kernel memory: 1024K
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting mdev... OK
modprobe: can't change directory to '4.14.14-licheepi-zero+': No such file or dir ectory
Initializing random number generator: OK
Saving random seed: OK
Starting network: OK
Welcome to Buildroot
buildroot login:
离线