Hi Fabio,

On 7/1/26 7:57 PM, Fabio Estevam wrote:
From: Fabio Estevam <[email protected]>

Enable redundant environment storage in the SPI NOR flash by enabling
CONFIG_ENV_REDUNDANT and defining CONFIG_ENV_OFFSET_REDUND.

Move the primary environment to 0x3f0000 and place the redundant copy
at 0x3f8000, matching the existing SPI NOR layout.


Where is this layout defined?

Considering the env size is 0x1000, the same as the erase block size of the SPI NOR flash you add support for in patch 3... I would have imagined to simply use 0x3f7000 (or 0x3f9000) (or have them aligned with the ones you are trying to use for the ROC-PC-RK3588S, which is 0x40000).

Looks good to me otherwise.

Cheers,
Quentin

Reply via email to