您尚未登录。

楼主 # 2021-09-12 14:11:21

axxx
会员
注册时间: 2021-08-31
已发帖子: 3
积分: 1.5

F1C100S 卡在random:random: crng init done (替换出厂的uboot和文件系统可以跑起来)

U-Boot SPL 2018.01-05679-g013ca457fd-dirty (Sep 11 2021 - 14:11:37)
DRAM: 32 MiB
Trying to boot from MMC1
Card did not respond to voltage select!
mmc_init: -95, time 22
spl: mmc init failed with error: -95
Trying to boot from sunxi SPI


U-Boot 2018.01-05679-g013ca457fd-dirty (Sep 11 2021 - 14:11:37 +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 80e63d27 ... OK

Starting kernel ...(in bootm.c 81)

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.0-licheepi-nano+ (axxx@ubuntu) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #3 Sun Sep 12 12:26:04 CST 2021
[    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  mtdparts=spi32766.0:1M(uboot),64k(dtb),4M(kernel),-(rootfs)  root=/dev/mtdblock3 rw rootfstype=jffs2 
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    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, 213K rwdata, 1416K rodata, 1024K init, 251K 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 : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a35640   ( 214 kB)
[    0.000000]        .bss : 0xc0a3aa58 - 0xc0a797dc   ( 252 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.000046] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000110] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000646] Console: colour dummy device 80x30
[    0.000739] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070229] pid_max: default: 32768 minimum: 301
[    0.070575] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070621] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072047] CPU: Testing write buffer coherency: ok
[    0.073708] Setting up static identity map for 0x80100000 - 0x80100058
[    0.076188] devtmpfs: initialized
[    0.082548] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.082610] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.082878] pinctrl core: initialized pinctrl subsystem
[    0.084905] NET: Registered protocol family 16
[    0.086453] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.088266] cpuidle: using governor menu
[    0.112619] SCSI subsystem initialized
[    0.112971] usbcore: registered new interface driver usbfs
[    0.113116] usbcore: registered new interface driver hub
[    0.113316] usbcore: registered new device driver usb
[    0.113787] pps_core: LinuxPPS API ver. 1 registered
[    0.113813] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.113871] PTP clock support registered
[    0.114360] Advanced Linux Sound Architecture Driver Initialized.
[    0.117408] clocksource: Switched to clocksource timer
[    0.144249] NET: Registered protocol family 2
[    0.145668] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.145747] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.145797] TCP: Hash tables configured (established 1024 bind 1024)
[    0.146072] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.146133] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.146577] NET: Registered protocol family 1
[    0.147717] RPC: Registered named UNIX socket transport module.
[    0.147760] RPC: Registered udp transport module.
[    0.147776] RPC: Registered tcp transport module.
[    0.147791] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.148381] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.150121] Initialise system trusted keyrings
[    0.150714] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.165516] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.167869] NFS: Registering the id_resolver key type
[    0.167982] Key type id_resolver registered
[    0.168004] Key type id_legacy registered
[    0.168128] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.181911] Key type asymmetric registered
[    0.181953] Asymmetric key parser 'x509' registered
[    0.182165] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.182196] io scheduler noop registered
[    0.182213] io scheduler deadline registered
[    0.182959] io scheduler cfq registered (default)
[    0.182994] io scheduler mq-deadline registered
[    0.183012] io scheduler kyber registered
[    0.184039] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
[    0.193687] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.365669] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.372564] console [ttyS0] disabled
[    0.392821] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 22, base_baud = 6250000) is a 16550A
[    0.889119] console [ttyS0] enabled
[    0.898384] SCSI Media Changer driver v0.25 
[    0.906036] m25p80 spi0.0: xt25f128 (16384 Kbytes)
[    0.914999] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.921662] ehci-platform: EHCI generic platform driver
[    0.927154] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.933493] ohci-platform: OHCI generic platform driver
[    0.939164] usbcore: registered new interface driver usb-storage
[    0.946057] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.955104] i2c /dev entries driver
[    1.017543] sunxi-mmc 1c0f000.mmc: base:0xc28a6000 irq:18
[    1.025098] usbcore: registered new interface driver usbhid
[    1.030800] usbhid: USB HID core driver
[    1.052874] NET: Registered protocol family 17
[    1.057698] Key type dns_resolver registered
[    1.064365] Loading compiled-in X.509 certificates
[    1.078821] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.090554] ------------[ cut here ]------------
[    1.095256] WARNING: CPU: 0 PID: 3 at drivers/usb/musb/sunxi.c:411 sunxi_musb_ep_offset+0x3c/0x54
[    1.104226] sunxi_musb_ep_offset called with non 0 offset
[    1.109674] Modules linked in:
[    1.112753] CPU: 0 PID: 3 Comm: kworker/0:0 Not tainted 4.14.0-licheepi-nano+ #3
[    1.120167] Hardware name: Allwinner suniv Family
[    1.124900] Workqueue: events deferred_probe_work_func
[    1.130161] [<c010e560>] (unwind_backtrace) from [<c010b6b0>] (show_stack+0x10/0x14)
[    1.138000] [<c010b6b0>] (show_stack) from [<c0116674>] (__warn+0xd4/0xfc)
[    1.144885] [<c0116674>] (__warn) from [<c01166d4>] (warn_slowpath_fmt+0x38/0x48)
[    1.152449] [<c01166d4>] (warn_slowpath_fmt) from [<c047b59c>] (sunxi_musb_ep_offset+0x3c/0x54)
[    1.161228] [<c047b59c>] (sunxi_musb_ep_offset) from [<c046f07c>] (ep_config_from_hw+0xc4/0x158)
[    1.170071] [<c046f07c>] (ep_config_from_hw) from [<c0470cf0>] (musb_probe+0x8d8/0xbe8)
[    1.178144] [<c0470cf0>] (musb_probe) from [<c03f73c4>] (platform_drv_probe+0x50/0xac)
[    1.186075] [<c03f73c4>] (platform_drv_probe) from [<c03f5bd8>] (driver_probe_device+0x234/0x2f0)
[    1.194996] [<c03f5bd8>] (driver_probe_device) from [<c03f41f0>] (bus_for_each_drv+0x48/0x94)
[    1.203563] [<c03f41f0>] (bus_for_each_drv) from [<c03f58c0>] (__device_attach+0xac/0x114)
[    1.211875] [<c03f58c0>] (__device_attach) from [<c03f4ec8>] (bus_probe_device+0x84/0x8c)
[    1.220092] [<c03f4ec8>] (bus_probe_device) from [<c03f3348>] (device_add+0x370/0x58c)
[    1.228055] [<c03f3348>] (device_add) from [<c03f71d8>] (platform_device_add+0x100/0x218)
[    1.236245] [<c03f71d8>] (platform_device_add) from [<c03f7bb0>] (platform_device_register_full+0xec/0x100)
[    1.246041] [<c03f7bb0>] (platform_device_register_full) from [<c047b1f8>] (sunxi_musb_probe+0x244/0x408)
[    1.255672] [<c047b1f8>] (sunxi_musb_probe) from [<c03f73c4>] (platform_drv_probe+0x50/0xac)
[    1.264166] [<c03f73c4>] (platform_drv_probe) from [<c03f5bd8>] (driver_probe_device+0x234/0x2f0)
[    1.273086] [<c03f5bd8>] (driver_probe_device) from [<c03f41f0>] (bus_for_each_drv+0x48/0x94)
[    1.281656] [<c03f41f0>] (bus_for_each_drv) from [<c03f58c0>] (__device_attach+0xac/0x114)
[    1.289965] [<c03f58c0>] (__device_attach) from [<c03f4ec8>] (bus_probe_device+0x84/0x8c)
[    1.298189] [<c03f4ec8>] (bus_probe_device) from [<c03f5304>] (deferred_probe_work_func+0x48/0x140)
[    1.307251] [<c03f5304>] (deferred_probe_work_func) from [<c0129aa4>] (process_one_work+0x1d8/0x3ec)
[    1.316442] [<c0129aa4>] (process_one_work) from [<c0129f54>] (worker_thread+0x29c/0x5b8)
[    1.324676] [<c0129f54>] (worker_thread) from [<c012effc>] (kthread+0x120/0x138)
[    1.332140] [<c012effc>] (kthread) from [<c0107dc8>] (ret_from_fork+0x14/0x2c)
[    1.339397] ---[ end trace 554f86804863d8a7 ]---
[    1.344029] musb-sunxi 1c13000.usb: Error unknown readb offset 128
[    1.350354] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with status -22
[    1.358206] musb-hdrc: probe of musb-hdrc.1.auto failed with error -22
[    1.365530] ALSA device list:
[    1.368680]   #0: Loopback 1
[    1.372637] Waiting for root device /dev/mtdblock3...
[  208.227525] random: crng init done

离线

#1 2021-09-12 15:07:15

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,539
积分: 1902

Re: F1C100S 卡在random:random: crng init done (替换出厂的uboot和文件系统可以跑起来)

识别到了flash,但是没有生成分区,导致kernel没找到根文件系统。

离线

楼主 #3 2021-09-15 13:22:08

axxx
会员
注册时间: 2021-08-31
已发帖子: 3
积分: 1.5

Re: F1C100S 卡在random:random: crng init done (替换出厂的uboot和文件系统可以跑起来)

哇酷小二 说:

识别到了flash,但是没有生成分区,导致kernel没找到根文件系统。

我后来不知道怎么就弄好了,但是我想知道是怎么解决的

离线

#4 2021-09-15 13:26:18

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,539
积分: 1902

Re: F1C100S 卡在random:random: crng init done (替换出厂的uboot和文件系统可以跑起来)

应该是 command line 或者 dts 添加了 mtdparts,所以kernel 可以解析生成 /dev/mtd*

离线

楼主 #5 2021-09-15 15:14:15

axxx
会员
注册时间: 2021-08-31
已发帖子: 3
积分: 1.5

Re: F1C100S 卡在random:random: crng init done (替换出厂的uboot和文件系统可以跑起来)

哇酷小二 说:

应该是 command line 或者 dts 添加了 mtdparts,所以kernel 可以解析生成 /dev/mtd*

好的谢谢

离线

页脚

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

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