Commit graph

2 commits

Author SHA1 Message Date
Anton Bambura
b6f0cfda68
main/postmarketos-mkinitfs-hook-apx: enable aarch64 (MR 4319)
It may work on aarch64 Tegra SoCs

[ci:skip-build]: already built successfully in CI
2023-08-10 01:16:32 +03:00
Anton Bambura
dd5f448bee
main/postmarketos-mkinitfs-hook-apx: new aport (MR 4231)
Nvidia Tegra devices have APX mode which allows to flash/debrick
a device even with broken bootloader. It also allows to sideload
bootloader which is useful when porting a new bootloader.

Some devices have a key combination to enter this mode, some devices
don't have one. This hook alters two Tegra PMC registers which
causes device to enter APX mode. It works on the most devices
including some of those that don't have a key combination for APX.

Usage:
pmbootstrap initfs hook_add apx
pmbootstrap flasher boot

[ci:skip-build]: already built successfully in CI
2023-07-07 09:00:01 +02:00