u-boot、内核以及文件系统按照网上的教程重新编译了。而且,该TF卡之前用官方的img文件启动是没有问题的。按照进程将TF卡分为kernel区,FAT16,和文件系统,EXT4格式,然后使用梦里dd 将u-boot复制到 8k处,然后使用sudo cp命令将内核及文件系统拷贝到/dev/username/KERNEL分区。
u-boot中,在.h文件配置了启动参数。请问,如何找到这两个文件呢?谢谢。
启动过程及软硬件信息如下:
U-Boot SPL 2017.11 (Oct 27 2023 - 18:39:32)
DRAM: 256 MiB(408MHz)
CPU Freq: 408MHz
memory test: 1
Pattern 55aa Writing...Reading...OK
Trying to boot from MMC1
Boot device: sd
U-Boot 2017.11 (Oct 27 2023 - 18:39:32 +0800) Allwinner Technology
CPU: Allwinner H3 (SUN8I 1680)
Model: FriendlyElec NanoPi H3
DRAM: 256 MiB
CPU Freq: 1008MHz
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: No ethernet found.
BOARD: nanopi-neo
starting USB...
No controllers found
Hit any key to stop autoboot: 0
** Unable to read file zImage **
** Unable to read file sun8i-v3s-licheepi-zero-dock.dtb **
离线
具体配置如下图所示:
离线