linux-postmarketos-exynos4: upgrade to 6.10.0 (MR 5477)
- USB-OTG support for Midas boards (m0/t0) and Samsung Galaxy Tab 3 8.0 - Headset jack detection + headset mic support for Samsung Galaxy Tab 3 8.0 - Support for the Samsung Galaxy Note (q1) - Improved charging on Tab 3 8.0 and Midas boards - Minor improvements for Tab 3 8.0 (fix home keycode, enable fuel gauge current sensing) - Fixed #1783 The isorec initramfs is now stores in the exynos4-mainline linux repo and has been dropped from pmaports. [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
d2dd5355d1
commit
6e172f9821
5 changed files with 233 additions and 175 deletions
|
|
@ -4,8 +4,8 @@
|
|||
# Kernel config based on: arch/arm/configs/exynos_defconfig
|
||||
|
||||
pkgname=linux-postmarketos-exynos4
|
||||
pkgver=6.7.6
|
||||
pkgrel=6
|
||||
pkgver=6.10.0
|
||||
pkgrel=0
|
||||
pkgdesc="Mainline kernel fork for Samsung Exynos4 devices"
|
||||
arch="armv7"
|
||||
_carch="arm"
|
||||
|
|
@ -41,23 +41,11 @@ _tag="v${pkgver//_/-}-exynos4"
|
|||
source="
|
||||
$pkgname-$_tag.tar.bz2::$url/-/archive/$_tag/linux-$_tag.tar.bz2
|
||||
$_config
|
||||
initramfs.list
|
||||
init
|
||||
tab3-limit-memory.patch
|
||||
"
|
||||
builddir="$srcdir/linux-$_tag"
|
||||
|
||||
prepare_isorec() {
|
||||
# https://wiki.postmarketos.org/wiki/Boot_process#isorec
|
||||
cp -v /usr/$(arch_to_hostspec $arch)/bin/busybox.static \
|
||||
"$builddir"/usr/
|
||||
cp -v "$srcdir"/init "$builddir"/usr/
|
||||
cp -v "$srcdir"/initramfs.list "$builddir"/usr/
|
||||
}
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
prepare_isorec
|
||||
cp -v "$srcdir/$_config" .config
|
||||
}
|
||||
|
||||
|
|
@ -81,9 +69,6 @@ package() {
|
|||
}
|
||||
|
||||
sha512sums="
|
||||
705cd617d135900cb25c8b6da7177d507e6a179b521e04aeae18080995514cbd69381a21f942ebf4d8cee427e3c60d53e6a06ed918ddcaacc243ca585ef61c11 linux-postmarketos-exynos4-v6.7.6-exynos4.tar.bz2
|
||||
4de127f68b56c380455f77610fcd6b0fd2ed8b79355fa9050ac90b0b2a9d5ad9fe3f5e81f304f8e3327e0203866ded2d6eae083847670eaa9fbdb156b50db9b8 config-postmarketos-exynos4.armv7
|
||||
aaff0332b90e1f9f62de1128cace934717336e54ab09de46477369fa808302482d97334e43a85ee8597c1bcab64d3484750103559fea2ce8cd51776156bf7591 initramfs.list
|
||||
09f1f214a24300696809727a7b04378887c06ca6f40803ca51a12bf2176a360b2eb8632139d6a0722094e05cb2038bdb04018a1e3d33fc2697674552ade03bee init
|
||||
aea665e80dee318ec3be23d3f28b88e87eb551d2756e14d896781a0861a4387920f6969990eb171e8c7d6f86c36cef63a89337d63bfee7e44b9de7a8efb36c73 tab3-limit-memory.patch
|
||||
a320d0be4532f469be015e2a6706e507e89daaa55ad50d57a56451dca04b6bbea56f62d15877ef000027ce887ecd04257f9c71d7c9d80aab55607494205fa5c7 linux-postmarketos-exynos4-v6.10.0-exynos4.tar.bz2
|
||||
2dc3a1d57bf485b513308362b263de59dd4ee507f9a23935a91f7bee9fb119a172089b5b64b364a770e378e225e253424eacad6905e9f1be57231d4ed5cf7b9f config-postmarketos-exynos4.armv7
|
||||
"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,20 +0,0 @@
|
|||
#!/bin/busybox sh
|
||||
|
||||
# Samsung kernels come with their own initramfs, which extract and load another
|
||||
# initramfs. Usually that depends on the recovery key combination being pressed
|
||||
# or not. For simplicity, we always boot the recovery image (from the recovery
|
||||
# partition) here.
|
||||
echo "### isorec initramfs ###"
|
||||
busybox mount -t proc proc /proc
|
||||
busybox mount -t sysfs sysfs /sys
|
||||
|
||||
# always use the "isorec"-style lzop compressed initramfs
|
||||
# from the recovery partition
|
||||
load_image=/isorec.cpio
|
||||
busybox lzop -dc /dev/block/mmcblk0p6 > ${load_image}
|
||||
busybox cpio -iu < ${load_image}
|
||||
busybox rm ${load_image}
|
||||
|
||||
busybox umount /sys
|
||||
busybox umount /proc
|
||||
exec /init
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
dir /dev 755 0 0
|
||||
dir /dev/block 755 0 0
|
||||
nod /dev/block/mmcblk0 600 0 0 b 179 0
|
||||
nod /dev/block/mmcblk0p1 600 0 0 b 179 1
|
||||
nod /dev/block/mmcblk0p2 600 0 0 b 179 2
|
||||
nod /dev/block/mmcblk0p3 600 0 0 b 179 3
|
||||
nod /dev/block/mmcblk0p4 600 0 0 b 179 4
|
||||
nod /dev/block/mmcblk0p5 600 0 0 b 179 5
|
||||
nod /dev/block/mmcblk0p6 600 0 0 b 179 6
|
||||
nod /dev/block/mmcblk0p7 600 0 0 b 179 7
|
||||
nod /dev/block/mmcblk0p8 600 0 0 b 179 8
|
||||
nod /dev/block/mmcblk0p9 600 0 0 b 179 9
|
||||
nod /dev/block/mmcblk0p10 600 0 0 b 179 10
|
||||
nod /dev/block/mmcblk0p11 600 0 0 b 179 11
|
||||
nod /dev/block/mmcblk0p12 600 0 0 b 179 12
|
||||
nod /dev/console 600 0 0 c 5 1
|
||||
dir /bin 755 0 0
|
||||
dir /proc 755 0 0
|
||||
dir /sys 755 0 0
|
||||
file /bin/busybox usr/busybox.static 755 0 0
|
||||
file /init usr/init 755 0 0
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
From 57ae04aa40be1e83e2da2fdf92de749f694ea5f8 Mon Sep 17 00:00:00 2001
|
||||
From: Artur Weber <aweber.kernel@gmail.com>
|
||||
Date: Sat, 17 Feb 2024 12:34:46 +0100
|
||||
Link: https://gitlab.com/exynos4-mainline/linux/-/merge_requests/13
|
||||
Subject: [PATCH] ARM: dts: exynos4212-tab3: Limit usable memory range
|
||||
|
||||
The stock bootloader on the Samsung Galaxy Tab 3 8.0 provides an
|
||||
incorrect available memory range over ATAG_MEM. Limit the usable
|
||||
memory in the DTS to prevent it from doing so, without having to
|
||||
disable ATAG support.
|
||||
|
||||
Signed-off-by: Artur Weber <aweber.kernel@gmail.com>
|
||||
---
|
||||
arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi b/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi
|
||||
index 87a1317f9220..996cd5cb0c07 100644
|
||||
--- a/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi
|
||||
+++ b/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi
|
||||
@@ -45,6 +45,12 @@ chosen {
|
||||
/* Default S-BOOT bootloader loads initramfs here */
|
||||
linux,initrd-start = <0x42000000>;
|
||||
linux,initrd-end = <0x42800000>;
|
||||
+
|
||||
+ /*
|
||||
+ * S-BOOT provides incorrect memory size in bootloader;
|
||||
+ * override it here
|
||||
+ */
|
||||
+ linux,usable-memory-range = <0x40000000 0x3fc00000>;
|
||||
};
|
||||
|
||||
firmware@204f000 {
|
||||
--
|
||||
2.44.0
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue