Skip to content
Snippets Groups Projects
  1. Aug 30, 2023
  2. Aug 23, 2023
  3. Aug 15, 2023
  4. Jul 25, 2023
    • Michael Walle's avatar
      meta-ked-imx: Use fitImageA/B instead of active/inactive · e942978e
      Michael Walle authored and Frieder Schrempf's avatar Frieder Schrempf committed
      This is supposed to fix a problem where you can end up with two
      non-working images.
      
      This can be triggered by the following actions:
      
        * Starting with rootfs A and fitImage_active
        * Doing an update via swupdate using a corrupted kernel image
        * fitImage_active gets renamed to fitImage_inactive.
        * The corrupted kernel now in fitImage_active fails to boot
        * A fallback to rootfs A occurs: rootfs A is started together
          with the working fitImage_inactive
        * On the next update via swupdate the corrupted fitImage_active is
          renamed to fitImage_inactive ending up with two corrupted kernel
          images
        * The now corrupted fitImage_inactive is copied to fitImage_active
          and the boot is bricked
      
      To remedy this flaw, simply swap the fitImage in sync with the rootfs.
      Instead of the active/inactive image we now use A/B for the kernel image
      and the currently used image is selected by the sys_active file.
      e942978e
  5. Jul 20, 2023
  6. Jul 06, 2023
  7. Jun 27, 2023
  8. Jun 26, 2023
  9. Jun 19, 2023
  10. Jun 05, 2023
  11. Jun 01, 2023
  12. May 25, 2023
  13. May 23, 2023
Loading