U-Boot 2018.01-05679-g013ca45 (Mar 15 2019 - 09:39:34 +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: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
reading /suniv-f1c100s-licheepi-nano.dtb
5908 bytes read in 26 ms (221.7 KiB/s)
starting USB...
No controllers found
USB is stopped. Please issue 'usb start' first.
starting USB...
No controllers found
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
通过boot.scr导入
setenv bootm_boot_mode sec
setenv machid 1029
load mmc 0:1 0x41000000 zImage
load mmc 0:1 0x41800000 suniv-f1c100s-licheepi-nano.dtb
bootz 0x41000000 - 0x41800000
离线
有读 suniv-f1c100s-licheepi-nano.dtb
说明 boot.scr 文件存在并被 u-boot 识别了,
没有发现读 zImage, 是缺这个文件?还是卡片有问题?
zImage也是存在的,没有缺文件
离线
我是的uboot,kernel和buildroot是根据 分享Nano fc100s linux主线5.2(TF卡)+adb+lcd(800*480)+qt5的编译过程
离线
离线
setenv bootm_boot_mode sec
setenv machid 1029
load mmc 0:1 0x41000000 zImage
load mmc 0:1 0x41800000 suniv-f1c100s-licheepi-nano.dtb
bootz 0x41000000 - 0x41800000粘贴到u-boot 命令行, 手动执行这几行命令看效果。
=> setenv bootm_boot_mode sec
=> setenv machid 1029
=> load mmc 0:1 0x41000000 zImage
reading zImage
3896691 bytes read in 247 ms (15 MiB/s)
=> load mmc 0:1 0x41800000 suniv-f1c100s-licheepi-nano.dtb
reading suniv-f1c100s-licheepi-nano.dtb
5908 bytes read in 26 ms (221.7 KiB/s)
=> bootz 0x41000000 - 0x41800000
=>
执行最后一条后,什么反应也没有
离线
=> setenv bootm_boot_mode sec
=> setenv machid 1029
=> load mmc 0:1 0x41000000 zImage
reading zImage
3896691 bytes read in 247 ms (15 MiB/s)
=> load mmc 0:1 0x41800000 suniv-f1c100s-licheepi-nano.dtb
reading suniv-f1c100s-licheepi-nano.dtb
5908 bytes read in 26 ms (221.7 KiB/s)
=> bootz 0x41000000 - 0x41800000
=>执行最后一条后,什么反应也没有
怀疑你的 zImage 或者 dtb 有问题,
找一个正常能跑的固件吧, 我记得本站有 @路漫漫的:
离线
setenv bootm_boot_mode sec
setenv machid 1029
load mmc 0:1 0x41000000 zImage
load mmc 0:1 0x41800000 suniv-f1c100s-licheepi-nano.dtb
bootz 0x41000000 - 0x41800000粘贴到u-boot 命令行, 手动执行这几行命令看效果。
楼主 你这个是v3s的地址
f1c100s的地址和具体含义参考官网 http://nano.lichee.pro/build_sys/bootargs.html
以下仅参考地址
setenv bootargs console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rw
load mmc 0:1 0x80C00000 suniv-f1c100s-licheepi-nano.dtb
load mmc 0:1 0x80008000 zImage
bootz 0x80008000 - 0x80C00000
离线