Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddin9 committed Mar 6, 2024
1 parent 8322949 commit 92290c2
Show file tree
Hide file tree
Showing 25 changed files with 2,337 additions and 12,911 deletions.
3 changes: 3 additions & 0 deletions devices/common/diy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ sed -i "s/192.168.1/10.0.0/" package/base-files/files/bin/config_generate

git_clone_path master https://github.com/coolsnowwolf/lede target/linux/generic/hack-5.15
curl -sfL https://raw.githubusercontent.com/coolsnowwolf/lede/master/target/linux/generic/pending-5.15/613-netfilter_optional_tcp_window_check.patch -o target/linux/generic/pending-5.15/613-netfilter_optional_tcp_window_check.patch

curl -sfL https://raw.githubusercontent.com/openwrt/openwrt/main/package/kernel/mac80211/realtek.mk -o package/kernel/mac80211/realtek.mk

sed -i "s/CONFIG_WERROR=y/CONFIG_WERROR=n/" target/linux/generic/config-5.15

grep -q "23.05" include/version.mk && [ -d package/kernel/mt76 ] && {
Expand Down
3 changes: 0 additions & 3 deletions devices/rockchip_armv8/.config
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ CONFIG_KERNEL_DEBUG_INFO_BTF=y
# CONFIG_KERNEL_DEBUG_INFO_REDUCED is not set
CONFIG_KERNEL_XDP_SOCKETS=y

CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_radxa_rock-pi-4=n
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_pine64_rockpro64=n

CONFIG_PACKAGE_kmod-rtl88x2bu=m
CONFIG_PACKAGE_kmod-pcie_mhi=m

Expand Down
2 changes: 1 addition & 1 deletion devices/rockchip_armv8/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Kernel等部分源码来源 https://github.com/coolsnowwolf/lede 感谢
Kernel等部分源码来源 https://github.com/immortalwrt/immortalwrt 感谢
23 changes: 13 additions & 10 deletions devices/rockchip_armv8/diy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@
shopt -s extglob
SHELL_FOLDER=$(dirname $(readlink -f "$0"))

rm -rf package/devel/kselftests-bpf package/feeds/routing/batman-adv
git_clone_path master https://github.com/coolsnowwolf/lede target/linux/generic/hack-6.1

rm -rf package/boot/uboot-rockchip
curl -sfL https://raw.githubusercontent.com/coolsnowwolf/lede/master/target/linux/generic/pending-6.1/613-netfilter_optional_tcp_window_check.patch -o target/linux/generic/pending-6.1/613-netfilter_optional_tcp_window_check.patch

git_clone_path master https://github.com/coolsnowwolf/lede package/boot/uboot-rockchip
git_clone_path master https://github.com/coolsnowwolf/lede package/boot/arm-trusted-firmware-rockchip-vendor
rm -rf package/feeds/kiddin9/{quectel_Gobinet,quectel_MHI} package/feeds/packages/libpfring devices/common/patches/kernel_version.patch devices/common/patches/rootfstargz.patch target/linux/generic/hack-6.1/{410-block-fit-partition-parser.patch,724-net-phy-aquantia*,720-net-phy-add-aqr-phys.patch}

rm -rf target/linux/generic target/linux/rockchip/!(Makefile)
rm -rf package/boot

git_clone_path master https://github.com/immortalwrt/immortalwrt package/boot

git_clone_path master https://github.com/coolsnowwolf/lede target/linux/generic
git_clone_path master https://github.com/coolsnowwolf/lede target/linux/rockchip
rm -rf target/linux/generic target/linux/rockchip/!(Makefile)

curl -sfL https://raw.githubusercontent.com/coolsnowwolf/lede/master/include/kernel-5.15 -o include/kernel-5.15
git_clone_path master https://github.com/immortalwrt/immortalwrt target/linux/generic
git_clone_path master https://github.com/immortalwrt/immortalwrt target/linux/rockchip

curl -sfL https://raw.githubusercontent.com/coolsnowwolf/lede/master/package/kernel/linux/modules/video.mk -o package/kernel/linux/modules/video.mk
curl -sfL https://raw.githubusercontent.com/immortalwrt/immortalwrt/master/package/kernel/linux/modules/video.mk -o package/kernel/linux/modules/video.mk

sed -i "/KernelPackage,ptp/d" package/kernel/linux/modules/other.mk

Expand All @@ -31,6 +32,8 @@ sed -i 's/DEFAULT_PACKAGES +=/DEFAULT_PACKAGES += fdisk lsblk kmod-drm-rockchip/

cp -Rf $SHELL_FOLDER/diy/* ./

sed -i 's/Ariaboard/光影猫/' target/linux/rockchip/image/armv8.mk

echo '
CONFIG_SENSORS_PWM_FAN=y
' >> ./target/linux/rockchip/armv8/config-5.15
' >> ./target/linux/rockchip/armv8/config-6.1

This file was deleted.

This file was deleted.

Loading

0 comments on commit 92290c2

Please sign in to comment.