Skip to content
Snippets Groups Projects

FITBLK support

Merged Piotr Kubik requested to merge pkubik-airoha_fitblk into devel
  1. Jan 29, 2025
    • Piotr Kubik's avatar
      sysupgrade: Fix fitblk other overlay mount · 2332650b
      Piotr Kubik authored and Mikhail Kshevetskiy's avatar Mikhail Kshevetskiy committed
      
      This is a workaround for using other bank overlays with fitblk
      partitions.
      
      With fitblk, overlay has no constant flash location and changes
      if boot or rootfs size change.
      With this patch, using data from upgrade image, we calculate other
      overlay offset, mount it as a loopback device and use as ovelay.
      
      This is a temporary solution until we use uimage.fit and OpenWrt
      fstools.
      
      Signed-off-by: default avatarAndreas Gnau <andreas.gnau@iopsys.eu>
      2332650b
Loading