您尚未登录。

楼主 #1 2020-05-14 10:43:10

13045988238
会员
所在地: 福建
注册时间: 2020-05-11
已发帖子: 10
积分: 0

新手弄F1C100S linux启动卡在挂载根文件系统上了 折腾几天都没好 T^T

启动卡在挂载根文件系统上了     巨难受

求各位大佬帮我看看   
不胜感激      (。・ω・。)ノ♡       (。・ω・。)ノ♡ 






[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.15.0-next-20180202-licheepi-nano+ (cyy@cyy-Virtua                                                                                         lBox) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #8 Wed May 13 09:29:                                                                                         24 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=tty0 console=ttyS0,115200 panic=5 ro                                                                                         otwait root=/dev/mmcblk0p2 rw
[    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: 22676K/32768K available (6144K kernel code, 242K rwdata,                                                                                          1464K rodata, 1024K init, 246K bss, 10092K 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)   ( 243 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 89478                                                                                         484971ns
[    0.000113] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_                                                                                         idle_ns: 79635851949 ns
[    0.000635] Console: colour dummy device 80x30
[    0.001568] console [tty0] enabled
[    0.001662] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070281] pid_max: default: 32768 minimum: 301
[    0.070761] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070862] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072306] CPU: Testing write buffer coherency: ok
[    0.074053] Setting up static identity map for 0x80100000 - 0x80100058
[    0.076642] devtmpfs: initialized
[    0.082724] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                         x_idle_ns: 19112604462750000 ns
[    0.082890] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.083236] pinctrl core: initialized pinctrl subsystem
[    0.085317] NET: Registered protocol family 16
[    0.086815] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.088694] cpuidle: using governor menu
[    0.114548] SCSI subsystem initialized
[    0.114967] usbcore: registered new interface driver usbfs
[    0.115181] usbcore: registered new interface driver hub
[    0.115415] usbcore: registered new device driver usb
[    0.115928] pps_core: LinuxPPS API ver. 1 registered
[    0.116012] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                                                                                         tti <giometti@linux.it>
[    0.116141] PTP clock support registered
[    0.116663] Advanced Linux Sound Architecture Driver Initialized.
[    0.118290] clocksource: Switched to clocksource timer
[    0.146073] NET: Registered protocol family 2
[    0.147614] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096                                                                                          bytes)
[    0.147787] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.147890] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.147976] TCP: Hash tables configured (established 1024 bind 1024)
[    0.148427] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.148549] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.149143] NET: Registered protocol family 1
[    0.150312] RPC: Registered named UNIX socket transport module.
[    0.150426] RPC: Registered udp transport module.
[    0.150474] RPC: Registered tcp transport module.
[    0.150518] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.152818] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.154719] Initialise system trusted keyrings
[    0.155324] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.175038] NFS: Registering the id_resolver key type
[    0.175194] Key type id_resolver registered
[    0.175253] Key type id_legacy registered
[    0.188682] Key type asymmetric registered
[    0.188788] Asymmetric key parser 'x509' registered
[    0.189050] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                                                                         51)
[    0.189151] io scheduler noop registered
[    0.189198] io scheduler deadline registered
[    0.190015] io scheduler cfq registered (default)
[    0.190114] io scheduler mq-deadline registered
[    0.190165] io scheduler kyber registered
[    0.201901] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.377363] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.384331] console [ttyS0] disabled
[    0.404663] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 22, base_baud = 62                                                                                         50000) is a 16550A
[    0.878757] console [ttyS0] enabled
[    0.917589] brd: module loaded
[    0.939325] loop: module loaded
[    0.943286] SCSI Media Changer driver v0.25
[    0.951228] m25p80 spi0.0: unrecognized JEDEC id bytes: 0b, 40, 18
[    0.958210] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.964946] ehci-platform: EHCI generic platform driver
[    0.970573] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.976894] ohci-platform: OHCI generic platform driver
[    0.982653] usbcore: registered new interface driver usb-storage
[    0.989723] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto su                                                                                         pply vcc not found, using dummy regulator
[    1.001547] ------------[ cut here ]------------
[    1.006310] WARNING: CPU: 0 PID: 1 at drivers/usb/musb/sunxi.c:402 sunxi_musb                                                                                         _ep_offset+0x3c/0x54
[    1.015354] sunxi_musb_ep_offset called with non 0 offset
[    1.020859] Modules linked in:
[    1.023970] CPU: 0 PID: 1 Comm: swapper Not tainted 4.15.0-next-20180202-lich                                                                                         eepi-nano+ #8
[    1.032323] Hardware name: Allwinner suniv Family
[    1.037139] [<c010e478>] (unwind_backtrace) from [<c010bb38>] (show_stack+0x1                                                                                         0/0x14)
[    1.045035] [<c010bb38>] (show_stack) from [<c0116670>] (__warn+0xcc/0xf4)
[    1.052034] [<c0116670>] (__warn) from [<c01166d0>] (warn_slowpath_fmt+0x38/0                                                                                         x48)
[    1.059661] [<c01166d0>] (warn_slowpath_fmt) from [<c048d0f0>] (sunxi_musb_ep                                                                                         _offset+0x3c/0x54)
[    1.068502] [<c048d0f0>] (sunxi_musb_ep_offset) from [<c0480c38>] (ep_config_                                                                                         from_hw+0xc4/0x158)
[    1.077351] [<c0480c38>] (ep_config_from_hw) from [<c0482644>] (musb_probe+0x                                                                                         8c4/0xbdc)
[    1.085494] [<c0482644>] (musb_probe) from [<c03efa10>] (platform_drv_probe+0                                                                                         x50/0xac)
[    1.093559] [<c03efa10>] (platform_drv_probe) from [<c03ee208>] (driver_probe                                                                                         _device+0x250/0x334)
[    1.102568] [<c03ee208>] (driver_probe_device) from [<c03ec7b4>] (bus_for_eac                                                                                         h_drv+0x48/0x94)
[    1.111224] [<c03ec7b4>] (bus_for_each_drv) from [<c03eded4>] (__device_attac                                                                                         h+0xac/0x114)
[    1.119615] [<c03eded4>] (__device_attach) from [<c03ed488>] (bus_probe_devic                                                                                         e+0x84/0x8c)
[    1.127886] [<c03ed488>] (bus_probe_device) from [<c03eb914>] (device_add+0x3                                                                                         8c/0x5b0)
[    1.135953] [<c03eb914>] (device_add) from [<c03ef828>] (platform_device_add+                                                                                         0x100/0x218)
[    1.144282] [<c03ef828>] (platform_device_add) from [<c03f0208>] (platform_de                                                                                         vice_register_full+0xec/0x100)
[    1.154176] [<c03f0208>] (platform_device_register_full) from [<c048cd4c>] (s                                                                                         unxi_musb_probe+0x24c/0x410)
[    1.163895] [<c048cd4c>] (sunxi_musb_probe) from [<c03efa10>] (platform_drv_p                                                                                         robe+0x50/0xac)
[    1.172481] [<c03efa10>] (platform_drv_probe) from [<c03ee208>] (driver_probe                                                                                         _device+0x250/0x334)
[    1.181480] [<c03ee208>] (driver_probe_device) from [<c03ee390>] (__driver_at                                                                                         tach+0xa4/0xa8)
[    1.190050] [<c03ee390>] (__driver_attach) from [<c03ec72c>] (bus_for_each_de                                                                                         v+0x64/0x90)
[    1.198353] [<c03ec72c>] (bus_for_each_dev) from [<c03ed6f8>] (bus_add_driver                                                                                         +0x170/0x204)
[    1.206686] [<c03ed6f8>] (bus_add_driver) from [<c03eec38>] (driver_register+                                                                                         0x78/0xf4)
[    1.214822] [<c03eec38>] (driver_register) from [<c0102b4c>] (do_one_initcall                                                                                         +0x48/0x190)
[    1.223144] [<c0102b4c>] (do_one_initcall) from [<c0900d94>] (kernel_init_fre                                                                                         eable+0x104/0x1b8)
[    1.231988] [<c0900d94>] (kernel_init_freeable) from [<c0683eb4>] (kernel_ini                                                                                         t+0x8/0x10c)
[    1.240306] [<c0683eb4>] (kernel_init) from [<c01010e0>] (ret_from_fork+0x14/                                                                                         0x34)
[    1.247924] Exception stack(0xc182dfb0 to 0xc182dff8)
[    1.253070] dfa0:                                     00000000 00000000 00000                                                                                         000 00000000
[    1.261353] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000                                                                                         000 00000000
[    1.269626] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.276293] ---[ end trace 8f012329e58e09a9 ]---
[    1.281014] musb-sunxi 1c13000.usb: Error unknown readb offset 128
[    1.287353] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with stat                                                                                         us -22
[    1.295298] musb-hdrc: probe of musb-hdrc.1.auto failed with error -22
[    1.302529] udc-core: couldn't find an available UDC - added [g_cdc] to list                                                                                          of pending drivers
[    1.311673] i2c /dev entries driver
[    1.316596] VUB300 Driver rom wait states = 1C irqpoll timeout = 0400
[    1.317785] usbcore: registered new interface driver vub300
[    1.330262] usbcore: registered new interface driver ushc
[    1.363358] sunxi-mmc 1c0f000.mmc: base:0xcf5396ab irq:18
[    1.371290] usbcore: registered new interface driver usbhid
[    1.376939] usbhid: USB HID core driver
[    1.395826] NET: Registered protocol family 17
[    1.400732] Key type dns_resolver registered
[    1.407468] Loading compiled-in X.509 certificates
[    1.420491] cfg80211: Loading compiled-in X.509 certificates for regulatory d                                                                                         atabase
[    1.438163] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.445100] ALSA device list:
[    1.448135]   #0: Loopback 1
[    1.452100] platform regulatory.0: Direct firmware load for regulatory.db fai                                                                                         led with error -2
[    1.460916] cfg80211: failed to load regulatory.db
[    1.466715] Waiting for root device /dev/mmcblk0p2...

然后  他就  一直在这里了    ( •̥́ ˍ •̀ू )
对了   我是用tf卡启动的
我也按照其他几个帖子的办法试过了解决   但是都不起作用
FluxBB bbcode 测试

最近编辑记录 13045988238 (2020-05-14 10:52:25)

离线

楼主 #3 2020-05-14 11:07:29

13045988238
会员
所在地: 福建
注册时间: 2020-05-11
已发帖子: 10
积分: 0

Re: 新手弄F1C100S linux启动卡在挂载根文件系统上了 折腾几天都没好 T^T

哇酷小二 说:

你确认是 TF 启动的?
现在你的 kernel 没有发现 mmc 设备, 却要他去把 mmcblk0p2 挂成根文件系统, 他当然罢工了。

对比一个正常的log的mmc部分,看下问题出在哪里?


嗯嗯呐   我去比对比对   


貌似  linux设备树里mmc0也打开了

                mmc0: mmc@1c0f000 {
                        compatible = "allwinner,suniv-f1c100s-mmc",
                                     "allwinner,sun7i-a20-mmc";
                        reg = <0x01c0f000 0x1000>;
                        clocks = <&ccu CLK_BUS_MMC0>,
                                 <&ccu CLK_MMC0>,
                                 <&ccu CLK_MMC0_OUTPUT>,
                                 <&ccu CLK_MMC0_SAMPLE>;
                        clock-names = "ahb",
                                      "mmc",
                                      "output",
                                      "sample";
                        resets = <&ccu RST_BUS_MMC0>;
                        reset-names = "ahb";
                        interrupts = <23>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&mmc0_pins>;
                        status = "okay";
                        #address-cells = <1>;
                        #size-cells = <0>;
                };

引脚的

                        mmc0_pins: mmc0-pins {
                                pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5";
                                function = "mmc0";
                        };
 

离线

楼主 #5 2020-05-15 00:20:11

13045988238
会员
所在地: 福建
注册时间: 2020-05-11
已发帖子: 10
积分: 0

Re: 新手弄F1C100S linux启动卡在挂载根文件系统上了 折腾几天都没好 T^T

哇酷小二 说:

找一个正常能跑的固件吧, 我记得本站有 @路漫漫的:

https://whycan.cn/t_3206.html
https://whycan.cn/t_2689.html


有没有TF卡可以用的linux设备树文件和.config文件  fic100S的    求分享一波
我那个我调到没脾气 ( •̥́ ˍ •̀ू )

离线

楼主 #6 2020-05-15 17:14:54

13045988238
会员
所在地: 福建
注册时间: 2020-05-11
已发帖子: 10
积分: 0

Re: 新手弄F1C100S linux启动卡在挂载根文件系统上了 折腾几天都没好 T^T

啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
我弄好了             
我参考这个地址的
https://whycan.cn/p_43245.html#p43245

直接用5.2的内核和nano-v2018.01的uboot     
就跑起来了     

之前用4.2的内核mmc一直找不到   
FluxBB bbcode 测试

对了   要用他提供好的.config文件

离线

页脚

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

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