f1c100s 源码_GitHub - hcly/f1c100s: f1c100s source code

f1c100s 128MB W25N01G spi nand调试记录镜像使用说明镜像位置images文件夹uboot-with-spl-usb.bin FEL模式下使用的uboot镜像uboot-with-spl-spinand.binspi nand启动使用的uboot镜像FEL模式下使用标准sunxi-fel执行如下命令sunxi-fel uboot uboot-with-spl-usb.bi...
摘要由CSDN通过智能技术生成

f1c100s 128MB W25N01G spi nand调试记录

镜像使用说明

镜像位置images文件夹

uboot-with-spl-usb.bin FEL模式下使用的uboot镜像

uboot-with-spl-spinand.binspi nand启动使用的uboot镜像

FEL模式下使用标准sunxi-fel执行如下命令

sunxi-fel uboot uboot-with-spl-usb.bin write 0x80000000 uboot-with-spl-spinand.bin

由于sunxi-fel直接写spi nand代码没有调试过,所以直接将uboot镜像传到内存后写入spi nand

执行完成,等待u-boot倒计时完后会自动将uboot-with-spl-spinand.bin写入spi nand中

FEL模式日志

U-Boot SPL 2018.01-g5a65529-dirty (Dec 17 2019 - 15:19:40)

DRAM: 64 MiB

Trying to boot from FEL

U-Boot 2018.01-g5a65529-dirty (Dec 17 2019 - 15:19:40 +0800) Allwinner Technology

CPU: Allwinner F Series (SUNIV)

Model: Lichee Pi Nano

DRAM: 64 MiB

MMC: SUNXI SD/MMC: 0

SPI-NAND: W25N01GV is found size: 128MB.

read status2:0x18

internal ecc is on now turn off

write status2:0x8

read status2:0x8

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

SPI-NAND: W25N01GV is found size: 128MB.

read status2:0x18

internal ecc is on now turn off

write status2:0x8

read status2:0x8

SPI-NAND: 1310720 bytes @ 0x0 Updated: OK

SPI-NAND: W25N01GV is found size: 128MB.

read status2:0x18

internal ecc is on now turn off

write status2:0x8

read status2:0x8

SPI-NAND: 2490368 bytes @ 0x80000 Read: OK

Unknown command 'sf' - try 'help'

Wrong Image Format for bootm command

ERROR: can't get kernel image!

=>

因为没有内核所以最后会报错,不用管,烧录完成后spi nand启动日志如下

U-Boot SPL 2018.01-g5a65529-dirty (Dec 17 2019 - 15:20:01)

DRAM: 64 MiB

Trying to boot from sunxi SPI

U-Boot 2018.01-g5a65529-dirty (Dec 17 2019 - 15:20:01 +0800) Allwinner Technology

CPU: Allwinner F Series (SUNIV)

Model: Lichee Pi Nano

DRAM: 64 MiB

MMC: SUNXI SD/MMC: 0

SPI-NAND: W25N01G

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值