坛里各位大佬好!小弟前两年买了f1c200s的开发板,cherry-pi,无奈资料太杂乱,想试一下有什么可玩性,TF卡可正常启动,但测试nor 启动时,遇到问题
用如下命令写入16M spi flash,型号w25q128,按下reset按键,串口0 无输出:
./sunxi-fel -p spiflash-write 0x000000 .\suniv_f1c100s_w25q128_usb_lcd_ok_20190722\u-boot-sunxi-with-spl.bin
100% [================================================] 168 kB, 113.2 kB/s
看起来是flash写入正常。
如果通过:
./sunxi-fel -v uboot .\suniv_f1c100s_w25q128_usb_lcd_ok_20190722\u-boot-sunxi-with-spl.bin
Stack pointers: sp_irq=0x00002000, sp=0x00005E08
MMU is not enabled by BROM
=> Executing the SPL... done.
Writing image "U-Boot 2018.01-05684-gb7dcb96-di", 134720 bytes @ 0x81700000.
Starting U-Boot (0x81700000).
在串口是能看到启动过程的:
U-Boot 2018.01-05684-gb7dcb96-dirty (Jul 21 2019 - 21:23:17 -0400) Allwinner Technology
CPU: Allwinner F Series (SUNIV)
Model: Whycan Pi Nano
DRAM: 64 MiB
Using default environment
Setting up a 800x480 lcd console (overscan 0x0)
In: serial@1c25000
Out: serial@1c25000
Err: serial@1c25000
Hit any key to stop autoboot: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x60000, size 0x10000
SF: 65536 bytes @ 0x60000 Read: OK
Error: Bad gzipped data
There is no valid bmp file at the given address
device 0 offset 0x100000, size 0x4000
SF: 16384 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
查询nor flash 信息:
./sunxi-fel spiflash-info
Manufacturer: Winbond (EFh), model: 40h, size: 16777216 bytes.
说明nor flash识别正常。
不知道为什么启动不了,困扰一天,请大佬指点一二。。。
离线
谢谢晕哥分享资源。
问题搞清楚了。
mangopi cherrypi 用的uart1,licheepi用的uart0
怪不得烧录成功,串口没输出,板子电阻需要跳一下。
离线