Created
July 18, 2014 04:32
-
-
Save luftreich/3b4abf5c5ac8442f06d9 to your computer and use it in GitHub Desktop.
UBoot 烧进 SPI Flash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kernel | |
把编译好的 uImage 拷在启动卡根目录上,启动后进入 uboot,执行 | |
| |
| |
| |
mmcinfo | |
fatload mmc 0 82000000 uImage | |
bootm | |
system | |
编译出 otapackage zip 包,拷到 T 卡,进入“升级”应用,选择对应的 zip 升级 | |
uboot | |
把 UBoot 烧进 SPI Flash | |
先用 SDCard 启动板子。 | |
键入命令:mmcinfo | |
键入命令:fatload mmc 0:1 82000000 u-boot.bin (把 UBoot 装入 DDR) | |
键入命令:sf probe 2 (初始化 SPI Flash) | |
键入命令:sf erase 0 80000 (擦除 SPI Flash) | |
键入命令:sf write 82000000 0 80000 (把 DDR 中 UBoot 写入 SPI Flash 中) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment