您尚未登录。

楼主 #1 2019-01-19 23:21:00

xiongxinjian
会员
注册时间: 2019-01-13
已发帖子: 43
积分: 13

全志A13 SPI NOR FLASH启动,分析不到MTD分区,加载不了JFFS文件系统,请有遇到过类似问题的大神指点下,谢谢

参考荔枝派V3S的SPI NOR FLASH的系统制方法,V3S能正常运行起来。A13参照该方法,FLASH已经检测到,但分析不到MTD分区,加载不了JFFS文件系统,下面是LOG信息。

U-Boot 2017.01-rc2-00071-gf03c1f5-dirty (Jan 14 2019 - 19:42:05 +0800) Allwinner Technology

CPU:   Allwinner A13 (SUN5I)
Model: Lichee A13
I2C:   ready
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 1024x768 vga console (overscan 0x0)
dotclock: 65000kHz = 64909kHz: (2 * 3MHz * 119) / 11
In:    serial
Out:   vga
Err:   vga
Net:   No ethernet found.
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
scanning bus 0 for devices... 2 USB Device(s) found
Hit any key to stop autoboot:  0
probe ---->>>>>>
bus=0 , cs=0
speed=0 , mode=0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
read ---->>>>>>
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
read ---->>>>>>
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 49ff7000, end 49fff789 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero+ (root@linux-host) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #1 SMP Sat Jan 19 19:09:42 CST 2019
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Lichee A13 ONE--->>
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 16 pages/cpu @df8d7000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129286
[    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] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 506824K/521216K available (6144K kernel code, 195K rwdata, 1436K rodata, 1024K init, 264K bss, 14392K 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 : 0xe0000000 - 0xff800000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdfd00000   ( 509 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 - 0xc0a30d80   ( 196 kB)
[    0.000000]        .bss : 0xc0a37ad8 - 0xc0a79c6c   ( 265 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.000025] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000054] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000203] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370868154 ns
[    0.000455] Console: colour dummy device 80x30
[    0.000488] Calibrating delay loop... 1001.88 BogoMIPS (lpj=5009408)
[    0.090109] pid_max: default: 32768 minimum: 301
[    0.090236] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090251] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090835] CPU: Testing write buffer coherency: ok
[    0.091169] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.091544] Setting up static identity map for 0x40100000 - 0x40100060
[    0.091675] Hierarchical SRCU implementation.
[    0.092099] smp: Bringing up secondary CPUs ...
[    0.092111] smp: Brought up 1 node, 1 CPU
[    0.092122] SMP: Total of 1 processors activated (1001.88 BogoMIPS).
[    0.092129] CPU: All CPU(s) started in SVC mode.
[    0.093585] devtmpfs: initialized
[    0.098450] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.098708] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.098734] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.098842] pinctrl core: initialized pinctrl subsystem
[    0.099627] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.099740] NET: Registered protocol family 16
[    0.100420] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.101319] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.112835] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[    0.113911] SCSI subsystem initialized
[    0.114141] usbcore: registered new interface driver usbfs
[    0.114196] usbcore: registered new interface driver hub
[    0.114266] usbcore: registered new device driver usb
[    0.114449] pps_core: LinuxPPS API ver. 1 registered
[    0.114457] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.114485] PTP clock support registered
[    0.114684] Advanced Linux Sound Architecture Driver Initialized.
[    0.116128] clocksource: Switched to clocksource timer
[    0.116971] simple-framebuffer 5fd00000.framebuffer: framebuffer at 0x5fd00000, 0x300000 bytes, mapped to 0xe0100000
[    0.116988] simple-framebuffer 5fd00000.framebuffer: format=x8r8g8b8, mode=1024x768x32, linelength=4096
[    0.129313] Console: switching to colour frame buffer device 128x48
[    0.140809] simple-framebuffer 5fd00000.framebuffer: fb0: simplefb registered!
[    0.149287] NET: Registered protocol family 2
[    0.149809] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.149857] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.149918] TCP: Hash tables configured (established 4096 bind 4096)
[    0.150024] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.150046] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.150177] NET: Registered protocol family 1
[    0.150626] RPC: Registered named UNIX socket transport module.
[    0.150639] RPC: Registered udp transport module.
[    0.150646] RPC: Registered tcp transport module.
[    0.150652] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.152359] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.160462] NFS: Registering the id_resolver key type
[    0.160515] Key type id_resolver registered
[    0.160522] Key type id_legacy registered
[    0.160563] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.161766] random: fast init done
[    0.164703] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.164720] io scheduler noop registered
[    0.164728] io scheduler deadline registered
[    0.164919] io scheduler cfq registered (default)
[    0.164928] io scheduler mq-deadline registered
[    0.164936] io scheduler kyber registered
[    0.165364] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[    0.167897] sun5i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.228871] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.231645] console [ttyS0] disabled
[    0.251778] 1c28400.serial: ttyS0 at MMIO 0x1c28400 (irq = 27, base_baud = 1500000) is a U6_16550A
[    0.864945] console [ttyS0] enabled
[    0.872343] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.877483] spi0.0: parser cmdlinepart: 0
[    0.881492] spi0.0: parser ofpart: 0
[    0.885883] libphy: Fixed MDIO Bus: probed
[    0.890390] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.896939] ehci-platform: EHCI generic platform driver
[    0.902395] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.908614] ohci-platform: OHCI generic platform driver
[    0.914354] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.923662] input: 1c22800.lradc as /devices/platform/soc@01c00000/1c22800.lradc/input/input0
[    0.932760] i2c /dev entries driver
[    0.937276] axp20x-i2c 0-0034: AXP20x variant AXP209 found
[    0.957108] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input1
[    0.967664] axp20x-regulator axp20x-regulator: regulators node not found
[    0.974393] ldo1: supplied by regulator-dummy
[    0.979021] ldo2: supplied by regulator-dummy
[    0.984432] ldo3: supplied by regulator-dummy
[    0.989414] ldo4: supplied by regulator-dummy
[    0.993954] ldo5: supplied by regulator-dummy
[    0.999356] dcdc2: supplied by regulator-dummy
[    1.004395] dcdc3: supplied by regulator-dummy
[    1.009858] axp20x-i2c 0-0034: AXP20X driver loaded
[    1.016506] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.086168] sunxi-mmc 1c0f000.mmc: base:0xe00fc000 irq:20
[    1.093028] usbcore: registered new interface driver usbhid
[    1.098666] usbhid: USB HID core driver
[    1.103988] NET: Registered protocol family 17
[    1.108611] Key type dns_resolver registered
[    1.113017] Registering SWP/SWPB emulation handler
[    1.124710] sun5i-pinctrl 1c20800.pinctrl: unsupported function gpio_out on pin PG0
[    1.132696] usb0-vbus: Failed to request enable GPIO192: -22
[    1.138401] reg-fixed-voltage usb0-vbus: Failed to register regulator: -22
[    1.145297] reg-fixed-voltage: probe of usb0-vbus failed with error -22
[    1.156240] hctosys: unable to open rtc device (rtc0)
[    1.161650] vcc5v0: disabling
[    1.164630] ALSA device list:
[    1.167665]   No soundcards found.
[    1.171954] VFS: Cannot open root device "31:03" or unknown-block(31,3): error -19
[    1.179606] Please append a correct "root=" boot option; here are the available partitions:
[    1.187976] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[    1.196321] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.16-licheepi-zero+ #1
[    1.203618] Hardware name: Allwinner sun4i/sun5i Families
[    1.209055] [<c010e50c>] (unwind_backtrace) from [<c010b210>] (show_stack+0x10/0x14)
[    1.216800] [<c010b210>] (show_stack) from [<c0675fdc>] (dump_stack+0x84/0x98)
[    1.224028] [<c0675fdc>] (dump_stack) from [<c011b6c8>] (panic+0xdc/0x248)
[    1.230905] [<c011b6c8>] (panic) from [<c09011d0>] (mount_block_root+0x188/0x25c)
[    1.238382] [<c09011d0>] (mount_block_root) from [<c09013c4>] (mount_root+0x120/0x128)
[    1.246290] [<c09013c4>] (mount_root) from [<c090151c>] (prepare_namespace+0x150/0x194)
[    1.254286] [<c090151c>] (prepare_namespace) from [<c0900e20>] (kernel_init_freeable+0x1bc/0x1cc)
[    1.263154] [<c0900e20>] (kernel_init_freeable) from [<c0688eb4>] (kernel_init+0x8/0x108)
[    1.271324] [<c0688eb4>] (kernel_init) from [<c0107598>] (ret_from_fork+0x14/0x3c)
[    1.278896] Rebooting in 5 seconds..

离线

楼主 #3 2019-01-20 09:37:07

xiongxinjian
会员
注册时间: 2019-01-13
已发帖子: 43
积分: 13

Re: 全志A13 SPI NOR FLASH启动,分析不到MTD分区,加载不了JFFS文件系统,请有遇到过类似问题的大神指点下,谢谢

是啊,配置都是跟V3S一样的,V3S的能正常分析MTD分区信息并正常加载,A13就是不行。

离线

楼主 #5 2019-01-20 22:19:53

xiongxinjian
会员
注册时间: 2019-01-13
已发帖子: 43
积分: 13

Re: 全志A13 SPI NOR FLASH启动,分析不到MTD分区,加载不了JFFS文件系统,请有遇到过类似问题的大神指点下,谢谢

现已定位到问题的原因:是DTS文件的问题。DTS文件是我们从UBOOT源码中拷贝的,在LINUX KERNEL中的DTS文件的aliases {
        serial0 = &uart1;
        spi0 = &spi0;
    };中要把spi0 = &spi0;去掉

离线

楼主 #6 2019-01-20 22:21:53

xiongxinjian
会员
注册时间: 2019-01-13
已发帖子: 43
积分: 13

Re: 全志A13 SPI NOR FLASH启动,分析不到MTD分区,加载不了JFFS文件系统,请有遇到过类似问题的大神指点下,谢谢

U-Boot SPL 2017.01-rc2-00071-gf03c1f5-dirty (Jan 14 2019 - 19:42:05)
DRAM: 512 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2-00071-gf03c1f5-dirty (Jan 14 2019 - 19:42:05 +0800) Allwinner Technology

CPU:   Allwinner A13 (SUN5I)
Model: Lichee A13
I2C:   ready
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 1024x768 vga console (overscan 0x0)
dotclock: 65000kHz = 64909kHz: (2 * 3MHz * 119) / 11
In:    serial
Out:   vga
Err:   vga
Net:   No ethernet found.
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
scanning bus 0 for devices... 2 USB Device(s) found
Hit any key to stop autoboot:  0
probe ---->>>>>>
bus=0 , cs=0
speed=0 , mode=0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
read ---->>>>>>
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
read ---->>>>>>
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 49ff7000, end 49fff760 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.15-licheepi-zero+ (root@linux-host) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #1 SMP Sun Jan 20 20:50:42 CST 2019
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Lichee A13 ONE--->>8888
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 14 pages/cpu @df8d9000 s24716 r8192 d24436 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129286
[    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] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 506824K/521216K available (6144K kernel code, 230K rwdata, 1444K rodata, 1024K init, 262K bss, 14392K 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 : 0xe0000000 - 0xff800000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdfd00000   ( 509 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 - 0xc0a39a40   ( 231 kB)
[    0.000000]        .bss : 0xc0a3b000 - 0xc0a7c88c   ( 263 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000023] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000051] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000208] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370868154 ns
[    0.000446] Console: colour dummy device 80x30
[    0.000479] Calibrating delay loop... 1001.88 BogoMIPS (lpj=5009408)
[    0.090104] pid_max: default: 32768 minimum: 301
[    0.090221] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090231] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090906] CPU: Testing write buffer coherency: ok
[    0.091274] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.091600] Setting up static identity map for 0x40100000 - 0x40100058
[    0.092207] smp: Bringing up secondary CPUs ...
[    0.092218] smp: Brought up 1 node, 1 CPU
[    0.092227] SMP: Total of 1 processors activated (1001.88 BogoMIPS).
[    0.092234] CPU: All CPU(s) started in SVC mode.
[    0.093700] devtmpfs: initialized
[    0.099494] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.099788] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.099811] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.099913] pinctrl core: initialized pinctrl subsystem
[    0.100936] NET: Registered protocol family 16
[    0.101526] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.102538] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.114522] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[    0.115627] SCSI subsystem initialized
[    0.115885] usbcore: registered new interface driver usbfs
[    0.115947] usbcore: registered new interface driver hub
[    0.116019] usbcore: registered new device driver usb
[    0.116240] pps_core: LinuxPPS API ver. 1 registered
[    0.116249] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.116272] PTP clock support registered
[    0.116484] Advanced Linux Sound Architecture Driver Initialized.
[    0.118003] clocksource: Switched to clocksource timer
[    0.118897] simple-framebuffer 5fd00000.framebuffer: framebuffer at 0x5fd00000, 0x300000 bytes, mapped to 0xe0100000
[    0.118914] simple-framebuffer 5fd00000.framebuffer: format=x8r8g8b8, mode=1024x768x32, linelength=4096
[    0.131382] Console: switching to colour frame buffer device 128x48
[    0.143006] simple-framebuffer 5fd00000.framebuffer: fb0: simplefb registered!
[    0.151843] NET: Registered protocol family 2
[    0.152401] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.152446] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.152505] TCP: Hash tables configured (established 4096 bind 4096)
[    0.152582] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.152603] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.152750] NET: Registered protocol family 1
[    0.153240] RPC: Registered named UNIX socket transport module.
[    0.153256] RPC: Registered udp transport module.
[    0.153262] RPC: Registered tcp transport module.
[    0.153268] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.155253] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.164212] NFS: Registering the id_resolver key type
[    0.164259] Key type id_resolver registered
[    0.164265] Key type id_legacy registered
[    0.164308] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.168874] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.168891] io scheduler noop registered
[    0.168898] io scheduler deadline registered
[    0.169073] io scheduler cfq registered (default)
[    0.169514] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[    0.171998] sun5i-a13-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.235990] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.239135] console [ttyS0] disabled
[    0.259260] 1c28400.serial: ttyS0 at MMIO 0x1c28400 (irq = 27, base_baud = 1500000) is a U6_16550A
[    0.847495] console [ttyS0] enabled
[    0.851667] [drm] Initialized
[    0.857578] m25p_probe ----------->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> !
[    0.864292] m25p80 spi32766.0: mx25l12805d (16384 Kbytes)
[    0.869718] mtd_device_parse_register -->> MARK20190118
[    0.875110] parse_mtd_partitions ---->>MARK20190118A
[    0.880253] spi32766.0: parsing partitions cmdlinepart
[    0.885385] spi32766.0: got parser cmdlinepart
[    0.889847] spi32766.0: parser cmdlinepart: 4
[    0.894199] 4 cmdlinepart partitions found on MTD device spi32766.0
[    0.900470] Creating 4 MTD partitions on "spi32766.0":
[    0.905619] 0x000000000000-0x000000100000 : "uboot"
[    0.910934] 0x000000100000-0x000000110000 : "dtb"
[    0.915957] 0x000000110000-0x000000510000 : "kernel"
[    0.921284] 0x000000510000-0x000001000000 : "rootfs"
[    0.926916] libphy: Fixed MDIO Bus: probed
[    0.931375] usbcore: registered new interface driver mt7601u
[    0.937064] usbcore: registered new interface driver rtl8187
[    0.942805] usbcore: registered new interface driver rtl8192cu
[    0.948694] usbcore: registered new interface driver rtl8xxxu
[    0.954432] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.960965] ehci-platform: EHCI generic platform driver
[    0.966423] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.972673] ohci-platform: OHCI generic platform driver
[    0.978443] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.987709] input: 1c22800.lradc as /devices/platform/soc@01c00000/1c22800.lradc/input/input0
[    0.996902] i2c /dev entries driver
[    1.001427] axp20x-i2c 0-0034: AXP20x variant AXP209 found
[    1.020344] random: fast init done
[    1.025199] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input1
[    1.035791] axp20x-regulator axp20x-regulator: regulators node not found
[    1.046308] axp20x-i2c 0-0034: AXP20X driver loaded
[    1.053115] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.118049] sunxi-mmc 1c0f000.mmc: base:0xe00fc000 irq:20
[    1.124942] usbcore: registered new interface driver usbhid
[    1.130599] usbhid: USB HID core driver
[    1.136161] NET: Registered protocol family 17
[    1.140798] Key type dns_resolver registered
[    1.145205] Registering SWP/SWPB emulation handler
[    1.156354] sun5i-a13-pinctrl 1c20800.pinctrl: unsupported function gpio_out on pin PG0
[    1.164683] usb0-vbus: Failed to request enable GPIO192: -22
[    1.170392] reg-fixed-voltage usb0-vbus: Failed to register regulator: -22
[    1.177280] reg-fixed-voltage: probe of usb0-vbus failed with error -22
[    1.188109] hctosys: unable to open rtc device (rtc0)
[    1.193501] vcc5v0: disabling
[    1.196483] ALSA device list:
[    1.199513]   No soundcards found.
[    1.563325] random: crng init done
[   16.673621] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[   16.680725] devtmpfs: mounted
[   16.685243] Freeing unused kernel memory: 1024K
[   22.518150] ------------[ cut here ]------------
[   22.522807] WARNING: CPU: 0 PID: 1 at drivers/mtd/spi-nor/spi-nor.c:1214 spi_nor_write+0x138/0x1b4
[   22.531783] Writing at offset 36 into a NOR page. Writing partial pages may decrease reliability and increase wear of NOR flash.
[   22.531788] Modules linked in:
[   22.546406] CPU: 0 PID: 1 Comm: init Not tainted 4.10.15-licheepi-zero+ #1
[   22.553269] Hardware name: Allwinner sun4i/sun5i Families
[   22.558698] [<c010e27c>] (unwind_backtrace) from [<c010b018>] (show_stack+0x10/0x14)
[   22.566440] [<c010b018>] (show_stack) from [<c0345a24>] (dump_stack+0x84/0x98)
[   22.573670] [<c0345a24>] (dump_stack) from [<c011b5b4>] (__warn+0xe8/0x100)
[   22.580627] [<c011b5b4>] (__warn) from [<c011b604>] (warn_slowpath_fmt+0x38/0x48)
[   22.588106] [<c011b604>] (warn_slowpath_fmt) from [<c04512ac>] (spi_nor_write+0x138/0x1b4)
[   22.596374] [<c04512ac>] (spi_nor_write) from [<c044968c>] (mtd_writev+0xa4/0xec)
[   22.603863] [<c044968c>] (mtd_writev) from [<c02fb328>] (jffs2_flash_writev+0x414/0x4b0)
[   22.611947] [<c02fb328>] (jffs2_flash_writev) from [<c02f41a8>] (jffs2_write_dnode+0xd4/0x328)
[   22.620550] [<c02f41a8>] (jffs2_write_dnode) from [<c02f4ac0>] (jffs2_do_create+0x90/0x230)
[   22.628892] [<c02f4ac0>] (jffs2_do_create) from [<c02ef13c>] (jffs2_create+0xa0/0x120)
[   22.636806] [<c02ef13c>] (jffs2_create) from [<c01fe560>] (path_openat+0x9f4/0xf30)
[   22.644457] [<c01fe560>] (path_openat) from [<c01ffd08>] (do_filp_open+0x60/0xc4)
[   22.651935] [<c01ffd08>] (do_filp_open) from [<c01ef0e4>] (do_sys_open+0x110/0x1c0)
[   22.659585] [<c01ef0e4>] (do_sys_open) from [<c0107500>] (ret_fast_syscall+0x0/0x3c)
[   22.667376] ---[ end trace ce72f3266afe17f5 ]---

Welcome to Lichee Pi

离线

页脚

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

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