Commit graph

11 commits

Author SHA1 Message Date
Henrik Grimler
fe0edb541b
linux-samsung-klimtlte: add patches to fix compilation issues (MR 4721)
Required after some somewhat recent gcc update.
2024-01-30 12:26:22 -08:00
Henrik Grimler
20e286aa77
linux-samsung-chagallwifi: add patches to fix compilation issues (MR 4721)
Required after some somewhat recent gcc update.
2024-01-30 12:26:21 -08:00
Henrik Grimler
7d3a0bb977
samsung-chagallwifi: enable FIMC IS with downstream kernel (MR 4721)
As for several other exynos devices we need to disable the
video4linux's udev rule OR disable FIMC IS and patch kernel to fix
build error without FIMC IS.

Add dependency on postmarketos-base-downstream-disable-udev-v4l to
override the v4l rule with symlink to /dev/null.  We can then drop
FIMC IS patch and keep kernel config more similar to original one.
2024-01-30 12:26:21 -08:00
Clayton Craft
d164248ac6
linux-*: bump pkgrel for kernels that use downstreamkernel_package (MR 2426)
This function was changed, so these packages need to be rebuilt to have
the kernel installed under the new filename 'vmlinuz'
2021-09-03 10:29:07 -07:00
Ignacy Kuchciński
33cbe47654
device/*/linux-*: enable CONFIG_DEVPTS_MULTIPLE_INSTANCES for <4.7 (MR 2145)
This is required for kernels earlier than 4.7 for bwrap to work for
normal users, and therefore for gnome web (epiphany) and flatpak.

[ci:skip-build] [ci:ignore-count]
2021-05-11 02:59:25 +03:00
Henrik Grimler
0bb64c2e96
linux-samsung-chagallwifi: fix kernel boot problem (MR 1884)
Simply disabling FIMC IS does not work however due to compilation
errors and a null pointer dereference.  01-fix-FIMC-IS-disabling.patch
takes care of this.

As with other exynos devices some additional things had to be disabled
to make the kernel compile after FIMC IS had been disabled,
specifically:

CONFIG_CAMERA_EEPROM
CONFIG_VIDEO_EXYNOS_MIPI_CSIS
CONFIG_LEDS_MAX77803

Apart from that we also have:

02-netfilter-symbols.patch, which fixes another compilation error.

03-usb_gadget-set-random-rndis-host-MAC-address-to-prev.patch (taken
from another device) which prevents host mac address being set to
00:00:00:00:00.

Kernel sources have been changed to the lineage-16.0 branch in the
exynos5420 repo, as that is where development happens at the moment.
2021-01-24 15:00:20 +01:00
Henrik Grimler
7bdce27e31
linux-samsung-chagallwifi: switch kernel sources (MR 1672)
With these kernel sources the device boots successfully,
sometimes. Usually, kernel panics and device reboots a couple of
times, but after a few attempts (maybe 1, maybe 7) it succeeds to
boot. The problems seem to be related to FIMC IS, unfortunately it
does not seem to be possible to just disable it in the kernel config,
as that leads to compilation errors.

I have so far just experimented with getting wifi up and running, but
it does not work out of the box even after adding firmware package
with files from TheMuppets, wpa_supplicant fails to connect and dmesg
is filed with lines like:

```
[  112.509235]  [L0: wl_event_handle:  3109] CFG80211-INFO2) wl_escan_handler : Couldn't find P2PIE in probe response/beacon
```

[ci:skip-build]: already built successfully in CI
2020-11-02 11:10:12 +01:00
Oliver Smith
0cfcc52e0d
*/linux-*: enable CONFIG_CRYPTO_XTS (MR 1405)
Enable CONFIG_CRYPTO_XTS for each kernel, so we can switch to using
aes-xts-plain64 as default cipher for cryptsetup (override with
"pmbootstrap --cipher"), instead of aes-cbc-plain64 (pmbootstrap#1940).

I have executed "pmbootstrap kconfig edit" on each kernel, and manually
toggled the option. The diff is not always clean, because for some
kernels it is apparently the first time, that menuconfig was executed on
the configs like that. In a few instances, it turned out that
CONFIG_ANDROID_PARANOID_NETWORK needed to be disabled too (this is
already a requirement, but as the config was incomplete, it was not
visible that this option was enabled). Very few times, I had to enable
CONFIG_EXPERIMENTAL in order to see and enable CONFIG_CRYPTO_XTS.

It would be great if we could automate such mass kconfig edits in the
future, see pmbootstrap#1942.

[skip ci]: I have verified, that every single one of these kernels builds.
           CI will likely run out of time while downloading source tarballs.
2020-07-11 15:26:35 +02:00
Minecrell
a85db1dc7b
*: remove "Contributor:" lines from APKBUILDs (MR 1203)
At the moment we have Contributor: lines on some packages (but not all of them),
but often they don't represent the actual contributors to the package very well.
E.g. when we added them retroactively to the device packages we only added
the initial contributor (which isn't necessarily the person
who made most of the work for a device...)

The Git history is the most representative source for figuring out
who contributed to a package, so there is no reason to duplicate that
into the APKBUILD.

[skip ci]: way too many packages
2020-05-02 21:45:25 +03:00
Antoine Fontaine
f54c2b67c3
linux-samsung-chagallwifi: use pmb:cross-native (MR 1187)
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1169 got
merged a bit too early (that's not a breaking change though)

[ci:skip-vercheck]
[ci:skip-build]
2020-04-25 13:42:46 +03:00
David William Richmond Davies-Jones
bef5dc9ae8
samsung-chagallwifi: new device (MR 1174)
This gets the Samsung Galaxy Tab S 10.5 Wifi (samsung-chagallwifi) working at a very basic level.
Full instructions of how to flash the device etc are already on the wiki at
https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Tab_S_10.5_WiFi_(chagallwifi)
2020-04-23 18:37:24 +02:00