From 88dfc5afcd3675abdea4571a7cd4a87649b392db Mon Sep 17 00:00:00 2001 From: DHDAXCW Date: Tue, 6 Jun 2023 08:30:46 +0000 Subject: [PATCH] ? --- README.md | 3 -- include/kernel-6.3 | 2 -- linux5.15.md | 2 -- linux6.x.md | 71 ---------------------------------------------- 4 files changed, 78 deletions(-) delete mode 100644 include/kernel-6.3 delete mode 100644 linux5.15.md delete mode 100644 linux6.x.md diff --git a/README.md b/README.md index 60758f027..c858e1994 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,6 @@ Notice: 1. **NOT** compile with **root** user! ! ! 2. Domestic users had better prepare a ladder before compiling 3. Default login IP 192.168.1.1 password password -4. **If you need wireless, please use the 5.4 kernel, and the 5.15 kernel opens the wireless conference card kernel. It is recommended not to enable wireless when compiling 5.15** -5. [Switch 5.15 to compile rk33xx](https://github.com/DHDAXCW/lede-rockchip/blob/stable/linux5.15.md) -6. [Switch 6.1 kernel to compile rk356x method](https://github.com/DHDAXCW/lede-rockchip/blob/stable/linux6.x.md) 2. Install compilation dependencies diff --git a/include/kernel-6.3 b/include/kernel-6.3 deleted file mode 100644 index 0b13bc834..000000000 --- a/include/kernel-6.3 +++ /dev/null @@ -1,2 +0,0 @@ -LINUX_VERSION-6.3 = -rc2 -LINUX_KERNEL_HASH-6.3-rc2 = 9fb1fa648c615089a97c02a526aaff3821b1ff92a918229b4d01d5a8760be1e8 \ No newline at end of file diff --git a/linux5.15.md b/linux5.15.md deleted file mode 100644 index 0cf7f43cf..000000000 --- a/linux5.15.md +++ /dev/null @@ -1,2 +0,0 @@ -# 切换5.15来编译rockchip rk356x设备 -下版本更新5.15 diff --git a/linux6.x.md b/linux6.x.md deleted file mode 100644 index cbc47ed9f..000000000 --- a/linux6.x.md +++ /dev/null @@ -1,71 +0,0 @@ -# 切换6.1来编译rockchip rk356x设备 -1. 执行命令来切换6.1内核`sed -i 's/5.4/6.1/g' ./target/linux/rockchip/Makefile` -2. 删除源码部分文件夹 -```bash -rm -rf package/kernel/mac80211 -rm -rf package/kernel/rtl8821cu -rm -rf package/network/services/hostapd -``` -3.下载openwrt官网部分文件 -```bash -svn export https://github.com/openwrt/openwrt/trunk/package/kernel/mac80211 package/kernel/mac80211 -svn export https://github.com/openwrt/openwrt/trunk/package/network/services/hostapd package/network/services/hostapd -``` -4. 将在target/linux/rockchip/image/armv8.mk这个文件夹里,去掉注释#,如下: -```patch ---- a/target/linux/rockchip/image/armv8.mk -+++ b/target/linux/rockchip/image/armv8.mk -@@ -30,7 +30,7 @@ define Device/embedfire_lubancat1 - IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r5s | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8125 - endef --#TARGET_DEVICES += embedfire_lubancat1 -+TARGET_DEVICES += embedfire_lubancat1 - - define Device/embedfire_lubancat1n - DEVICE_VENDOR := EmbedFire -@@ -40,7 +40,7 @@ define Device/embedfire_lubancat1n - IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r5s | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8169 -urngd kmod-ata-ahci - endef --#TARGET_DEVICES += embedfire_lubancat1n -+TARGET_DEVICES += embedfire_lubancat1n - - define Device/embedfire_lubancat2 - DEVICE_VENDOR := EmbedFire -@@ -50,7 +50,7 @@ define Device/embedfire_lubancat2 - IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r5s | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-ata-ahci kmod-ata-ahci-platform kmod-ata-core kmod-ata-ahci kmod-ata-ahci-platform kmod-ata-core - endef --#TARGET_DEVICES += embedfire_lubancat2 -+TARGET_DEVICES += embedfire_lubancat2 - - define Device/embedfire_lubancat2n - DEVICE_VENDOR := EmbedFire -@@ -60,7 +60,7 @@ define Device/embedfire_lubancat2n - IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r5s | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8125 kmod-ata-ahci kmod-ata-ahci-platform kmod-ata-core - endef --#TARGET_DEVICES += embedfire_lubancat2n -+TARGET_DEVICES += embedfire_lubancat2n - - define Device/hinlink_opc-h68k - DEVICE_VENDOR := HINLINK -@@ -70,7 +70,7 @@ define Device/hinlink_opc-h68k - IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r5s | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8125 - endef --#TARGET_DEVICES += hinlink_opc-h68k -+TARGET_DEVICES += hinlink_opc-h68k - - define Device/friendlyarm_nanopi-r2c - DEVICE_VENDOR := FriendlyARM -@@ -120,4 +120,4 @@ define Device/friendlyarm_nanopi-r5s - IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r5s | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8125 kmod-nvme kmod-scsi-core - endef --#TARGET_DEVICES += friendlyarm_nanopi-r5s -+TARGET_DEVICES += friendlyarm_nanopi-r5s -``` - -5. 然后参考下载源代码,更新 feeds 并选择配置等等,即可编译你需要的固件了