Increasing mamba and venom kernel partition to 6MB

It's not correct for the Linksys devices in the mvebu target. The restore is delayed until next boot on these.

On the devices:

        linksys,wrt1200ac|\
        linksys,wrt1900ac-v1|\
        linksys,wrt1900ac-v2|\
        linksys,wrt1900acs|\
        linksys,wrt3200acm|\
        linksys,wrt32x)

platform_copy_config_linksys() in target/linux/mvebu/cortexa9/base-files/lib/upgrade/linksys.sh will copy the backup to /tmp/syscfg/$BACKUP_FILE. There is no writing to the new iimage

Restoring happens when the device boots from the new image. It loads target/linux/mvebu/cortexa9/base-files/lib/preinit/81_linksys_syscfg which mounts /tmp/syscfg and unpacks the $BACKUP_FILE if found.

This process is completely safe against any partition changes.

1 Like