当前位置:网站首页>1--新唐nuc980 NUC980移植 UBOOT,从外部mx25l启动

1--新唐nuc980 NUC980移植 UBOOT,从外部mx25l启动

2022-07-06 18:41:00 黑暗中的一束光1023

1.下载官方源码U-boot

在这里插入图片描述

2.修改配置支持外部spi nor flash

https://blog.csdn.net/LOTOOHE/article/details/114291715

3.增加CONFIG_BOOTCOMMAN

在这里插入图片描述

4.make

5.烧录u-boot.bin

在这里插入图片描述

6.烧录env.txt

在这里插入图片描述

7.验证

[13:36:05.603]
[13:36:05.606] NUC980 IBR 20180813
[13:36:05.606] Boot from SPI-NOR
[13:36:05.616] DDR-OK
[13:36:05.877] 4g4096 MiB
[13:36:05.925] SF: Detected MX25L25635F with page size 256 Bytes, erase size 64 KiB, total 32 MiB
[13:36:07.263] *** Warning - bad CRC, using default environment
[13:36:07.275]
[13:36:07.285] In: serial
[13:36:07.286] Out: serial
[13:36:07.286] Err: serial
[13:36:07.305] Net: Net Initialization Skipped
[13:36:07.315] No ethernet found.
[13:36:07.315] Hit any key to stop autoboot: 3
2
1
0
[13:36:10.326] SF: Detected MX25L25635F with page size 256 Bytes, erase size 64 KiB, total 32 MiB
[13:36:10.335] device 0 offset 0x200000, size 0x800000
[13:36:12.263] SF: 8388608 bytes @ 0x200000 Read: OK
[13:36:12.266] Wrong Image Format for bootm command
[13:36:12.276] ERROR: can’t get kernel image!
[13:36:12.276] =>

下一步kernel

原网站

版权声明
本文为[黑暗中的一束光1023]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_43145360/article/details/125520066