当前位置:网站首页>1 -- Xintang nuc980 nuc980 porting uboot, starting from external mx25l

1 -- Xintang nuc980 nuc980 porting uboot, starting from external mx25l

2022-07-07 02:26:00 A beam of light in the dark 1023

1. Download the official source code U-boot

 Insert picture description here

2. Modify configuration to support external spi nor flash

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

3. increase CONFIG_BOOTCOMMAN

 Insert picture description here

4.make

5. burn u-boot.bin

 Insert picture description here

6. burn env.txt

 Insert picture description here

7. verification

[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] =>

next step kernel

原网站

版权声明
本文为[A beam of light in the dark 1023]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207061841022986.html

随机推荐