求解,为什么荔枝派nano在系统启动的时候会卡在Starting kernel。可能是哪里的问题,要怎么检查呢?
按照这里的步骤做的。
http://nano.lichee.pro/step_by_step/four_linux.html
UBoot打印的log如下。
*** Warning - bad CRC, using default environment
In: serial@1c25000
Out: serial@1c25000
Err: serial@1c25000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 2 1 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
279 bytes read in 14 ms (18.6 KiB/s)
## Executing script at 80c50000
reading suniv-f1c100s-licheepi-nano.dtb
7464 bytes read in 27 ms (269.5 KiB/s)
reading zImage
3653408 bytes read in 191 ms (18.2 MiB/s)
## Flattened Device Tree blob at 80c00000
Booting using the fdt blob at 0x80c00000
Loading Device Tree to 816fb000, end 816ffd27 ... OK
Starting kernel ...
离线
补发一下完整的Uboot输出的log。
U-Boot SPL 2018.01 (Dec 11 2019 - 18:03:37)
DRAM: 32 MiB
Trying to boot from MMC1
U-Boot 2018.01 (Dec 11 2019 - 18:03:37 +0800) Allwinner Technology
CPU: Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM: 32 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
In: serial@1c25000
Out: serial@1c25000
Err: serial@1c25000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 2 1 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
279 bytes read in 14 ms (18.6 KiB/s)
## Executing script at 80c50000
reading suniv-f1c100s-licheepi-nano.dtb
7464 bytes read in 27 ms (269.5 KiB/s)
reading zImage
3653408 bytes read in 192 ms (18.1 MiB/s)
## Flattened Device Tree blob at 80c00000
Booting using the fdt blob at 0x80c00000
Loading Device Tree to 816fb000, end 816ffd27 ... OK
Starting kernel ...
离线
这里有 f1c100s 的 flash 和 tf 卡固件, 逐个替换 u-boot, dtb, zImage, rootfs 排除问题:
谢谢@晕哥。确认是zImage的问题,现在正在找原因。
离线
设备树不匹配就会卡死在这
离线