您尚未登录。

楼主 # 2022-03-24 11:24:13

spring
会员
注册时间: 2021-11-27
已发帖子: 16
积分: 11

荔枝派nano 编译后无法正常启动问题

Starting kernel ...

  0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.15.0-rc8-licheepi-nano+ (spring@spring-virtual-machine) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 Wed Mar 23 16:47:07 CST 2022
[    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 earlyprintk panic=5 rootwait; mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) 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: 22680K/32768K available (6144K kernel code, 237K rwdata, 1412K rodata, 1024K init, 246K bss, 10088K 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)   ( 238 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 247 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.000050] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000121] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000761] Console: colour dummy device 80x30
[    0.000857] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070253] pid_max: default: 32768 minimum: 301
[    0.070591] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070639] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072219] CPU: Testing write buffer coherency: ok
[    0.074154] Setting up static identity map for 0x80100000 - 0x80100058
[    0.076859] devtmpfs: initialized
[    0.083665] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.083735] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.084031] pinctrl core: initialized pinctrl subsystem
[    0.086296] NET: Registered protocol family 16
[    0.088444] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.090567] cpuidle: using governor menu
[    0.117811] SCSI subsystem initialized
[    0.118168] usbcore: registered new interface driver usbfs
[    0.118325] usbcore: registered new interface driver hub
[    0.118552] usbcore: registered new device driver usb
[    0.119050] pps_core: LinuxPPS API ver. 1 registered
[    0.119077] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.119141] PTP clock support registered
[    0.119634] Advanced Linux Sound Architecture Driver Initialized.
[    0.121606] clocksource: Switched to clocksource timer
[    0.150005] NET: Registered protocol family 2
[    0.151530] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.151749] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.151811] TCP: Hash tables configured (established 1024 bind 1024)
[    0.152200] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.152267] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.152798] NET: Registered protocol family 1
[    0.154149] RPC: Registered named UNIX socket transport module.
[    0.154191] RPC: Registered udp transport module.
[    0.154207] RPC: Registered tcp transport module.
[    0.154224] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.156675] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.158633] Initialise system trusted keyrings
[    0.159244] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.177695] NFS: Registering the id_resolver key type
[    0.177788] Key type id_resolver registered
[    0.177809] Key type id_legacy registered
[    0.177929] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.193589] Key type asymmetric registered
[    0.193636] Asymmetric key parser 'x509' registered
[    0.193862] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.193896] io scheduler noop registered
[    0.193914] io scheduler deadline registered
[    0.194747] io scheduler cfq registered (default)
[    0.194782] io scheduler mq-deadline registered
[    0.194801] io scheduler kyber registered
[    0.195975] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
[    0.206014] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.389000] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.396280] console [ttyS0] disabled
[    0.416566] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[    0.898402] console [ttyS0] enabled
[    0.909104] panel-simple panel: panel supply power not found, using dummy regulator
[    0.918607] SCSI Media Changer driver v0.25 
[    0.926592] m25p80 spi0.0: unrecognized JEDEC id bytes: 0b, 40, 18
[    0.933532] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.940069] ehci-platform: EHCI generic platform driver
[    0.945749] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.952076] ohci-platform: OHCI generic platform driver
[    0.957747] usbcore: registered new interface driver usb-storage
[    0.964853] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.973948] i2c /dev entries driver
[    1.031748] sunxi-mmc 1c0f000.mmc: base:0x1f9cbc10 irq:19
[    1.039409] usbcore: registered new interface driver usbhid
[    1.045125] usbhid: USB HID core driver
[    1.067995] NET: Registered protocol family 17
[    1.072849] Key type dns_resolver registered
[    1.079760] Loading compiled-in X.509 certificates
[    1.096302] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0739c58)
[    1.105203] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0738f3c)
[    1.112990] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.119597] [drm] No driver support for vblank timestamp query.
[    1.173794] Console: switching to colour frame buffer device 60x34
[    1.197018] sun4i-drm display-engine: fb0:  frame buffer device
[    1.204187] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.213409] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.225311] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.231103] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.241312] hub 1-0:1.0: USB hub found
[    1.245366] hub 1-0:1.0: 1 port detected
[    1.250855] using random self ethernet address
[    1.255488] using random host ethernet address
[    1.261829] usb0: HOST MAC ce:a6:27:25:fd:ae
[    1.266217] usb0: MAC ce:6e:be:3e:e9:ec
[    1.270231] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.277800] g_cdc gadget: g_cdc ready
[    1.282409] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.299996] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.306894] vcc3v3: disabling
[    1.309876] ALSA device list:
[    1.312922]   #0: Loopback 1
[    1.316672] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.325425] cfg80211: failed to load regulatory.db
[    1.331146] List of all partitions:
[    1.334819] No filesystem could mount root, tried: 
[    1.334834]  jffs2
[    1.339752] 
[    1.343337] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.351590] CPU: 0 PID: 1 Comm: swapper Not tainted 4.15.0-rc8-licheepi-nano+ #1
[    1.358961] Hardware name: Allwinner suniv Family
[    1.363735] [<c010e550>] (unwind_backtrace) from [<c010b6a8>] (show_stack+0x10/0x14)
[    1.371487] [<c010b6a8>] (show_stack) from [<c0116878>] (panic+0xb8/0x230)
[    1.378385] [<c0116878>] (panic) from [<c0901204>] (mount_block_root+0x1e4/0x250)
[    1.385869] [<c0901204>] (mount_block_root) from [<c0901364>] (mount_root+0xf4/0x120)
[    1.393696] [<c0901364>] (mount_root) from [<c09014b8>] (prepare_namespace+0x128/0x188)
[    1.401697] [<c09014b8>] (prepare_namespace) from [<c0900dc0>] (kernel_init_freeable+0x174/0x1b8)
[    1.410557] [<c0900dc0>] (kernel_init_freeable) from [<c06651f0>] (kernel_init+0x8/0x10c)
[    1.418729] [<c06651f0>] (kernel_init) from [<c0107dc0>] (ret_from_fork+0x14/0x34)
[    1.426289] Rebooting in 5 seconds..
[    7.405521] Reboot failed -- System halted 

程序烧写之后无法正常启动可能什么问题?

离线

楼主 #2 2022-03-25 12:00:26

spring
会员
注册时间: 2021-11-27
已发帖子: 16
积分: 11

Re: 荔枝派nano 编译后无法正常启动问题

U-Boot 2018.01-05679-g013ca457fd-dirty (Mar 25 2022 - 11:06:19 +0800) Allwinner Technology

CPU:   Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM:  32 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected xt25f128b 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)
In:    serial@1c25000
Out:   serial@1c25000
Err:   serial@1c25000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
SF: Detected xt25f128b with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x100000, size 0x4000
SF: 16384 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 80c00000
   Booting using the fdt blob at 0x80c00000
   Loading Device Tree to 80e5f000, end 80e63f3e ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.15.0-rc8-licheepi-nano+ (spring@spring-virtual-machine) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #4 Fri Mar 25 11:12:58 CST 2022
[    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, 237K rwdata, 1412K rodata, 1024K init, 246K 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)   ( 238 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 247 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.000048] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000114] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000663] Console: colour dummy device 80x30
[    0.000754] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070239] pid_max: default: 32768 minimum: 301
[    0.070553] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070596] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072033] CPU: Testing write buffer coherency: ok
[    0.073777] Setting up static identity map for 0x80100000 - 0x80100058
[    0.076335] devtmpfs: initialized
[    0.082919] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.082988] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.083244] pinctrl core: initialized pinctrl subsystem
[    0.085269] NET: Registered protocol family 16
[    0.086659] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.088410] cpuidle: using governor menu
[    0.114009] SCSI subsystem initialized
[    0.114367] usbcore: registered new interface driver usbfs
[    0.114510] usbcore: registered new interface driver hub
[    0.114710] usbcore: registered new device driver usb
[    0.115128] pps_core: LinuxPPS API ver. 1 registered
[    0.115153] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.115214] PTP clock support registered
[    0.115700] Advanced Linux Sound Architecture Driver Initialized.
[    0.117230] clocksource: Switched to clocksource timer
[    0.143554] NET: Registered protocol family 2
[    0.144979] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.145056] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.145107] TCP: Hash tables configured (established 1024 bind 1024)
[    0.145392] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.145451] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.145919] NET: Registered protocol family 1
[    0.147159] RPC: Registered named UNIX socket transport module.
[    0.147197] RPC: Registered udp transport module.
[    0.147335] RPC: Registered tcp transport module.
[    0.147354] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.149555] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.151416] Initialise system trusted keyrings
[    0.151973] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.169444] NFS: Registering the id_resolver key type
[    0.169546] Key type id_resolver registered
[    0.169564] Key type id_legacy registered
[    0.169676] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.184402] Key type asymmetric registered
[    0.184444] Asymmetric key parser 'x509' registered
[    0.184644] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.184677] io scheduler noop registered
[    0.184695] io scheduler deadline registered
[    0.185476] io scheduler cfq registered (default)
[    0.185509] io scheduler mq-deadline registered
[    0.185527] io scheduler kyber registered
[    0.186656] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
[    0.196130] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.366146] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.373087] console [ttyS0] disabled
[    0.393339] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[    0.868360] console [ttyS0] enabled
[    0.878914] panel-simple panel: panel supply power not found, using dummy regulator
[    0.888348] SCSI Media Changer driver v0.25 
[    0.896061] m25p80 spi0.0: xt25f128b (16384 Kbytes)
[    0.901133] 4 ofpart partitions found on MTD device spi0.0
[    0.906619] Creating 4 MTD partitions on "spi0.0":
[    0.911492] 0x000000000000-0x000000100000 : "u-boot"
[    0.919260] 0x000000100000-0x000000110000 : "dtb"
[    0.926433] 0x000000110000-0x000000510000 : "kernel"
[    0.934041] 0x000000510000-0x000001000000 : "rootfs"
[    0.942168] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.948830] ehci-platform: EHCI generic platform driver
[    0.954347] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.960655] ohci-platform: OHCI generic platform driver
[    0.966313] usbcore: registered new interface driver usb-storage
[    0.973333] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.982388] i2c /dev entries driver
[    1.047361] sunxi-mmc 1c0f000.mmc: base:0xb2bdc866 irq:19
[    1.054802] usbcore: registered new interface driver usbhid
[    1.060505] usbhid: USB HID core driver
[    1.082258] NET: Registered protocol family 17
[    1.086945] Key type dns_resolver registered
[    1.093649] Loading compiled-in X.509 certificates
[    1.109162] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0739c58)
[    1.118118] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0738f3c)
[    1.125784] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.132491] [drm] No driver support for vblank timestamp query.
[    1.186422] Console: switching to colour frame buffer device 60x34
[    1.209814] sun4i-drm display-engine: fb0:  frame buffer device
[    1.217003] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.226162] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.238155] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.243954] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.254079] hub 1-0:1.0: USB hub found
[    1.258138] hub 1-0:1.0: 1 port detected
[    1.263615] using random self ethernet address
[    1.268248] using random host ethernet address
[    1.274488] usb0: HOST MAC 02:55:44:0f:16:b0
[    1.279008] usb0: MAC 62:d6:5a:3d:61:c4
[    1.283003] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.290561] g_cdc gadget: g_cdc ready
[    1.295234] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.312858] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.319713] vcc3v3: disabling
[    1.322698] ALSA device list:
[    1.325663]   #0: Loopback 1
[    1.329523] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.338273] cfg80211: failed to load regulatory.db
[    1.440542] random: crng init done
[    2.154067] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[    2.215059] devtmpfs: mounted
[    2.222855] Freeing unused kernel memory: 1024K
Starting logging: OK
Initializing random number generator... done.

现在这个又是什么问题啊?有大神知道吗

离线

楼主 #5 2022-03-28 09:16:08

spring
会员
注册时间: 2021-11-27
已发帖子: 16
积分: 11

Re: 荔枝派nano 编译后无法正常启动问题

哇酷小二 说:

感觉根文件系统系统有问题

我在三楼发的也是根文件系统问题吗?三楼是后续重新更改后的

离线

楼主 #6 2022-03-29 08:42:34

spring
会员
注册时间: 2021-11-27
已发帖子: 16
积分: 11

Re: 荔枝派nano 编译后无法正常启动问题

哇酷小二 说:

感觉根文件系统系统有问题

Starting logging: OK
Initializing random number generator... done.
Starting network: OK

Welcome to Lichee Pi
Lichee login: 

现在是登录不进,账号和密码核对了都登录不了,更改为不需要密码也登录不了

离线

楼主 #8 2022-03-29 10:34:43

spring
会员
注册时间: 2021-11-27
已发帖子: 16
积分: 11

Re: 荔枝派nano 编译后无法正常启动问题

是自己傻了,账号一直输入自己设置的主机名,原来账号是root

离线

页脚

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

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