您尚未登录。

楼主 #1 2021-01-06 14:57:50

feng888
会员
注册时间: 2021-01-03
已发帖子: 59
积分: 50

V3s 下载到sdram 启动系统,卡在这里,如何排查问题?

[  146.164081] mmc0: card 9b0e removed

U-Boot SPL 2017.01-rc2 (Jan 06 2021 - 14:51:53)
DRAM: 64 MiB
Trying to boot from FEL

U-Boot 2017.01-rc2 (Jan 06 2021 - 14:51:53 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2 (Jan 06 2021 - 14:51:53 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
## Loading init Ramdisk from Legacy Image at 41a00000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    10522913 Bytes = 10 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Ramdisk to 423f6000, end 42dff121 ... OK
   Loading Device Tree to 423f0000, end 423f542d ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.15-licheepi-zero (root@ubuntu) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #4 SMP Wed Jan 6 14:17:39 CST 2021
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 14 pages/cpu @c3f63000 s24716 r8192 d24436 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/ram0 rdinit=/linuxrc earlyprintk rw
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 44880K/65536K available (6144K kernel code, 194K rwdata, 1232K rodata, 1024K init, 252K bss, 20656K 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 : 0xc4800000 - 0xff800000   ( 944 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 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 - 0xc0a30a00   ( 195 kB)
[    0.000000]        .bss : 0xc0a32000 - 0xc0a7104c   ( 253 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.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000017] Switching to timer-based delay loop, resolution 41ns
[    0.000139] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000345] Console: colour dummy device 80x30
[    0.000383] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000397] pid_max: default: 32768 minimum: 301
[    0.000531] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000543] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001250] CPU: Testing write buffer coherency: ok
[    0.001653] /cpus/cpu@0 missing clock-frequency property
[    0.001677] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002034] Setting up static identity map for 0x40100000 - 0x40100058
[    0.002774] smp: Bringing up secondary CPUs ...
[    0.002793] smp: Brought up 1 node, 1 CPU
[    0.002801] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002808] CPU: All CPU(s) started in SVC mode.
[    0.003573] devtmpfs: initialized
[    0.006462] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006740] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006767] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.006922] pinctrl core: initialized pinctrl subsystem
[    0.007929] NET: Registered protocol family 16
[    0.008353] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009552] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009567] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.021143] SCSI subsystem initialized
[    0.021429] usbcore: registered new interface driver usbfs
[    0.021489] usbcore: registered new interface driver hub
[    0.021582] usbcore: registered new device driver usb
[    0.021810] pps_core: LinuxPPS API ver. 1 registered
[    0.021819] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.021841] PTP clock support registered
[    0.022054] Advanced Linux Sound Architecture Driver Initialized.
[    0.023854] clocksource: Switched to clocksource arch_sys_counter
[    0.034761] NET: Registered protocol family 2
[    0.035368] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.035399] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.035423] TCP: Hash tables configured (established 1024 bind 1024)
[    0.035508] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.035555] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.035786] NET: Registered protocol family 1
[    0.036402] RPC: Registered named UNIX socket transport module.
[    0.036420] RPC: Registered udp transport module.
[    0.036426] RPC: Registered tcp transport module.
[    0.036432] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.036738] Unpacking initramfs...
[    0.682378] Freeing initrd memory: 10280K
[    0.684526] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.693335] NFS: Registering the id_resolver key type
[    0.693381] Key type id_resolver registered
[    0.693389] Key type id_legacy registered
[    0.697580] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.697601] io scheduler noop registered
[    0.697608] io scheduler deadline registered
[    0.697800] io scheduler cfq registered (default)
[    0.701986] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.773745] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.777191] console [ttyS0] disabled
[    0.797471] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A
[    1.357892] console [ttyS0] enabled
[    1.363040] libphy: Fixed MDIO Bus: probed
[    1.367448] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.374024] ehci-platform: EHCI generic platform driver
[    1.379328] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.385550] ohci-platform: OHCI generic platform driver
[    1.391250] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.400680] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.409600] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.416506] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.421040] i2c /dev entries driver
[    1.425921] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.435471] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.503895] sunxi-mmc 1c0f000.mmc: base:0xc485f000 irq:23
[    1.563877] sunxi-mmc 1c10000.mmc: base:0xc4863000 irq:24
[    1.570184] usbcore: registered new interface driver usbhid
[    1.575839] usbhid: USB HID core driver
[    1.581175] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.589237] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.596380] NET: Registered protocol family 17
[    1.600936] Key type dns_resolver registered
[    1.605450] Registering SWP/SWPB emulation handler
[    1.618639] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.626623] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.632389] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.641629] hub 1-0:1.0: USB hub found
[    1.645591] hub 1-0:1.0: 1 port detected
[    1.650280] using random self ethernet address
[    1.654833] using random host ethernet address
[    1.660228] usb0: HOST MAC aa:2e:ed:f2:83:84
[    1.664676] usb0: MAC 9e:4b:88:92:c1:3d
[    1.668576] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.676103] g_cdc gadget: g_cdc ready
[    1.682159] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.691336] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 03:51:52 UTC (13912)
[    1.699914] vcc5v0: disabling
[    1.702890] ALSA device list:
[    1.705913]   #0: V3s Audio Codec
[    1.710656] Freeing unused kernel memory: 1024K
[    1.718737] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[    1.735121] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[    1.746029] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[    1.758618] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[    1.771584] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[    1.781723] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[    1.792163] mmc1: new high speed SDIO card at address 0001
[    5.985494] random: fast init done

离线

#2 2021-01-06 15:09:58

raspberryman
会员
注册时间: 2019-12-27
已发帖子: 503
积分: 465

Re: V3s 下载到sdram 启动系统,卡在这里,如何排查问题?

没有提示错误,敲回车有反应吗?

离线

楼主 #3 2021-01-06 15:42:10

feng888
会员
注册时间: 2021-01-03
已发帖子: 59
积分: 50

Re: V3s 下载到sdram 启动系统,卡在这里,如何排查问题?

raspberryman 说:

没有提示错误,敲回车有反应吗?

敲回车没反应,插入SD卡可以提示卡容量

离线

#4 2021-01-06 16:15:53

raspberryman
会员
注册时间: 2019-12-27
已发帖子: 503
积分: 465

Re: V3s 下载到sdram 启动系统,卡在这里,如何排查问题?

[    0.036738] Unpacking initramfs...


看日志,ramfs解压正常,为什么没有运行初始化进程呢?

离线

#5 2021-04-12 17:10:13

大帅
会员
注册时间: 2019-01-17
已发帖子: 167
积分: 131.5

Re: V3s 下载到sdram 启动系统,卡在这里,如何排查问题?

## Loading init Ramdisk from Legacy Image at 41a00000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    10522913 Bytes = 10 MiB

是不是rootfs太大了

离线

#6 2021-04-12 18:07:28

心情复杂
会员
注册时间: 2019-12-15
已发帖子: 37
积分: 30

Re: V3s 下载到sdram 启动系统,卡在这里,如何排查问题?

## Loading init Ramdisk from Legacy Image at 41a00000 ...
   Data Size:    10522913 Bytes = 10 MiB
   Loading Ramdisk to 423f6000, end 42dff121 ... OK

0x41a00000+ 10522913  = 0x42409121
Load地址是 0x423f6000 估计RamDisk后面有一部分被覆盖了吧

离线

页脚

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

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