您尚未登录。

楼主 #1 2020-06-09 09:12:21

SkyLine
会员
注册时间: 2020-05-20
已发帖子: 12
积分: 12

荔枝派nano内核没有正常启动,spiflash用的xt25f128b,16M

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.15.0-rc8-licheepi-nano (book@book-virtual-machine) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #5 Mon Jun 8 18:51:34 CST 2020
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Nano
[    0.000000] Memory policy: Data cache writeback
[    0.000000] random: fast init done
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mtdblock3 rw rootfstype=jffs2
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 22672K/32768K available (6144K kernel code, 240K rwdata, 1412K rodata, 1024K init, 244K bss, 10096K 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 : 0xc2800000 - 0xff800000   ( 976 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (7136 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 241 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 245 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000045] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000111] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000632] Console: colour dummy device 80x30
[    0.000716] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070234] pid_max: default: 32768 minimum: 301
[    0.070536] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070577] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.071983] CPU: Testing write buffer coherency: ok
[    0.073592] Setting up static identity map for 0x80100000 - 0x80100058
[    0.076082] devtmpfs: initialized
[    0.082476] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.082545] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.082784] pinctrl core: initialized pinctrl subsystem
[    0.084713] NET: Registered protocol family 16
[    0.086077] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.087773] cpuidle: using governor menu
[    0.112186] SCSI subsystem initialized
[    0.112516] usbcore: registered new interface driver usbfs
[    0.112654] usbcore: registered new interface driver hub
[    0.112847] usbcore: registered new device driver usb
[    0.113246] pps_core: LinuxPPS API ver. 1 registered
[    0.113273] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.113331] PTP clock support registered
[    0.113805] Advanced Linux Sound Architecture Driver Initialized.
[    0.115285] clocksource: Switched to clocksource timer
[    0.140426] NET: Registered protocol family 2
[    0.141794] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.141869] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.141919] TCP: Hash tables configured (established 1024 bind 1024)
[    0.142180] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.142237] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.142689] NET: Registered protocol family 1
[    0.143861] RPC: Registered named UNIX socket transport module.
[    0.143903] RPC: Registered udp transport module.
[    0.143918] RPC: Registered tcp transport module.
[    0.143933] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.146209] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.147970] Initialise system trusted keyrings
[    0.148492] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.165470] NFS: Registering the id_resolver key type
[    0.165552] Key type id_resolver registered
[    0.165571] Key type id_legacy registered
[    0.178769] Key type asymmetric registered
[    0.178811] Asymmetric key parser 'x509' registered
[    0.179006] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.179037] io scheduler noop registered
[    0.179054] io scheduler deadline registered
[    0.179764] io scheduler cfq registered (default)
[    0.179795] io scheduler mq-deadline registered
[    0.179812] io scheduler kyber registered
[    0.180916] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
[    0.190513] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.353222] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.359814] console [ttyS0] disabled
[    0.380061] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[    0.848564] console [ttyS0] enabled
[    0.858953] panel-simple panel: panel supply power not found, using dummy regulator
[    0.868301] SCSI Media Changer driver v0.25
[    0.875954] m25p80 spi0.0: xt25f128b (16384 Kbytes)
[    0.880905] 4 ofpart partitions found on MTD device spi0.0
[    0.886490] Creating 4 MTD partitions on "spi0.0":
[    0.891300] 0x000000000000-0x000000100000 : "u-boot"
[    0.898889] 0x000000100000-0x000000110000 : "dtb"
[    0.906116] 0x000000110000-0x000000510000 : "kernel"
[    0.913449] 0x000000510000-0x000001000000 : "rootfs"
[    0.921462] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.928115] ehci-platform: EHCI generic platform driver
[    0.933623] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.939921] ohci-platform: OHCI generic platform driver
[    0.945630] usbcore: registered new interface driver usb-storage
[    0.952517] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.961547] i2c /dev entries driver
[    1.025413] sunxi-mmc 1c0f000.mmc: base:0x9f442055 irq:19
[    1.032741] usbcore: registered new interface driver usbhid
[    1.038432] usbhid: USB HID core driver
[    1.059791] NET: Registered protocol family 17
[    1.064554] sctp: Hash tables configured (bind 1024/1024)
[    1.070518] Key type dns_resolver registered
[    1.077135] Loading compiled-in X.509 certificates
[    1.091955] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0739498)
[    1.100852] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc073877c)
[    1.108636] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.115241] [drm] No driver support for vblank timestamp query.
[    1.169321] Console: switching to colour frame buffer device 60x34
[    1.192550] sun4i-drm display-engine: fb0:  frame buffer device
[    1.199721] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.208892] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.220817] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.226741] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.236895] hub 1-0:1.0: USB hub found
[    1.240818] hub 1-0:1.0: 1 port detected
[    1.246364] using random self ethernet address
[    1.250896] using random host ethernet address
[    1.257205] usb0: HOST MAC ca:63:db:27:d9:b7
[    1.261589] usb0: MAC ce:59:b4:db:f0:ec
[    1.265686] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.273163] g_cdc gadget: g_cdc ready
[    1.277872] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.295401] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.302193] vcc3v3: disabling
[    1.305174] ALSA device list:
[    1.308231]   #0: Loopback 1
[    1.311990] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.320737] cfg80211: failed to load regulatory.db
[    1.327196] VFS: Cannot open root device "mtdblock3" or unknown-block(31,3): error -19
[    1.335175] Please append a correct "root=" boot option; here are the available partitions:
[    1.343627] 1f00            1024 mtdblock0
[    1.343642]  (driver?)
[    1.350307] 1f01              64 mtdblock1
[    1.350319]  (driver?)
[    1.356924] 1f02            4096 mtdblock2
[    1.356932]  (driver?)
[    1.363471] 1f03           11200 mtdblock3
[    1.363478]  (driver?)
[    1.370094] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[    1.378434] CPU: 0 PID: 1 Comm: swapper Not tainted 4.15.0-rc8-licheepi-nano #5
[    1.385720] Hardware name: Allwinner suniv Family
[    1.390501] [<c010e550>] (unwind_backtrace) from [<c010b6a8>] (show_stack+0x10/0x14)
[    1.398254] [<c010b6a8>] (show_stack) from [<c0116878>] (panic+0xb8/0x230)
[    1.405144] [<c0116878>] (panic) from [<c0901190>] (mount_block_root+0x170/0x250)
[    1.412628] [<c0901190>] (mount_block_root) from [<c0901364>] (mount_root+0xf4/0x120)
[    1.420453] [<c0901364>] (mount_root) from [<c09014b8>] (prepare_namespace+0x128/0x188)
[    1.428454] [<c09014b8>] (prepare_namespace) from [<c0900dc0>] (kernel_init_freeable+0x174/0x1b8)
[    1.437332] [<c0900dc0>] (kernel_init_freeable) from [<c067d430>] (kernel_init+0x8/0x10c)
[    1.445518] [<c067d430>] (kernel_init) from [<c0107dc0>] (ret_from_fork+0x14/0x34)
[    1.453081] Rebooting in 5 seconds..
[    7.432313] Reboot failed -- System halted

离线

#2 2020-06-09 09:57:36

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,387
积分: 1902
个人网站

Re: 荔枝派nano内核没有正常启动,spiflash用的xt25f128b,16M

#define ENODEV          19      /* No such device */


没有设备 /dev/mtdblock3 ???



https://whycan.cn/t_3138.html#p43702





离线

#3 2020-06-09 10:01:20

checkout
会员
注册时间: 2018-11-09
已发帖子: 173
积分: 168

Re: 荔枝派nano内核没有正常启动,spiflash用的xt25f128b,16M

内核有支持jffs2文件系统?

离线

楼主 #4 2020-06-09 10:40:00

SkyLine
会员
注册时间: 2020-05-20
已发帖子: 12
积分: 12

Re: 荔枝派nano内核没有正常启动,spiflash用的xt25f128b,16M

找到原因了,就是内核没有支持jffs2文件系统导致的

离线

页脚

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

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