pinebook-pro-fedora-installer icon indicating copy to clipboard operation
pinebook-pro-fedora-installer copied to clipboard

ENH: Graphical boot menu: TowBoot, UBoot, SPI flash

Open westurner opened this issue 3 years ago • 1 comments

From ./README:

Add u-boot gfx - I have been testing this and it is too buggy by now. I like https://github.com/pcm720/u-boot-build-scripts/releases.

From https://github.com/samueldr/wip-pinebook-pro/pull/24/files#diff-05eb808247c40d057791950a93cbb574ad65222c21439de914a6eacac8340916R58 :

  • kernel/lts/default.nix , kernel/latest/default.nix :
    • https://github.com/nadiaholmquist/pbp-packages/tree/master/linux-pbp
    • [ ] are these already in COPR?

TowBoot https://github.com/Tow-Boot/Tow-Boot#unsurprising-and-boring :

Boot order is unsurprising: on shared storage, the storage from which the currently running Tow-Boot is running is prioritized by default.

Bootable targets are listed in the menu driven interface.

  • https://github.com/Tow-Boot/Tow-Boot/blob/development/doc/initial-setup.md

    • how to flash TowBoot to SPI from an SD card flashed with TowBoot:

      Write the spi-installer.img file to an SD card or another valid storage media for your particular board.

      # dd if=spi-installer.img of=/dev/XXX bs=1M oflag=direct,sync status=progress
      

      Boot the media on your board Use the menu-driven interface to choose Flash firmware to SPI. After writing the firmware, it will pause momentarily with Flashing seems to have been successful! Resetting in 5 seconds, and will reboot the board.

      Assuming the dedicated storage has priority, or that the SD card has been removed, it should now be booting in Tow-Boot from the dedicated storage.

      You can now install a Linux distribution, without having to care about keeping the storage media formatted in a specific manner.

  • https://github.com/Tow-Boot/Tow-Boot/blob/development/doc/distributions/fedora.md

westurner avatar May 12 '21 00:05 westurner

Presumably it's possible to do e.g. cryptsetup + LVM without TowBoot and however it does "without having to care about keeping the storage media formatted in a specific manner.'

IIRC, there's at least hardware support for AES256 for cryptsetup (in initrd) in these ARM chipsets/cores?

westurner avatar May 12 '21 00:05 westurner