您尚未登录。

楼主 #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

离线

#2 2020-05-14 14:03:59

哇酷小二
wechat微信:whycan_cn
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,378
积分: 1902
个人网站

Re: F1C200从TF卡启动问题

有读 suniv-f1c100s-licheepi-nano.dtb

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

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





离线

楼主 #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卡启动问题

离线

#5 2020-05-14 14:18:15

哇酷小二
wechat微信:whycan_cn
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,378
积分: 1902
个人网站

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 命令行, 手动执行这几行命令看效果。





离线

楼主 #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
=>

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

离线

#7 2020-05-14 14:28:01

哇酷小二
wechat微信:whycan_cn
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,378
积分: 1902
个人网站

Re: F1C200从TF卡启动问题

vkaoke 说:

=> 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 有问题,

找一个正常能跑的固件吧, 我记得本站有 @路漫漫的:

https://whycan.cn/t_3206.html
https://whycan.cn/t_2689.html





离线

#8 2020-05-22 09:16:48

逸俊晨晖
会员
注册时间: 2018-08-29
已发帖子: 151
积分: 137.5

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 命令行, 手动执行这几行命令看效果。

楼主 你这个是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

离线

页脚

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

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