-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
85 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
rm -rf target/linux package/kernel package/boot package/firmware/linux-firmware include/{kernel-*,netfilter.mk} | ||
latest="$(curl -sfL https://github.com/openwrt/openwrt/commits/master/include | grep -o 'href=".*>kernel: bump 5.15' | head -1 | cut -d / -f 5 | cut -d '"' -f 1)" | ||
mkdir new; cp -rf .git new/.git | ||
cd new | ||
[ "$latest" ] && git reset --hard $latest || git reset --hard origin/master | ||
git checkout HEAD^ | ||
[ "$(echo $(git log -1 --pretty=short) | grep "kernel: bump 5.15")" ] && git checkout $latest | ||
cp -rf --parents target/linux package/kernel package/boot package/firmware/linux-firmware include/{kernel-*,netfilter.mk} ../ | ||
cd - | ||
|
||
kernel_v="$(cat include/kernel-5.15 | grep LINUX_KERNEL_HASH-* | cut -f 2 -d - | cut -f 1 -d ' ')" | ||
echo "KERNEL=${kernel_v}" >> $GITHUB_ENV || true | ||
sed -i "s?targets/%S/packages?targets/%S/$kernel_v?" include/feeds.mk | ||
|
||
sh -c "curl -sfL https://github.com/coolsnowwolf/lede/commit/06fcdca1bb9c6de6ccd0450a042349892b372220.patch | patch -d './' -p1 --forward" | ||
svn export --force https://github.com/openwrt/packages/trunk/kernel feeds/packages/kernel | ||
svn export --force https://github.com/openwrt/packages/trunk/net/xtables-addons package/feeds/kiddin9/xtables-addons | ||
|
||
svn co https://github.com/coolsnowwolf/lede/trunk/target/linux/generic/hack-5.15 target/linux/generic/hack-5.15 | ||
rm -rf target/linux/generic/hack-5.15/{220-gc_sections*,781-dsa-register*,780-drivers-net*} | ||
|
||
echo " | ||
CONFIG_TESTING_KERNEL=y | ||
CONFIG_PACKAGE_kmod-ipt-coova=n | ||
CONFIG_PACKAGE_kmod-usb-serial-xr_usb_serial_common=n | ||
" >> devices/common/.config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
From 03a1613c1e95b042dd99a6f69c45b61d786e41d4 Mon Sep 17 00:00:00 2001 | ||
From d990f23c514708418a2222cfd20dcc3478f9a522 Mon Sep 17 00:00:00 2001 | ||
From: kiddin9 <[email protected]> | ||
Date: Sat, 23 Apr 2022 18:52:48 +0800 | ||
Date: Mon, 23 May 2022 14:55:01 +0800 | ||
Subject: [PATCH] Update video.mk | ||
|
||
--- | ||
package/kernel/linux/modules/video.mk | 63 +++++++++++++++++++++++++-- | ||
1 file changed, 59 insertions(+), 4 deletions(-) | ||
|
||
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk | ||
index 258414df4509..3056d1d4d947 100644 | ||
index 2a306b5f4289..0a759dd0ebcd 100644 | ||
--- a/package/kernel/linux/modules/video.mk | ||
+++ b/package/kernel/linux/modules/video.mk | ||
@@ -220,14 +220,36 @@ endef | ||
@@ -220,13 +220,35 @@ endef | ||
|
||
$(eval $(call KernelPackage,fb-tft-ili9486)) | ||
|
||
|
@@ -37,10 +37,9 @@ index 258414df4509..3056d1d4d947 100644 | |
SUBMENU:=$(VIDEO_MENU) | ||
TITLE:=Direct Rendering Manager (DRM) support | ||
HIDDEN:=1 | ||
- DEPENDS:=+kmod-dma-buf +kmod-i2c-core +PACKAGE_kmod-backlight:kmod-backlight \ | ||
+ DEPENDS:=+kmod-dma-buf +kmod-i2c-core +kmod-i2c-algo-bit +!TARGET_x86&&PACKAGE_kmod-backlight:kmod-backlight \ | ||
+(LINUX_5_15):kmod-fb | ||
- DEPENDS:=+kmod-dma-buf +kmod-i2c-core +PACKAGE_kmod-backlight:kmod-backlight | ||
- KCONFIG:=CONFIG_DRM | ||
+ DEPENDS:=+kmod-dma-buf +kmod-i2c-core +kmod-i2c-algo-bit +PACKAGE_kmod-backlight:kmod-backlight | ||
+ KCONFIG:= \ | ||
+ CONFIG_DRM \ | ||
+ CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y \ | ||
|
@@ -50,7 +49,7 @@ index 258414df4509..3056d1d4d947 100644 | |
FILES:= \ | ||
$(LINUX_DIR)/drivers/gpu/drm/drm.ko \ | ||
$(LINUX_DIR)/drivers/gpu/drm/drm_panel_orientation_quirks.ko | ||
@@ -301,8 +323,6 @@ define KernelPackage/drm-imx | ||
@@ -300,8 +322,6 @@ define KernelPackage/drm-imx | ||
TITLE:=Freescale i.MX DRM support | ||
DEPENDS:=@TARGET_imx +kmod-drm-kms-helper | ||
KCONFIG:=CONFIG_DRM_IMX \ | ||
|
@@ -59,7 +58,7 @@ index 258414df4509..3056d1d4d947 100644 | |
CONFIG_IMX_IPUV3_CORE \ | ||
CONFIG_RESET_CONTROLLER=y \ | ||
CONFIG_DRM_IMX_IPUV3 \ | ||
@@ -1030,3 +1050,38 @@ define KernelPackage/video-gspca-konica/description | ||
@@ -1028,3 +1048,38 @@ define KernelPackage/video-gspca-konica/description | ||
endef | ||
|
||
$(eval $(call KernelPackage,video-gspca-konica)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.