snapcore / pi-gadget

Universal pi (pi2,pi3,pi4,cm3,cm4 and future) gadget snap for Ubuntu Core and classic systems.
30 stars 60 forks source link

Switch to using directly piboot instead of u-boot #86

Closed alfonsosanchezbeato closed 2 years ago

alfonsosanchezbeato commented 2 years ago

Use piboot directly instead of running u-boot as second stage bootloader, now that is supported by snapd.

Opening as a draft, just as reference for the moment. We might maybe want this a separate branch in this repository (22-arm64-piboot?)

These other PRs would be needed: https://github.com/snapcore/snapd/pull/11068 https://github.com/canonical/ubuntu-image/pull/40 https://github.com/snapcore/core-base/pull/30 https://github.com/snapcore/core-initrd/pull/85

xnox commented 2 years ago

Given everything else has landed now, i guess this can be merged into regular branch now.

alfonsosanchezbeato commented 2 years ago

Closing this in favor of https://github.com/snapcore/pi-gadget/pull/87.