【Realtek】RTL8198D Dual Image逻辑说明及切换方法

Realtek文档介绍

Dual image logistic

* System will boot up from bank number store in uboot environment: sw_active.
* Firmware will always be written to bank which is not active.
* System will try to boot up from the upgrade bank, if boot success, it will be mark to
sw_actvie
* For pre-configuration supporting SPI-NAND, dual-image is default enable.

How to build

* Nor Flash

make menuconfig
make all
Note: You need to update uboot which build with dual image config

* For SPI-NAND flash, you can choice the following defconfigs

rtl8198f_spi-nand_rtl8367s_dual_image_defconfig,
rtl8198f_spi-nand_rtl83xx_dual_image_defconfig

Flash Layout

* Nor Flash

32MB flash, dual image/with dual env:

猜你喜欢

转载自blog.csdn.net/wgl307293845/article/details/126308097