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

这篇博客详细介绍了Realtek RTL8198D的双映像逻辑,包括如何构建、Nor Flash和SPI-NAND Flash的配置、UBI分区设置以及如何在U-Boot环境中切换启动分区。系统会根据uboot环境变量选择启动分区,并提供了在系统启动后切换分区的fw_loaded.sh脚本操作。
摘要由CSDN通过智能技术生成

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:

<
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

wellnw

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值