pmbootstrap/pmb
Minecrell 87dd071b32
add "fastboot-bootpart" flasher to flash split images with fastboot (!1871)
asus-me176c has a Fastboot interface that can be used for flashing,
but in postmarketOS we do not use Android boot images for it.
This is because is it not very practical - the boot partition is
quite small and there is a (custom) EFI bootloader that can boot
directly from any other FAT32 partition.

At the moment the installation process is manual:
  1. pmbootstrap install --split to have separated boot (FAT32)
     and rootfs images
  2. pmbootstrap export
  3. Flash boot and rootfs images manually using Fastboot

The "fastboot-bootpart" flasher implements that process in a more
convenient way. When a device uses the "fastboot-bootpart" flasher:

  - We generate --split images on "pmbootstrap install" by default.
    (This can be disabled using --no-split instead.)

  - pmbootstrap flasher flash_kernel flashes the raw boot partition
    (not an Android boot image) using Fastboot, just like the rootfs.

There are some limitations that could be improved in the future:

  - "fastboot-bootpart" is not offered in the device wizard.
    I think it is special enough that no-one will be starting with it,
    and the difference to normal "fastboot" might be confusing.

  - Support "pmbootstrap flasher boot". asus-me176c does not support
    "fastboot boot" properly, but theoretically we could still generate
    Android boot images to use when booting an image directly.

  - At the moment the boot partition image is not regenerated when
    using "pmbootstrap flasher flash_kernel" (unlike when using Android
    boot images). "pmbootstrap install" needs to be run manually first.
2020-02-10 00:05:00 +03:00
..
aportgen pmb.aportgen.linux: Fix linting issues in generated APKBUILDs (!1869) 2020-02-02 06:49:12 +03:00
build crossdirect: support rust (!1850) 2020-01-14 02:50:53 +01:00
chroot pmbootstrap -s: remove option (!1868) 2020-02-06 12:33:21 +01:00
config add "fastboot-bootpart" flasher to flash split images with fastboot (!1871) 2020-02-10 00:05:00 +03:00
data pmb/data/keys/pmos-5a03a13a.rsa.pub: remove (!1835) 2019-11-21 23:52:25 +01:00
export pmb.flasher/export: Add --no-install option to skip kernel/initfs update (!1863) 2020-01-31 01:35:26 +01:00
flasher add "fastboot-bootpart" flasher to flash split images with fastboot (!1871) 2020-02-10 00:05:00 +03:00
helpers add "fastboot-bootpart" flasher to flash split images with fastboot (!1871) 2020-02-10 00:05:00 +03:00
install add "fastboot-bootpart" flasher to flash split images with fastboot (!1871) 2020-02-10 00:05:00 +03:00
parse add "fastboot-bootpart" flasher to flash split images with fastboot (!1871) 2020-02-10 00:05:00 +03:00
qemu pmb.qemu.run.install_depends: Fix Mesa Gallium DRI depends (!1867) 2020-01-31 04:10:50 +01:00
__init__.py Change copyright to 2020 2020-01-06 02:43:00 +01:00