openwrt/package/base-files/files/lib/upgrade
Brian Norris 17b05045bd ipq40xx: Support Chromium OS image-type creation
See firmware-utils.git commits [1], which implemented the cros-vbutil
verified-boot payload-packing tool, and extended ptgen for the CrOS
kernel partition type. With these, it's now possible to package kernel +
rootfs to make disk images that can boot a Chrome OS-based system (e.g.,
Chromebooks, or even a few AP models).

Regarding PARTUUID= changes: Chromium bootloaders work well with a
partition number offset (i.e., relative to the kernel partition), so
we'll be using a slightly different root UUID line.

NB: I've made this support specific to ip40xx for now, because I only
plan to support an IPQ4019-based AP that uses a Chromium-based
bootloader, but this image format can be used for essentially any
Chromebook, as well as the Google OnHub, a prior Chromium-based AP using
an IPQ8064 chipset.

[1]
ptgen: add Chromium OS kernel partition support
https://git.openwrt.org/?p=project/firmware-utils.git;a=commit;h=6c95945b5de973026dc6f52eb088d0943efa96bb

cros-vbutil: add Chrome OS vboot kernel-signing utility
https://git.openwrt.org/?p=project/firmware-utils.git;a=commit;h=8e7274e02fdc6f2cb61b415d6e5b2e1c7e977aa1

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2022-03-25 18:14:13 +01:00
..
keep.d base-files: Add /etc/shinit for non-login shell init 2020-03-01 21:35:59 +01:00
common.sh ipq40xx: Support Chromium OS image-type creation 2022-03-25 18:14:13 +01:00
do_stage2 treewide: sysupgrade: use $UPGRADE_BACKUP to check for backup 2019-09-11 09:05:35 +02:00
emmc.sh base-files: Align rootfs_data upgrades to 64KiB on eMMC 2022-03-16 17:50:06 +01:00
fwtool.sh base-files: change logging for upgrade on fwtool 2021-05-17 01:00:14 +02:00
legacy-sdcard.sh base-files: rename 'sdcard' to 'legacy-sdcard' 2021-08-16 12:22:17 +01:00
nand.sh base-files: Make sure rootfs_data_max is considered 2022-02-17 15:15:42 +00:00
stage2 base-files: make sure tools are present in sysupgrade ramdisk 2022-02-22 19:16:03 +00:00