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

1.下载官方源码U-boot

1--新唐nuc980 NUC980移植 UBOOT,从外部mx25l启动_第1张图片

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

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

3.增加CONFIG_BOOTCOMMAN

1--新唐nuc980 NUC980移植 UBOOT,从外部mx25l启动_第2张图片

4.make

5.烧录u-boot.bin

1--新唐nuc980 NUC980移植 UBOOT,从外部mx25l启动_第3张图片

6.烧录env.txt

1--新唐nuc980 NUC980移植 UBOOT,从外部mx25l启动_第4张图片

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

你可能感兴趣的:(嵌入式,大数据,c语言,新唐nuc980)