The config was for an older version of Linux, so was getting new
defaults applied when being built. Now the committed config is the same
as Linux was actually using to build.
Apparently the compression changed slightly for the Github tar,
producing a different sha.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9421>
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>
The flo bootloader discards the first 26 characters of the kernel
cmdline. The conversion to the new kernel cmdline configuration in !7830
now causes "quiet" from 00-base.conf to be prefied before the xxxxx
padding workaround, which caused the effective cmdline to begin
"xxxxxxconsole=ttyMSM0,115200,n8" (quiet discarded, and console no
longer would parse). Putting the xxxxx workaround in a file that sorts
before 00-base.conf causes the intended characters to be discarded.
The number of xxx's changed from 26 to 25 because now there will be a
space following the string.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8111>
Upgrading from an older LTS (6.6.y) to the latest LTS (6.12.y) version.
The config updates are simply "make olddefconfig" along with kconfig
check fixes.
6.12.y appears to behave identically to 6.6.y on veyron-minnie and
mickey. All feature testing showed the same results between the kernels.
I used a GNOME image. Appears to be working on minnie: battery, screen,
touchscreen, keyboard, touchpad, audio (headphones), camera, lid sensor.
Appears to be working on both: 3d acceleration, wifi, bluetooth, FDE,
USB-A, HDMI. HDMI audio worked on mickey. Speakers and HDMI audio didn't
work on minnie.
Audio was tested using "aplay -D sysdefault", because pipewire is
failing with a LUA incompatibility. But I didn't spend too much time
fiddling with alsamixer.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7225>