pmbootstrap/pmb/install
jenneron 7b2ffc3e5f
Support ChromeOS partition table and kernel partition (MR 2163)
Stock bootloader on these devices boots kernel (it is intended to boot
kernel, but i place secondary bootloader there) from special ChromeOS
kernel partition on special GPT which is created with cgpt utility.
This MR adds initial support for it introducing new deviceinfo options:

- cgpt_kpart - path to file to be flashed to ChromeOS partition;
- cgpt_kpart_start - offset from the start in sectors;
- cgpt_kpart_size - partition size in sectors.

For example:

deviceinfo_cgpt_kpart="/usr/share/u-boot/google-peach-pit/u-boot-dtb.img.kpart"
deviceinfo_cgpt_kpart_start="8192"
deviceinfo_cgpt_kpart_size="32768"

cgpt requires start and size values of partition, so these values
are calculated for each partition.

Reserved size and on-device installer are not yet supported.

Reference: https://archlinuxarm.org/platforms/armv7/samsung/samsung-chromebook
2022-02-20 14:49:56 +01:00
..
__init__.py Support ChromeOS partition table and kernel partition (MR 2163) 2022-02-20 14:49:56 +01:00
_install.py Support ChromeOS partition table and kernel partition (MR 2163) 2022-02-20 14:49:56 +01:00
blockdevice.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
format.py Support ChromeOS partition table and kernel partition (MR 2163) 2022-02-20 14:49:56 +01:00
losetup.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
partition.py Support ChromeOS partition table and kernel partition (MR 2163) 2022-02-20 14:49:56 +01:00
recovery.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
ui.py Happy new year 2022! 2022-01-02 22:39:14 +01:00