Skip to content
Snippets Groups Projects
  • Piotr Kubik's avatar
    2332650b
    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
    History
    sysupgrade: Fix fitblk other overlay mount
    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>