oe-alliance / ofgwrite

ofgwrite from Betacentauri: Based upon: mtd-utils-native-1.5.1
GNU General Public License v2.0
7 stars 16 forks source link

Support for linux as bootloader multiboot based on kexec #14

Closed dpeddi closed 1 year ago

dpeddi commented 1 year ago

Since the kernel for each slot is stored into the slot itself, is required to invert rootfs and kernel flashing.

We developed this multiboot solution for vuplus boxes but can work on other boxes with few changes.

betacentauri commented 1 year ago

Hi,

maybe I do not understand how your multiboot mechanism works, but is this change really necessary? Can't you just add the kernel file into the rootfs tar file? Then it will be "installed" without any changes.

dpeddi commented 1 year ago

Images already distributed doesn't consider this multiboot, so I think ofgwrite should take care of this.

Then ofgwrite don't recognize the multiboot system. Fdisk -l give no output

betacentauri commented 1 year ago

Ok. You have added 2 additional changes. Have you finished? Or it is still work in progress? Have you tested the changes on other boxes and without multiboot on VU boxes?

Ev0-BH commented 1 year ago

I have tested the patched ofgwrite with Abcom Pulse4K, it works as it should when flashing the current slot or flashing another slot.

No change in the way it performs.

Ev0-BH commented 1 year ago

Also tested Octagon SF8008, again no issues flashing the current slot, or another slot using the patched ofgwrite

Huevos commented 1 year ago

These commits appear to have no negative impact on other boxes.

betacentauri commented 1 year ago

Thanks for looking into it! Due to my limited free time, I wasn't able to look at it.