您尚未登录。

楼主 #1 2020-05-14 14:00:39

vkaoke
会员
注册时间: 2019-02-01
已发帖子: 18
积分: 18

F1C200从TF卡启动问题

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

离线

楼主 #3 2020-05-14 14:13:05

vkaoke
会员
注册时间: 2019-02-01
已发帖子: 18
积分: 18

Re: F1C200从TF卡启动问题

哇酷小二 说:

有读 suniv-f1c100s-licheepi-nano.dtb

说明 boot.scr 文件存在并被 u-boot 识别了,

没有发现读 zImage, 是缺这个文件?还是卡片有问题?

zImage也是存在的,没有缺文件

离线

楼主 #4 2020-05-14 14:15:08

vkaoke
会员
注册时间: 2019-02-01
已发帖子: 18
积分: 18

Re: F1C200从TF卡启动问题

离线

楼主 #6 2020-05-14 14:20:49

vkaoke
会员
注册时间: 2019-02-01
已发帖子: 18
积分: 18

Re: F1C200从TF卡启动问题

哇酷小二 说:

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
=>

执行最后一条后,什么反应也没有

离线

页脚

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

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