您尚未登录。

楼主 # 2025-03-02 23:29:43

Ethan
会员
注册时间: 2025-01-20
已发帖子: 2
积分: 2

V3S (Licheepi Zero) 从 TF 启动卡住

自己第一次接触全志的芯片,尝试编译了一个 Linux 镜像烧到 SD 卡后,发现启动似乎卡住了,没有终端可以让我输入命令了。
因为似乎没有很明显的报错,有点不知道从哪里下手 sad
下面是启动的 Log:

U-Boot 2017.01-rc2-00073-gdd6e874-dirty (Feb 23 2025 - 15:50:08 +0000) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: 00, 00, 00
*** Warning - spi_flash_probe() failed, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
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 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
287 bytes read in 14 ms (19.5 KiB/s)
## Executing script at 41900000
reading zImage
3948712 bytes read in 204 ms (18.5 MiB/s)
reading sun8i-v3s-licheepi-zero.dtb
10864 bytes read in 25 ms (423.8 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffa6f ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.0-licheepi-zero+ (root@dfc4484e7089) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #2 SMP Sun Feb 23 15:56:19 UTC 2025
[    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
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3de7000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15883
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 console=tty0 rootwait root=/dev/mmcblk0p2 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 b[    0.740139] libphy: Fixed MDIO Bus: probed
[    0.744600] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.751236] ehci-platform: EHCI generic platform driver
[    0.756765] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.762403] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.770383] ehci-platform 1c1a000.usb: irq 25, io mem 0x01c1a000
[    0.805977] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.813136] hub 1-0:1.0: USB hub found
[    0.817102] hub 1-0:1.0: 1 port detected
[    0.821636] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.827954] ohci-platform: OHCI generic platform driver
[    0.833514] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.840256] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.848229] ohci-platform 1c1a400.usb: irq 26, io mem 0x01c1a400
[    0.921009] hub 2-0:1.0: USB hub found
[    0.924863] hub 2-0:1.0: 1 port detected
[    0.932436] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.942191] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    0.949112] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.953668] i2c /dev entries driver
[    0.958636] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input0
[    0.968191] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.036193] sunxi-mmc 1c0f000.mmc: base:0xc4069000 irq:23
[    1.043271] usbcore: registered new interface driver usbhid
[    1.048969] usbhid: USB HID core driver
[    1.054666] NET: Registered protocol family 17
[    1.059373] Key type dns_resolver registered
[    1.063798] Registering SWP/SWPB emulation handler
[    1.074487] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4380000
[    1.085178] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.103507] Console: switching to colour frame buffer device 100x30
[    1.119663] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.132001] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.151065] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.160820] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.173916] hub 3-0:1.0: USB hub found
[    1.181785] hub 3-0:1.0: 1 port detected
[    1.191942] using random self ethernet address
[    1.200281] using random host ethernet address
[    1.211539] usb0: HOST MAC 7a:fe:38:d5:2a:31
[    1.219648] usb0: MAC 62:66:e2:f4:f0:99
[    1.227148] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.238286] g_cdc gadget: g_cdc ready
[    1.245836] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 01:37:49 UTC (5869)
[    1.258106] vcc3v0: disabling
[    1.264754] vcc5v0: disabling
[    1.271278] ALSA device list:
[    1.277663]   No soundcards found.
[    1.284788] Waiting for root device /dev/mmcblk0p2...
[    1.322804] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.336324] mmc0: new high speed SDHC card at address 1234
[    1.345878] mmcblk0: mmc0:1234 SA32G 28.9 GiB 
[    1.355767]  mmcblk0: p1 p2
[    1.377477] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.390798] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.424356] EXT4-fs (mmcblk0p2): recovery complete
[    1.433875] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.445505] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.456201] devtmpfs: mounted
[    1.463625] Freeing unused kernel memory: 1024K
[    1.566446] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[  200.006006] random: crng init done

离线

#1 2025-03-04 22:31:17

merlin
会员
注册时间: 2023-05-11
已发帖子: 9
积分: 19

Re: V3S (Licheepi Zero) 从 TF 启动卡住

我也碰到过一次这样的现象,我后来发现是和 boot.cmd有关

原本这样:
setenv bootargs console=ttyS2,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0
我改成了
setenv bootargs console=ttyS2,115200 console=tty0 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0

在串口上就没有登录提示了
tty0是屏幕

离线

楼主 #2 2025-03-05 23:44:13

Ethan
会员
注册时间: 2025-01-20
已发帖子: 2
积分: 2

Re: V3S (Licheepi Zero) 从 TF 启动卡住

@merlin
好的,我试试。十分感谢!

离线

页脚

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

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