Eric Anderson e9aa99192e device-asus-flo: Use lk2nd
The generic kernels are too large to be booted by the stock bootloader,
as the boot partition is only 16 MiB. While this commit increases the
kernel size you can use today, the linux-postmarketos kernels are still
too big to boot from extlinux.conf until the [boot memory increase of
lk2nd][1] is released.

lk2nd also provides a better fastboot implementation which doesn't
fully-buffer the image to be written, and thus can write larger images
than the stock bootloader. Forcing fastboot mode requires [flo support
in lk2nd][2], which also requires a lk2nd release. Right now you'll only
get the better fastboot when lk2nd fails to find a kernel, which means a
dance like "use stock bootloader to wipe userdata, then start to lk2nd".

The reason to keep android image support is just for netbooting which
makes testing easier. But netbooting does _not_ work with lk2nd right
now as lk2nd has trouble finding the dtb for some reason; use the stock
boot loader when running "pmbootstrap flasher boot". Changing
flash_offset_ramdisk is to give more space for the kernel to decompress.

1. https://github.com/msm8916-mainline/lk2nd/pull/703
2. https://github.com/msm8916-mainline/lk2nd/pull/697

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9031>
2026-07-15 15:20:03 +00:00
2026-07-11 02:30:02 +02:00
2026-07-15 15:20:03 +00:00
2019-06-26 22:36:15 +02:00
2026-06-06 21:14:12 +02:00
2026-06-16 13:40:21 +00:00
2018-08-23 21:44:22 +02:00
2026-06-23 05:03:43 +00:00

postmarketOS aports repository

This repository contains the APKBUILD files for postmarketOS-specific packages, along with the required patches and scripts, if any.

There are many more packages defined in the Alpine Linux aports on which these packages depend.

Helpful resources:

Git Hooks

You can find some useful git hooks in the .githooks directory. To use them, run the following command after cloning this repository:

git config --local core.hooksPath .githooks
S
Description
No description provided
Readme GPL-3.0
95 MiB
Languages
Shell 95.8%
Python 2.5%
C 1.2%
Batchfile 0.3%
Jinja 0.2%