您尚未登录。

楼主 #1 2019-05-14 11:24:19

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡

参考1: https://whycan.cn/t_2388.html (荔枝派zero/小智极客S3/V3s使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡)








Run_F1C100s_LicheePi_Nano.bat

"bin\sunxi-fel.exe" -p uboot u-boot-sunxi-with-spl.bin write 0x80008000 zImage write 0x80C00000 suniv-f1c100s-licheepi-nano-with-lcd.dtb write 0x80D00000 rootfs.cpio.uboot

@echo "download complete! now run linux ..."
@sleep 5


默认串口是 UART0(PE0, PE1)


文件下载: f1c100s_fel_autorun_linux_uart0_pe0_pe1_20190514.7z





在线

楼主 #2 2019-05-14 11:26:33

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: 荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡

2019-05-14_111805.png

2019-05-14_111841.png





在线

楼主 #3 2019-05-14 11:31:04

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: 荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡

登录账号是 root, 密码空,

测试花屏:
cat /dev/urandom  > /dev/fb0

测试黑屏:
cat /dev/zero  > /dev/fb0





在线

#4 2019-05-14 11:46:01

tt
会员
注册时间: 2019-04-25
已发帖子: 3
积分: 3

Re: 荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡

这下调试方便了,谢谢楼主。

离线

#5 2019-05-15 07:02:45

迪卡
会员
所在地: 河北
注册时间: 2018-11-02
已发帖子: 916
积分: 903
个人网站

Re: 荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡

rootfs.cpio.uboot是啥

最近编辑记录 迪卡 (2019-05-15 07:03:10)

离线

楼主 #6 2019-05-15 07:14:08

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: 荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡

迪卡 说:

rootfs.cpio.uboot是啥

根文件系统





在线

#7 2019-05-15 08:44:21

Jmhh247
会员
注册时间: 2018-12-21
已发帖子: 262
积分: 262

Re: 荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡

晕哥 说:
迪卡 说:

rootfs.cpio.uboot是啥

根文件系统

请教晕哥,这个根文件系统有大小限制没,它存到哪了(没spiflash/tf卡)?

还有你用的啥终端,能显示彩色字体。。。

离线

楼主 #8 2019-05-15 08:49:28

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: 荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡

Jmhh247 说:
晕哥 说:
迪卡 说:

rootfs.cpio.uboot是啥

根文件系统

请教晕哥,这个根文件系统有大小限制没,它存到哪了(没spiflash/tf卡)?

还有你用的啥终端,能显示彩色字体。。。

有限制,具体限制多少还不清楚, 是 gzip 压缩的 initramfs,
Linux 最终会解压到指定内存区域作为 rootfs,
终端是 mobaxterm 的免费版.

mobaxterm 功能相当强大: https://whycan.cn/t_2057.html





在线

#9 2019-05-15 09:16:00

Jmhh247
会员
注册时间: 2018-12-21
已发帖子: 262
积分: 262

Re: 荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡

晕哥 说:
Jmhh247 说:
晕哥 说:

根文件系统

请教晕哥,这个根文件系统有大小限制没,它存到哪了(没spiflash/tf卡)?

还有你用的啥终端,能显示彩色字体。。。

有限制,具体限制多少还不清楚, 是 gzip 压缩的 initramfs,
Linux 最终会解压到指定内存区域作为 rootfs,
终端是 mobaxterm 的免费版.

mobaxterm 功能相当强大: https://whycan.cn/t_2057.html


多谢,果然是个强大的终端,还有免费版,哈哈

离线

#10 2020-12-09 10:12:12

weiyongwill
会员
注册时间: 2019-08-08
已发帖子: 65
积分: 28.5

Re: 荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡

rootfs.cpio.uboot是怎么生成的

晕哥 说:
迪卡 说:

rootfs.cpio.uboot是啥

根文件系统

离线

#11 2020-12-09 11:09:09

raspberryman
会员
注册时间: 2019-12-27
已发帖子: 503
积分: 465

Re: 荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡

weiyongwill 说:

rootfs.cpio.uboot是怎么生成的

晕哥 说:
迪卡 说:

rootfs.cpio.uboot是啥

根文件系统

buildroot 勾选cpio文件系统

离线

#12 2020-12-09 21:00:16

weiyongwill
会员
注册时间: 2019-08-08
已发帖子: 65
积分: 28.5

Re: 荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡

学会了,多谢

raspberryman 说:
weiyongwill 说:

rootfs.cpio.uboot是怎么生成的

晕哥 说:

根文件系统

buildroot 勾选cpio文件系统

离线

#13 2020-12-10 00:33:06

笨企鹅
会员
注册时间: 2019-10-28
已发帖子: 38
积分: 37.5

Re: 荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡

学习了

离线

#14 2021-06-14 15:35:56

ueiia
会员
注册时间: 2021-04-30
已发帖子: 29
积分: 12

Re: 荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡

这个uboot的启动环境变量和bootcmd是什么样的

最近编辑记录 ueiia (2021-06-14 15:36:21)

离线

#15 2022-05-16 11:04:31

Blues
会员
注册时间: 2019-10-27
已发帖子: 3
积分: 3

Re: 荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡

历害,直写到内存里,就可以启动了.

离线

页脚

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

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