Building with LLVM is a requirement for every category higher than downstream,
so this kernel must be built with LLVM. This is part of a larger distro-wide
effort to build with LLVM.
- Builds with LLVM
- Fixes style errors
- Updates kconfig
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9039>
Otherwise any patches that need to be applied onto the out-of-tree code
in the patch archive will fail to apply as the files won't exist yet.
This works because delaying default_prepare also delays abuild's
automatic patch application.
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9027>
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>
In the most recent xkeyboard-config, the layout changed from
us/pc/key2 to blackberry-key2/us
(layout/model/variant) (model/layout)
The udev hwdb is for unl0kr to properly recognize the keyboard,
recommended by sicelo.
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8969>
As discussed with Casey at the FOSDEM hackathon, we want to integrate
linux-next with the same infra we use for linux-postmarketos-mainline
and the other generic kernels and move maintainership to the generic
kernel team.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7937>
_defconfig="defconfig" is the default logic in pmbootstrap, and thus should not be
duplicated in kernel packages. The only use-case for _defconfig is for when the
defconfig differs from what is automatically selected.
linux-next is not modified because it still uses the old kconfig fragments logic and
would break with this change.
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8978>
firmware-samsung-janice got moved to dependencies with
1ce58c5ae1, but the
firmware package is in archived, so it cannot be depended
on. firmware-samsung-u8500 is the proper replacement for
the device-specific firmware package.
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8968>
phoc only loads one config file, with `/etc/phoc.ini` overriding `/usr/share/phosh/phoc.ini`.
Because `/usr/share/phosh/phoc.ini` only contains defaults, it is safe to override with the
device's phoc.ini and free up `/etc/phoc.ini` for user configs. If a user has modified
`/etc/phoc.ini` on their install, it will not be removed, making this change safe.
Also does various small cleanups, like setting the `install_if` to `postmarketos-ui-phosh`
instead of plain `phosh`.
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8845>
Cleans up the packaging and installs the firmware files to /usr/lib/. Moves
the actual firmware out of the -common subpackage and into the regular
package, as this is the logical move, since the subpackages depend upon the
parent package anyways and the -dpu subpackage depends upon the firmware
files, which wouldn't exist if the -common subpackage wasn't previously
installed.
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8915>