2657 Commits

Author SHA1 Message Date
骷髅头
332e48c570 Update build_features.h 2025-03-03 22:34:56 +08:00
骷髅头
93b24d34b7 Update Makefile 2025-03-03 22:34:25 +08:00
骷髅头
2b322f2903 Update Config.in 2025-03-03 22:32:34 +08:00
骷髅头
de832a2ef3 Update filogic.mk 2025-02-26 20:10:01 +08:00
DHDAXCW
c59851f7ec kernel: bump 6.6 to 6.6.62 2024-11-22 09:31:49 +00:00
DHDAXCW
aa2245486f kernel: bump 6.6 to 6.6.56 2024-10-15 02:41:07 +00:00
DHDAXCW
61f3bd5a14 rockchip: add FriendlyElec NanoPi R3S support 2024-10-15 02:18:53 +00:00
骷髅头
cdf6784df7 fix lbc1n rtl8821cu 2024-10-11 17:17:21 +08:00
DHDAXCW
dc4c934202 mac80211: realtek: rtw88 rtw89 package 2024-10-11 03:21:57 +00:00
DHDAXCW
c7ae8f65f0 mac80211: update to version 6.11.2 2024-10-11 02:53:17 +00:00
DHDAXCW
95fd4e27af kernel: bump 6.6 to 6.6.54 2024-10-08 09:56:52 +00:00
DHDAXCW
ea0d1cca86 update mhi devices 2024-09-11 07:39:00 +00:00
DHDAXCW
d919b7854a Update Makefile 2024-08-27 10:21:17 +08:00
DHDAXCW
abef5e8006 kernel: bump 6.6 to 6.6.47 2024-08-27 09:46:33 +08:00
DHDAXCW
65dedfb579 Update Makefile 2024-08-26 19:02:31 +08:00
DHDAXCW
c47aa94440 Update Makefile 2024-08-26 18:57:20 +08:00
骷髅头
1c1256964b Update mt7988a.dtsi 2024-08-26 18:17:29 +08:00
骷髅头
42937af879 Update Makefile 2024-08-26 14:58:03 +08:00
骷髅头
1612fa7775 Update Makefile 2024-08-22 16:36:28 +08:00
DHDAXCW
f1c01b38bd kernel: bump 6.6 to 6.6.42 2024-08-05 15:06:08 +08:00
DHDAXCW
226c4e9b83 sync 2024-08-05 14:25:21 +08:00
DHDAXCW
60a5b065ea sync 2024-08-05 14:21:57 +08:00
DHDAXCW
ed1029d103 fix mt76 2024-08-01 17:30:06 +08:00
骷髅头
e8c6f8f165 Update rockchip-pwm-fan.sh
rockchip:optimize temperature control and start fan script
2024-08-01 17:28:37 +08:00
DHDAXCW
81828eda28 fix 2024-07-27 17:37:53 +08:00
DHDAXCW
bae04b42b2 kernel: bump 6.6 to 6.6.42 2024-07-27 17:35:02 +08:00
DHDAXCW
a655dfab35 filogic: add kmod phy aquantia 2024-07-27 17:29:39 +08:00
DHDAXCW
81a3b0dcf0 apk: move package to core 2024-07-26 17:51:12 +08:00
骷髅头
80d980c42d Update openwrt-ci.yml 2024-07-23 17:12:34 +08:00
骷髅头
a01bdf36d2 Update Makefile 2024-07-23 17:00:50 +08:00
DHDAXCW
a97ba8ec55 kernel: bump 6.6 to 6.6.41 2024-07-23 16:59:26 +08:00
DHDAXCW
e1fa90e221 fix 2024-07-22 18:19:21 +08:00
DHDAXCW
a3f6b75cba mac80211: update to version 6.9.9 2024-07-22 18:07:26 +08:00
骷髅头
542e897d4b Update filogic.mk 2024-07-20 21:49:20 +08:00
骷髅头
50afe2f978 Update Makefile 2024-07-20 21:47:16 +08:00
DHDAXCW
0e8c95bd7f sync 2024-07-19 17:20:58 +08:00
DHDAXCW
b62378dcb4 sync 2024-07-19 17:13:54 +08:00
DHDAXCW
9b927dbcba fix 2024-07-18 10:36:04 +08:00
骷髅头
8502c5e598 Delete package/lean/r8101 directory 2024-07-03 14:22:02 +08:00
DHDAXCW
b6501c9a20 Switch to kernel 6.6 2024-07-02 14:14:09 +08:00
DHDAXCW
ddf9becfae fix mac80211 kernle 6.6 support 2024-07-02 09:39:34 +08:00
DHDAXCW
3fd0beb278 fix mac80211 2024-07-02 09:29:07 +08:00
DHDAXCW
0eea6d8170 kernel: bump 6.6 to 6.6.36 2024-07-01 15:27:04 +08:00
DHDAXCW
ac4ad46060 fix cpufreq MHz 2024-07-01 15:01:46 +08:00
DHDAXCW
7c237658e3 sync 2024-07-01 12:50:08 +08:00
DHDAXCW
9458d76b6b kernel: bump 6.1 to 6.1.96 2024-06-30 19:46:42 +08:00
骷髅头
19b4e379aa Update Makefile 2024-06-30 16:40:18 +08:00
DHDAXCW
3fe8285ca0 fix 2024-06-30 15:05:56 +08:00
DHDAXCW
a4b677615e fix 2024-06-30 14:53:16 +08:00
骷髅头
23e779781e Update Makefile 2024-06-29 20:50:13 +08:00
DHDAXCW
fe5d6e1578 fix 2024-06-29 20:46:44 +08:00
DHDAXCW
543e380250 fix 2024-06-29 20:45:02 +08:00
DHDAXCW
76ab34e0e9 pull 2024-06-29 14:33:20 +08:00
骷髅头
750f418dfa Update Config-images.in 2024-06-29 14:17:57 +08:00
DHDAXCW
d7e948ea32 sync 2024-06-29 14:15:52 +08:00
DHDAXCW
e01e8ef4fc update kernel 2024-06-29 09:19:12 +08:00
DHDAXCW
6f856f7dba kernel: bump 6.1 to 6.1.93 2024-06-13 16:14:12 +08:00
骷髅头
28f98400af Update Makefile 2024-06-13 16:02:43 +08:00
DHDAXCW
4b6f54007c sync 2024-06-06 09:07:27 +08:00
DHDAXCW
4da5759c17 fix 2024-05-30 08:58:42 +08:00
DHDAXCW
af6eb79a63 kernel: bump 6.1 to 6.1.92 2024-05-27 18:35:57 +08:00
ty
e645bb1dfe revert: revert-config-6.1 due to wrong CPU freq setting (#54) 2024-05-26 23:07:08 +08:00
DHDAXCW
18725e0e29 kernel: bump 6.1 to 6.1.91 2024-05-21 11:40:47 +08:00
yu
1298f2b619 add rk3566 radxa zero 3e (#53) 2024-05-20 08:38:53 +08:00
DHDAXCW
6ce89fe4c0 update wwan 2024-05-17 08:48:59 +08:00
骷髅头
c37fc47621 Update image.mk 2024-05-14 12:04:19 +08:00
DHDAXCW
5e9dcacace sync 2024-05-11 15:48:53 +08:00
骷髅头
3cf70360f1 。。。。 2024-05-10 09:38:01 +08:00
DHDAXCW
b957de0e16 sync update 2024-05-10 09:35:58 +08:00
骷髅头
c2c2d104a7 Update Makefile 2024-05-10 09:29:56 +08:00
DHDAXCW
5f998d147f sync update 2024-05-10 09:22:58 +08:00
DHDAXCW
cb414db044 sync 2024-05-06 15:45:26 +08:00
DHDAXCW
bffabe88ef kernel: bump 6.1 to 6.1.90 2024-05-06 11:12:28 +08:00
DHDAXCW
d98b5e2116 update 6.6 2024-05-01 18:43:16 +08:00
骷髅头
5d3ae48c50 wwan:Remove modemmanager from modem 2024-04-30 20:14:30 +08:00
骷髅头
1800f96bd7 Update armv8.mk 2024-04-30 18:59:51 +08:00
DHDAXCW
d7d8716c42 rooter年久失修 2024-04-30 16:32:28 +08:00
DHDAXCW
a595fa7a98 add 5G-Modem-Support https://github.com/Siriling/5G-Modem-Support 2024-04-30 16:19:00 +08:00
DHDAXCW
e19db867f5 sync 2024-04-30 10:26:22 +08:00
DHDAXCW
eb24b58aac update firmware 2024-04-25 14:38:18 +08:00
DHDAXCW
34e35dd034 fix 2024-04-25 11:49:14 +08:00
DHDAXCW
ff694ee83c kernel: bump 5.15 to 5.15.156 2024-04-25 11:24:07 +08:00
骷髅头
9cbe38aa38 fix 2024-04-25 08:33:39 +08:00
DHDAXCW
658663e93c uboot-rockchip: Update to 2024.04 2024-04-22 09:52:36 +08:00
DHDAXCW
34477073d5 kernel: bump 6.1 to 6.1.87 2024-04-22 09:20:13 +08:00
DHDAXCW
be22f404fc kernel: bump 6.1 to 6.1.87 2024-04-22 09:19:22 +08:00
DHDAXCW
0ba67dc32d kernel: bump 6.1 to 6.1.85 2024-04-13 19:46:48 +08:00
骷髅头
e13e153b52 Update 02_network 2024-04-06 18:17:06 +08:00
骷髅头
1856cd2605 Update 02_network 2024-04-06 17:56:03 +08:00
DHDAXCW
3d0d49e5eb 加入烤鹅需要的配置 2024-04-06 14:06:36 +08:00
DHDAXCW
40b65ed242 kernel: backport ethtool_puts 2024-04-04 20:39:53 +08:00
DHDAXCW
2f7483fe3d tools: add tmon package 2024-04-04 20:38:33 +08:00
DHDAXCW
64f08dde5f kernel: bump 6.1 to 6.1.84 2024-04-04 20:29:51 +08:00
骷髅头
e8605e938a perf: fix build on linux 6.6 2024-04-03 18:47:11 +08:00
骷髅头
df9636cd92 remove default encryption 2024-04-03 18:44:47 +08:00
boos4721
dd8fc69c05 rockchip: fix pwm fans
Signed-off-by: boos4721 <boos4721@icloud.com>
2024-04-02 18:32:20 +08:00
骷髅头
ae2136ad5d Update 01_leds 2024-04-02 08:37:35 +08:00
DHDAXCW
f1a0602fad fix r2s led 2024-04-01 09:49:33 +08:00
DHDAXCW
23d088db28 fix led 2024-04-01 09:21:11 +08:00
骷髅头
a902143587 Update rk3588s-nanopi-r6c.dts 2024-03-31 20:15:46 +08:00
骷髅头
afa14d1434 fix 2024-03-31 20:14:46 +08:00
DHDAXCW
d06822a9ca fix 2024-03-28 20:30:11 +08:00
DHDAXCW
2b43c43db2 kernel: bump 6.1 to 6.1.83 2024-03-28 10:37:24 +08:00
骷髅头
c9b3616b70 Update 01_leds 2024-03-28 08:18:49 +08:00
骷髅头
dd10cc80b6 e 2024-03-28 08:15:33 +08:00
骷髅头
c2d26ec4b3 add luci app store 2024-03-26 11:27:51 +08:00
骷髅头
b9ddd00d22 fix 2024-03-25 10:20:29 +08:00
骷髅头
95a57274a1 tools/xz: update to 5.4.6 2024-03-25 10:14:05 +08:00
骷髅头
96f2a99b94 Update Config-images.in 2024-03-22 14:08:56 +08:00
DHDAXCW
8dc7a2a281 fix gmac0 2024-03-21 17:23:00 +08:00
DHDAXCW
bd6ae62638 add rk3588 lubancat 5 2024-03-21 16:43:23 +08:00
DHDAXCW
d60f816054 Fix power configuration causing cpufreq folder to be empty
This will cause the CPU to display abnormally
/sys/bus/cpu/devices/cpu0/cpufreq/*': No such file or directory
2024-03-21 15:22:20 +08:00
boos4721
f7dee425a5 mac80211: fix typo
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2024-03-21 15:11:20 +08:00
DHDAXCW
247b530953 fix ttl打印log异常.. 2024-03-21 14:06:36 +08:00
DHDAXCW
328aedeb92 add rk3588s lubancat 4 2024-03-21 11:10:29 +08:00
DHDAXCW
9e14fbd087 add rk3588 h88k 2024-03-21 09:26:33 +08:00
DHDAXCW
a6f6b6c20b fix 2024-03-21 08:53:15 +08:00
骷髅头
2641258b83 Update openwrt-ci.yml 2024-03-21 08:38:17 +08:00
骷髅头
5f48e0e66f Update README.md 2024-03-20 19:57:56 +08:00
骷髅头
dbf6ebb75a Update README.md 2024-03-20 19:55:54 +08:00
骷髅头
e1afd4ac88 Update feeds.conf.default 2024-03-20 19:52:52 +08:00
DHDAXCW
c96e1b095d 删除无用超频 2024-03-20 18:14:27 +08:00
骷髅头
6bf3034fb4 Update README.md 2024-03-20 18:12:16 +08:00
DHDAXCW
2ff926c009 refresh patch 2024-03-20 18:10:50 +08:00
DHDAXCW
f0f3bf3a36 ? 2024-03-20 18:06:04 +08:00
DHDAXCW
6c02909781 fix 2024-03-20 18:00:55 +08:00
DHDAXCW
4683fc28dc fix 2024-03-20 17:51:35 +08:00
DHDAXCW
a432948460 fix sync 2024-03-20 17:28:21 +08:00
DHDAXCW
3132c76269 fix dst_release issue 2024-03-20 13:44:50 +08:00
DHDAXCW
7f6b8f9d7a fix u-boot 2024-03-20 11:27:56 +08:00
骷髅头
4436b9b236 Update README.md 2024-03-06 21:16:42 +08:00
骷髅头
134d4781f4 Update openwrt-ci.yml 2024-03-05 08:49:29 +08:00
骷髅头
5d9f5fe1d6 Update openwrt-ci.yml 2024-03-04 14:06:57 +08:00
骷髅头
28b3594e1f 删掉1.6GHz频率
已经没意义了
2024-03-04 11:38:59 +08:00
骷髅头
5efb68ab0f Update openwrt-ci.yml 2024-02-20 09:33:23 +08:00
DHDAXCW
7c42d66e8a kernel: bump 6.1 to 6.1.73 2024-02-19 19:04:59 +08:00
DHDAXCW
c656dbd449 fix 2024-02-10 12:54:20 +08:00
DHDAXCW
be51fbc5cf fix 2024-02-10 12:54:06 +08:00
DHDAXCW
c75d525b69 fix 2024-02-10 12:11:01 +08:00
DHDAXCW
30ae2a4666 add? 2024-02-10 11:38:46 +08:00
DHDAXCW
91afc4e70e repo sync 2024-02-10 11:37:01 +08:00
DHDAXCW
b30a87c18a fix 2024-02-10 11:32:05 +08:00
DHDAXCW
2ae009a90c fix 2024-02-10 11:30:48 +08:00
DHDAXCW
c4b49e10fd r8125: update to 9.012.03-1 2024-02-10 10:53:47 +08:00
DHDAXCW
4be0ae9d3b netsupport.mk: add missing Kconfig for sched 2024-02-10 10:46:22 +08:00
DHDAXCW
b37bef71bc bpf-headers: Fix download URL with kernel 6.1 2024-02-10 10:45:05 +08:00
DHDAXCW
5c2640f0d0 umbim/uqmi: sync with upstream 2024-02-10 10:43:15 +08:00
DHDAXCW
83e10929fd modules: fix usb-net support for kernel 6.6 2024-02-10 10:39:52 +08:00
DHDAXCW
10c2b022ec modules: fix nfs and ksmbd build with kernel 6.6 2024-02-10 10:39:03 +08:00
DHDAXCW
c6bea6a6dd modules: fix nls.mk support for linux 6.6 2024-02-10 10:37:35 +08:00
DHDAXCW
1fb3f91979 mt76: add linux kernel 6.6 support 2024-02-10 10:34:56 +08:00
DHDAXCW
2518e1a5fa openssl: update to 3.0.13 2024-02-10 10:32:56 +08:00
DHDAXCW
d92b97a26c repo lean 2024-02-10 10:30:53 +08:00
DHDAXCW
a188ee0553 Refresh Rockchip micro uboot patch 2024-02-10 09:50:19 +08:00
DHDAXCW
fa42ea3fe4 fix 2024-02-06 13:26:33 +08:00
骷髅头
bfc3155d9f Update realtek.mk 2024-01-20 20:51:08 +08:00
DHDAXCW
a0aae99caa fix? 2024-01-18 13:18:06 +08:00
DHDAXCW
388fc6082e fix? 2024-01-18 13:09:08 +08:00
DHDAXCW
b57e8d8a6e kernel: bump 6.1 to 6.1.69 2023-12-27 16:03:52 +00:00
骷髅头
60ce7694e7 Update ath11k-firmware 2023-12-24 00:28:49 +08:00
DHDAXCW
5b4767e841 add xdp-sockets-diag kernel module 2023-12-11 01:19:35 +00:00
DHDAXCW
028b3c4467 fix? 2023-12-06 12:35:41 +00:00
DHDAXCW
16e3acad85 fix 2023-12-06 11:53:27 +00:00
骷髅头
1d3e82ab80 修改lubancat1 eth0默认lan 2023-12-03 00:39:34 +08:00
DHDAXCW
7d6dce0161 kernel: bump 6.1 to 6.1.64
懒得修6.6内核,后面慢慢修吧。。
2023-12-01 08:03:31 +00:00
Miles Poupart
c5e3380c48 base-files: force remount ext4 rootfs 2023-11-13 09:13:36 +08:00
DHDAXCW
ba50d0a481 fix? 2023-11-07 10:41:50 +00:00
DHDAXCW
0b0b61f50c fix? 2023-11-07 09:26:09 +00:00
DHDAXCW
c47b2d58db fix? 2023-11-06 16:08:06 +00:00
骷髅头
329dbee149 Update Makefile 2023-11-06 13:40:39 +08:00
DHDAXCW
391bb0df74 fix? 2023-11-06 05:39:02 +00:00
DHDAXCW
8e44579b68 kernel: bump 6.1 to 6.1.58 2023-10-17 07:41:23 +00:00
DHDAXCW
cd229d6484 kernel: bump 6.1 to 6.1.58 2023-10-17 05:56:16 +00:00
骷髅头
8614a08683 Update sysctl.conf 2023-10-14 12:25:47 +08:00
DHDAXCW
58d0397dfe fix? 2023-10-07 16:11:23 +00:00
DHDAXCW
48d41286b3 update kernel 5.15 to 5.15.134 2023-10-07 14:24:16 +00:00
骷髅头
b49413a774 02_network: Adjust the correct network port 2023-10-07 20:38:00 +08:00
DHDAXCW
221ee48e29 fix? 2023-10-02 14:23:51 +00:00
DHDAXCW
1918fd931e kernel: update x86 to 6.1.55 2023-09-26 14:58:23 +00:00
DHDAXCW
d6ca9120a5 kernel: bump 6.1 to 6.1.55 2023-09-26 14:41:38 +00:00
骷髅头
e432ec6155 openssl: make compatible with v1.1 pkg 2023-09-17 07:05:42 +08:00
DHDAXCW
a9dec8bee1 kernel: bump 6.1 to 6.1.53 2023-09-14 06:57:30 +00:00
DHDAXCW
aed268398f kernel: bump 6.1 to 6.1.50 2023-08-31 05:44:06 +00:00
DHDAXCW
6ba91c3d9e kernel: bump 6.1 to 6.1.50 2023-08-31 04:05:34 +00:00
DHDAXCW
64f764a169 kernel: bump 6.1 to 6.1.50 2023-08-31 04:04:20 +00:00
DHDAXCW
2d9e2d94f6 update r8125 2023-08-31 03:15:13 +00:00
骷髅头
6e8a9f99f4 build: switch default target to rockchip 2023-08-31 10:59:15 +08:00
骷髅头
b8d234c727 Update Makefile 2023-08-29 20:29:43 +08:00
DHDAXCW
4c05ae5462 Update x86 kernel patch 2023-08-29 12:13:53 +00:00
DHDAXCW
db4e288810 kernel: bump 6.1 to 6.1.49 2023-08-29 09:03:23 +00:00
骷髅头
21ae7177d1 计划添加rk3588设备
目前已适配了,正在测试固件,请到https://github.com/DHDAXCW/rk3588-lede 刷固件测试和反馈
2023-08-08 22:05:14 +08:00
骷髅头
57d65364cd Update rk3568-nanopi-r5c.dts 2023-08-07 10:20:31 +08:00
DHDAXCW
8566b79857 ? 2023-08-05 13:32:39 +00:00
DHDAXCW
314c23af24 kernel: bump 6.1 to 6.1.43 2023-08-05 12:26:55 +00:00
DHDAXCW
415422bb18 kernel: bump 6.1 to 6.1.42 2023-07-29 01:51:05 +00:00
DHDAXCW
571bb2508b mt76:delete 5.4 related config and patch 2023-07-25 03:11:26 +00:00
DHDAXCW
c7d14bcc2d drivers update JLSemi PHY driver 2023-07-25 01:36:03 +00:00
DHDAXCW
49eb5a7f1f kernel: bump 6.1 to 6.1.40 2023-07-24 06:46:20 +00:00
骷髅头
9b36c0947e Update Makefile 2023-07-19 15:27:09 +08:00
骷髅头
ede6a84299 Update rk3568-opc-h69k.dts 2023-07-18 08:49:25 +08:00
骷髅头
e37fe980b1 Update zzz-default-settings 2023-07-12 13:47:27 +08:00
骷髅头
62ca67b526 Update 02_network 2023-07-12 13:43:07 +08:00
DHDAXCW
72c210f472 Update x86 2023-07-12 00:53:19 +00:00
骷髅头
95abb898a1 Update kernel.mk 2023-07-12 08:44:49 +08:00
DHDAXCW
a91de704c8 mac80211: add realtek rtw88 rtw89 driver 2023-07-08 14:41:33 +00:00
DHDAXCW
e95de00341 add rtw88-usb 2023-07-08 14:21:56 +00:00
DHDAXCW
732ea05011 fix fs linux compilation failure 2023-07-08 14:05:03 +00:00
DHDAXCW
989e05c245 kernel: bump 6.1 to 6.1.38 2023-07-08 13:45:46 +00:00
DHDAXCW
14b5093318 ? 2023-06-30 06:01:48 +00:00
DHDAXCW
2afcce8ce1 ? 2023-06-30 05:52:46 +00:00
DHDAXCW
6c9705a014 kernel: bump 6.1 t0 6.1.36 2023-06-30 01:41:20 +00:00
骷髅头
3c8a0c2557 Update 650-netfilter-add-xt_FLOWOFFLOAD-target.patch 2023-06-30 08:59:07 +08:00
骷髅头
e5c8e2c552 Update rk3568-lubancat2n.dts 2023-06-21 00:08:19 +08:00
DHDAXCW
10b499785a test 2023-06-20 00:18:34 +00:00
DHDAXCW
f25a37284e fix ath11k 2023-06-19 23:38:31 +00:00
DHDAXCW
e957017ce2 kernel: bump 6.1 to 6.1.34 2023-06-19 10:14:45 +00:00
DHDAXCW
b68fce9efd 这样稳妥点 2023-06-12 09:08:59 +00:00
DHDAXCW
a502143f61 修改行符 2023-06-12 09:01:28 +00:00
DHDAXCW
ca1d16e2e3 快速出来WiFi“ 2023-06-12 06:03:54 +00:00
骷髅头
cad7dd075b Update rockchip-pwm-fan.sh 2023-06-11 13:08:42 +08:00
骷髅头
5bcf6e2712 Update rockchip-pwm-fan.sh 2023-06-11 13:08:04 +08:00
DHDAXCW
b8ec85b33a tast 2023-06-10 17:23:59 +00:00
DHDAXCW
46ada0542d ? 2023-06-09 16:28:19 +00:00
DHDAXCW
09f1c1a640 rockchip:fix h69k fam
The kernel adds fans to support 4 gears
Usage method:
Fourth gear
echo 4 > /sys/class/thermal/cooling_device0/cur_state;
Number 0 off 1, 2, 3, and 4
2023-06-09 16:25:22 +00:00
DHDAXCW
4b02e048ff ? 2023-06-08 00:52:04 +00:00
骷髅头
a2daa43fc3 Create 999-rk356x-Add-pcie-extra-delay.patch 2023-06-07 16:06:37 +08:00
DHDAXCW
88dfc5afcd ? 2023-06-06 08:30:46 +00:00
DHDAXCW
966af8bddf kernel: bump 6.1 to 6.1.32 2023-06-06 08:26:52 +00:00
DHDAXCW
2554d13465 Renewal construction 2023-06-05 01:41:20 +00:00
DHDAXCW
a44f107d5a All Rockchips switch to the 6.1 kernel 2023-06-05 01:22:54 +00:00
骷髅头
4898c9490b mt76:Update driver
1.Improved mt7916 network adapter forwarding performance
2.The stability of mt7916 transmission signal is optimized
3.Fixed mt7921 Fixing probe timeout after a period of restart
2023-06-04 15:27:30 +08:00
骷髅头
b25afe2ecb Update rk3568-hinlink-opc.dtsi 2023-06-03 17:34:27 +08:00
DHDAXCW
6777ccb384 fix h69k 2023-06-03 08:55:27 +00:00
骷髅头
62694dd9c0 Update Makefile 2023-06-02 20:07:48 +08:00
骷髅头
9b2ae953fb Update Makefile 2023-06-02 08:51:22 +08:00
骷髅头
5f1632ecfe Update config-6.1 2023-06-02 08:48:44 +08:00
骷髅头
8cb5e9b344 Update kernel-version.mk 2023-06-02 08:46:10 +08:00
DHDAXCW
c33755365e fix sd card restart problem 2023-06-01 02:07:49 +00:00
Siriling
7b4ac8e028 fix quectel_MHI (#42) 2023-05-29 18:54:40 +08:00
DHDAXCW
335de3da09 mt76:mt7916 update firmware 2023-05-28 14:11:28 +00:00
DHDAXCW
92e42c7e16 fix 2023-05-28 10:13:40 +00:00
DHDAXCW
6dcc71f58b fix mt76 2023-05-28 03:00:41 +00:00
DHDAXCW
b9ccf8da14 kernel: update linux 6.1 to 6.1.30 2023-05-28 02:36:16 +00:00
DHDAXCW
8cab837830 rk: set packet_steering=0 as default 2023-05-28 01:35:08 +00:00
DHDAXCW
11c8777269 rockchip:optimize tcp performance 2023-05-28 01:32:39 +00:00
骷髅头
92f89773e2 Update arm64-rely 2023-05-22 15:02:43 +08:00
骷髅头
faaad55f3d Add dependencies for arm64-bit installation
Convenient use of arm64-bit installation dependencies
Instructions:
sudo -E apt-get -qq update
sudo -E apt-get -qq install $(curl -fsSL raw.githubusercontent.com/DHDAXCW/lede-rockchip/stable/arm64-rely
2023-05-22 14:59:44 +08:00
骷髅头
a77df176d3 Create x86-rely 2023-05-22 14:09:18 +08:00
DHDAXCW
e3ad16517c fix 2023-05-15 02:06:13 +00:00
骷髅头
26d07d0d88 Update linux5.15.md 2023-05-10 17:35:23 +08:00
DHDAXCW
e89d0c4c92 ??? 2023-05-08 13:04:57 +00:00
DHDAXCW
7ebcc589e4 mt76:禁掉6G,防止重启配置从5G变6G 2023-05-07 07:50:14 +00:00
DHDAXCW
6d44e0e41c mt76 2023-05-07 06:49:27 +00:00
骷髅头
67af4404d8 Update rk3568-opc-h69k.dts 2023-05-06 21:18:37 +08:00
DHDAXCW
3325298015 sync upstream 2023-05-05 11:35:24 +00:00
DHDAXCW
5b8b29162d restore wwan 2023-05-03 02:00:13 +00:00
DHDAXCW
ac4d507b96 mt76:support mt7916 5g and 6g switching 2023-05-03 01:53:55 +00:00
骷髅头
cfb27e3575 Update wifi 2023-05-02 20:56:01 +08:00
骷髅头
1b03fe2282 Update linux6.x.md 2023-05-02 16:15:03 +08:00
骷髅头
436bc97c65 libnl-tiny: update to the latest version
fix NLA_S8
2023-05-02 16:01:34 +08:00
DHDAXCW
621d8f3280 rockchip: add h68k/h69k hardware v2 support 2023-05-02 01:45:22 +00:00
DHDAXCW
fd83f07839 ??? 2023-04-30 14:07:54 +00:00
DHDAXCW
f67703ca54 fix quectel_cm_5G 2023-04-30 12:15:13 +00:00
DHDAXCW
544deb67b4 mt76:downgrade firmware 2023-04-30 11:41:32 +00:00
DHDAXCW
6e8b7c956b fix wwan 2023-04-30 10:20:20 +00:00
DHDAXCW
b713540757 mt76:fix? 2023-04-29 14:35:48 +00:00
DHDAXCW
5a8e81867f mt76:mt7916_test_fw 2023-04-29 14:11:42 +00:00
DHDAXCW
72817fc1ab ??? 2023-04-27 15:36:21 +00:00
DHDAXCW
c4d98eb916 ??? 2023-04-26 14:40:09 +00:00
骷髅头
0039b4bed5 ??? 2023-04-26 15:41:19 +08:00
DHDAXCW
0d166cc82c ??? 2023-04-26 07:40:28 +00:00
DHDAXCW
17430c2a8e ??? 2023-04-26 07:38:03 +00:00
DHDAXCW
3d48c889c2 ??? 2023-04-26 07:36:25 +00:00
DHDAXCW
b4284cbecc ??? 2023-04-26 07:17:11 +00:00
DHDAXCW
7f11d9f3f9 ??? 2023-04-26 07:16:13 +00:00
骷髅头
271b198000 Update README.md 2023-04-25 19:46:00 +08:00
骷髅头
9bc665b9a2 ??? 2023-04-25 16:48:52 +08:00
DHDAXCW
29916577cd ??? 2023-04-25 08:26:45 +00:00
DHDAXCW
13189490bf ??? 2023-04-24 11:23:49 +00:00
DHDAXCW
5dacce1c4e ??? 2023-04-24 11:13:30 +00:00
骷髅头
c3330efd0c ??? 2023-04-24 16:24:50 +08:00
zonyitoo
a48e5fbed1 ??? 2023-04-22 23:55:48 +08:00
DHDAXCW
b608c37afd ??? 2023-04-21 12:38:01 +00:00
DHDAXCW
67dfbdbf24 ??? 2023-04-20 14:01:48 +00:00
DHDAXCW
c254f6b766 ??? 2023-04-20 13:57:21 +00:00
DHDAXCW
32b34f5ae5 mt76: update to v2023-04-18 2023-04-20 06:11:07 +00:00
DHDAXCW
98d7d61433 kernel: bump 6.1 to 6.1.24 2023-04-14 01:09:39 +00:00
DHDAXCW
a4b159c8b0 ? 2023-04-13 16:24:05 +00:00
DHDAXCW
047a7903be ? 2023-04-13 16:22:23 +00:00
DHDAXCW
08e63a1115 ? 2023-04-13 12:18:51 +00:00
DHDAXCW
6fa269af47 ? 2023-04-13 11:49:05 +00:00
gngpp
e78f102c7a firewall: fix firewall reload lock (#41) 2023-04-13 18:12:52 +08:00
gngpp
fe7a87ec25 firewall: fix TCP MSS settings issue (#40) 2023-04-12 21:17:08 +08:00
DHDAXCW
c37d3b72d9 uqmi: explicitly disconnect IPv6 address family 2023-04-10 05:50:43 +00:00
DHDAXCW
d9720c692b kernel: bump 6.1 to 6.1.23 2023-04-10 04:01:38 +00:00
骷髅头
10d6fdde14 Add files via upload 2023-04-08 13:52:44 +08:00
骷髅头
5f165f3566 Update README.md 2023-04-04 10:08:00 +08:00
骷髅头
f1cc4cbfb1 Update README.md 2023-04-04 10:05:46 +08:00
DHDAXCW
63a7906aff kernel: bump 6.1 to 6.1.22 2023-04-01 12:16:40 +00:00
骷髅头
bb6437ed55 Update README.md 2023-03-27 09:07:23 +08:00
骷髅头
74221448fe Update README.md 2023-03-27 09:06:42 +08:00
骷髅头
547517766a Update 02_network 2023-03-24 21:20:06 +08:00
骷髅头
8d51cdca92 Update 01_leds 2023-03-24 21:19:38 +08:00
DHDAXCW
1b991c2037 Remove support for firefly sataion p2
Due to packaging problems, there is no way to
continue maintenance
goodbye!
2023-03-23 14:23:52 +00:00
DHDAXCW
3f75416411 kernel: bump 6.1 to 6.1.21 2023-03-22 14:13:10 +00:00
DHDAXCW
36eab4bd94 kernel: bump 6.1 to 6.1.20 2023-03-19 11:13:20 +00:00
骷髅头
b7b591fd5f Update Makefile 2023-03-19 17:23:05 +08:00
DHDAXCW
cb52fa73fe fix? 2023-03-15 12:34:04 +00:00
DHDAXCW
e12da5ed4d fix 2023-03-14 07:38:30 +00:00
DHDAXCW
d2d57b2359 mt76:fix 2023-03-14 05:38:04 +00:00
DHDAXCW
96dc2f4575 kernel: bump 6.1 to 6.1.19 2023-03-14 03:22:51 +00:00
DHDAXCW
bb3f5e01e8 kernel: bump 6.1 to 6.1.18 2023-03-14 02:57:40 +00:00
骷髅头
9f2e9649ed Delete 0002-fix-linux-6.1-build.patch 2023-03-11 18:07:12 +08:00
骷髅头
81e727664b mt76:fix linux 6.1 build 2023-03-11 17:43:43 +08:00
骷髅头
7f68cde3e4 Update linux6.x.md 2023-03-10 14:35:13 +08:00
DHDAXCW
795c2b2af5 mt76:Update driver 2023.03.02
In order to support the 7916 driver
add the 2023.02 version firmware bin
force 5GAP to be enabled by default and 6G to be disabled
2023-03-10 05:47:03 +00:00
骷髅头
d9f37e97c1 ath10k-ct-firmware: set DL_DIR to package specific subdirectory
This package downloads raw files
which have names that are not corresponding to
the name and version of the package
as it is defined in the Makefile.
Use the option DL_SUBDIR to set the DL_DIR
to be a subdirectory named with
PKG_NAME and PKG_VERSION
to better organize the downloads.
2023-03-06 20:56:06 +08:00
DHDAXCW
a86ba22b4d bpf-headers: fix package category 2023-03-06 10:14:46 +00:00
DHDAXCW
a18bbaf132 wireless-tools: increase max priv ioctl 2023-03-06 10:13:38 +00:00
DHDAXCW
a2a58cf615 WWAN: add Fibocom linux usb QMI WWAN driver and dial app 2023-03-06 10:12:19 +00:00
DHDAXCW
645f4b913a net:mt76:fix mt76 build failure
这是添加无线以太网调度程序重置的初步补丁支持
2023-03-06 09:16:08 +00:00
骷髅头
9eefb8185f rockchip: sync dts changes from upstream 2023-03-05 23:09:52 +08:00
DHDAXCW
dbebcb739f 6.1 patch 2023-03-04 10:31:17 +00:00
DHDAXCW
337bad5fab kernel: bump 6.1 to 6.1.15 2023-03-04 10:27:36 +00:00
DHDAXCW
61c1874df0 775 inittab 2023-03-04 09:54:50 +00:00
DHDAXCW
02f42585dc 给gen_image_gpt.sh打包脚本赋予权限 2023-03-03 14:49:37 +00:00
骷髅头
8a94a91989 fix p2打包缺失 2023-03-03 18:35:29 +08:00
骷髅头
86aff7ce6f Update README.md 2023-03-02 17:27:36 +08:00
骷髅头
10b1549ca9 rockchip:pcie set led new name "phy0-ap0"
the wireless name of the new version of hostapd is "phy0-ap0"
teh old version is called wlan0, the general usb network card.
2023-03-02 09:37:01 +08:00
骷髅头
f39076de90 Update 01_leds 2023-03-02 09:29:50 +08:00
gngpp
eef00fe664 rockchip: fix console video output 2023-03-01 20:01:01 +08:00
骷髅头
ac9da96963 Update 01_leds 2023-03-01 14:57:14 +08:00
骷髅头
f5bfdfb6e7 Update 01_leds 2023-03-01 14:54:53 +08:00
骷髅头
7365080654 Update 01_leds 2023-03-01 14:53:29 +08:00
骷髅头
7b90fdda99 Update 01_leds 2023-03-01 14:51:13 +08:00
骷髅头
19e39eab00 Update openwrt-ci.yml 2023-02-28 00:02:41 +08:00
骷髅头
b04f564925 test 2023-02-26 09:38:37 +08:00
DHDAXCW
2e28c97e63 kernel: bump 6.1 to 6.1.14 2023-02-25 14:08:24 +00:00
DHDAXCW
4a56e896f2 kernel: bump 6.1 to 6.1.13 2023-02-25 01:41:41 +00:00
骷髅头
2d6a866622 rockchip:将cpu超频电压提到1.35v
为了解决大流量下载不重启。只能这么做
夏天自己给机器加风扇吧。
不用担心过热死机,有温控降频。
2023-02-23 14:36:29 +08:00
骷髅头
1f81ded2cf 自备风扇散热吧 2023-02-23 14:33:10 +08:00
骷髅头
3763026e37 Update video.mk 2023-02-22 15:57:33 +08:00
gngpp
650933af0b drm: kernel 6.1 drm gpu driver support 2023-02-21 16:31:17 +08:00
骷髅头
4594d01c70 kernel:be released in kernel6.3 to start supporting 2023-02-17 14:08:18 +08:00
DHDAXCW
3b14248cad kernel: bump 6.1 to 6.1.12 2023-02-15 01:52:44 +00:00
DHDAXCW
1d2b74a447 autocore: fix sfp unplugged speed display 2023-02-15 00:58:43 +00:00
DHDAXCW
91b6cffe83 Define domain request parameter Line as default 2023-02-15 00:57:26 +00:00
DHDAXCW
cba1efefa3 Revert tools/fakeroot: update to 1.30.1 2023-02-15 00:55:35 +00:00
DHDAXCW
23b41a6724 openssl: bump to 1.1.1t 2023-02-15 00:53:08 +00:00
骷髅头
aecf9060b0 Update linux6.x.md 2023-02-13 17:22:43 +08:00
DHDAXCW
3f5c892cf3 kernel: bump 6.1 to 6.1.10 2023-02-11 02:42:52 +00:00
DHDAXCW
28ccf11a39 luci-proto-mbim: move to luci feeds 2023-02-11 01:39:14 +00:00
DHDAXCW
d12e4b9d06 wolfssl: fix build with make < 4.2 2023-02-11 01:37:51 +00:00
骷髅头
fb57d2ae03 iptables:删掉nat的dns重定向,顺便加入小米安装器的api
直接ban小米安装器的api
小米那个api有很多app的包名
准备安装的时候会发一个post包
检测是不是恶意软件
其实你用iptables也可以屏蔽一些广告都行
2023-02-08 14:09:24 +08:00
gngpp
e56cd8f612 kernel: bump 6.1 to 6.1.9
kernel: bump 6.1 to 6.1.9
2023-02-06 21:07:05 +08:00
骷髅头
3c6b6180e7 Update linux6.x.md 2023-02-06 09:07:25 +08:00
骷髅头
64c46ae09e Update linux6.x.md 2023-02-06 08:56:23 +08:00
骷髅头
df9165cf40 Update linux6.x.md 2023-02-06 08:54:55 +08:00
DHDAXCW
1c0a26ceb9 fix 2023-02-03 01:04:29 +00:00
DHDAXCW
bc5b748428 fix 2023-02-03 00:57:21 +00:00
DHDAXCW
36a2685870 fix 2023-02-03 00:55:08 +00:00
DHDAXCW
c8b38ea33e kernel: bump 6.1 to 6.1.9 2023-02-01 11:28:41 +00:00
DHDAXCW
641fc2b996 rockchip: use LZMA FIT for kernel image
Use LZMA compressed kernel to save some space in boot partition.

Tested-by: Tianling Shen <cnsztl@immortalwrt.org> [NanoPi R2S]
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2023-02-01 02:16:52 +00:00
骷髅头
dd7e289eba Update download.pl 2023-01-31 08:37:07 +08:00
骷髅头
3d0a5b88ab Update linux6.x.md 2023-01-30 08:35:58 +08:00
骷髅头
9d949e7b07 Update Makefile 2023-01-29 08:32:53 +08:00
骷髅头
1876b31ffc Update Makefile 2023-01-29 05:40:43 +08:00
骷髅头
42e5400fa7 Update openwrt-ci.yml 2023-01-28 23:56:38 +08:00
DHDAXCW
1ca0ecfc3a Toggle GCC11 2023-01-28 15:37:12 +00:00
骷髅头
868a54788f Update spi.mk 2023-01-28 07:42:41 +08:00
骷髅头
92977fb116 Update Makefile 2023-01-26 16:03:31 +08:00
DHDAXCW
4f500dc948 sync fix 2023-01-26 05:39:51 +00:00
骷髅头
0ccf869b3e Update Config-images.in 2023-01-26 12:44:07 +08:00
DHDAXCW
a43c387f80 fix 86 2023-01-26 04:40:32 +00:00
DHDAXCW
8ea6d6666a sync fix 2023-01-26 03:46:52 +00:00
DHDAXCW
5be98d8ce5 kernel: bump 6.1 to 6.1.8 2023-01-26 02:17:34 +00:00
骷髅头
fa524b7e1d Update Config-images.in 2023-01-26 07:58:35 +08:00
骷髅头
39e601523f Update 40-net-smp-affinity 2023-01-24 16:34:15 +08:00
littoy
2341502b2d ext4 remount rw (#25)
* ext4 remount rw

* 提高网络性能
2023-01-24 16:30:56 +08:00
Miles Poupart
c7c9da2a72 Update README.md (#24) 2023-01-22 16:40:05 +08:00
DHDAXCW
4280eff271 download.pl:fuck aliyun 2023-01-22 05:11:11 +00:00
骷髅头
80ce4b27e7 Delete package/kernel/rtw88-usb directory 2023-01-22 10:01:23 +08:00
骷髅头
69f0bdc4dc Update feeds.conf.default 2023-01-22 09:54:09 +08:00
DHDAXCW
cb13999c4c fix... 2023-01-22 01:51:30 +00:00
骷髅头
715df05ee9 Update README.md 2023-01-22 08:13:53 +08:00
DHDAXCW
4fd5e9965f sycn 2023-01-21 15:11:47 +00:00
DHDAXCW
02b5599690 fix 'uclibcxx', which does not exist 2023-01-21 13:26:08 +00:00
DHDAXCW
20a6149d5b sync 2023-01-21 10:42:33 +00:00
littoy
f7124f06dc 检查自动恢复ext4 rw (#23) 2023-01-20 19:53:32 +08:00
骷髅头
015fd03291 Delete package/kernel/acx-mac80211 directory 2023-01-20 11:55:50 +08:00
骷髅头
08123e6135 Update openwrt-ci.yml 2023-01-20 09:20:01 +08:00
骷髅头
807ab8b12c Update openwrt-ci.yml 2023-01-20 09:15:00 +08:00
DHDAXCW
0db6cbfa3a rockchip-uboot:为rk3588做好移植准备 2023-01-20 01:10:07 +00:00
DHDAXCW
19fe05b09d kernel: bump 6.1 to 6.1.7 2023-01-20 01:00:05 +00:00
骷髅头
6fa10b26ea Update linux6.x.md 2023-01-20 08:09:18 +08:00
littoy
2226c0f8a6 微调内核参数,提高并发数 (#22) 2023-01-19 23:23:45 +08:00
骷髅头
6d271204b8 Update rk3568-nanopi-r5c.dts 2023-01-19 17:40:24 +08:00
骷髅头
3804c70db4 Rename 312-rockchip-rk3568-Add-NanoPi-R5C-board.patch to 312-rockchip-rk3568-Add-support-for-FriendlyARM-NanoPi-R5C-board.patch 2023-01-17 23:45:35 +08:00
骷髅头
7771ea9698 Rename 312-uboot-add-NanoPi-R5C-board.patch to 312-rockchip-rk3568-Add-NanoPi-R5C-board.patch 2023-01-17 23:44:31 +08:00
骷髅头
0c2198203e Update Makefile 2023-01-17 23:38:26 +08:00
骷髅头
b2675f000a Update Makefile 2023-01-17 23:34:48 +08:00
DHDAXCW
103dd057c6 fix 2023-01-17 08:31:16 +00:00
littoy
7a8df3dc18 rk: 40-net-smp-affinity update (#21) 2023-01-17 13:08:21 +08:00
骷髅头
7fb685947f Update 40-net-smp-affinity 2023-01-16 23:53:04 +08:00
littoy
ad2e3fb802 rockchip: turn on tso on r5s and r5c (#20) 2023-01-16 23:50:59 +08:00
DHDAXCW
0d4514ef83 mt76:switch back to default 2023-01-16 08:20:27 +00:00
骷髅头
219676d23c Update Makefile 2023-01-16 09:31:27 +08:00
骷髅头
1890b14b05 Update Makefile 2023-01-15 22:30:17 +08:00
骷髅头
2c8c61c670 Update kernel-6.1 2023-01-15 09:13:55 +08:00
DHDAXCW
8b6549350b 切换官方mt76 2023-01-14 09:58:36 +00:00
骷髅头
30a3de7f60 Update linux6.x.md 2023-01-14 09:22:43 +08:00
骷髅头
274d6c26c4 rockchip:add missing #interrupt-cells to rk356x pcie2x1
修复错误 pcieport 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
2023-01-13 16:02:33 +08:00
DHDAXCW
ed47ae50d2 fix... 2023-01-13 01:39:22 +00:00
DHDAXCW
65a3092b55 sycn 2023-01-13 01:29:08 +00:00
DHDAXCW
85e24f519b sycn 2023-01-13 01:26:59 +00:00
DHDAXCW
5a562900a4 sycn 2023-01-13 01:24:47 +00:00
DHDAXCW
a6b1cca5ad sycn 2023-01-13 01:20:32 +00:00
骷髅头
397936886f Update Makefile 2023-01-13 09:16:12 +08:00
DHDAXCW
644c8bdf95 kernel: bump 6.1 to 6.1.5 2023-01-12 15:32:35 +00:00
DHDAXCW
9ef2003b8a sync upstream driver 2023-01-12 12:40:32 +00:00
DHDAXCW
c864662d0b sync upstream driver 2023-01-12 12:32:37 +00:00
骷髅头
d680269309 Update 40-net-smp-affinity 2023-01-12 20:05:23 +08:00
骷髅头
d5c23648b4 Update rk3568-nanopi-r5c.dts 2023-01-12 16:20:23 +08:00
骷髅头
6fc5395b18 Update rk3568-nanopi-r5c.dts 2023-01-12 15:49:22 +08:00
骷髅头
93bef8278a Update rk3568-nanopi-r5c.dts 2023-01-12 15:48:11 +08:00
骷髅头
34b3b67932 Update rk3568-nanopi-r5c.dts 2023-01-12 15:23:51 +08:00
骷髅头
c0aa4c1c19 Update rk3568-nanopi-r5s.dts 2023-01-12 15:19:06 +08:00
骷髅头
503b3c827f 修复r5s usb3.0 2023-01-12 15:18:29 +08:00
骷髅头
7124e5989f 修复r5c pcie2.0和usb3.0 2023-01-12 15:01:49 +08:00
骷髅头
4538d7bb59 tast 2023-01-12 08:14:50 +08:00
骷髅头
7c60b3f3a9 Update rk3568-lubancat2.dts 2023-01-11 21:48:32 +08:00
骷髅头
cc4dd45796 Update rk3568-lubancat2.dts 2023-01-11 21:47:11 +08:00
骷髅头
8fb831c305 fuck 2023-01-11 21:18:06 +08:00
骷髅头
5d0783d483 Update rk3568-lubancat2.dts 2023-01-11 14:36:11 +08:00
骷髅头
34eb054d85 Update rk3568-lubancat2.dts 2023-01-11 10:21:56 +08:00
骷髅头
e88fe1d428 Update rk3568-lubancat2.dts 2023-01-11 10:18:47 +08:00
骷髅头
3394b79f8a Delete README 2023-01-09 21:05:04 +08:00
骷髅头
66437c9f4c Update armv8.mk 2023-01-09 08:54:46 +08:00
DHDAXCW
c17623429c kernel: bump 6.1 to 6.1.4 2023-01-07 12:10:03 +00:00
骷髅头
f111b43311 Update rk3568-nanopi-r5c.dts 2023-01-07 14:25:07 +08:00
骷髅头
0bbb911c16 Update zzz-default-settings 2023-01-07 11:59:16 +08:00
骷髅头
21e2458166 Delete README_EN.md 2023-01-07 11:42:41 +08:00
骷髅头
5d4b7fdad4 Update README.md 2023-01-07 11:41:42 +08:00
骷髅头
94d60af394 Update README.md 2023-01-07 11:40:14 +08:00
hejiawencc
78050654ca add CONFIG_AHCI_DWC=y for kernel6.1 to support SATA (#17) 2023-01-06 16:20:42 +08:00
DHDAXCW
24550216dc kernel: bump 6.1 to 6.1.3 2023-01-05 12:54:19 +00:00
DHDAXCW
38fcba015e fix 2023-01-05 10:28:07 +00:00
DHDAXCW
677949b5ea fix 2023-01-05 09:28:12 +00:00
骷髅头
651b97ae8a Create gen_image_gpt.sh 2023-01-05 16:11:13 +08:00
DHDAXCW
381ed235b2 fix 2023-01-05 06:32:39 +00:00
骷髅头
d003535113 Update rk3568-nanopi-r5c.dts 2023-01-05 14:04:51 +08:00
DHDAXCW
453d0e8694 fix 2023-01-05 03:51:37 +00:00
骷髅头
3df4294ce8 Update rk3568-nanopi-r5c.dts 2023-01-05 10:19:17 +08:00
DHDAXCW
22d55ccc08 fix 2023-01-05 01:26:33 +00:00
DHDAXCW
c395c03a6d fix 2023-01-05 01:24:18 +00:00
骷髅头
89470e0727 Update video.mk 2023-01-04 16:12:23 +08:00
骷髅头
141719e812 Update README.md 2023-01-04 10:17:45 +08:00
DHDAXCW
75eaacd7f0 fix 2023-01-03 12:34:03 +00:00
DHDAXCW
fb812ef2cb rockchip:fix correct spelling of r5c led 2023-01-03 10:58:23 +00:00
DHDAXCW
be21ef9f0d rockchip:fix the shrinking exception of r5c eunuch version 2023-01-03 10:01:27 +00:00
DHDAXCW
748fc99f03 rockchip:Add support for NanoPi R5C board 2023-01-03 07:00:37 +00:00
DHDAXCW
3254768a13 存放友善r5c设备树,下次使用 2023-01-03 03:02:45 +00:00
DHDAXCW
ccc70803c7 kernel: bump 6.1 to 6.1.2 2023-01-03 02:02:27 +00:00
骷髅头
fdee9795ef Update rk3568-lubancat2.dts 2022-12-30 10:53:13 +08:00
骷髅头
ad1cefeb60 Update rk3568-lubancat2n.dts 2022-12-30 10:52:59 +08:00
骷髅头
145b876f83 Rename rk3568-lubancat2n.dtsi to rk3568-lubancat.dtsi 2022-12-30 10:52:42 +08:00
骷髅头
fd3f490dd5 Delete rk3568-lubancat2.dtsi 2022-12-30 10:52:19 +08:00
骷髅头
30a7d8e664 Update rk3568-nanopi-r5s.dts 2022-12-30 10:49:27 +08:00
骷髅头
e894047b4d Update rk3568-lubancat2n.dts 2022-12-30 10:48:28 +08:00
骷髅头
28f7769b42 Update rk3568-lubancat2.dts 2022-12-30 10:46:11 +08:00
骷髅头
8cfad22b98 Update rk3568-lubancat2.dtsi 2022-12-30 10:44:18 +08:00
DHDAXCW
d852f4f419 rockchip:Add quirk to disable RC's ASPM L0s 2022-12-27 03:24:33 +00:00
DHDAXCW
7b915a883b sb 2022-12-27 02:48:46 +00:00
DHDAXCW
221747a5f2 rockchip: fix usb3 (r8153) issue for NanoPi R2S 2022-12-27 02:45:44 +00:00
DHDAXCW
6aad11dba2 r8125: upate to version 9.010.01-1 2022-12-24 08:48:03 +00:00
骷髅头
53cd36f5a8 Delete 0200-ntfs3-with-utf8.patch 2022-12-24 10:08:03 +08:00
骷髅头
090fb58fa5 Update Makefile 2022-12-24 09:07:36 +08:00
骷髅头
190c813bfe Update crypto.mk 2022-12-24 09:06:55 +08:00
骷髅头
53755e0c66 Update netsupport.mk 2022-12-24 09:05:44 +08:00
DHDAXCW
bd186f4e2d Organize device names 2022-12-23 07:18:28 +00:00
DHDAXCW
bdbe1ac3c8 fstools: fix ntfs3 mount with utf-8 2022-12-23 07:03:26 +00:00
骷髅头
d6c83f9880 rockchip:Repair interrupt does not take effect under r8125
原来的smp_affinity能使其他GMAC网口有效果,
但是在r8125下,到时间下再次执行看下irq中断切到cpu无效
手动执行切断cpu1改到到cpu2,依然无效。
手动执行smp_affinity_list的时候,将cpu2切到cpu3有效
所以我认为更改smp_affinity_list完全ok,cpu编码也变化:
处理器核心  编码
   cpu 0          0
   cpu1           1
   cpu2           2
   cpu3           3
   cpu4           4
   cpu5           5
   cpu6           6
2022-12-23 09:02:22 +08:00
骷髅头
b9ba2706b1 Update 40-net-smp-affinity 2022-12-22 20:23:58 +08:00
DHDAXCW
b0cd005740 Replenish 2022-12-22 09:12:34 +00:00
DHDAXCW
4eddf68620 kernel: bump to 6.1.1 2022-12-22 09:08:41 +00:00
骷髅头
f12745d27e Update rk3566-lubancat1.dts 2022-12-22 00:02:09 +08:00
骷髅头
702787d35a Update rk3566-lubancat1.dts 2022-12-22 00:01:43 +08:00
骷髅头
c6f819fd8e rockchip-armv8.mk:update name 2022-12-21 10:55:42 +08:00
骷髅头
88744864d6 rockchip:lubancat1:fix wrong device tree name 2022-12-21 10:53:48 +08:00
DHDAXCW
005b38c4cd ^^ 2022-12-20 11:33:42 +00:00
DHDAXCW
5cfab8cc09 ^v^ 2022-12-20 06:58:50 +00:00
DHDAXCW
f009646332 refresh kernel 6.1 patch 2022-12-20 06:55:16 +00:00
DHDAXCW
3faba6ab12 rockchip:fix 6.1 kernel build 2022-12-20 06:50:19 +00:00
骷髅头
64cb8a1684 Update linux6.x.md 2022-12-20 14:14:45 +08:00
骷髅头
ff0a0ce392 Update linux6.x.md 2022-12-20 14:14:25 +08:00
骷髅头
3221f5c875 Update README.md 2022-12-20 13:51:55 +08:00
DHDAXCW
f247ce474f rockchip: add kernel 6.1 support 2022-12-20 05:44:01 +00:00
骷髅头
dca450d9a6 Delete 108-net-phy-Add-driver-for-Motorcomm-yt8531-gigabit.patch 2022-12-20 09:04:29 +08:00
骷髅头
4c44cd3947 Delete 021-v6.2-net-phy-add-Motorcomm-YT8531S-phy-id.patch 2022-12-20 09:04:18 +08:00
骷髅头
27cb925f1e Update README.md 2022-12-19 09:22:53 +08:00
骷髅头
553051b527 Update Makefile 2022-12-11 18:45:30 +08:00
骷髅头
7059ccadbd mudoles: fix Build drm driver does not work 2022-12-08 23:21:03 +08:00
骷髅头
2f1966e882 rockchip: station-p2: support pcie 3.0\usb 2022-12-06 10:13:40 +08:00
DHDAXCW
08a41c750a down to 5.4.188
currently testing 5.4.188 is the most stable
2022-12-06 02:05:18 +00:00
DHDAXCW
002e83f5df network: add brcm fullcone support from ASUS Merlin kernel 4.19
patches are from upstream 193db6f186
2022-12-06 01:12:41 +00:00
骷髅头
51607a9c52 config:BUILD_PATENTED is enabled by default 2022-12-05 21:50:40 +08:00
骷髅头
ef77a237d3 rockchip: backport yt8531s driver from net-next 2022-12-05 01:57:43 +00:00
骷髅头
60047060a3 Update config-5.4 2022-12-05 08:49:52 +08:00
huangjf
28867c9fbb package: boot: uboot-rockchip: support bsp uboot for station-p2-rk3568 2022-11-29 17:19:00 +08:00
骷髅头
4347d8de86 rockchip: Add pwm-fan & thermal for h66k/h68k 2022-11-28 16:20:46 +08:00
骷髅头
b26847e9ac Update 40-net-smp-affinity 2022-11-27 16:39:07 +08:00
骷髅头
f6027ba827 kernel:enable wireguard requires blake2s dependency 2022-11-27 14:01:26 +08:00
骷髅头
2f8564a0cc kernel:fix kernel build missing libblake2s module 2022-11-27 13:49:02 +08:00
DHDAXCW
9c93c0e36f kernel: bump 6.0 to 6.0.10 2022-11-26 15:17:38 +00:00
骷髅头
c340c10d85 Revert commit da1180b461 2022-11-26 17:46:10 +08:00
DHDAXCW
19be8903a5 rockchip:sync upstream kernel modules 2022-11-26 09:35:48 +00:00
DHDAXCW
da1180b461 rockchip:kernel enables the sata hard disk module
because the built-in kmod-ata-ahci-platform of
openwrt cannot be enabled, there is no way to enter
it through the kernel, it is not impossible to use,
right?
2022-11-26 09:08:23 +00:00
DHDAXCW
56fde369b5 Add quectel-cm program to control Quectel 5G/LTE modems 2022-11-26 07:43:59 +00:00
骷髅头
4d9962c329 rockchip: default sata hard drive power supply is always on 2022-11-26 10:05:53 +08:00
DHDAXCW
36ed0a5224 rockchip: rk356x adjust network port allocation interrupt problem 2022-11-25 09:17:25 +00:00
DHDAXCW
8ad68ec193 rockchip: fix kernel startup pcie error report 2022-11-25 09:14:50 +00:00
DHDAXCW
180046674f kernel: fix linux-6.0 shortcut-fe build failure 2022-11-25 01:57:40 +00:00
骷髅头
5efaa0a935 Update README.md 2022-11-24 10:02:34 +08:00
骷髅头
1dea0f6db7 Update README.md 2022-11-24 10:02:14 +08:00
骷髅头
daf7e0a574 Update README.md 2022-11-24 10:00:49 +08:00
骷髅头
f7e07fd58e Update sysctl-nf-conntrack.conf 2022-11-23 19:44:04 +08:00
骷髅头
d7f9069a0d Delete target/linux/rockchip/armv8/base-files/etc/uci-defaults directory 2022-11-23 11:28:49 +08:00
骷髅头
0163546e82 Update Makefile 2022-11-22 17:40:57 +08:00
骷髅头
5b850f6c4e Update openwrt-ci.yml 2022-11-22 10:44:30 +08:00
DHDAXCW
5f24ecaf98 5.4.197 2022-11-21 02:34:42 +00:00
DHDAXCW
f897424424 5.15.79 2022-11-21 02:02:12 +00:00
DHDAXCW
874bcd52a1 fix 2022-11-21 01:31:09 +00:00
DHDAXCW
f127e77544 6.0.9 2022-11-21 01:28:44 +00:00
DHDAXCW
81be5d11ff kernel: bump 5.15 to 5.15.78 2022-11-11 06:37:08 +00:00
DHDAXCW
96560b5176 kernel: bump 6.0 to 6.0.8 2022-11-11 05:58:41 +00:00
骷髅头
7e2c6ad2b3 Update zzz-default-settings 2022-11-10 21:44:52 +08:00
骷髅头
f6d917a82b Update linux5.15.md 2022-11-07 20:07:46 +08:00
骷髅头
15bcfb8fc1 Update README.md 2022-11-07 20:07:16 +08:00
骷髅头
01f557577c Update linux5.15.md 2022-11-07 20:05:41 +08:00
骷髅头
b62a18a8f4 Create linux5.15.md 2022-11-07 20:03:56 +08:00
DHDAXCW
58c5cd1890 dnsmasq: Backport DHCPv6 server fix (CVE-2022-0934) 2022-11-07 01:28:46 +00:00
DHDAXCW
f915f4e6cf busybox: awk: fix use after free (CVE-2022-30065) 2022-11-07 01:28:11 +00:00
DHDAXCW
139c15af89 rockchip:fix Causes dma to not work with uart 2022-11-07 01:15:44 +00:00
骷髅头
4f2fb5ab82 rockchip:fix data forwarding exception of h68k eth1 network port 2022-11-06 20:13:16 +08:00
骷髅头
79e13911e8 Update armv8.mk 2022-11-04 21:15:08 +08:00
骷髅头
212bdc7e6b Update README.md 2022-11-04 17:29:48 +08:00
DHDAXCW
48808862c6 rockchip: add firefly_station-p2 2022-11-04 09:27:03 +00:00
DHDAXCW
cb4b17370b uboot-rockchip:fix doornet2 fails to start 2022-11-04 04:36:56 +00:00
DHDAXCW
14992ee99a . 2022-11-04 02:59:33 +00:00
骷髅头
27a2bc7e8f Update linux6.x.md 2022-11-04 10:46:07 +08:00
骷髅头
7c79c33e56 Update README.md 2022-11-04 10:42:36 +08:00
骷髅头
9cf0f4aef3 Create linux6.x.md 2022-11-04 10:41:08 +08:00
DHDAXCW
606aa32b65 . 2022-11-04 02:33:45 +00:00
DHDAXCW
41c60ae61e kernel: bump 6.0 to 6.0.7 2022-11-04 01:49:10 +00:00
DHDAXCW
25c30505b7 kernel: bump 6.0 to 6.0.7 2022-11-04 01:47:24 +00:00
骷髅头
fb3fb8b4d8 rockchup:fix 5.4 build missing dts 2022-11-04 08:27:49 +08:00
骷髅头
4d62b2171d Update README.md 2022-11-03 18:10:09 +08:00
DHDAXCW
04d12159cb rockchip:fix conflicts caused by dts patching 2022-11-03 10:09:03 +00:00
DHDAXCW
042fff332f rockchup:camouflage dts 2022-11-03 10:03:17 +00:00
DHDAXCW
22af3ceafa rockchip: linux6.0 adds a macro to judge to enable the content inside 2022-11-03 09:58:50 +00:00
骷髅头
dd87b684d9 Update README.md 2022-11-03 15:07:02 +08:00
骷髅头
704e1c0ac4 Update README.md 2022-11-03 15:00:50 +08:00
骷髅头
a3eeab05dd Update README.md 2022-11-03 15:00:01 +08:00
骷髅头
2e2bde56d1 草率了。。。 2022-11-03 14:43:36 +08:00
DHDAXCW
aa182f75ae rockchip:rng and crypto moved from rk3568 to rk356x
moving to rk356x not only has rk3568, but also rk3566
2022-11-03 03:53:14 +00:00
DHDAXCW
f28e2a782b Update banner 2022-11-03 03:10:48 +00:00
骷髅头
986c4118e6 Update banner 2022-11-02 15:59:26 +08:00
骷髅头
8a5715ed4f Update banner 2022-11-02 15:19:58 +08:00
骷髅头
765149d544 fuck 2022-11-02 14:35:20 +08:00
骷髅头
872bef53d9 Update armv8.mk 2022-11-01 12:16:25 +08:00
DHDAXCW
a1dc2c0c04 rockchip:fix other build issues 2022-11-01 01:57:43 +00:00
DHDAXCW
daf6352e59 fix other interrupt assignment not working 2022-11-01 01:49:07 +00:00
DHDAXCW
b7359cf3c2 mac80211:fix rt2x00 build failure 2022-11-01 01:11:52 +00:00
骷髅头
49978ed715 Update openwrt-ci.yml 2022-10-31 17:54:45 +08:00
骷髅头
9118cd832a Update openwrt-ci.yml 2022-10-31 17:54:19 +08:00
DHDAXCW
b99a1f8680 rockchip:Switch default linux5.4 2022-10-31 09:51:34 +00:00
DHDAXCW
c729f02b03 rockchip:Add FriendlyElec NanoPi R5S 2022-10-31 09:50:14 +00:00
骷髅头
87c40b3554 Update Makefile 2022-10-29 23:21:40 +08:00
DHDAXCW
4eeb840f47 kernel: bump 5.15 to 5.15.76 2022-10-29 15:20:30 +00:00
DHDAXCW
a347cdc5c2 kernel: bump 6.0 to 6.0.6 2022-10-29 15:11:15 +00:00
DHDAXCW
2784df90cd uboot-rockchip:tidy up a few things and get ready for the rk356x 2022-10-29 12:27:25 +00:00
骷髅头
ab5ea05719 Delete doc directory 2022-10-27 14:54:07 +08:00
骷髅头
930f5bf183 rockchip:remove unwanted devices 2022-10-27 14:53:14 +08:00
DHDAXCW
3005d9099e 5.15.75 6.0.5 2022-10-27 04:17:00 +00:00
ty
409269b7c6 upgrade to samba4 for autosamba (#11) 2022-10-25 14:42:58 +08:00
DHDAXCW
5406fac961 sync upstream 2022-10-25 03:38:19 +00:00
骷髅头
70090b5272 Update openwrt-ci.yml 2022-10-25 09:59:50 +08:00
骷髅头
0b310d26a6 Update openwrt-ci.yml 2022-10-25 09:57:11 +08:00
骷髅头
bcece17f44 Update openwrt-ci.yml 2022-10-25 09:56:40 +08:00
骷髅头
7516199c4b Update README.md 2022-10-24 22:39:22 +08:00
DHDAXCW
fb8c5d5528 Revert 2022-10-24 12:33:42 +00:00
DHDAXCW
b9b33e0a4e sync 2022-10-24 02:48:11 +00:00
骷髅头
23da68cb7c Update README.md 2022-10-24 08:48:48 +08:00
骷髅头
a5896bcb2e Update README.md 2022-10-24 08:48:22 +08:00
骷髅头
ee66c6e940 Update Makefile 2022-10-24 08:45:21 +08:00
DHDAXCW
baf932fd1d rockchip: fixes drm module dependencies 2022-10-23 16:31:25 +00:00
DHDAXCW
390d65ed28 Update r8125 r8152 2022-10-23 16:02:16 +00:00
DHDAXCW
94dd0508ef kernel: add linux 6.0 stable release support 2022-10-23 15:53:08 +00:00
骷髅头
851aace99b rockchip:fix drm build missing ko module
https://github.com/DHDAXCW/lede-rockchip/issues/10
2022-10-23 21:05:36 +08:00
骷髅头
fd0adab07d Update README.md 2022-10-23 08:54:11 +08:00
DHDAXCW
be1959c99f Revert 2022-10-23 00:30:18 +00:00
骷髅头
f0aff2425f Update fs.mk 2022-10-22 17:24:45 +08:00
骷髅头
75ca6c31f0 rockchip:fix kernel build missing r4se 2022-10-22 14:30:59 +08:00
DHDAXCW
7370dabac9 mac80211:adapt wireless to linux-5.4 2022-10-21 15:19:42 +00:00
骷髅头
dbe5e263d4 rockchip:Default kernel 5.4
Because 5.15 is not good for wireless, so change to 5.4, you can use 5.15 without wireless
2022-10-21 21:50:58 +08:00
DHDAXCW
bf144871e9 refresh patch 2022-10-21 11:43:51 +00:00
DHDAXCW
9e43866c54 mac80211:fix wireless build 2022-10-21 11:36:41 +00:00
DHDAXCW
1aca338cac kernel:fix drm for 5.15 2022-10-21 10:02:42 +00:00
DHDAXCW
5a24321628 kernel: add and enable MGLRU for Linux 5.15 2022-10-21 09:23:23 +00:00
DHDAXCW
f4dd2a8cbc Enable related encryption modules 2022-10-21 09:00:29 +00:00
DHDAXCW
15a7f86611 kernel: bump 5.15 to 5.15.74
我先上了,你们随意
切换内核target/linux/rockchip/Makefile=KERNEL_PATCHVER=5.4更改为5.15即可
2022-10-21 08:20:45 +00:00
DHDAXCW
5cb32256f6 Update some needed things for the next 5.15 kernel upgrade 2022-10-21 07:34:06 +00:00
DHDAXCW
7190302e03 kernel-5.4.193 2022-10-21 06:46:43 +00:00
DHDAXCW
2492850688 Enable cryptio module config 2022-10-20 03:54:23 +00:00
DHDAXCW
a77ba77b8a update encryption and decryption 2022-10-19 05:50:28 +00:00
DHDAXCW
8adb16b462 kernel: backport MGLRU to linux 5.4 for Tianling Shen
f23a3e25ac
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-16 12:48:59 +00:00
骷髅头
5b87be376c Update README.md 2022-10-16 13:08:11 +08:00
ty
d4f6d0d631 procd: ujail static-linked binary (#8)
ref: https://github.com/openwrt/openwrt/issues/10933
2022-10-10 18:52:15 +08:00
骷髅头
d55326af99 Update openwrt-ci.yml 2022-10-10 14:39:19 +08:00
骷髅头
cbb103f566 Update Makefile 2022-10-10 09:06:40 +08:00
骷髅头
9c0c92a54d Update sysntpd 2022-10-09 19:00:51 +08:00
骷髅头
4a66ef109b Update Makefile 2022-10-08 10:37:41 +08:00
骷髅头
2cc58c5450 Update openwrt-ci.yml 2022-10-05 17:20:32 +08:00
骷髅头
2a6c5d6df4 Update openwrt-ci.yml 2022-09-28 14:30:18 +08:00
DHDAXCW
ff9b74749e download.pl: add aria2c support
Use aria2c download tool by default on package download if available in
the system.
aria2c permits to use multiple mirrors and may improve download speed on
special context where servers are hard to reach.

Co-authored-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Bradford Zhang <zyc@zyc.name>
[ fix wrong var in the script and improve commit description ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
It is hereby declared that changes to aria2c download earlier from embedfire
2022-09-28 02:30:34 +00:00
骷髅头
79ac858356 Update README.md 2022-09-26 23:35:11 +08:00
骷髅头
3bff58808c Update README.md 2022-09-26 10:35:18 +08:00
骷髅头
d7966b0e1d Update README.md 2022-09-26 10:33:33 +08:00
DHDAXCW
b8f19444ef fix n2n 2022-09-26 01:50:11 +00:00
骷髅头
03bea188b7 Update openwrt-ci.yml 2022-09-24 17:57:26 +08:00
骷髅头
a5e87cb8d1 Update openwrt-ci.yml 2022-09-24 17:55:55 +08:00
骷髅头
f96e7d9c59 Update openwrt-ci.yml 2022-09-24 17:53:57 +08:00
骷髅头
2d2a288b68 Update openwrt-ci.yml 2022-09-23 23:22:49 +08:00
骷髅头
b54930d420 e2guardian: fix gcc11 compile error 2022-09-22 13:54:22 +08:00
骷髅头
0b7d4b634c Update openwrt-ci.yml 2022-09-22 11:55:27 +08:00
骷髅头
dbbc8fc219 Update README.md 2022-09-22 10:28:14 +08:00
骷髅头
a24c5b481b umbim: fixes build with gcc 11 2022-09-21 13:33:03 +08:00
骷髅头
35336d9c1a 改回默认luci-app-samba
luci-app-samba4复杂。、、小白看不懂
2022-09-18 08:25:52 +08:00
骷髅头
22da83e801 Update rk3399-nanopi-r4se.dts 2022-09-15 11:59:45 +08:00
骷髅头
fe58031791 rockchip:解决r4se sd无法启动系统 2022-09-15 10:07:00 +08:00
骷髅头
949499ac53 Update zzz-default-settings 2022-09-14 19:11:35 +08:00
骷髅头
d22358b3b0 Update cmake.mk 2022-09-14 18:36:21 +08:00
骷髅头
51e30e0067 Update cmake.mk 2022-09-13 17:01:49 +08:00
GitHub
251cb16549 fix umbim build failure 2022-09-12 11:29:43 +00:00
骷髅头
9aea0cba4b Update 010-arm64-dts-rockchip-add-EEPROM-node-for-NanoPi-R4S.patch 2022-09-12 11:32:23 +08:00
骷髅头
2a1ba981f7 Update Makefile 2022-09-12 11:29:21 +08:00
DHDAXCW
e1e7b83267 kernel: bump 5.4 to 5.4.190 2022-09-12 02:53:11 +00:00
骷髅头
f1ff372efb Update dhcp.conf 2022-09-12 09:07:53 +08:00
DHDAXCW
200d9e7880 dnsmasq: add patch for DHCPv6 to honor IPv6 address on MAC address 2022-09-12 01:06:07 +00:00
DHDAXCW
9e12dc70ab samba36: smb.conf.template socktet settings 2022-09-12 00:43:39 +00:00
骷髅头
84e759ee5d Update Makefile 2022-09-12 08:39:06 +08:00
GitHub
6f3e5e4382 add gcc11 and ntfs3 2022-09-11 07:29:26 +00:00
骷髅头
e6a6593ce9 Update Makefile 2022-09-03 12:05:18 +08:00
骷髅头
0ee6070873 Delete target/linux/rockchip/armv8/base-files/etc/rc.d directory 2022-08-23 14:51:01 +08:00
骷髅头
a75e46577b Delete target/linux/rockchip/armv8/base-files/etc/init.d directory 2022-08-23 14:50:54 +08:00
骷髅头
0bdcbd0e1f 删除无用风扇控制脚本 2022-08-23 14:50:44 +08:00
骷髅头
aab3f4f6f4 Merge pull request #5 from DHDAXCW/5.4.189
5.4.189
2022-08-23 14:48:39 +08:00
DHDAXCW
295551b5e7 5.4.189 2022-08-21 14:31:22 +00:00
DHDAXCW
0ad14806ff tast 2022-07-22 03:21:20 +00:00
骷髅头
00e3ff5505 为doornet2添加LPDDR4支持 2022-07-21 15:39:30 +08:00
骷髅头
d1d32d9141 Update 303-rockchip-rk3399-Add-support-for-EmbedFire-DoorNet2.patch 2022-07-21 15:38:40 +08:00
骷髅头
af4250edfe Update armv8.mk 2022-07-21 15:36:59 +08:00
骷髅头
131d5863fe Update Makefile 2022-07-21 15:36:28 +08:00
骷髅头
ccb2f58555 Update rk3399-nanopi-r4se.dts 2022-07-20 19:18:18 +08:00
骷髅头
8c24aafe8c Update rk3399-nanopi-r4se.dts 2022-07-20 16:35:08 +08:00
骷髅头
100ea9d18e Merge pull request #3 from DHDAXCW/stable-aes
Stable aes
2022-07-16 19:26:06 +08:00
骷髅头
74f36eb600 Merge pull request #2 from DHDAXCW/tast-aes
Tast aes
2022-07-16 19:25:30 +08:00
GitHub
1ed763251f 开启AES相关模块加速 2022-07-16 08:53:04 +00:00
GitHub
ef918786b0 wolfssl 2022-07-16 08:17:17 +00:00
骷髅头
312c29c422 Add files via upload 2022-07-16 10:49:58 +08:00
GitHub
5b812add0b 5.4.188 2022-07-16 02:02:42 +00:00
骷髅头
156decef00 Update armv8.mk 2022-07-13 23:19:14 +08:00
GitHub
d2207cd06b patch 2022-07-13 10:37:59 +00:00
GitHub
34c0001d8b patch 2022-07-13 10:34:27 +00:00
骷髅头
00ca9ae668 Update 207-rockchip-rk3328-add-support-for-FriendlyARM-NanoPi-Neo3.patch 2022-07-12 21:53:26 +08:00
骷髅头
1d37a95679 Update armv8.mk 2022-07-12 21:52:47 +08:00
骷髅头
96a558a756 Update 40-net-smp-affinity 2022-07-12 21:52:04 +08:00
骷髅头
d1599efbcf Update 02_network 2022-07-12 21:51:41 +08:00
骷髅头
ab725616bb Update 01_leds 2022-07-12 21:51:21 +08:00
骷髅头
ea3d559a6f Rename rk3399-nanopi4se.dts to rk3399-nanopi-r4se.dts 2022-07-12 21:50:43 +08:00
骷髅头
cc7175f130 Create rk3399-nanopi4se.dts 2022-07-12 21:50:11 +08:00
骷髅头
faf557565b Update shortcut-fe 2022-07-08 23:07:37 +08:00
骷髅头
53e81c5b7d Update 40-net-smp-affinity 2022-07-08 16:56:55 +08:00
骷髅头
764ad6eacd Update 02_network 2022-06-24 12:04:49 +08:00
骷髅头
9beb274b6f Update README.md 2022-06-22 16:23:33 +08:00
骷髅头
c893b909e0 Update README.md 2022-06-22 16:23:12 +08:00
骷髅头
fda377f34d Update README.md 2022-06-22 16:22:30 +08:00
骷髅头
f40bb84c2b Update README.md 2022-06-22 16:21:25 +08:00
骷髅头
63b2f3505c Delete package/lean/r8152/patches directory 2022-06-22 09:48:34 +08:00
骷髅头
576a8ed26e Update Makefile 2022-06-22 09:48:11 +08:00
骷髅头
4820ccd07c Update 02_network 2022-06-22 09:20:15 +08:00
骷髅头
c19ca04597 Update 02_network 2022-06-20 20:14:18 +08:00
骷髅头
2d5b2df5d1 Update 40-net-smp-affinity 2022-06-20 20:13:54 +08:00
骷髅头
6531cb3302 add rk3588-nvr-demo1-v21 2022-06-20 20:13:20 +08:00
骷髅头
0026e1e92e add rk3588-nvr-demo1-v21 2022-06-20 20:12:53 +08:00
骷髅头
fd3206724e Update 992-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-NanoPi4.patch 2022-06-19 20:41:33 +08:00
骷髅头
997a1c1e25 Delete 993-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-DoorNet2-patch 2022-06-19 20:39:03 +08:00
骷髅头
94f9c62f67 Update 205-rockchip-rk3399-Add-support-for-EmbedFire-DoorNet2.patch 2022-06-19 20:38:40 +08:00
骷髅头
57cdeab255 Update 992-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-NanoPi4.patch 2022-06-19 20:10:15 +08:00
骷髅头
427bae9980 Rename 993-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-DoorNet2.patch to 993-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-DoorNet2-patch 2022-06-19 19:29:25 +08:00
骷髅头
82c15f0d80 Update 992-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-NanoPi4.patch 2022-06-19 19:29:09 +08:00
骷髅头
99202fa022 Update 807-arm64-dts-nanopi-r2s-add-rk3328-dmc-relate-node.patch 2022-06-19 15:04:00 +08:00
GitHub
86d10dcd90 renew mac80211 2022-06-17 20:27:10 +08:00
GitHub
8718e7e457 Fix wireless and fan scripts 2022-06-15 19:16:46 +08:00
骷髅头
3869d5b3cf r4s fan--->❄ 2022-06-15 08:44:18 +08:00
骷髅头
f19a0527e2 Create fa-fancontrol-direct.sh 2022-06-15 08:43:21 +08:00
骷髅头
fdc18efb1c Create cputemp.sh 2022-06-15 08:42:57 +08:00
骷髅头
682417ec90 Modify RJ45 network port LED display rules 2022-06-13 17:32:41 +08:00
骷髅头
ef89dc76cd Update config-5.10 2022-06-13 11:03:06 +08:00
骷髅头
662e0b99c9 drv-net-phy-add-JLSemi-jl2xxx-driver 2022-06-13 10:51:39 +08:00
骷髅头
c8cdb2d38b drv-net-phy-add-JLSemi-jl2xxx-driver 2022-06-13 10:49:53 +08:00
骷髅头
d4024b49ba 添加对景略网卡的支持 2022-06-13 10:34:55 +08:00
骷髅头
a79425cc42 https://github.com/coolsnowwolf/lede/pull/9484 2022-06-06 13:13:58 +08:00
骷髅头
1f20c7733c Update armv8.mk 2022-06-01 22:01:34 +08:00
骷髅头
3ef7f516b9 Update README.md 2022-05-26 12:33:12 +08:00
骷髅头
6c47b3d691 Update mac80211.sh 2022-05-25 23:32:37 +08:00
骷髅头
ee1a483335 Update 40-net-smp-affinity 2022-05-25 14:58:33 +08:00
骷髅头
d301bddf00 Update 02_network 2022-05-25 14:57:20 +08:00
GitHub
52fa40df47 fix mac82011 2022-05-25 14:21:22 +08:00
GitHub
3289221647 fix mac82011 2022-05-25 14:20:46 +08:00
GitHub
86b4c27773 fix mac82011 2022-05-25 14:20:18 +08:00
GitHub
d9ac00d2c4 fix mac82011 2022-05-25 14:02:08 +08:00
骷髅头
313c11579e enable armv8-CE crypto algorithms 2022-05-25 08:15:19 +08:00
骷髅头
5b7eabc04f Update 02_network 2022-05-24 15:05:58 +08:00
骷髅头
73ad234764 Update 02_network 2022-05-24 15:05:39 +08:00
骷髅头
4498a1d043 Update 40-net-smp-affinity 2022-05-24 15:04:53 +08:00
骷髅头
46de2045d7 Update 02_network 2022-05-24 15:00:52 +08:00
GitHub
160ce3b119 Update r8168 driver 2022-05-23 20:08:43 +08:00
GitHub
b60b398e4f Update r8168 driver 2022-05-23 20:07:40 +08:00
GitHub
85ecdf8e22 Update r8168 driver 2022-05-23 20:05:26 +08:00
骷髅头
c872cebb10 Update openwrt-ci.yml 2022-05-23 15:05:30 +08:00
骷髅头
848d8fdbd6 Update armv8.mk 2022-05-23 13:48:28 +08:00
GitHub
40cea26d4e refresh 2022-05-23 10:00:12 +08:00
GitHub
4f762a48b9 refresh 2022-05-23 09:58:33 +08:00
骷髅头
82ca33ac7a Update feeds.conf.default 2022-05-23 09:45:25 +08:00
骷髅头
0c610cb37a Update feeds.conf.default 2022-05-23 09:42:35 +08:00
骷髅头
efdbc0d41a Update README.md 2022-05-23 09:29:02 +08:00
骷髅头
1973247372 renew 2022-05-23 09:20:47 +08:00
骷髅头
e36e39cb74 Add files via upload 2022-05-21 17:43:24 +08:00
骷髅头
d42001a108 Delete target/linux/rockchip/armv8/base-files/etc/hotplug.d/usb directory 2022-05-21 17:40:09 +08:00
骷髅头
ec4acdd9ac Update Makefile 2022-05-21 17:39:40 +08:00
骷髅头
10e455d4f2 Update Makefile 2022-05-21 17:38:53 +08:00
骷髅头
bc3ef61e40 Update dhcp.conf 2022-05-21 17:37:13 +08:00
骷髅头
09e5e1faa7 Update 992-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-NanoPi4.patch 2022-05-21 17:34:14 +08:00
骷髅头
ae7a1a3d0e Add files via upload 2022-05-21 17:33:38 +08:00
Beginner
5a916c954d openwrt-keyring: add OpenWrt 22.03 GPG/usign keys (#9128)
62471e693b4f usign: add 22.03 release build public key
 70817cffc905 gpg: add OpenWrt 22.03 signing key

Signed-off-by: Petr Štetiar <ynezz@true.cz>

Co-authored-by: Petr Štetiar <ynezz@true.cz>
2022-03-25 23:00:09 +08:00
lean
5a1f106a03 kernel: fix asn1-encoder KCONFIG 2022-03-25 15:31:45 +08:00
lean
f1252b9a5b ath79: disable ARRIS SBR-AC1750 GPIO-Watchdog 2022-03-25 15:19:14 +08:00
Beginner
2d5cf9fc18 openssl: move engine.mk to INCLUDE_DIR (#9127)
engine.mk is supposed to be included by engine packages, but it will not
be present in the SDK in the same place as in the main repository.

Move it to include/openssl-engine.mk to avoid this.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-03-25 15:03:58 +08:00
lean
aa422c5375 ramips/mediatek: enable threaded NAPI in the ethernet driver 2022-03-24 14:22:05 +08:00
aakkll
3755e9c978 kernel: bump 5.10 to 5.10.108 (#9122)
Patches automatically rebased.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-03-24 01:00:46 +08:00
JoseCoW
84b3c270d3 kernel: bump 5.4 to 5.4.187 (#9121)
Signed-off-by: JoseCoW <88561480+JoseCoW@users.noreply.github.com>
2022-03-24 01:00:37 +08:00
aakkll
a3f70fd357 kernel: bump 5.15 to 5.15.31 (#9118)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-03-23 22:07:46 +08:00
lean
6e54b12c58 update README.md 2022-03-23 12:04:03 +08:00
lean
04a6c950be toolchain: add gcc support for Apple M1/M1 Max/M1 Ultra as host build system 2022-03-22 23:33:44 +08:00
lean
679ae72af7 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-03-21 14:30:17 +08:00
Beginner
3d11522eff ncurses: update to 6.3 (#9104)
* ncurses: add tmux terminfo

They're preferred terminal descriptions for tmux, with additional support to
some special characters and italic fonts. More info can be found at:
https://github.com/tmux/tmux/wiki/FAQ

Fixes: FS#3404

Signed-off-by: Jitao Lu <dianlujitao@gmail.com>

* ncurses: update to 6.3

release notes: https://invisible-island.net/ncurses/announce-6.3.html

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>

Co-authored-by: Jitao Lu <dianlujitao@gmail.com>
Co-authored-by: Huangbin Zhan <zhanhb88@gmail.com>
2022-03-21 14:11:03 +08:00
Beginner
c0491fe7aa kernel: bump 5.10 to 5.10.107 (#9105)
All patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-03-21 14:10:43 +08:00
JoseCoW
c672ca8ab3 kernel: bump 5.4 to 5.4.186 (#9107)
Signed-off-by: JoseCoW <88561480+JoseCoW@users.noreply.github.com>
2022-03-21 11:16:37 +08:00
Beginner
0525218347 kernel: bump 5.15 to 5.15.30 (#9100)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2022-03-20 13:01:34 +08:00
Beginner
3d9022f163 kernel: bump 5.10 to 5.10.106 (#9101)
* kernel: bump 5.10 to 5.10.105

Updated default config with new sym (CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY=y).

Manually rebased:
    generic/hack-5.10/220-arm-gc_sections.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.10 to 5.10.106

All patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-03-20 13:01:21 +08:00
Beginner
21c5e89a4f r8125: bump to 9.008.00 (#9092)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-03-19 19:43:51 +08:00
JoseCoW
29c2daa886 net: ethernet:drop duplicate patches (#9098)
重复的如下:

ee9e153105/target/linux/generic/backport-5.10/610-v5.13-54-net-ethernet-mtk_eth_soc-add-ipv6-flow-offloading-support.patch (L3-L10)

a5d4d89136/target/linux/generic/pending-5.10/701-net-ethernet-mtk_eth_soc-add-ipv6-flow-offloading-support.patch (L3-L10)

---

ee9e153105/target/linux/generic/backport-5.10/610-v5.13-54-net-ethernet-mtk_eth_soc-add-ipv6-flow-offloading-support.patch (L11-L22)

a5d4d89136/target/linux/generic/pending-5.10/701-net-ethernet-mtk_eth_soc-add-ipv6-flow-offloading-support.patch (L11-L22)

---

ee9e153105/target/linux/generic/backport-5.10/610-v5.13-54-net-ethernet-mtk_eth_soc-add-ipv6-flow-offloading-support.patch (L23-L37)

a5d4d89136/target/linux/generic/pending-5.10/701-net-ethernet-mtk_eth_soc-add-ipv6-flow-offloading-support.patch (L23-L37)

---

ee9e153105/target/linux/generic/backport-5.10/610-v5.13-54-net-ethernet-mtk_eth_soc-add-ipv6-flow-offloading-support.patch (L68-L77)

a5d4d89136/target/linux/generic/pending-5.10/701-net-ethernet-mtk_eth_soc-add-ipv6-flow-offloading-support.patch (L38-L47)

---

ee9e153105/target/linux/generic/backport-5.10/610-v5.13-54-net-ethernet-mtk_eth_soc-add-ipv6-flow-offloading-support.patch (L78-L95)

a5d4d89136/target/linux/generic/pending-5.10/701-net-ethernet-mtk_eth_soc-add-ipv6-flow-offloading-support.patch (L48-L65)
2022-03-19 19:43:16 +08:00
libinanshu
bcd68eb73f Fix ntfs3-oot hash value (#9084) 2022-03-18 09:44:08 +08:00
lean
eadcd3bf15 kernel: fix 5.10 ipv6-flow-offloading patch 2022-03-17 23:22:33 +08:00
JoseCoW
a44076d63c Fix offset for some patches of kernel-5.4 (#9085) 2022-03-17 23:12:46 +08:00
aakkll
f92cfbbd3e kernel: bump 5.15 to 5.15.29 (#9078)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-03-17 16:02:27 +08:00
JoseCoW
f684871135 kernel: bump 5.4 to 5.4.185 (#9080)
* kernel: bump 5.4 to 5.4.184

* kernel: bump 5.4 to 5.4.185
2022-03-17 16:01:57 +08:00
breakings
62d205a746 openssl: bump to 1.1.1n (#9079)
This is a bugfix release. Changelog:

  *) Fixed a bug in the BN_mod_sqrt() function that can cause it to loop
     forever for non-prime moduli. (CVE-2022-0778)

  *) Add ciphersuites based on DHE_PSK (RFC 4279) and ECDHE_PSK
     (RFC 5489) to the list of ciphersuites providing Perfect Forward
     Secrecy as required by SECLEVEL >= 3.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>

Co-authored-by: Martin Schiller <ms@dev.tdt.de>
2022-03-17 16:01:43 +08:00
AmadeusGhost
d2b51b86ac ipq806x: SURF G-NAT200: enable nss support 2022-03-17 10:38:11 +08:00
Martin Schiller
14dec1662c openssl: bump to 1.1.1n
This is a bugfix release. Changelog:

  *) Fixed a bug in the BN_mod_sqrt() function that can cause it to loop
     forever for non-prime moduli. (CVE-2022-0778)

  *) Add ciphersuites based on DHE_PSK (RFC 4279) and ECDHE_PSK
     (RFC 5489) to the list of ciphersuites providing Perfect Forward
     Secrecy as required by SECLEVEL >= 3.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2022-03-17 10:35:35 +08:00
lean
94888557b3 ath10k-ct: refresh patches for backport 5.10 2022-03-16 20:31:06 +08:00
lean
f54f20cda0 ath10k-ct: update version to fix DFS for VHT160 2022-03-16 20:12:59 +08:00
lean
a5d4d89136 net: ethernet: mtk_eth_soc: add ipv6 flow offload support 2022-03-16 13:37:25 +08:00
lean
9a383de4af ramips: add support for OrayBox X3A 2022-03-16 13:32:29 +08:00
lean
db50d6e23f ipq806x: remove 5.10 patches 2022-03-16 01:50:37 +08:00
lean
a96390e2e7 kernel: backport fix for initializing skb->cb in the bridge code to 5.4 2022-03-16 01:40:05 +08:00
lean
3bd126860b linux-firmware: Update to version 20220209 2022-03-16 01:38:21 +08:00
lean
fd400b80ab kernel: kmod-fs-virtiofs: add Virtiofs filesystem support 2022-03-16 01:25:20 +08:00
lean
c9da824ac8 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-03-14 14:45:28 +08:00
lean
98d59732a1 mediatek: add mt7986b (Filogic 830) init support 2022-03-14 14:45:07 +08:00
Beginner
390145de88 kernel: bump 5.10 to 5.10.104 (#9036)
All patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-03-14 14:36:21 +08:00
google-you-ok?
608b9d15b6 rockchip:fix nanopi-r4s mac address (#9059)
* Update 02_network

* Update 007-arm64-dts-rockchip-add-EEPROM-node-for-NanoPi-R4S.patch

* Update 007-arm64-dts-rockchip-add-EEPROM-node-for-NanoPi-R4S.patch

* Update 010-arm64-dts-rockchip-add-EEPROM-node-for-NanoPi-R4S.patch
2022-03-14 14:03:39 +08:00
Tianling Shen
b44fe03968 kernel/modules: add kmod-inet-diag package (#9066)
Add option to compile kmod-inet-diag, support for INET (TCP, DCCP, etc)
socket monitoring interface used by native Linux tools such as ss.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-03-14 14:01:57 +08:00
lean
d4ac948b46 x86: backport Intel I225-V (Stepping B3) driver from 5.15 to 5.4 2022-03-12 15:29:20 +08:00
lean
f585832ebb Version update to R22.3.13 2022-03-12 15:27:10 +08:00
lean
bbde8efa10 kernel: fix tty driver missing function for kernel 5.15 2022-03-12 01:43:09 +08:00
lean
c78e255f56 kernel: fix 5.15.28 patch error 2022-03-12 01:41:16 +08:00
aakkll
eafca6ea73 kernel: bump 5.15 to 5.15.28 (#9053)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-03-12 01:09:33 +08:00
Felix Fietkau
7586b4b308 build: change PYTHON to python3
On recent macOS, /usr/bin/python3 is a wrapper that finds the right python executable
It checks argv[0] to determine if python2 or python3 should be called. Always execute
it as python3 to ensure it calls the right version

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-03-10 08:56:14 +08:00
lean
bd965b8708 rockchip: add ondemond gov 2022-03-09 20:46:12 +08:00
lean
038ab6255d rockchip: improver usb wifi detect for Ryan 2022-03-09 19:08:47 +08:00
lean
7af03c8483 rockchip: fix patch miss typo 2022-03-09 17:36:13 +08:00
lean
1c8e6f658e Revert "Revert "r8152: drop patch (#8455)" (#9034)"
This reverts commit 4c659ce3c0.
2022-03-09 17:27:28 +08:00
aakkll
c82ca10450 kernel: bump 5.15 to 5.15.27 (#9035)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-03-09 16:02:17 +08:00
jimjimbco
4c659ce3c0 Revert "r8152: drop patch (#8455)" (#9034)
This reverts commit 252bd55b5f.
2022-03-09 13:12:15 +08:00
zxlhhyccc
937e5a4a09 luci-app-ipsec-server: adapter luci-theme-openwrt-2020 theme (#9021) 2022-03-08 11:21:35 +08:00
lean
0cc907daf4 pacakge: add luci-app-ipsec-server 2022-03-07 20:29:29 +08:00
lean
a9bc7fad5b rockchip: default switch kernel to 5.15 2022-03-06 23:26:30 +08:00
lean
bb42d6d224 kernel:fix module_supported_device macro for kernel 5.15 2022-03-06 23:22:42 +08:00
google-you-ok?
e7d9312102 uboot-rockchip: Fix doornet1dts (#9003)
* uboot-rockchip: Fix doornet1dts

The dts refers to the official website uboot startup parameters
`arch/arm/mach-rockchip/rk3328/rk3328.c`---Fix boot order parameters,It is helpful for other devices to start emmc and sd normally

* Update 104-rockchip-rk3328-Add-support-for-EmbedFire-DoorNet1.patch
2022-03-05 10:10:45 +08:00
lean
4a8985e5e8 automount: use ntfs3-mount replace of antfs-mount 2022-03-04 13:11:22 +08:00
lean
29884ccce1 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-03-04 13:09:52 +08:00
Rui Salvaterra
0f1905de35 kernel: bump 5.10 to 5.10.103
Patches automatically rebased.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-03-03 16:23:21 +00:00
google-you-ok?
7a988e46cf rockchip:fix doornet device parsing error resulting in missing compilation (#8994)
* Update armv8.mk

* rockchip:fix device tree custom parsing error

* rockchip:fix device tree custom parsing error

* rockchip:add doornet1-add-rk3328-dmc-relate-node

* rockchip:fix device tree custom parsing error

* rockchip:refresh add device dtb configuration

* Add files via upload

* rockchip:add 1.5 second delay mode for ethernet

* rockchip:add 1.5 second delay mode for ethernet

* Update 205-rockchip-rk3399-Add-support-for-EmbedFire-DoorNet2.patch

* Update 205-rockchip-rk3399-Add-support-for-EmbedFire-DoorNet2.patch

* Update armv8.mk

* Delete 808-arm64-dts-doornet1-add-rk3328-dmc-relate-node.patch

* Update armv8.mk
2022-03-04 00:06:46 +08:00
SiYao Mo
05e206921e rockchip: missing config to use r8168 2022-03-03 15:31:03 +00:00
Rosen Penev
f854419656 tools/fakeroot: update to 1.27
Remove macOS stuff. Upstream has fixed it in the same way.

Add SOL_TCP define. Taken from elsewhere in the code.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-03 11:13:57 +00:00
Felix Fietkau
737959d3b7 tools/fakeroot: fix unresolved symbols on arm64 macOS
The $INODE64 symbol variants are not present, since the base system
always uses 64-bit file offsets

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-03-03 11:13:48 +00:00
Sergey V. Lobanov
2fcd8db668 tools/fakeroot: fix build on MacOS arm64
Added patch for MacOS without 32 bit inodes support
(__DARWIN_ONLY_64_BIT_INO_T is true)

This patch based on discussion https://github.com/archmac/bootstrap/issues/4

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-03-03 11:13:27 +00:00
Felix Fietkau
2c5d9f0a55 tools/fakeroot: explicitly pass CPP variable
For some reason, the generated configure script fails to properly set up
the internal preprocessor command variable, causing the host OS check for
Darwin to fail after the last update.
Explicitly setting CPP fixes this issue

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-03-03 11:13:20 +00:00
Felix Fietkau
796fd9c0d7 tools/fakeroot: fix build error on macOS
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-03-03 11:13:11 +00:00
Rosen Penev
0d27397119 tools/fakeroot: update to 1.26
Remove upstreamed patches. Refresh other.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-03 11:12:42 +00:00
Rosen Penev
a2846e5838 tools/tar: update to 1.34
Refresh patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-03 11:09:43 +00:00
Rosen Penev
4ff4c1f5fd tools/mtools: update to 4.0.37
No changelog is available.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-03 11:08:35 +00:00
Rosen Penev
dc49e9cf9d tools/mtools: update to 4.0.35
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-03 11:08:28 +00:00
Rosen Penev
7d4741a5a3 tools/findutils: update to 4.9.0
Add compilation fix for Ubuntu 20.04. Provided by upstream maintainer:

https://github.com/openwrt/packages/issues/17912#issuecomment-1046726426

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-03 11:07:21 +00:00
Kevin Darbyshire-Bryant
da2fb9c546 tools/findutils: fix build on macos
Use same fix as homebrew:

https://github.com/Homebrew/homebrew-core/pull/69761

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2022-03-03 11:07:13 +00:00
Rosen Penev
56660f4cb9 tools/findutils: update to 4.8.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-03 11:07:05 +00:00
Rosen Penev
648b653d66 tools/e2fsprogs: update to 1.46.4
Refresh patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-03 11:06:23 +00:00
Rosen Penev
2a0cff821f tools/e2fsprogs: update to 1.46.2
Fix wrong FPIC flag to fix compilation under sparc64

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-03 11:06:16 +00:00
Rosen Penev
0c75a8aaec tools/bison: update to 3.8.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-03 11:04:47 +00:00
Rosen Penev
1b8c19d95a tools/bison: update to 3.8.1
Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-03 11:04:39 +00:00
Rosen Penev
cc72381156 tools/bison: update to 3.7.6
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-03 11:04:32 +00:00
Paul Spooren
ba003bdf27 dante: move to packages.git
Rather than maintaining it in core, move it to packages.git where it's
maintained by a community.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2022-03-03 11:01:25 +00:00
msylgj
bf8516cf5d r8168: add support for kernel over 5.10 2022-03-03 10:19:42 +00:00
Rosen Penev
31ab807088 tools/expat: update to 2.4.6
Switched to CMake for faster compilation and greater parallel
friendliness.

Added CMake options from the packages feed.

This release fixes various CVEs.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-02 17:03:15 +00:00
Rosen Penev
66d5921a52 tools/cmake: update to 3.22.2
Mostly random Python 3.10 fixes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-02 16:59:49 +00:00
Rosen Penev
237fe5bf85 tools/ccache: update to 4.5.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-02 16:59:37 +00:00
Rosen Penev
9ae0f60bbf tools/autoconf-archive: update to 2021.02.19
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-02 16:59:10 +00:00
Beginner-Go
50ad8ab612 kernel: bump 5.15 to 5.15.26
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2022-03-02 16:57:21 +00:00
Florian Eckert
971d60ec50 ipset: update to 7.15
Update to the latest upstream version. In this version there is a new
tool with which you can convert ipsets into nftables sets. Since we are
now using nftables as default firewall, this could be a useful tool for
porting ipsets to nftables sets.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-03-02 16:23:51 +00:00
John Audia
2f2e7bec8e kernel: bump 5.10 to 5.10.102
Removed upstreamed:
	bcm4908/patches-5.10/180-i2c-brcmstb-fix-support-for-DSL-and-CM-variants.patch[1]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.102&id=f333c1916fd6b55900029bf8f918cc00009e2111

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>
2022-03-02 16:22:07 +00:00
John Audia
fbd027c5da kernel: bump 5.10 to 5.10.101
Removed upstreamed:
  pending-5.10/841-USB-serial-option-add-ZTE-MF286D-modem.patch[1]
  bcm27xx/950-0592-drm-vc4-Allow-DBLCLK-modes-even-if-horz-timing-is-od.patch[2]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.101&id=7113440a36c741efd7c76e3d70b3634100120cdb
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.101&id=21c890ca8eaecea06cabb92be2a53a6f26f56383

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>
2022-03-02 16:21:51 +00:00
AmadeusGhost
4d5770a6cf ipq807x: zte mf269: optimize related code
Since this part will not be accepted by upstream.
2022-03-02 23:56:27 +08:00
AmadeusGhost
edbd8d2e98 ipq807x: drop all xiaomi devices support
我只是执行者,有问题请找 “Redmi ax6 机友会”(522966467)里面的群主
和陈超(269806631)等狗管理和伪君子反馈。

I'm just an executor. If you have any questions, please contact the
group owner and Chen Chao (269806631) management and hypocrites in
the "Redmi ax6 Friends Club" (522966467) for feedback.

私はただの遺言執行者です。ご不明な点がございましたら、グループのオ
ーナーである Chen Chao(269806631)や、「Redmi ax6 Friends Club」
(522966467)の他のマネージャーや偽善者にお問い合わせください。

Unanimous approval from the entire development team.

Ref: https://t.me/chenchao_rip/4

Cc: lean <coolsnowwolf@gmail.com>
Cc: asushugo <429632952@163.com>
CC: CN_SZTL <cnsztl@immortalwrt.org>
Cc: AmadeusGhost <amadeus@immortalwrt.org>
2022-03-02 23:35:16 +08:00
W_Y_CPP
e8cb010cec kernel: fix build for mt7621 with kernel 5.10 2022-03-01 18:21:12 +00:00
lean
20a437026a mt76: fix build with kernel 5.15 2022-03-01 23:04:58 +08:00
lean
68da7390fb rockchip: add workaroud for usb wlan up at firstboot 2022-03-01 22:44:19 +08:00
lean
caf69dd94b mt76: fix build with kernel 5.15 2022-03-01 19:37:04 +08:00
lean
5f0ddf4823 rockchip: switch kernel to 5.10 2022-03-01 19:36:08 +08:00
unifreq
71263b95a1 Fix 613-netfilter_optional_tcp_window_check.patch (#8970)
* Fixed a bug that could crash the kernel, and limit the value of the sysctl variable: net.netfilter.nf_conntrack_tcp_no_window_check to 0 or 1.

* Fix pending-5.15/613-netfilter_optional_tcp_window_check.patch
2022-03-01 11:07:38 +08:00
unifreq
2d15f51c44 Fixed a bug that could crash the kernel, and limit the value of the sysctl variable: net.netfilter.nf_conntrack_tcp_no_window_check to 0 or 1. (#8967) 2022-03-01 00:29:49 +08:00
W_Y_CPP
7e7f062de9 mtk-eip93: fix build error 2022-02-28 13:59:44 +00:00
Stijn Tintel
e7d20f5a4e firmware-utils: bump to git HEAD
002cfaf firmware-utils: fix compilation with macOS

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-02-28 13:53:12 +00:00
AmadeusGhost
da34b3a2fb Revert "rockchip:fix rk3399 build with kernel 5.15"
This reverts commit f449543c7f.
2022-02-28 12:39:50 +08:00
AmadeusGhost
3ff761aa6d Revert "rockchip: fix build rk3328 with kernel 5.15"
This reverts commit 60bd44abab.
Fixes: copied messy commit 2923e80 ("rockchip: add support for
FriendlyARM NanoPi NEO3")
2022-02-28 12:38:06 +08:00
AmadeusGhost
c4b18f8948 mtk-eip93: fixes download hash
Fixes: #8952
2022-02-28 12:25:52 +08:00
aakkll
6fc2927f14 libcryptopp: update to 8.5.0 (#8960)
Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2022-02-28 01:36:52 +08:00
Stijn Tintel
f6c30c9f9d firmware-utils: bump to git HEAD
706e9cc tplink-safeloader: support for Archer A6 v3 JP
  497726b firmware-utils: support checksum for AVM fritzbox wasp SOCs
  2ca6462 iptime-crc32: add support for AX8004M
  57d0e31 tplink-safeloader: TP-Link EAP615-Wall v1 support
  8a8da19 tplink-safeloader: add TL-WPA8631P v3 support
  eea4ee7 tplink-safeloader: add TP-Link Archer A9 v6 support

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-02-27 16:02:29 +00:00
breakings
dba822744b mbedtls: refresh patches 2022-02-27 07:11:59 +00:00
Christian Lamparter
96d010e808 firmware: intel-microcode: update to 20220207
Debians' changelog by Henrique de Moraes Holschuh <hmh@debian.org>:

* upstream changelog: new upstream datafile 20220207
    * Mitigates (*only* when loaded from UEFI firmware through the FIT)
      CVE-2021-0146, INTEL-SA-00528: VT-d privilege escalation through
      debug port, on Pentium, Celeron and Atom processors with signatures
      0x506c9, 0x506ca, 0x506f1, 0x706a1, 0x706a8
      https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/issues/57#issuecomment-1036363145
    * Mitigates CVE-2021-0127, INTEL-SA-00532: an unexpected code breakpoint
      may cause a system hang, on many processors.
    * Mitigates CVE-2021-0145, INTEL-SA-00561: information disclosure due
      to improper sanitization of shared resources (fast-store forward
      predictor), on many processors.
    * Mitigates CVE-2021-33120, INTEL-SA-00589: out-of-bounds read on some
      Atom Processors may allow information disclosure or denial of service
      via network access.
    * Fixes critical errata (functional issues) on many processors
    * Adds a MSR switch to enable RAPL filtering (default off, once enabled
      it can only be disabled by poweroff or reboot).  Useful to protect
      SGX and other threads from side-channel info leak.  Improves the
      mitigation for CVE-2020-8694, CVE-2020-8695, INTEL-SA-00389 on many
      processors.
    * Disables TSX in more processor models.
    * Fixes issue with WBINDV on multi-socket (server) systems which could
      cause resets and unpredictable system behavior.
    * Adds a MSR switch to 10th and 11th-gen (Ice Lake, Tiger Lake, Rocket
      Lake) processors, to control a fix for (hopefully rare) unpredictable
      processor behavior when HyperThreading is enabled.  This MSR switch
      is enabled by default on *server* processors.  On other processors,
      it needs to be explicitly enabled by an updated UEFI/BIOS (with added
      configuration logic).  An updated operating system kernel might also
      be able to enable it.  When enabled, this fix can impact performance.
    * Updated Microcodes:
      sig 0x000306f2, pf_mask 0x6f, 2021-08-11, rev 0x0049, size 38912
      sig 0x000306f4, pf_mask 0x80, 2021-05-24, rev 0x001a, size 23552
      sig 0x000406e3, pf_mask 0xc0, 2021-04-28, rev 0x00ec, size 105472
      sig 0x00050653, pf_mask 0x97, 2021-05-26, rev 0x100015c, size 34816
      sig 0x00050654, pf_mask 0xb7, 2021-06-16, rev 0x2006c0a, size 43008
      sig 0x00050656, pf_mask 0xbf, 2021-08-13, rev 0x400320a, size 35840
      sig 0x00050657, pf_mask 0xbf, 2021-08-13, rev 0x500320a, size 36864
      sig 0x0005065b, pf_mask 0xbf, 2021-06-04, rev 0x7002402, size 28672
      sig 0x00050663, pf_mask 0x10, 2021-06-12, rev 0x700001c, size 28672
      sig 0x00050664, pf_mask 0x10, 2021-06-12, rev 0xf00001a, size 27648
      sig 0x00050665, pf_mask 0x10, 2021-09-18, rev 0xe000014, size 23552
      sig 0x000506c9, pf_mask 0x03, 2021-05-10, rev 0x0046, size 17408
      sig 0x000506ca, pf_mask 0x03, 2021-05-10, rev 0x0024, size 16384
      sig 0x000506e3, pf_mask 0x36, 2021-04-29, rev 0x00ec, size 108544
      sig 0x000506f1, pf_mask 0x01, 2021-05-10, rev 0x0036, size 11264
      sig 0x000606a6, pf_mask 0x87, 2021-12-03, rev 0xd000331, size 291840
      sig 0x000706a1, pf_mask 0x01, 2021-05-10, rev 0x0038, size 74752
      sig 0x000706a8, pf_mask 0x01, 2021-05-10, rev 0x001c, size 75776
      sig 0x000706e5, pf_mask 0x80, 2021-05-26, rev 0x00a8, size 110592
      sig 0x000806a1, pf_mask 0x10, 2021-09-02, rev 0x002d, size 34816
      sig 0x000806c1, pf_mask 0x80, 2021-08-06, rev 0x009a, size 109568
      sig 0x000806c2, pf_mask 0xc2, 2021-07-16, rev 0x0022, size 96256
      sig 0x000806d1, pf_mask 0xc2, 2021-07-16, rev 0x003c, size 101376
      sig 0x000806e9, pf_mask 0x10, 2021-04-28, rev 0x00ec, size 104448
      sig 0x000806e9, pf_mask 0xc0, 2021-04-28, rev 0x00ec, size 104448
      sig 0x000806ea, pf_mask 0xc0, 2021-04-28, rev 0x00ec, size 103424
      sig 0x000806eb, pf_mask 0xd0, 2021-04-28, rev 0x00ec, size 104448
      sig 0x000806ec, pf_mask 0x94, 2021-04-28, rev 0x00ec, size 104448
      sig 0x00090661, pf_mask 0x01, 2021-09-21, rev 0x0015, size 20480
      sig 0x000906c0, pf_mask 0x01, 2021-08-09, rev 0x2400001f, size 20480
      sig 0x000906e9, pf_mask 0x2a, 2021-04-29, rev 0x00ec, size 106496
      sig 0x000906ea, pf_mask 0x22, 2021-04-28, rev 0x00ec, size 102400
      sig 0x000906eb, pf_mask 0x02, 2021-04-28, rev 0x00ec, size 104448
      sig 0x000906ec, pf_mask 0x22, 2021-04-28, rev 0x00ec, size 103424
      sig 0x000906ed, pf_mask 0x22, 2021-04-28, rev 0x00ec, size 103424
      sig 0x000a0652, pf_mask 0x20, 2021-04-28, rev 0x00ec, size 93184
      sig 0x000a0653, pf_mask 0x22, 2021-04-28, rev 0x00ec, size 94208
      sig 0x000a0655, pf_mask 0x22, 2021-04-28, rev 0x00ee, size 94208
      sig 0x000a0660, pf_mask 0x80, 2021-04-28, rev 0x00ea, size 94208
      sig 0x000a0661, pf_mask 0x80, 2021-04-29, rev 0x00ec, size 93184
      sig 0x000a0671, pf_mask 0x02, 2021-08-29, rev 0x0050, size 102400
    * Removed Microcodes:
      sig 0x00080664, pf_mask 0x01, 2021-02-17, rev 0xb00000f, size 130048
      sig 0x00080665, pf_mask 0x01, 2021-02-17, rev 0xb00000f, size 130048
  * update .gitignore and debian/.gitignore.
    Add some missing items from .gitignore and debian/.gitignore.
  * ucode-blacklist: do not late-load 0x406e3 and 0x506e3.
    When the BIOS microcode is older than revision 0x7f (and perhaps in some
    other cases as well), the latest microcode updates for 0x406e3 and
    0x506e3 must be applied using the early update method.  Otherwise, the
    system might hang.  Also: there must not be any other intermediate
    microcode update attempts [other than the one done by the BIOS itself],
    either.  It must go from the BIOS microcode update directly to the
    latest microcode update.
  * source: update symlinks to reflect id of the latest release, 20220207

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-02-27 06:27:32 +00:00
Tan Zien
3a1917b543 firmware: intel-microcode: update to 20210608
intel-microcode (3.20210608.2)

  * Correct INTEL-SA-00442 CVE id to CVE-2020-24489 in changelog and
    debian/changelog (3.20210608.1).

intel-microcode (3.20210608.1)

  * New upstream microcode datafile 20210608 (closes: #989615)
    * Implements mitigations for CVE-2020-24511 CVE-2020-24512
      (INTEL-SA-00464), information leakage through shared resources,
      and timing discrepancy sidechannels
    * Implements mitigations for CVE-2020-24513 (INTEL-SA-00465),
      Domain-bypass transient execution vulnerability in some Intel Atom
      Processors, affects Intel SGX.
    * Implements mitigations for CVE-2020-24489 (INTEL-SA-00442), Intel
      VT-d privilege escalation
    * Fixes critical errata on several processors
    * New Microcodes:
      sig 0x00050655, pf_mask 0xb7, 2018-11-16, rev 0x3000010, size 47104
      sig 0x000606a5, pf_mask 0x87, 2021-03-08, rev 0xc0002f0, size 283648
      sig 0x000606a6, pf_mask 0x87, 2021-04-25, rev 0xd0002a0, size 283648
      sig 0x00080664, pf_mask 0x01, 2021-02-17, rev 0xb00000f, size 130048
      sig 0x00080665, pf_mask 0x01, 2021-02-17, rev 0xb00000f, size 130048
      sig 0x000806c1, pf_mask 0x80, 2021-03-31, rev 0x0088, size 109568
      sig 0x000806c2, pf_mask 0xc2, 2021-04-07, rev 0x0016, size 94208
      sig 0x000806d1, pf_mask 0xc2, 2021-04-23, rev 0x002c, size 99328
      sig 0x00090661, pf_mask 0x01, 2021-02-04, rev 0x0011, size 19456
      sig 0x000906c0, pf_mask 0x01, 2021-03-23, rev 0x001d, size 19456
      sig 0x000a0671, pf_mask 0x02, 2021-04-11, rev 0x0040, size 100352
    * Updated Microcodes:
      sig 0x000306f2, pf_mask 0x6f, 2021-01-27, rev 0x0046, size 34816
      sig 0x000306f4, pf_mask 0x80, 2021-02-05, rev 0x0019, size 19456
      sig 0x000406e3, pf_mask 0xc0, 2021-01-25, rev 0x00ea, size 105472
      sig 0x000406f1, pf_mask 0xef, 2021-02-06, rev 0xb00003e, size 31744
      sig 0x00050653, pf_mask 0x97, 2021-03-08, rev 0x100015b, size 34816
      sig 0x00050654, pf_mask 0xb7, 2021-03-08, rev 0x2006b06, size 36864
      sig 0x00050656, pf_mask 0xbf, 2021-03-08, rev 0x4003102, size 30720
      sig 0x00050657, pf_mask 0xbf, 2021-03-08, rev 0x5003102, size 30720
      sig 0x0005065b, pf_mask 0xbf, 2021-04-23, rev 0x7002302, size 27648
      sig 0x00050663, pf_mask 0x10, 2021-02-04, rev 0x700001b, size 24576
      sig 0x00050664, pf_mask 0x10, 2021-02-04, rev 0xf000019, size 24576
      sig 0x00050665, pf_mask 0x10, 2021-02-04, rev 0xe000012, size 19456
      sig 0x000506c9, pf_mask 0x03, 2020-10-23, rev 0x0044, size 17408
      sig 0x000506ca, pf_mask 0x03, 2020-10-23, rev 0x0020, size 15360
      sig 0x000506e3, pf_mask 0x36, 2021-01-25, rev 0x00ea, size 105472
      sig 0x000506f1, pf_mask 0x01, 2020-10-23, rev 0x0034, size 11264
      sig 0x000706a1, pf_mask 0x01, 2020-10-23, rev 0x0036, size 74752
      sig 0x000706a8, pf_mask 0x01, 2020-10-23, rev 0x001a, size 75776
      sig 0x000706e5, pf_mask 0x80, 2020-11-01, rev 0x00a6, size 110592
      sig 0x000806a1, pf_mask 0x10, 2020-11-06, rev 0x002a, size 32768
      sig 0x000806e9, pf_mask 0x10, 2021-01-05, rev 0x00ea, size 104448
      sig 0x000806e9, pf_mask 0xc0, 2021-01-05, rev 0x00ea, size 104448
      sig 0x000806ea, pf_mask 0xc0, 2021-01-06, rev 0x00ea, size 103424
      sig 0x000806eb, pf_mask 0xd0, 2021-01-05, rev 0x00ea, size 104448
      sig 0x000806ec, pf_mask 0x94, 2021-01-05, rev 0x00ea, size 104448
      sig 0x000906e9, pf_mask 0x2a, 2021-01-05, rev 0x00ea, size 104448
      sig 0x000906ea, pf_mask 0x22, 2021-01-05, rev 0x00ea, size 102400
      sig 0x000906eb, pf_mask 0x02, 2021-01-05, rev 0x00ea, size 104448
      sig 0x000906ec, pf_mask 0x22, 2021-01-05, rev 0x00ea, size 103424
      sig 0x000906ed, pf_mask 0x22, 2021-01-05, rev 0x00ea, size 103424
      sig 0x000a0652, pf_mask 0x20, 2021-02-07, rev 0x00ea, size 93184
      sig 0x000a0653, pf_mask 0x22, 2021-03-08, rev 0x00ea, size 94208
      sig 0x000a0655, pf_mask 0x22, 2021-03-08, rev 0x00ec, size 94208
      sig 0x000a0660, pf_mask 0x80, 2020-12-08, rev 0x00e8, size 94208
      sig 0x000a0661, pf_mask 0x80, 2021-02-07, rev 0x00ea, size 93184
  * source: update symlinks to reflect id of the latest release, 20210608

intel-microcode (3.20210216.1)

  * New upstream microcode datafile 20210216
    * Mitigates an issue on Skylake Server (H0/M0/U0), Xeon-D 21xx,
      and Cascade Lake Server (B0/B1) when using an active JTAG
      agent like In Target Probe (ITP), Direct Connect Interface
      (DCI) or a Baseboard Management Controller (BMC) to take the
      CPU JTAG/TAP out of reset and then returning it to reset.
    * This issue is related to the INTEL-SA-00381 mitigation.
    * Updated Microcodes:
      sig 0x00050654, pf_mask 0xb7, 2020-12-31, rev 0x2006a0a, size 36864
      sig 0x00050656, pf_mask 0xbf, 2020-12-31, rev 0x4003006, size 53248
      sig 0x00050657, pf_mask 0xbf, 2020-12-31, rev 0x5003006, size 53248
  * source: update symlinks to reflect id of the latest release, 20210216

intel-microcode (3.20201118.1)

  * New upstream microcode datafile 20201118
    * Removes a faulty microcode update from release 2020-11-10 for Tiger Lake
      processors.  Note that Debian already had removed this specific falty
      microcode update on the 3.20201110.1 release
    * Add a microcode update for the Pentium Silver N/J5xxx and Celeron
      N/J4xxx which didn't make it to release 20201110, fixing security issues
      (INTEL-SA-00381, INTEL-SA-00389)
    * Updated Microcodes:
      sig 0x000706a1, pf_mask 0x01, 2020-06-09, rev 0x0034, size 74752
    * Removed Microcodes:
      sig 0x000806c1, pf_mask 0x80, 2020-10-02, rev 0x0068, size 107520

intel-microcode (3.20201110.1)

  * New upstream microcode datafile 20201110 (closes: #974533)
    * Implements mitigation for CVE-2020-8696 and CVE-2020-8698,
      aka INTEL-SA-00381: AVX register information leakage;
      Fast-Forward store predictor information leakage
    * Implements mitigation for CVE-2020-8695, Intel SGX information
      disclosure via RAPL, aka INTEL-SA-00389
    * Fixes critical errata on several processor models
    * Reintroduces SRBDS mitigations(CVE-2020-0543, INTEL-SA-00320)
      for Skylake-U/Y, Skylake Xeon E3
    * New Microcodes
      sig 0x0005065b, pf_mask 0xbf, 2020-08-20, rev 0x700001e, size 27648
      sig 0x000806a1, pf_mask 0x10, 2020-06-26, rev 0x0028, size 32768
      sig 0x000806c1, pf_mask 0x80, 2020-10-02, rev 0x0068, size 107520
      sig 0x000a0652, pf_mask 0x20, 2020-07-08, rev 0x00e0, size 93184
      sig 0x000a0653, pf_mask 0x22, 2020-07-08, rev 0x00e0, size 94208
      sig 0x000a0655, pf_mask 0x22, 2020-07-08, rev 0x00e0, size 93184
      sig 0x000a0661, pf_mask 0x80, 2020-07-02, rev 0x00e0, size 93184
    * Updated Microcodes
      sig 0x000306f2, pf_mask 0x6f, 2020-05-27, rev 0x0044, size 34816
      sig 0x000406e3, pf_mask 0xc0, 2020-07-14, rev 0x00e2, size 105472
      sig 0x00050653, pf_mask 0x97, 2020-06-18, rev 0x1000159, size 33792
      sig 0x00050654, pf_mask 0xb7, 2020-06-16, rev 0x2006a08, size 35840
      sig 0x00050656, pf_mask 0xbf, 2020-06-18, rev 0x4003003, size 52224
      sig 0x00050657, pf_mask 0xbf, 2020-06-18, rev 0x5003003, size 52224
      sig 0x000506c9, pf_mask 0x03, 2020-02-27, rev 0x0040, size 17408
      sig 0x000506ca, pf_mask 0x03, 2020-02-27, rev 0x001e, size 15360
      sig 0x000506e3, pf_mask 0x36, 2020-07-14, rev 0x00e2, size 105472
      sig 0x000706a8, pf_mask 0x01, 2020-06-09, rev 0x0018, size 75776
      sig 0x000706e5, pf_mask 0x80, 2020-07-30, rev 0x00a0, size 109568
      sig 0x000806e9, pf_mask 0x10, 2020-05-27, rev 0x00de, size 104448
      sig 0x000806e9, pf_mask 0xc0, 2020-05-27, rev 0x00de, size 104448
      sig 0x000806ea, pf_mask 0xc0, 2020-06-17, rev 0x00e0, size 104448
      sig 0x000806eb, pf_mask 0xd0, 2020-06-03, rev 0x00de, size 104448
      sig 0x000806ec, pf_mask 0x94, 2020-05-18, rev 0x00de, size 104448
      sig 0x000906e9, pf_mask 0x2a, 2020-05-26, rev 0x00de, size 104448
      sig 0x000906ea, pf_mask 0x22, 2020-05-25, rev 0x00de, size 103424
      sig 0x000906eb, pf_mask 0x02, 2020-05-25, rev 0x00de, size 104448
      sig 0x000906ec, pf_mask 0x22, 2020-06-03, rev 0x00de, size 103424
      sig 0x000906ed, pf_mask 0x22, 2020-05-24, rev 0x00de, size 103424
      sig 0x000a0660, pf_mask 0x80, 2020-07-08, rev 0x00e0, size 94208
  * 0x806c1: remove the new Tiger Lake update: causes hang on cold/warm boot
    https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/issues/44
    INTEL-SA-00381 AND INTEL-SA-00389 MITIGATIONS ARE THEREFORE NOT INSTALLED
    FOR 0x806c1 TIGER LAKE PROCESSORS by this package update.  Contact your
    system vendor for a firmware update, or wait fo a possible fix in a future
    Intel microcode release.
  * source: update symlinks to reflect id of the latest release, 20201110
  * source: ship new upstream documentation (security.md, releasenote.md)

Signed-off-by: Tan Zien <nabsdh9@gmail.com>
[used different .tar.xz source, but with the same content]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-02-27 06:27:24 +00:00
Lucian Cristian
0250a1e604 mbedtls: update to 2.28.0 LTS branch
<https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.0>
"Mbed TLS 2.28 is a long-time support branch.
It will be supported with bug-fixes and security
fixes until end of 2024."

<https://github.com/ARMmbed/mbedtls/blob/development/BRANCHES.md>
"Currently, the only supported LTS branch is: mbedtls-2.28.
For a short time we also have the previous LTS, which has
recently ended its support period, mbedtls-2.16.
This branch will move into the archive namespace around the
time of the next release."

this will also add support for uacme ualpn support.

size changes
221586 libmbedtls12_2.28.0-1_mips_24kc.ipk
182742 libmbedtls12_2.16.12-1_mips_24kc.ipk

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(remark about 2.16's EOS, slightly reworded)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-02-27 06:25:36 +00:00
lean
a927c5679a kernel: enable Marvell FastLinQ 41xxx SR-IOV 2022-02-27 13:31:25 +08:00
lean
9b1a3e1cf8 kernel: add Marvell FastLinQ 41xxx 10/25/40/100Gb Ethernet NIC device support 2022-02-27 12:34:43 +08:00
Beginner
98375d3b03 toolchain/gdb: Update to version 11.2 (#8955)
* toolchain: gdb: Update to version 11.1

The removed patch was already applied upstream.

gdb now mandatory depends on gmp, tell configure where to find it
explicitly. We already build gmp in the tools directory for gcc. Also
make it use mpfr and mpc as we also build both of them.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* toolchain: gdb: Update to version 11.2

This is a minor corrective release over GDB 11.1, fixing the following issues:
* PR sim/28302 (gdb fails to build with glibc 2.34)
* PR build/28318 (std::thread support configure check does not use CXX_DIALECT)
* PR gdb/28405 (arm-none-eabi: internal-error: ptid_t remote_target::select_thread_for_ambiguous_stop_reply(const target_waitstatus*): Assertion `first_resumed_thread != nullptr' failed)
* PR tui/28483 ([gdb/tui] breakpoint creation not displayed)
* PR build/28555 (uclibc compile failure since commit 4655f8509fd44e6efabefa373650d9982ff37fd6)
* PR rust/28637 (Rust characters will be encoded using DW_ATE_UTF)
* PR gdb/28758 (GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section)
* PR gdb/28785 (Support SHT_RELR (.relr.dyn) section)

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-02-27 01:50:24 +08:00
Beginner
a36b8f395c gdb: Update gdb to version 11.2 (#8954)
* gdb: update to 10.2

Replace some OpenWrt patches with openembedded ones for easier
maintainability. Remove several outdated ones as well.

Replace PKG_RELEASE with AUTORELEASE to avoid manual bumps.

Remove !arc dependency as it is supported upstream now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* gdb: Update to version 11.1

GDB 11.1 now depends on gmp.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* gdb: Add explicit patch to libgmp

Without giving the patch gdb does not compile on Arch Linux.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* gdb: Make only full gdb depend on libgmp

libgmp is only needed for the full gdb and not for the gdbserver
application.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* gdb: Update gdb to version 11.2

This is a minor corrective release over GDB 11.1, fixing the following issues:
* PR sim/28302 (gdb fails to build with glibc 2.34)
* PR build/28318 (std::thread support configure check does not use CXX_DIALECT)
* PR gdb/28405 (arm-none-eabi: internal-error: ptid_t remote_target::select_thread_for_ambiguous_stop_reply(const target_waitstatus*): Assertion `first_resumed_thread != nullptr' failed)
* PR tui/28483 ([gdb/tui] breakpoint creation not displayed)
* PR build/28555 (uclibc compile failure since commit 4655f8509fd44e6efabefa373650d9982ff37fd6)
* PR rust/28637 (Rust characters will be encoded using DW_ATE_UTF)
* PR gdb/28758 (GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section)
* PR gdb/28785 (Support SHT_RELR (.relr.dyn) section)

The sizes of the ipk changed on mips 24Kc like this:
2285775 gdb_11.1-3_mips_24kc.ipk
2287441 gdb_11.2-4_mips_24kc.ipk
191828 gdbserver_11.1-3_mips_24kc.ipk
191811 gdbserver_11.2-4_mips_24kc.ipk

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Rosen Penev <rosenp@gmail.com>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-02-27 01:50:07 +08:00
Beginner
a19b93409b util-linux: sync upstream (#8953)
* util-linux: Add taskset

This adds the taskset application from util Linux.
It is already built, but not packaged yet.

Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>

* util-linux: add lslocks

This change adds the "lslocks" utility from util-linux.

Signed-off-by: Roman Azarenko <roman.azarenko@iopsys.eu>

* util-linux: Do not build raw any more.

The man page of the raw tool does not build because the disk-utils/raw.8
file is missing. It looks like it should be in the tar.xz file we
download, but it is missing.

We do not package the raw tool, so this is not a problem.

This fixes the following build error:
No rule to make target 'disk-utils/raw.8', needed by 'all-am'.  Stop.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* util-linux: Update to version 2.37.3

This release fixes two security mount(8) and umount(8) issues:

CVE-2021-3996
    Improper UID check in libmount allows an unprivileged user to unmount FUSE
    filesystems of users with similar UID.

CVE-2021-3995
    This issue is related to parsing the /proc/self/mountinfo file allows an
    unprivileged user to unmount other user's filesystems that are either
    world-writable themselves or mounted in a world-writable directory.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* util-linux: package ipcs command

Add a package for util-linux' ipcs command, to show information about
System V inter-process communication facilities.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

Co-authored-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
Co-authored-by: Roman Azarenko <roman.azarenko@iopsys.eu>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-02-27 01:35:53 +08:00
Hauke Mehrtens
016fee65f6 strace: Update to version 5.16
The sizes of the ipk changed on MIPS 24Kc like this:
289764 strace_5.14-1_mips_24kc.ipk
310899 strace_5.16-1_mips_24kc.ipk

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-02-26 17:26:24 +00:00
Hauke Mehrtens
25db0a999b strace: Update to version 5.14
Explicitly deactivate libselinux, otherwise we get a hard dependency to
libselinux.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-02-26 17:26:17 +00:00
Rosen Penev
a4faa703b9 strace: remove code coverage makefile var
It relies on a custom ax_code_coverage.m4 file included with strace.
Unfortunately, this conflicts with the one included with
autoconf-macros. Instead of creating a huge patch to fix it, just remove
the variable as code coverage is not used here.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-02-26 17:26:10 +00:00
Beginner-Go
4a4649e04a tools/cmake: sync upstream 2022-02-26 17:14:39 +00:00
Rosen Penev
1874e4100b tools/cmake: add MAKE config variable
Makes sure that Ninja from staging_dir is used and nowhere else.

Reported by reproducible builds project. Builds have been failing ever
since tools/cmake started using Ninja.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-02-26 16:10:51 +00:00
Rosen Penev
9e37c1c701 tools/meson: update to 0.61.2
Seems to be minor bugfixes with Cygwin and Windows.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-02-26 16:10:01 +00:00
Rosen Penev
e5209944e1 tools/meson: update to 0.61.1
Changelog:

backend_startup_project
Add a man page backend to refman
extract_objects() supports generated sources
Python 3.6 support will be dropped in the next release
Warning if check kwarg of run_command is missing
meson rewrite can modify extra_files
meson rewrite target <target> info outputs target's extra_files
Visual Studio 2022 backend
Support for CMake <3.14 is now deprecated for CMake subprojects
Added support for sccache
install_symlink function

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-02-26 16:09:31 +00:00
Petr Štetiar
d652a2f370 usbmode: update to version 2022-02-24
* usbmode: add config #0 and delay before actual config

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-02-26 16:07:31 +00:00
Vladislav Grigoryev
830009b72d jsonfilter: update makefile url
Specify URL as PKG_SOURCE_URL in the jsonfilter Makefile.

Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
2022-02-26 16:06:57 +00:00
Eneas U de Queiroz
c98027d936 scripts/diffconfig.sh: ensure config/conf is built
diffconfig.sh runs ./scripts/config/conf, but it does not get built
with 'make {menu,x,n}config.  Call 'make ./scripts/config/conf' to
ensure it's been built before running it, aborting in case of failure.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>[removed Fixes: due revert]
2022-02-26 16:06:10 +00:00
lean
2923e808b2 rockchip: add support for FriendlyARM NanoPi NEO3 2022-02-26 21:03:54 +08:00
lean
f449543c7f rockchip:fix rk3399 build with kernel 5.15 2022-02-26 19:09:49 +08:00
lean
1c96c4ace0 mac80211: fix complie with kernel 5.15 2022-02-26 19:08:42 +08:00
Rosen Penev
3ea7ae24c6 tools/quilt: update to 0.67
- Call pager with original LANG environment variable
  - Consistently complain early if no series file is found
  - Fix handling of symbolic links by several commands
  - Tighten the patch format parsing
  - Reuse the shell (performance)
  - Document the series file format further
  - Document that quilt loads /etc/quilt.quiltrc
  - configure: Make stat configurable
  - series: Minor optimizations
  - setup: Don't obey the settings of any englobing .pc
  - setup: Default to fast mode
  - quilt.el: Fix documentation of quilt-pc-directory
  - quilt.el: Load /etc/quilt.quiltrc if ~/.quiltrc doesn't exist
  - quilt.el: Fix quilt-editable when QUILT_PATCHES_PREFIX is set

Refresh patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
[add changelog]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2022-02-26 05:48:55 +00:00
Jax Jiang
dd0b95dbde x86: grub2: search for the "kernel" filesystem on all disks
Previously, grub2 was hardcoded to always look on "hd0" for the
kernel.

This works well when the system only had a single disk.
But if there was a second disk/stick present, it may have look
on the wrong drive because of enumeration races.

This patch utilizes grub2 search function to look for a filesystem
with the label "kernel". This works thanks to existing setup in
scripts/gen_image_generic.sh. Which sets the "kernel" label on
both the fat and ext4 filesystem variants.

Signed-off-by: Jax Jiang <jax.jiang.007@gmail.com>
Suggested-by: Alberto Bursi <bobafetthotmail@gmail.com> (MX100 WA)
(word wrapped, slightly rewritten commit message, removed MX100 WA)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-02-26 05:46:11 +00:00
Beginner-Go
a61a59795b Revert "grub: x86 efi add search module for better find boot partition on multiple disk"
This reverts commit 8b97425415.
2022-02-26 05:45:54 +00:00
W_Y_CPP
77251e963f kernel/rtl8821cu: update to 2021-11-14 2022-02-26 05:29:06 +00:00
lean
71d7ad88c5 ksmbd: bump version 2022-02-25 23:37:37 +08:00
lean
35ae8c152e Revert "base-file: remove password aging feature form /etc/shadow"
This reverts commit ae7f2dbf40.
2022-02-25 23:17:10 +08:00
lean
fd9249dacb x86: switch to kernel 5.15 2022-02-25 18:16:18 +08:00
lean
020b3d2c64 kernel:add support shortcut-fe for 5.15 2022-02-25 18:15:14 +08:00
lean
60bd44abab rockchip: fix build rk3328 with kernel 5.15 2022-02-25 17:57:15 +08:00
lean
8512311f80 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-02-25 17:45:57 +08:00
lean
7514169118 kernel: fix conntrack multiple registrant 2022-02-25 17:45:50 +08:00
AmadeusGhost
eb2644d09a rockchip: disable unsupported devices by default
Since users only want to use the latest test kernel,
disable unverifiable devices to compile properly.

Closed: #8934
2022-02-25 16:08:20 +08:00
Rucke Teg
ae7f2dbf40 base-file: remove password aging feature form /etc/shadow
In the default shadow file, as visible in the failsafe mode, the user
root has value of `0` set in  the 3rd field, the date of last password
change. This setting means that the password needs to be changed the
next time the user will log in the system. `dropbear` server is ignoring
this setting but `openssh-server` tries to enforce it and fails in the
failsafe mode because the rootfs is R/O.

Disable the password aging feature for user root by setting the 3rd
filed empty.

Signed-off-by: Rucke Teg <rucketeg@protonmail.com>
2022-02-24 17:18:43 +00:00
Paul Spooren
aa02426e64 tools: use https for bc mirrors
All mirrors offer encrypted downloads, use it.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2022-02-24 17:18:35 +00:00
Petr Štetiar
901e5f17ee Revert "scripts/diffconfig.sh: ensure config/conf is built"
This reverts commit c0849c1d9c17ba96a37b67363b5551c065e9f50d as it seems
to introduce regression in config.buildinfo files produced at least by
buildbots:

 $ curl -s https://downloads.openwrt.org/snapshots/targets/ath79/generic/config.buildinfo | head -2
 make[3]: Entering directory '/builder/shared-workdir/build'
 make[3]: Leaving directory '/builder/shared-workdir/build'

References: https://github.com/openwrt/openwrt/issues/9297#issuecomment-1049719381
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-02-24 17:18:24 +00:00
JoseCoW
a430d48900 kernel: bump 5.15 to 5.15.25 (#8929) 2022-02-24 17:55:56 +08:00
AmadeusGhost
2788b735c3 rockchip: add basic kernel 5.15 support 2022-02-24 11:24:27 +08:00
AmadeusGhost
9eb5e1cd47 mtk-eip93: drop local source code 2022-02-24 11:21:35 +08:00
AmadeusGhost
888d463137 gitignore: sync upstream source 2022-02-24 11:20:06 +08:00
Chen Minqiang
29d4ee71ed ramips: 5.10: ralink-eth support mt7621
Fixes: #8925

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2022-02-24 11:18:18 +08:00
Petr Štetiar
9c7d8a7542 wolfssl: fix API breakage of SSL_get_verify_result
Backport fix for API breakage of SSL_get_verify_result() introduced in
v5.1.1-stable.  In v4.8.1-stable SSL_get_verify_result() used to return
X509_V_OK when used on LE powered sites or other sites utilizing
relaxed/alternative cert chain validation feature. After an update to
v5.1.1-stable that API calls started returning X509_V_ERR_INVALID_CA
error and thus rendered all such connection attempts imposible:

 $ docker run -it openwrt/rootfs:x86_64-21.02.2 sh -c "wget https://letsencrypt.org"
 Downloading 'https://letsencrypt.org'
 Connecting to 18.159.128.50:443
 Connection error: Invalid SSL certificate

Fixes: #9283
References: https://github.com/wolfSSL/wolfssl/issues/4879
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-02-23 16:46:15 +00:00
Eneas U de Queiroz
21b2b731f6 scripts/diffconfig.sh: ensure config/conf is built
diffconfig.sh runs ./scripts/config/conf, but it does not get built
with 'make {menu,x,n}config.  Call 'make ./scripts/config/conf' to
ensure it's been built befpre running it.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-02-22 16:28:31 +00:00
Eneas U de Queiroz
9d77bd7666 openssl: configure engines with uci
This uses uci to configure engines, by generating a list of enabled
engines in /var/etc/ssl/engines.cnf from engines configured in
/etc/config/openssl:

    config engine 'devcrypto'
            option enabled '1'

Currently the only options implemented are 'enabled', which defaults to
true and enables the named engine, and the 'force' option, that enables
the engine even if the init script thinks the engine does not exist.

The existence test is to check for either a configuration file
/etc/ssl/engines.cnf.d/%ENGINE%.cnf, or a shared object file
/usr/lib/engines-1.1/%ENGINE%.so.

The engine list is generated by an init script which is set to run after
'log' because it informs the engines being enabled or skipped.  It
should run before any service using OpenSSL as the crypto library,
otherwise the service will not use any engine.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-02-22 16:28:15 +00:00
Eneas U de Queiroz
f0c39b86ed openssl: configure engine packages during install
This enables an engine during its package's installation, by adding it
to the engines list in /etc/ssl/engines.cnf.d/engines.cnf.

The engine build system was reworked, with the addition of an engine.mk
file that groups some of the engine packages' definitions, and could be
used by out of tree engines as well.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-02-22 16:28:15 +00:00
Eneas U de Queiroz
05c6de1e57 openssl: config engines in /etc/ssl/engines.cnf.d
This changes the configuration of engines from the global openssl.cnf to
files in the /etc/ssl/engines.cnf.d directory.  The engines.cnf file has
the list of enabled engines, while each engine has its own configuration
file installed under /etc/ssl/engines.cnf.d.

Patches were refreshed with --zero-commit.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-02-22 16:28:15 +00:00
Rosen Penev
01aef11d13 ksmbd: add out-of-tree module
ksmbd is an upstream linux alternative to Samba which is lighterweight
and more performant, especially on underpowered devices.

Moving it here from the packages feed as it is now an upstream kernel
module. Also easier to update as version updates can be coordinated better

The next LTS kernel (5.15) has this included. A depend on kernel < 5.15
will need to be added later.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-02-20 16:15:52 +00:00
Rosen Penev
00770ec576 linux/modules: split up oid_registry
This will be needed by ksmbd in a following commit.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-02-20 16:15:27 +00:00
Rosen Penev
b43fc18ec0 target/linux: add help text to kernel config
These options will be used for ksmbd. Once kernel 5.15
makes it in, this patch can go away.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-02-20 15:54:23 +00:00
Ross Shen
e2df1a2d9b add dnsmasq-filter-aaaa+https+unknown.patch (#8909)
1. patch for dnsmasq-2.86 based on https://github.com/rozahp/dnsmasq
2. compatible with mini-ttl.patch
2022-02-20 16:04:59 +08:00
ricksuzade-maker
b4a6d7f974 kernel: fix kmod-usb-net-smsc95xx deppends (#8912) 2022-02-20 12:00:11 +08:00
lean
2cef640d52 ipq807x: nss overclock to 1.7Ghz 2022-02-19 09:59:00 +08:00
lean
5018cf2c17 ipq807x: fix AQR PHY patches API 2022-02-19 09:39:58 +08:00
lean
0862f3d2be ipq807x: add support for Aquantia AQR113C 2022-02-19 02:06:22 +08:00
lean
e4b3e57456 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-02-19 00:49:25 +08:00
lean
17a3111035 ipq807x: add uboot-envtools 2022-02-19 00:49:17 +08:00
Helmi Amirudin
a45b0fa8a0 kmod-drm-vc4: fix drm-vc4 depends (#8902)
Co-authored-by: W_Y_CPP <383152993@qq.com>
2022-02-18 21:32:59 +08:00
AmadeusGhost
87f4435271 ipq807x: zte mf269: repair usb not working
However, this type-c port is usb2.0.

Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2022-02-18 21:00:43 +08:00
AmadeusGhost
5fa050c878 ipq60xx: remove simple copy from ipq807x target
The target is in an incomplete state and will not receive
kernel 5.10 support, please wait for support on the 5.15.
2022-02-18 20:51:58 +08:00
AmadeusGhost
03f90cdbd7 generic: 5.15: add missing kernel config
Found when compiling rockchip target 5.15 kernel.
2022-02-18 20:24:43 +08:00
lean
3e0c58146d Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-02-18 12:17:29 +08:00
lean
06fcdca1bb kernel:fix komd-mmc-spi build with kernel 5.15 2022-02-18 12:17:18 +08:00
google-you-ok?
2b9548669a rockchip:Fix doornet2 device tree (#8897)
* Rockchip:Fix dtsi of doornet2

phy:
Modify phy timing;The manufacturer's board requires two timing modes: 125m and 25m ---stmmac_mdio.c  stmmac_main.c
Among them, stmmac_main.c is added with 1.5 reset, and the compilation of other devices is not affected
emmc:
In emmc hs400 mode, the performance test effect is the same as hs200, so it is safer to reduce hs200

* Rockchip:Add doornet2 to overclock to 2.2GHz/1.8GHz

* Create 105-rockchip-rk3399-Add-support-for-EmbedFire-DoorNet2.patch

Modify the startup method: SD starts first, which is convenient for saving bricks. If there is no system in SD, it will automatically jump to the next emmc boot

* Update with kernel 5.4

* Update 992-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-NanoPi4.patch
2022-02-18 11:45:13 +08:00
lean
c1e11cd718 fullconenat: fix avoid replacing existing notifier on 5.15 2022-02-17 23:24:55 +08:00
lean
1ddc25f6f0 fullconenat: fix package hash 2022-02-17 23:20:12 +08:00
lean
a30eae452e ipq806x: enable NSS Multicast Snooping Support 2022-02-16 17:39:01 +08:00
lean
74583a01e0 Revert "qca-nss-ecm: add support for macvlan interface acceleration"
This reverts commit 29c93682aa.
2022-02-16 17:25:45 +08:00
lean
29c93682aa qca-nss-ecm: add support for macvlan interface acceleration 2022-02-16 14:41:12 +08:00
lean
7da518b715 qca-nss-ecm: add qca-mcs support 2022-02-16 14:38:19 +08:00
lean
46d220669a qca-mcs: add support for QCA NSS multicast snooping driver 2022-02-16 14:33:49 +08:00
lean
9604aa4723 mac80211: agg-tx: refactor sending addba 2022-02-16 13:50:00 +08:00
lean
c73ec736a9 kernel:fix kmod-vfio-mdev build with kernel 5.15 2022-02-16 13:48:26 +08:00
lean
d99d23d0ae Revert "feeds: use git-src-full to allow Git versioning"
This reverts commit 0bae9cf0e1.
2022-02-16 13:47:04 +08:00
Beginner
cc9ce1dbb5 package/lean: move to luci feeds (#8882) 2022-02-15 21:37:40 +08:00
Paul Spooren
0bae9cf0e1 feeds: use git-src-full to allow Git versioning
Both $(AUTORELEASE) and $(PKG_SRC_VERSION) (from luci.git) use the Git
log to determine releases and package timestamps.

Feeds are shallow cloned by default, resulting in an incomplete Git log
and therefore different local package versions than offered upstream.

This commits sets the default feeds to use `src-git-full` to solve that.

Add fixes from "2b1d92f: scripts/feeds: silence git warning by selecting
pull style" to `src-git-full`

Signed-off-by: Paul Spooren <mail@aparcar.org>
2022-02-15 08:34:08 +00:00
ricksuzade-maker
cac4857b21 kernel: fix kmod-phylink missing depends (#8885)
Co-authored-by: W_Y_CPP <383152993@qq.com>
2022-02-15 16:17:55 +08:00
Rafał Miłecki
d1dc1cdb12 dtc: support printing binary data with fdtget
It's needed for extracting binary images.

Cc: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-02-14 19:16:01 +00:00
Rafał Miłecki
8fd61d6e01 dtc: import package for dtc & fdt from packages feed
fdt* utils are needed by targets that use U-Boot FIT images for
sysupgrade. It includes all recent BCM4908 SoC routers as Broadcom
switched from CFE to U-Boot.

fdtget is required for extracting images (bootfs & rootfs) from
Broadcom's ITB. Extracted images can be then flashed to UBI volumes.

sysupgrade is core functionality so it needs dtc as part of base code
base.

Cc: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-02-14 19:15:19 +00:00
lean
db70aeede7 dnsmasq: fix a lot of domains to a single ipset option crashes dnsmasq 2022-02-14 14:02:29 +08:00
lean
42e5e0dff8 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-02-14 12:57:28 +08:00
lean
2805c232c0 kernel:fix komd-drm missing files 2022-02-14 12:57:21 +08:00
Beginner
f03efb5e0a csstidy: update to latest Git HEAD (#8871)
Co-authored-by: Jo-Philipp Wich <jo@mein.io>
2022-02-14 12:41:09 +08:00
AmadeusGhost
8f6139bf16 package/lean: move to package feeds (#8872) 2022-02-14 00:25:55 +08:00
Beginner
d8a93f2311 qBittorrent-static: cleanup makefile 2022-02-13 15:56:41 +08:00
Beginner
14b53f3e79 qttools: cleanup makefile 2022-02-13 15:55:08 +08:00
Beginner
b17a9e83ad uugamebooster: cleanup makefile 2022-02-13 15:51:41 +08:00
Beginner
a5d2dcab5a verysync: cleanup makefile 2022-02-13 15:47:46 +08:00
Beginner
de1de1b55e aliyundrive-webdav: fix typo error 2022-02-13 15:43:34 +08:00
Beginner
edc9e5d733 ddns-scripts_aliyun: cleanup makefile 2022-02-13 15:40:30 +08:00
Beginner
330392e0a7 ddns-scripts_dnspod: cleanup makefile 2022-02-13 15:30:23 +08:00
Beginner
a73ad80ea1 frp: fix typo error 2022-02-13 15:16:45 +08:00
Beginner
9629865c68 k3wifi: cleanup makefile 2022-02-13 15:14:06 +08:00
Beginner
eab899f8bc adbyby: cleanup makefile 2022-02-13 15:05:26 +08:00
Beginner
b6f156d607 dsmboot: cleanup makefile 2022-02-13 15:01:50 +08:00
Beginner-Go
cb9cbed4a7 Revert "kernel: add a fast path for the bridge code"
This reverts commit c9039bd28a.
2022-02-13 05:20:25 +00:00
Felix Fietkau
c9039bd28a kernel: add a fast path for the bridge code
This caches flows between MAC addresses on separate ports, including their VLAN
in order to bypass the normal bridge forwarding code.
In my test on MT7622, this reduces LAN->WLAN bridging CPU usage by 6-10%,
potentially even more on weaker platforms

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-02-13 05:15:57 +00:00
Hauke Mehrtens
b1279a744a tcpdump: Fix CVE-2018-16301
This fixes the following security problem:
The command-line argument parser in tcpdump before 4.99.0 has a buffer
overflow in tcpdump.c:read_infile(). To trigger this vulnerability the
attacker needs to create a 4GB file on the local filesystem and to
specify the file name as the value of the -F command-line argument of
tcpdump.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-02-13 05:07:55 +00:00
Jo-Philipp Wich
e3e5dfc2bd ucode: update to latest Git HEAD
a29bad9 compiler: fix patchlist corruption on switch statement syntax errors
86f0662 lib: change `ord()` to always return single byte value
116a8ce vallist: fix storing/retrieving short strings with 8bit byte value

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-02-13 05:06:49 +00:00
Beginner
0b6c2504a7 aliyundrive-webdav: update to 1.2.3 (#8870)
Co-authored-by: messense <messense@icloud.com>
2022-02-12 23:31:56 +08:00
Beginner
a5d8e2ab20 luci-app-frps: fix log option (#8868)
Co-authored-by: W_Y_CPP <34025388+WYC-2020@users.noreply.github.com>
2022-02-12 20:45:23 +08:00
lean
181b4de02d x86: add support for NVIDIA Cuda Video Cards DRM 2022-02-12 20:38:22 +08:00
lean
8ed8283ef0 x86: add kmod-drm-i915 2022-02-12 20:34:48 +08:00
lean
70e33824b9 x86: improve Intel gen 11/12th GPU i915 and GVT-g capability 2022-02-12 20:29:20 +08:00
lean
70185ec7ba fullconenat: fix range_size calculation 2022-02-12 20:16:56 +08:00
lean
49d5063ee3 ipq60xx: add WF HR6001 support 2022-02-12 19:41:23 +08:00
aakkll
adab80e656 toolchain/glibc: sync upstream (#8866)
* glibc: update to latest 2.33 HEAD (bug 28011)

b5711025bc x86_64: Remove unneeded static PIE check for undefined weak diagnostic
edfd11197e wordexp: handle overflow in positional parameter number (bug 28011)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

* glibc: update to latest 2.33 HEAD (bug 28213)

9b01145592 MIPS: Setup errno for {f,l,}xstat
9c676ef514 RISC-V: Update rv64 ULPs
c6cadbf83a linux: Remove shmmax check from tst-sysvshm-linux
22d37364ae librt: add test (bug 28213)
27a78fd712 librt: fix NULL pointer dereference (bug 28213)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

* toolchain: glibc: Update to version 2.34

glibc version 2.34 does not provide versioned shared libraries any more,
it only provides shared libraries using the ABI version. Do not try to
copy them any more.

The functions from libpthread and librt were integrated into the main
binary, the libpthread.so and librt.so are only used for backwards
compatibility any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* toolchain: glibc: Increase minimum kernel version to 5.4

Increase the minimum kernel version needed by the glibc compiled for
OpenWrt to version 5.4. With this setting the glibc build will remove
all code needed to support older kernel versions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* toolchain: glibc: Enable --enable-bind-now

Enable --enable-bind-now when CONFIG_PKG_RELRO_FULL is set. This option
is activated by default. This will enable full RELRO protection.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* glibc: update to 2.34 HEAD

72123e1b56 NEWS: Add a bug entry for BZ #28755
08beb3a3f4 x86: Fix __wcsncmp_evex in strcmp-evex.S [BZ# 28755]
b50d5b746c x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]
1b9cd6a721 NEWS: add bug entry for BZ #28769 and BZ #28770
3438bbca90 Linux: Detect user namespace support in io/tst-getcwd-smallbuff
d084965adc realpath: Avoid overwriting preexisting error (CVE-2021-3998)
472e799a5f getcwd: Set errno to ERANGE for size == 1 (CVE-2021-3999)
8c8a71c85f tst-realpath-toolong: Fix hurd build
f7a79879c0 realpath: Set errno to ENAMETOOLONG for result larger than PATH_MAX [BZ #28770]
73c362840c stdlib: Fix formatting of tests list in Makefile
269eb9d930 stdlib: Sort tests in Makefile
062ff490c1 support: Add helpers to create paths longer than PATH_MAX
82b1acd9de powerpc: Fix unrecognized instruction errors with recent binutils
1d401d1fcc x86: use default cache size if it cannot be determined [BZ #28784]
6890b8a3ae CVE-2022-23218: Buffer overflow in sunrpc svcunix_create (bug 28768)
1081f1d3dd sunrpc: Test case for clnt_create "unix" buffer overflow (bug 22542)
7b5d433fd0 CVE-2022-23219: Buffer overflow in sunrpc clnt_create for "unix" (bug 22542)
5575daae50 socket: Add the __sockaddr_un_set function
03e6e02e6a Disable debuginfod in printer tests [BZ #28757]
705f1e4606 Update syscall lists for Linux 5.16
2fe2af88ab i386: Remove broken CAN_USE_REGISTER_ASM_EBP (bug 28771)
73558ffe84 Update syscall lists for Linux 5.15
e64235ff42 powerpc: Fix unrecognized instruction errors with recent GCC

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

* toolchain: glibc: Remove patch for ARC700

The ARC700 target was renoved, this patch is not needed any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Hans Dedecker <dedeckeh@gmail.com>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-02-12 12:41:46 +08:00
aakkll
f814c21b11 kernel: bump 5.15 to 5.15.23 (#8863)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-02-12 12:35:15 +08:00
aakkll
e1d837d773 bcm27xx: refresh patches (#8865) 2022-02-12 12:35:03 +08:00
aakkll
259dcdbfea toolchain: binutils: add support for version 2.38 (#8864)
While at it, also fix the download.xs4all.nl and add ftp.gnu.org to the GNU
mirrors, as it seems to be updated faster.

Deleted (upstreamed):
600-Close_the_file_descriptor.patch [1]

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=5a98fb7513b559e20dfebdbaa2a471afda3b4742

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-02-12 12:34:51 +08:00
Beginner
447f665f63 kernel: bump 5.10 to 5.10.100 (#8867)
* kernel: bump 5.10 to 5.10.99

Had to update generic defconfig (make kernel_menuconfig CONFIG_TARGET=generic)
for this bump, but since that only modifies the target defined in .config,
and since that target also needed to be updated for unrelated reasons, manually
propagated the newly added symbol to the generic config.

Removed upstreamed:
    pending-5.10/860-Revert-ASoC-mediatek-Check-for-error-clk-pointer.patch[1]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.99&id=080f371d984e8039c66db87f3c54804b0d172329

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.10 to 5.10.100

All patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-02-12 12:34:14 +08:00
AmadeusGhost
aafe115cda ipq806x: add support for SURF G-NAT200 (#8810)
Hardware specs:
  SoC: Qualcomm IPQ8064
  RAM: 1GB DDR3
  SPI: 32MB S25FL256S
  NAND: 512MB S34MS04G2 (unused)
  Ethernet: 5x 10/100/1000 Mbps QCA8337
  LED: internet, usb, sata
  Button: Reset
  USB: 1 x 3.0

Installation:
  Interrupt U-Boot, tftpboot initramfs image,
  than sysupgrade to openwrt.

Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2022-02-11 15:07:09 +08:00
Beginner
f266a8a3cb baidupcs-web: bump to latest git HEAD (#8858) 2022-02-11 15:06:46 +08:00
Beginner
4372b6e1e1 kernel: add miss console config for kernel 5.15 (#8859)
Co-authored-by: W_Y_CPP <383152993@qq.com>
2022-02-11 15:06:35 +08:00
Beginner
5384d96c50 ucode: update to latest Git HEAD (#8849)
a317c17 compiler: fix incorrect loop break targets

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

Co-authored-by: Jo-Philipp Wich <jo@mein.io>
2022-02-09 23:51:50 +08:00
Beginner
a55219d051 bcm27xx: remove obsolete patches (#8851)
Co-authored-by: W_Y_CPP <383152993@qq.com>
2022-02-09 23:51:13 +08:00
lean
b411b69a1d Version update to R22.2.2 2022-02-09 23:50:37 +08:00
lean
8b97425415 grub: x86 efi add search module for better find boot partition on multiple disk 2022-02-09 21:32:14 +08:00
Beginner
52d4ac36ef luci-app-frpc: fix not save config (#8839)
Co-authored-by: W_Y_CPP <383152993@qq.com>
2022-02-09 09:36:37 +08:00
Beginner
57f538e8c5 luci-app-openvpn-server: fix not start (#8840)
Co-authored-by: W_Y_CPP <383152993@qq.com>
2022-02-09 09:36:18 +08:00
Beginner
2e4d21137f kernel: bump 5.15 to 5.15.22 (#8844) 2022-02-09 09:35:40 +08:00
Beginner
e8fc0b0c21 ucode: update to latest Git HEAD (#8838)
* ucode: update to latest Git HEAD

929c862 vm: fix toplevel function call protocol
8f34d70 fs: fix chown() and rename() error return values
03ca445 tests: disable fuzz tests for now
3b1be3d types: mark further GC roots
d49af4e types: fix comparison of differently signed integers
c79ff39 types: handle conversion errors when dealing with negative error indexes
3315b1f types: allow negative array indexes
d5b25f9 treewide: harmonize function naming
cc4ce8d module: remove unused defines
f5d7526 examples: add libucode usage examples
559eff2 types, vm: adjust GC api
e5e7e62 treewide: move header files into dedicated directory
ff6168a build: install header files
7e6ce0f main: introduce new flag `-x` to allow disabling specific functions
b1817b3 vm: fix invalid memory access on GC'ing uninitialized VM context
498fe87 main: refactor option parsing and VM setup
ff52440 treewide: consolidate typedef naming
1d60418 vm: add API to control trace mode
48f33ad vm: make root exception handler configurable
0f69f09 vm: fix invalid memory access on toplevel function calls
6bcc318 vm: fix handling exceptions in top-level function calls
4ae0568 lib, vm: reimplement exit() as exception type
2f77657 vm: extend API to allow returning result value from VM execution
111645a vm: remove module preloading logic
38ff6de main: preload modules ourselves
d5bc223 vm: add uc_vm_invoke() helper
ef0baf1 vm: cosmetic fix for outputting exceptions without source context
b11a2fa vm: move global scope allocation into uc_vm_init()
900b2a3 vm: add getter and setter for vm globals scope
0179576 lib: rename uc_add_proto_functions() to uc_add_functions()
98b9c84 lib: expose stdlib function array
1adfba0 treewide: eliminate dead code and unused functions
3974e71 treewide: replace a number of unnecessary type casts
bf85226 treewide: move ressource type registry into vm instance
e2b3d2e build: split into libucode and ucode cli
dad8f3a types: properly deal with circular data in GC mark phase
62dbd64 lexer: rename UT_ prefixed constants to UC_
bc8e465 types: fix wrong assert() on tearing down object trees
853b9f1 vm: fix potential invalid memory access in uc_vm_get_error_context()
6f05cdd lib: fix refcount imbalance in uc_require_path()
96f140b lib, vm: ensure that require() compiles modules only once
df5db5f compiler: don't segfault on invalid declaration expressions
a97c7a1 lexer: transition into EOF state on unrecognized character
2a838d1 compiler: improve mapping of binary operator tokens to instructions
9872f65 vm: add support for I_LE and I_GE instructions
4e410c3 treewide: let uc_cmp() use instruction instead of token numbers
ce6081d lexer, vm: reorder token and instruction numbers
234a4f6 lib: implement b64enc() and b64dec() functions
856a0c0 lib: only consider context of calling function for callbacks
86fb130 lib: implement min() and max() functions
3e893e6 lib: pass-through "this" context to library function callbacks
42de7ab lib: implement `sourcepath()` function
05c80a7 lib: fix negative uc_index() return value on 32bit systems
9874562 lexer: implement raw code mode
3b665c8 lexer: drop value union from keyword table
44354cf lexer, compiler: separate TK_BOOL token into TK_TRUE and TK_FALSE tokens
5879bdf syntax: drop Infinity and NaN keywords
d4edadc lib: rename uc_lib_init() to uc_load_stdlib()
d81bad7 main, lib: move allocation of globals object into lib function
c4f4b38 main: simplify REQUIRE_SEARCH_PATH initialization
54ca3aa types: fix uninitialized memory on setting non-contiguous array indexes
cbc0d78 build: let require search patch default to CMAKE_INSTALL_PREFIX
5714705 syntax: introduce `const` support
ed32c42 compiler, lexer: add NO_LEGACY define to disable legacy syntax features
ff6811f syntax: implement `delete` as proper operator
5803d86 lib: implement wildcard() function
dfb7379 fs: implement chmod(), chown(), rename() and glob() functions
1ddf5b6 lexer: skip interpreter line in any source buffer
9951a00 build: lower minimum required CMake version to v3.13
7b81ab2 main: expose argv as global ARGV array to ucode scripts
7283a70 tests: rename misnamed testcases for consistency
3f80116 compiler: fix local for-loop initializer variable declarations
f20b56f compiler: properly parse slashes in parenthesized division expressions
5c4e1ea lib: implement regexp(), a function to construct regexp instances at runtime
e546bba lib: implement render(), an include variant capturing output in a string
0cb10c6 vm: implement mechanism to change output file descriptor
eb8a64d lib: fix uc_sort()
f1ffc9f vm: truncate long values after 60 chars in trace output
850612f compiler: properly handle break/continue in nested scopes
f0a9875 compiler: properly handle keyword in parenthesized property access expression
1660433 compiler: fix stack mismatch on compiling `use strict` statements
a36e0df syntax: implement support for 'use strict' pragma
827a34a vm, compiler: get rid of unused struct members
594cdf3 lib: implement assert()
c4d1648 lib: add support for pretty printing JSON to printf() and sprintf()
f2eaea3 lib: gracefully handle truncated format strings in uc_printf_common()
02629b8 lexer: fix infinite loop on parsing unterminated comments
2bc9bac lexer: fix infinite loop on parsing unterminated expression blocks
f73e201 lexer: fix infinite loop when parsing regexp literal at EOF
86b4863 compiler: fix segfault on parsing invalid pre/post increment expressions
0e24509 lib: fix reporting source context lines at EOF
e66b2ad compiler, lexer: improve lexical state handling
e29b574 lib: fix uc_split() quirks
64eec7f treewide: ISO C / pedantic compliance
4af803d build: output error messages on test failures
9ef693e vm: improve context for early errors
6def9fc tests: pass ucode library path through environment
d5dd183 treewide: address various sign-compare warnings
28825ac types: support creating ressource values without associated type
9c5106a types: fix potential memory leaks and null pointer accesses
c51934a types: fix potential leak of key in ucv_object_add()
7b28727 main: fix ineffective EOF check in parse()
4cf897c lib: uc_system(): fix invalid free() of non-heap memory
35af4ba treewide: rework internal data type system
f2c4b79 treewide: fix issues reported by clang code analyzer
93ededb tests: allow executing run_tests.sh from any directory
0e4a387 Add initial GitLab and GitHub CI support
df73b25 tests: add more tests
41d33d0 tests: custom: return exit code if tests fails
1c548a6 cmake: do not output binaries into lib directory
2b59097 tests: create custom tests from current tests cases
8039361 main: provide just binary name in help output
778e4f7 lexer: fix incomplete struct initializers
502ecdc cmake: enable extra compiler checks
3c2aeff cmake: fix includes and libraries
617a114 cmake: make 3.0 minimum version
f360350 lib: implement sleep(ms) function
7f0ff91 lib: allow parsing non-array, non-object value in json()

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

* ucode: update to latest Git HEAD

0f022aa lib: increase refcount when returning cached module instance
c9e68bb lib: introduce resolver library
9041e24 lib: fix uninitialized memory access on handling %J string formats
4ee06d8 syntax: introduce optional chaining operators
ce4a7d9 vm: reset callframes before invoking unhandled exception handler
218e822 vm: clear exception information before calling managed code functions
5b908bd ubus: properly handle signed 64bit values too
e43b751 ubus: fix handling signed 16bit and 32bit integers
137428f nl80211: fix issues spotted by static code analyzer
b9d4f61 nl80211: treat signal attr values as signed integers
9a7c355 nl80211: expose sta_info attributes
bb358d9 lib: introduce Linux 802.11 netlink binding
914f54c types: fix invalid memory access on setting non-contiguous array indexes
631f00d main: fix leaking module name when processing -m flag
e55188b compiler: properly handle jumps to offset 0
98c4147 tests: support specifying cmdline args in testcase files
64e4f68 types: fix formatting escape sequences for 8 bit chars
dd86e1d rtnl: automatically derive message family from certain address attrs
74fdb97 rtnl: expose IPv4 and IPv6 devconfig information
7fa1008 rtnl: allow reply nla payloads to be smaller than headsize
cbae3cb lib: introduce Linux route netlink binding
e6dd389 ci: adjust build prereqs for GitHub as well
07ae165 ci: add libnl-tiny to prereqs

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

* ucode: add temporary fix for integer formatting on 32bit systems

The ucode VM always passes 64bit integer values to sprintf implementation
while the `%d` format expects 32bit integers on 32bit platforms, leading
to incorrect formatting results.

Temporarily solve the issue by casting the numeric argument to int until
a more thorough fix arrives with the next update.

Fixes: FS#4234
Signed-off-by: Jo-Philipp Wich <jo@mein.io>

* ucode: update to latest Git HEAD

c6dae42 LICENSE: add ISC license file
402f603 lib: introduce struct library
dcb6ffd struct: fix PowerPC specific compiler pragma name
a0512ea treewide: fix typo in exported function names and types
eaaaf88 nl80211: fix wiphy dump reply merge logic
e6efadb fs: add utility functions
54ef6c0 nl80211: fix premature netlink reply receive abort
07802f3 syntax: disallow keywords in object property shorthand notation
3489b75 vm: support object property access on resource value types
dc8027c types: consider resource prototypes when marking reachable objects
5680fab treewide: fix upvalue reference type name
0d29b25 treewide: fix "resource" misspellings
99fdafd vm: introduce value registry
66f7c00 ubus: add support for async requests
5c77dd5 fs: implement fdopen(), file.fileno() and proc.fileno()
b605dbf treewide: rework numeric value handling
599d233 vallist: store double values in a platform neutral manner
5bb9ab7 struct: reuse double packing routines from core
2fd7ab5 vm: optimize string concatenation
eafa321 lib: implement uniq() function
6b2e79a types: add initial infrastructure for function serialization
725bb75 compiler, vm: use a program wide constant list
6c2caf9 source: refactor source file handling
371ba45 program: implement support for precompiling source files
3578afe build: support building without compile capabilities
61d0a34 lib: replace usages of vasprintf() with xvasprintf()
03b6a8e syntax: drop legacy syntax support
01132db lib: fix %J string formats with precision specifier
3f44c42 lib: rework format string handling
a1b3c5d struct: implement `*` format, fix invalid memory accesses
34a04a2 run_tests.sh: fix exitcode evaluation
abe38e7 run_tests.sh: add ability to define environment variables for testcases
04fa2ba tests: reorganize testcase files
6a55d10 lib: fix exists() error return value
aa860a3 vm: fix `null` loose equality/inequality checks
3f6d199 vallist: uc_number_parse(): parse empty strings as `0`, not `NaN`
ddc5aa7 vm: fix NaN strict equality tests

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

* ucode: update to latest Git HEAD

11adf0c source: convert source objects into proper uc_value_t type
3a49192 treewide: rework function memory model
7edad5c tests: add functional tests for builtin functions
d5003fd lib: fix leaking tokener in uc_json() on parse exception
5d0ecd9 lib: fix infinite loop on empty regexp matches in uc_replace()
3ad57f1 lib: fix infinite loop on empty regexp matches in uc_match()
32d596d lib: fix infinite loop on empty regexp matches in uc_split()
3e3f38d vm: ensure consistent trace output between gcc and clang compiled ucode
3600ded vm: fix leaking function value on call exception
3059295 vm: NULL-initialize pointer to make cppcheck happy
98e59bf source: zero-initialize conversion union to make cppcheck happy
7a65c14 run_tests.sh: change workdir to testcase directory during execution
afec8d7 run_tests.sh: support placing supplemental testcase files
3ada6e0 run_tests.sh: always treat outputs as text data
2cb627f program: rename bytecode load/write functions, track path of executed file
1094ffa lib: fix memory leak in uc_require_ucode()

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

Co-authored-by: Jo-Philipp Wich <jo@mein.io>
2022-02-09 09:35:05 +08:00
Beginner
0baa3ca219 uhttpd: update to latest Git HEAD (#8832)
* uhttpd: make organization (O=) of the cert configurable via uci

Make the organization (O=) of the cert configurable via uci. If not
configured, use a combination of "OpenWrt" and an unique id like it was
done before.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>

* uhttpd: add config option for json_script

Add a config option for json_script instead of unconditionally including
all json files in /etc/uhttpd in every uhttpd instance. This makes it
possible to configure a single instance with an unconditional redirect,
which currently renders all other uhttpd instances unusable.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Felix Fietkau <nbd@nbd.name>

* uhttpd: update to latest Git HEAD

2f8b136 main: fix leaking -p/-s argument values
881fd3b ucode: adjust to latest ucode api
8b2868e file: specify UTF-8 as charset for dirlists, add option to override
3a5bd84 main: add ucode options to help text
16aa142 examples: add ucode handler example
3ceccd0 ucode: add ucode plugin support
f0f1406 examples: add example Lua handler script
9e87095 listen: avoid invalid memory access

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

Co-authored-by: Martin Schiller <ms@dev.tdt.de>
Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
Co-authored-by: Jo-Philipp Wich <jo@mein.io>
2022-02-08 12:32:05 +08:00
aakkll
1d4d8f5889 kernel: bump 5.15 to 5.15.21 (#8830)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-02-08 12:31:24 +08:00
aakkll
609f4c8ed7 kernel: bump 5.10 to 5.10.98 (#8835)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-02-08 12:30:22 +08:00
Beginner
ddb8d35652 e2fsprogs: Update to version 1.46.5 (#8816)
The sizes of the ipk changed on MIPS 24Kc like this:
  8788 badblocks_1.45.6-2_mips_24kc.ipk
  8861 badblocks_1.46.5-1_mips_24kc.ipk

  3652 chattr_1.45.6-2_mips_24kc.ipk
  3657 chattr_1.46.5-1_mips_24kc.ipk

 58128 debugfs_1.45.6-2_mips_24kc.ipk
 60279 debugfs_1.46.5-1_mips_24kc.ipk

  8551 dumpe2fs_1.45.6-2_mips_24kc.ipk
  8567 dumpe2fs_1.46.5-1_mips_24kc.ipk

  4797 e2freefrag_1.45.6-2_mips_24kc.ipk
  4791 e2freefrag_1.46.5-1_mips_24kc.ipk

159790 e2fsprogs_1.45.6-2_mips_24kc.ipk
168212 e2fsprogs_1.46.5-1_mips_24kc.ipk

  7083 e4crypt_1.45.6-2_mips_24kc.ipk
  7134 e4crypt_1.46.5-1_mips_24kc.ipk

  5749 filefrag_1.45.6-2_mips_24kc.ipk
  6233 filefrag_1.46.5-1_mips_24kc.ipk

  4361 libcomerr0_1.45.6-2_mips_24kc.ipk
  4355 libcomerr0_1.46.5-1_mips_24kc.ipk

168040 libext2fs2_1.45.6-2_mips_24kc.ipk
174209 libext2fs2_1.46.5-1_mips_24kc.ipk

  8514 libss2_1.45.6-2_mips_24kc.ipk
  8613 libss2_1.46.5-1_mips_24kc.ipk

  3148 lsattr_1.45.6-2_mips_24kc.ipk
  3227 lsattr_1.46.5-1_mips_24kc.ipk

 22530 resize2fs_1.45.6-2_mips_24kc.ipk
 22909 resize2fs_1.46.5-1_mips_24kc.ipk

 33315 tune2fs_1.45.6-2_mips_24kc.ipk
 34511 tune2fs_1.46.5-1_mips_24kc.ipk

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-02-08 12:29:53 +08:00
Beginner
8bc3d58645 mbedtls: Update to version 2.16.12 (#8819)
This fixes the following security problems:
* Zeroize several intermediate variables used to calculate the expected
  value when verifying a MAC or AEAD tag. This hardens the library in
  case the value leaks through a memory disclosure vulnerability. For
  example, a memory disclosure vulnerability could have allowed a
  man-in-the-middle to inject fake ciphertext into a DTLS connection.
* Fix a double-free that happened after mbedtls_ssl_set_session() or
  mbedtls_ssl_get_session() failed with MBEDTLS_ERR_SSL_ALLOC_FAILED
  (out of memory). After that, calling mbedtls_ssl_session_free()
  and mbedtls_ssl_free() would cause an internal session buffer to
  be free()'d twice. CVE-2021-44732

The sizes of the ipk changed on MIPS 24Kc like this:
182454 libmbedtls12_2.16.11-2_mips_24kc.ipk
182742 libmbedtls12_2.16.12-1_mips_24kc.ipk

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-02-05 21:08:46 +08:00
Beginner
d99cf8e6dd ustream-ssl: update to Git version 2022-01-16 (#8826)
868fd88 ustream-openssl: wolfSSL: Add compatibility for wolfssl >= 5.0

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-02-05 21:08:30 +08:00
Beginner
b69728f07d wolfssl: update to 5.1.1-stable (#8817)
* libs/wolfssl: add SAN (Subject Alternative Name) support

x509v3 SAN extension is required to generate a certificate compatible with
chromium-based web browsers (version >58)

It can be disabled via unsetting CONFIG_WOLFSSL_ALT_NAMES

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>

* wolfssl: update to 5.1.1-stable

Bump from 4.8.1-stable to 5.1.1-stable

Detailed release notes: https://github.com/wolfSSL/wolfssl/releases

Upstreamed patches:
001-Maths-x86-asm-change-asm-snippets-to-get-compiling.patch -
 fa8f23284d
002-Update-macro-guard-on-SHA256-transform-call.patch -
 f447e4c1fa

Refreshed patches:
100-disable-hardening-check.patch
200-ecc-rng.patch

CFLAG -DWOLFSSL_ALT_CERT_CHAINS replaced to --enable-altcertchains
configure option

The size of the ipk changed on aarch64 like this:
491341 libwolfssl4.8.1.31258522_4.8.1-stable-7_aarch64_cortex-a53.ipk
520322 libwolfssl5.1.1.31258522_5.1.1-stable-1_aarch64_cortex-a53.ipk

Tested-by: Alozxy <alozxy@users.noreply.github.com>
Acked-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>

Co-authored-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-02-04 10:52:39 +08:00
Beginner
2f173fb366 aliyundrive-webdav: update to 1.2.1 (#8801)
Co-authored-by: messense <messense@icloud.com>
2022-02-03 01:50:45 +08:00
Beginner
601d2e00af ethtool: Update to version 5.16 (#8815)
795f420 cmis: Rename CMIS parsing functions
369b43a cmis: Initialize CMIS memory map
da16288 cmis: Use memory map during parsing
6acaeb9 cmis: Consolidate code between IOCTL and netlink paths
d7d15f7 sff-8636: Rename SFF-8636 parsing functions
4230597 sff-8636: Initialize SFF-8636 memory map
b74c040 sff-8636: Use memory map during parsing
799572f sff-8636: Consolidate code between IOCTL and netlink paths
9fdf45c sff-8079: Split SFF-8079 parsing function
2ccda25 netlink: eeprom: Export a function to request an EEPROM page
86792db cmis: Request specific pages for parsing in netlink path
6e2b32a sff-8636: Request specific pages for parsing in netlink path
c2170d4 sff-8079: Request specific pages for parsing in netlink path
9538f38 netlink: eeprom: Defer page requests to individual parsers
664586e Merge branch 'review/next/module-mem-map' into master
50fdaec ethtool: Set mask correctly for dumping advertised FEC modes
c5e7133 cable-test: Fix premature process termination
73091cd sff-8636: Use an SFF-8636 specific define for maximum number of channels
837c166 sff-common: Move OFFSET_TO_U16_PTR() to common header file
8658852 cmis: Initialize Page 02h in memory map
27b42a9 cmis: Initialize Banked Page 11h in memory map
340d88e cmis: Parse and print diagnostic information
eae6a99 cmis: Print Module State and Fault Cause
82012f2 cmis: Print Module-Level Controls
d7b1007 sff-8636: Print Power set and Power override bits
429f2fc Merge branch 'review/cmis-diag' into master
32457a9 monitor: do not show duplicate options in help text
c01963e Release version 5.16.

The sizes of the ipk changed on MIPS 24Kc like this:
34317 ethtool_5.15-1_mips_24kc.ipk
34311 ethtool_5.16-1_mips_24kc.ipk

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-02-03 01:50:17 +08:00
Beginner
a6e15d01e9 libcap: Update to version 2.63 (#8818)
The sizes of the ipk changed on MIPS 24Kc like this:
11248 libcap_2.51-1_mips_24kc.ipk
14461 libcap_2.63-1_mips_24kc.ipk

18864 libcap-bin_2.51-1_mips_24kc.ipk
20576 libcap-bin_2.63-1_mips_24kc.ipk

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-02-03 01:49:18 +08:00
Beginner
8b13dd239d kernel: bump 5.10 to 5.10.96 (#8813)
Patches automatically rebased.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-02-02 16:47:59 +08:00
Beginner
84f98a7f2f bcm63xx: Remove patch already in Linux stable (#8814)
Remove the 434-nand-brcmnand-fix-OOB-R-W-with-Hamming-ECC.patch, it was
already applied to Linux 5.10.37 and is not needed any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-02-02 16:47:41 +08:00
Beginner
253548a3ce kernel: bump 5.15 to 5.15.19 (#8811)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2022-02-02 12:01:36 +08:00
Beginner
308842ef19 shellsync: cleanup package (#8812)
Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2022-02-02 12:01:01 +08:00
likanchen
4d99aba7a6 fix missing depends for kmod-bnxt-en (#8808)
fix missing depends for kmod-bnxt-en
2022-02-01 18:30:08 +08:00
likanchen
87bf8ce506 fix missing depends for multimedia-input (#8809)
fix missing depends for multimedia-input
2022-02-01 18:29:49 +08:00
YanxingLiu
aca19312bf remove an already patched patch (#8806)
Co-authored-by: YanxingLiu <liuyanxing98@foxmail.com>
2022-02-01 10:50:41 +08:00
Beginner
a749bb4d11 firmware-utils: bump to git HEAD (#8804)
* firmware-utils: update to git HEAD of 2022-01-28

 6c95945 ptgen: add Chromium OS kernel partition support
 8e7274e cros-vbutil: add Chrome OS vboot kernel-signing utility

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* firmware-utils: bump to git HEAD

0c15cad iptime-naspkg: add image header tool for ipTIME NAS series
872c87c iptime-crc32: add image header tool for new ipTIME models

Signed-off-by: Sungbo Eo <mans0n@gorani.run>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
Co-authored-by: Sungbo Eo <mans0n@gorani.run>
2022-02-01 07:24:39 +08:00
Beginner
b7eec4a358 kernel: Fix compile warning (#8803)
This fixes the following compile warning:
  CC      init/do_mounts.o
init/do_mounts.c:478:19: warning: 'mount_ubi_rootfs' defined but not used [-Wunused-function]
  478 | static int __init mount_ubi_rootfs(void)
      |                   ^~~~~~~~~~~~~~~~

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-02-01 07:24:15 +08:00
Beginner
607edf0293 kernel: bump 5.15 to 5.15.18 (#8805)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2022-02-01 07:22:52 +08:00
Beginner
370188bfdd kernel: bump 5.10 to 5.10.95 (#8800)
Patches automatically rebased.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-02-01 07:22:40 +08:00
Beginner
91329fa107 kernel: bump 5.4 to 5.4.175 (#8799)
All patches automatically rebased.

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-02-01 07:22:27 +08:00
Chuanhong Guo
85a81556f9 kernel: 5.10: drop broken-flash-reset patch
Flash accessing instruction templates are determined during probe since
v5.6 for spimem-dirmap support in spi-nor driver in upstream commit:
df5c21002cf4 ("mtd: spi-nor: use spi-mem dirmap API")
As a result, changing bus_width on the fly doesn't work anymore and this
patch will cause executing spi-mem ops with 3-byte address on 16-32M
flash area.
We can't easily revert that behavioral change upstream so drop the patch
to prevent u-boot and eeprom from being erased.

Fixes: b10d604459("kernel: add linux 5.10 support")
Reported-by: Frank Di Matteo <dimatto@foxmail.com>
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2022-01-30 23:50:17 +08:00
Beginner
787da62e7f kernel: bump 5.15 to 5.15.17 (#8780)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-01-28 01:53:29 +08:00
Beginner
eb73efcd3f kernel: bump 5.10 to 5.10.94 (#8782)
Deleted (upstreamed):
bcm27xx/patches-5.10/950-0669-drm-vc4-hdmi-Make-sure-the-device-is-powered-with-CE.patch [1]
bcm27xx/patches-5.10/950-0672-drm-vc4-hdmi-Move-initial-register-read-after-pm_run.patch [1]
gemini/patches-5.10/0003-ARM-dts-gemini-NAS4220-B-fis-index-block-with-128-Ki.patch [2]

Manually rebased:
bcm27xx/patches-5.10/950-0675-drm-vc4-hdmi-Drop-devm-interrupt-handler-for-CEC-int.patch

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.94&id=55b10b88ac8654fc2f31518aa349a2e643b37f18
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.94&id=958a8819d41420d7a74ed922a09cacc0ba3a4218

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-01-28 01:53:17 +08:00
Beginner
2c0e1acdee kernel: bump 5.4 to 5.4.174 (#8783)
Removed upstreamed patches:
  layerscape/patches-5.4/302-dts-0083-arm64-ls1028a-qds-correct-bus-of-rtc.patch[1]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.4.174&id=65816c1034769e714edb70f59a33bc5472d9e55f

Build system: x86_64
Build-tested: ramips/mt7621

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-01-28 01:53:03 +08:00
fengying0347
94e7b85e4a rockchip: add support for Motorcomm YT8531(S) PHY
Fixes: #8719, #8763
2022-01-25 12:29:51 +08:00
zxlhhyccc
b535638922 luci-app-turboacc: Optimized the dns cache stop action (#8744)
The actual script dnscache-while.sh is still in the process after the DNS cache stops. This optimization completely stops the script and the DNS cache process
2022-01-23 21:42:41 +08:00
aakkll
0ce82c9f14 kernel: bump 5.4 to 5.4.173 (#8746) 2022-01-23 21:42:02 +08:00
Baka
8e073bfc85 bnx2x 2.5G SGMII patch (#8745)
bnx2x 2.5G SGMII patch for BCM5771x/578xx 10/20-Gigabit NIC
2022-01-23 21:41:52 +08:00
Beginner
43fd83c659 bcm27xx: remove patches (#8756)
fixed: https://github.com/coolsnowwolf/lede/issues/8755
2022-01-23 21:41:36 +08:00
Beginner
95f5440b13 kernel: bump 5.15 to 5.15.16 (#8737) 2022-01-21 11:14:25 +08:00
Beginner
a793de5142 kernel: bump 5.10 to 5.10.93 (#8738)
No patches required rebasing.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-01-21 11:14:10 +08:00
Hauke Mehrtens
798465a3a7 firmware-utils: update to latest master
d885b49 tplink-safeloader: support Archer C6v3.0 (BR)

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-01-19 18:40:16 +08:00
Matthias Schiffer
3899c2e5fe firmware-utils: update to latest master
84dbf8ee49f5 tplink-safeloader: fix Archer A7v5 factory flashing from vendor fw > v1.1.x

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2022-01-19 18:39:57 +08:00
Rafał Miłecki
bdcb92ba1c firmware-utils: bump to the latest master
56e8e19 otrx: support TRX from stdin when extracting
a37ccaf otrx: support unsorted partitions offsets
1fa145e otrx: extract shared code opening & parsing TRX format
0fbc135 oseama: support extracting entity to stdout
58c9d5d oseama: allow reading from stdin
4ecefda otrx: allow validating TRX from stdin
cf01e69 otrx: avoid unneeded fseek() when calculating CRC32
fa35379 tplink-safeloader: add EAP225 v1 support
f4d1263 build, cmake: switch OPENSSL_CRYPTO_LIBRARY -> OPENSSL_CRYPTO_LIBRARIES
cd3f6ee build, cmake: add quotes for FW_UTIL variable arguments

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-01-19 18:39:24 +08:00
Adrian Schmutzler
6f781ff142 firmware-utils: bump to latest git HEAD
7073760 ramips: add support for TP-Link RE305 v3
86739f2 Add more missing include for byte swap operations

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2022-01-19 18:38:31 +08:00
Beginner
ddb86302d0 kernel: bump 5.10 to 5.10.92 (#8714)
Patches automatically rebased.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-01-17 22:31:40 +08:00
Beginner
5053e5cdf6 bcm53xx: revert patches (#8717)
fixed: https://github.com/coolsnowwolf/lede/issues/8712
2022-01-17 22:31:27 +08:00
aakkll
7d5abea3bd k5.15.15 (#8709)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-01-17 06:32:24 +08:00
Beginner
4b5868756d kernel: bump 5.4 to 5.4.172 (#8711)
All patches automatically rebased.

Build system: x86_64
Build-tested: ramips/mt7621

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-01-17 06:31:25 +08:00
蛋炒饭
99821b115c qBittorrent: bump to v4.4.0 (#8702)
* qBittorrent: bump to v4.4.0
* qBittorrent-static: bump to v4.4.0_v1.2.15
2022-01-16 14:01:17 +08:00
lean
482845f0de Revert "luci-app-qbittorrent: change x64 default use dynamic build"
This reverts commit c5917936b1.
2022-01-16 09:58:05 +08:00
Beginner
522855254c kernel: bump 5.4 to 5.4.171 (#8697)
* kernel: bump 5.4 to 5.4.165

All patches automatically rebased.

Build system: x86_64
Build-tested: ramips/mt7621*

*FS#4149 affects me so I had to revert 7f1edbd41295dff9f2127b169fbc086c0fb2c14e
in order to downgrade to 2.35.1

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.4 to 5.4.166

All patches automatically rebased.

Build system: x86_64
Build-tested: ramips/mt7621*

*FS#4149 affects me so I had to revert 7f1edbd41295dff9f2127b169fbc086c0fb2c14e
in order to downgrade to 2.35.1

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.4 to 5.4.167

All patches automatically rebased.

Build system: x86_64
Build-tested: ramips/mt7621*

*FS#4149 affects me so I had to revert 7f1edbd41295dff9f2127b169fbc086c0fb2c14e
in order to downgrade to 2.35.1

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.4 to 5.4.169

All patches automatically rebased.

Build system: x86_64
Build-tested: ramips/mt7621*

*Had to revert 7f1edbd in order to build due to FS#4149

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.4 to 5.4.170

All patches automatically rebased.

Build system: x86_64
Build-tested: ramips/mt7621

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.4 to 5.4.171

All patches automatically rebased.

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-01-16 09:56:16 +08:00
lean
ada52a0ef8 Revert "kernel: add net-conntrack-events-support-multiple-registrant for 5.15"
This reverts commit a30c8b9436.
2022-01-15 13:54:10 +08:00
lean
a30c8b9436 kernel: add net-conntrack-events-support-multiple-registrant for 5.15 2022-01-15 11:18:23 +08:00
Beginner
72154bce76 kernel: split kernel version to dedicated files (#8692)
Move the kernel versions and hash to dedicated files.
This makes kernel bump quicker and fix some annoying
problem with rebasing when multiple kernel bump are proposed.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
[Rebased on top of current master]
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-01-15 10:40:27 +08:00
AmadeusGhost
1e5e01caf0 shortcut-fe-cm: fixes unknown symbol issues (#8460) 2022-01-14 18:47:14 +08:00
aakkll
47266d39f7 busybox: update to 1.35.0 (#8389)
* Revert "busybox: update to 1.33.2 bugfix release (#8386)"

This reverts commit a6f79ace50.

* busybox: fix compilation with GCC 10

When compiling busybox with GCC 10 and CONFIG_PKG_ASLR_PIE_ALL=y, there
are hundreds of errors like:

relocation R_MIPS16_26 against `xzalloc' cannot be used when making a
shared object; recompile with -fPIC

Simply solve this by no longer disabling PKG_ASLR_PIE, so that $(FPIC)
is properly added to the CFLAGS and LDFLAGS.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>

* busybox: update to version 1.34.0

Update busybox to version 1.34.0

* Remove upstreamed patches (205, 530, 540)

* Remove one old patch that does not apply any more. (203)
  That was originally introduced in 2008 with 563d23459,
  but does not apply after busybox restructuring with
  https://git.busybox.net/busybox/commit/networking/udhcp/dhcpc.c?h=1_34_stable&id=e6007c4911c3ea26925f9473b9f156a692585f30
  and
  https://git.busybox.net/busybox/commit/networking/udhcp/dhcpc.c?h=1_34_stable&id=1c7253726fcbab09917f143f0b703efbd2df55c3

* Refresh config and patches.

* Backport upstream fixes for
   - MIPS compilation breakage and
   - process substitution regression

Config refresh:

Refresh commands, run after busybox is first built once:

cd utils/busybox/
cd config/
../convert_menuconfig.pl ../../../../build_dir/target-aarch64_cortex-a53_musl/busybox-default/busybox-1.34.0
cd ..
./convert_defaults.pl < ../../../build_dir/target-aarch64_cortex-a53_musl/busybox-default/busybox-1.34.0/.config > Config-defaults.in

Manual edits needed afterward:

* Config-defaults.in:  OpenWrt config symbol IPV6 logic applied to
  BUSYBOX_DEFAULT_FEATURE_IPV6
* Config-defaults.in:  OpenWrt configTARGET_bcm53xx logic applied to
  BUSYBOX_DEFAULT_TRUNCATE (commit 547f1ec)
* Config-defaults.in:  OpenWrt logic applied to
  BUSYBOX_DEFAULT_LOGIN_SESSION_AS_CHILD (commit dc92917)
  BUSYBOX_DEFAULT_UDHCPC_DEFAULT_INTERFACE (just "")
* config/editors/Config.in: Add USE_GLIBC dependency to
  BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH (commit f141090)
* config/shell/Config.in : change at "Options common to all shells"  the symbol
  SHELL_ASH  -->  BUSYBOX_CONFIG_SHELL_ASH
   (discussion in http://lists.openwrt.org/pipermail/openwrt-devel/2021-January/033140.html
     Apparently our script does not see the hidden option while
     prepending config options with "BUSYBOX_CONFIG_" which leads to a
     missed dependency when the options are later evaluated.)
* Edit Config.in files by adding quotes to sourced items in
  config/Config.in, config/networking/Config.in and config/util-linux/Config.in (commit 1da014f)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

* busybox: update to 1.34.1

Update busybox to version 1.34.1, which is a minor
maintenance release. It contains just the two post-1.34.0
upstream patches that we earlier backported plus a few fixes
to awk.

* Remove the two backported upstream patches that are
  now unnecessary.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

* busybox: fix compatibility with BUSYBOX_CONFIG_INSTALL_NO_USR

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

* busybox: update to 1.35.0

Update busybox to 1.35.0

* refresh patches

Config refresh:

Refresh commands, run after busybox is first built once:

cd package/utils/busybox/config/
../convert_menuconfig.pl ../../../../build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/busybox-default/busybox-1.35.0
cd ..
./convert_defaults.pl ../../../build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/busybox-default/busybox-1.35.0/.config > Config-defaults.in

Manual edits needed after config refresh:

* Config-defaults.in: OpenWrt config symbol IPV6 logic applied to
  BUSYBOX_DEFAULT_FEATURE_IPV6

* Config-defaults.in: OpenWrt configTARGET_bcm53xx logic applied to
  BUSYBOX_DEFAULT_TRUNCATE (commit 547f1ec)

* Config-defaults.in: OpenWrt logic applied to
  BUSYBOX_DEFAULT_LOGIN_SESSION_AS_CHILD (commit dc92917)

* config/editors/Config.in: Add USE_GLIBC dependency to
  BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH (commit f141090)

* config/shell/Config.in : change at "Options common to all shells" the symbol
  SHELL_ASH --> BUSYBOX_CONFIG_SHELL_ASH
  (discussion in http://lists.openwrt.org/pipermail/openwrt-devel/2021-January/033140.html
  Apparently our script does not see the hidden option while
  prepending config options with "BUSYBOX_CONFIG_" which leads to a
  missed dependency when the options are later evaluated.)

* Edit Config.in files by adding quotes to sourced items in
  config/Config.in, config/networking/Config.in and config/util-linux/Config.in (commit 1da014f)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
Co-authored-by: Hannu Nyman <hannu.nyman@iki.fi>
Co-authored-by: Marius Dinu <m95d+git@psihoexpert.ro>
2022-01-14 12:15:24 +08:00
Beginner
fc6eba0ef3 aliyundrive-webdav: update to 1.1.1 (#8679)
Co-authored-by: messense <messense@icloud.com>
2022-01-13 23:25:18 +08:00
aakkll
9524be6a11 kernel: bump 5.10 to 5.10.91 (#8678)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-01-13 10:11:31 +08:00
aakkll
175074dbba kernel: bump 5.10 to 5.10.90 (#8646)
Add and enable a new kconfig knob to disable unprivileged eBPF by default.

Patches automatically rebased.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-01-12 18:31:19 +08:00
aakkll
281327352d firewall: update to latest HEAD (#8666)
0f16ea5 options.c: add DSCP code LE Least Effort
24ba465 firewall3: remove redundant syn check
df1306a firewall3: fix locking issue
3624c37 firewall3: support table load on access on Linux 5.15+

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

Co-authored-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2022-01-12 13:24:59 +08:00
aakkll
0497bf2ee8 luci-app-jd-dailybonus: sync upstream (#8647)
Co-authored-by: jerrykuku <jerrykuku@qq.com>
2022-01-12 13:24:16 +08:00
aakkll
d63edcce3b luci-app-serverchan: update ipv4.list (#8648)
Co-authored-by: tty228 <33397881+tty228@users.noreply.github.com>
2022-01-12 13:24:00 +08:00
aakkll
7222de0754 luci-app-pushbot: sync upstream (#8649)
Co-authored-by: zzsj0928 <69092025+zzsj0928@users.noreply.github.com>
2022-01-12 13:23:39 +08:00
AmadeusGhost
a32407cdaf ipq60xx: disable build for unsupported devices 2022-01-11 11:32:40 +08:00
AmadeusGhost
e800d72e66 Revert "binutils: sync upstream"
This reverts commit 5afa82e64f.
2022-01-11 11:31:45 +08:00
Stefan Lippers-Hollmann
6bf9926780 x86: improve sysinfo handling of dummy values
Fall back to using board_vendor and board_name, if known dummy values
are used for sys_vendor and product_name.

Examples:
	To be filled by O.E.M.:To be filled by O.E.M.
-->	INTEL Corporation:ChiefRiver

	System manufacturer:System Product Name
-->	ASUSTeK COMPUTER INC.:P8H77-M PRO

	To Be Filled By O.E.M.:To Be Filled By O.E.M.
-->	ASRock:Q1900DC-ITX

	Gigabyte Technology Co., Ltd.:To be filled by O.E.M.
-->	Gigabyte Technology Co., Ltd.:H77M-D3H

	empty:empty
-->	TYAN Computer Corporation:TYAN Toledo i3210W/i3200R S5211

	To Be Filled By O.E.M.:To Be Filled By O.E.M.
-->	ASRock:H77 Pro4-M

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
2022-01-11 11:25:15 +08:00
aakkll
b0c25b7d38 elfutils: sync upstream (#8652)
* elfutils: enable host build

frr 8.0 needs host libelf dev
add option for host build
tested on x86, ramips, kirkwood

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
[changed commit author's email]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>

* elfutils: update to 0.186

Upstreamed patches (deleted):
0001-ppc_initreg.c-Incliude-asm-ptrace.h-for-pt_regs-defi.patch -
 https://sourceware.org/git/?p=elfutils.git;a=commitdiff;h=8382833a257b57b0d288be07d2d5e7af6c102869
110-no-cdefs.patch -
 https://sourceware.org/git/?p=elfutils.git;a=commitdiff;h=d390548df1942e98a1d836269a5e41ba52e121f1

Auto-refreshed:
006-Fix-build-on-aarch64-musl.patch
101-no-fts.patch

Manually updated and refreshed:
005-build_only_libs.patch
003-libintl-compatibility.patch
100-musl-compat.patch

Disabled _obstack_free check (via configure vars)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>

* elfutils: Add missing musl-fts dependency

libdw depends on libfts.so when building with the musl-libc library, add
this missing dependency.

Fixes: 6835ea13f0fa ("elfutils: update to 0.186")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Co-authored-by: Lucian Cristian <lucian.cristian@gmail.com>
Co-authored-by: Sergey V. Lobanov <sergey@lobanov.in>
Co-authored-by: Florian Fainelli <f.fainelli@gmail.com>
2022-01-10 16:57:52 +08:00
aakkll
5afa82e64f toolchain/binutils: sync upstream (#8661)
* toolchain/binutils: switch to version 2.36.1 by default

Runtime-tested on:
* ath79
* bcm27xx/bcm2708
* bcm27xx/bcm2709
* bcm27xx/bcm2711
* mvebu/cortexa53
* octeon
* realtek
* x86/64

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>

* toolchain/binutils: switch to version 2.37 by default

Compile tests:
* all

Runtime tests:
* ipq806x/generic
* lantiq/mt7621
* lantiq/xrx200
* x86/64

Signed-off-by: Paul Spooren <mail@aparcar.org>
Tested-by: Paul Spooren <mail@aparcar.org>
Tested-by: Rosen Penev <rosenp@gmail.com>
Tested-by: Andre Heider <a.heider@gmail.com>
Tested-by: Ansuel Smith <ansuelsmth@gmail.com>
Tested-by: Rui Salvaterra <rsalvaterra@gmail.com>
Signed-off-by: Paul Spooren <mail@aparcar.org>

* toolchain/binutils: v2.37 Close the file descriptor if there is no archive fd

This fixes the following build error:
/home/build/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.2.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/sergey/openwrt2/build_dir/target-aarch64_cortex-a53_musl/node-v14.18.2/out/Release/obj.target/tools/v8_gypfiles/libv8_base_without_compiler.a: error adding symbols: malformed archive
collect2: error: ld returned 1 exit status

It's a bad error handling related to -EMFILE (too many open files). nodejs is probably just very close to open file limit.

https://sourceware.org/bugzilla/show_bug.cgi?id=28138
https://github.com/nodejs/node/issues/39452

https://github.com/openwrt/packages/issues/17496
https://github.com/openwrt/packages/issues/16729
https://github.com/openwrt/packages/issues/17164

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
[Take full patch from 2.37 branch and refresh]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
Co-authored-by: Paul Spooren <mail@aparcar.org>
Co-authored-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-01-10 16:57:37 +08:00
aakkll
4e2155b05d binutils: sync upstream (#8660)
* binutils: Update to version 2.37

This matches the version used in the toolchain.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* binutils: fix compiling with arch-based distros

Arch Linux users have encountered problems with packages that have a dependency on binutils. This error happens when libtool is doing:
  libtool: relink: ...
So change PKG_FIXUP to "patch-libtool".

Fixes error in the form of:
  libtool: install: error: relink `libctf.la' with the above command
           before installing it

Upstream Bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=28545

OpenWrt Bug:
https://bugs.openwrt.org/index.php?do=details&task_id=4149

Acked-by: John Audia <graysky@archlinux.us>
Signed-off-by: Nick Hainke <vincent@systemli.org>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
Co-authored-by: Nick Hainke <vincent@systemli.org>
2022-01-10 16:57:24 +08:00
aakkll
c01c9b96b1 utils/mdadm: fix build on hosts without /run dir (#8651)
CHECK_RUN_DIR=0 must be a part of MAKE_FLAGS, not MAKE_VARS, otherwise
it is not possible to compile mdadm on host without /run dir.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>

Co-authored-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-10 16:56:47 +08:00
Li2nOnline
58467b6c6e luci-app-kodexplorer: sync to my upstream (#8657) 2022-01-10 16:56:30 +08:00
zhouF96
60e2759031 Apply BCM578xx sfp2.5g patch to test 5.15 kernel (#8615)
* kernel: add module for  bcm574xx 575xx serials

kernel: add module for bnxt_en Linux driver for the 
Broadcom NetXtreme-C/NetXtreme-E 
BCM573xx, BCM574xx, BCM575xx, NetXtreme-S BCM5880x
(up to 200 Gbps) Ethernet Network Controllers and Broadcom Nitro
BCM58700 4-port 1/2.5/10 Gbps Ethernet Network Controller.

* reapply bcm578xx sfp 2.5g patch
2022-01-08 15:00:46 +08:00
小甲哥
67da0a5372 n2n: remove unsupported -s param (#8644) 2022-01-08 11:10:12 +08:00
AmadeusGhost
8aba1a4072 x86: 5.15: refresh kernel patches 2022-01-08 11:06:56 +08:00
Marty Jones
99a33ec8d8 linux-firmware: add new package r8152-firmware
Linux upstream commit 9370f2d05a
add load firmware file through request_firmware,this affect the
nanopi r2s and some USB adapters in kernel 5.10 with this error:
'r8152 4-1:1.0: unable to load firmware patch rtl_nic/rtl8153b-2.fw'
This patch split the USB NIC firmware files from r8169 firmware,
and adds r8152-firmware to r8152 driver.
Add kmod-usb-net-cdc-ncm to support RTL8156A and RTL8156B 2.5G ethernet
adapters supported since v5.13-rc1.
195aae321c

Signed-off-by: Marty Jones <mj8263788@gmail.com>
2022-01-08 11:01:16 +08:00
Glenn Strauss
2bfce1389a mbedtls: enable session tickets
session tickets are a feature of TLSv1.2 and require less memory
and overhead on the server than does managing a session cache

Building mbedtls with support for session tickets will allow the
feature to be used with lighttpd-1.4.56 and later.

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2022-01-08 11:00:18 +08:00
AmadeusGhost
3cfb23d0c8 ntfs3-oot: fixes patches push by mistake
Fixes: d000d8c ("ntfs3-oot: compact with upstream kernel")
2022-01-07 11:21:27 +08:00
AmadeusGhost
75193fa45c kernel : 5.10: backport NFSv4_2 SSC helper commit
This allows kmod-fs-nfs-ssc to compile on both 5.10 and 5.15 kernel.
2022-01-07 11:18:11 +08:00
AmadeusGhost
3c1b417e8f Revert "kmod-fs-nfs: adjust depends again"
This reverts commit d9316c5814.
2022-01-07 11:16:06 +08:00
AmadeusGhost
44c6f8502f Revert "fw3: add a hack to revert register tables implementation in 5.15"
This reverts commit e105008c7d.
Fixes: #8617
2022-01-06 16:31:04 +08:00
AmadeusGhost
da49909910 ntfs3-mount: fixes mounting issues
Fixes: #8612
2022-01-06 16:28:05 +08:00
AmadeusGhost
d000d8cb9a ntntfs3-oot: compact with upstream kernel 2022-01-06 16:24:31 +08:00
AmadeusGhost
d9316c5814 kmod-fs-nfs: adjust depends again
Fixes: #8621
2022-01-06 16:21:30 +08:00
Piotr Dymacz
762ed37e19 uboot-imx: set BUILD_SUBTARGET to 'cortexa9'
All currently supported devices belong to the imx/cortexa9 subtarget.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 10:00:25 +08:00
Piotr Dymacz
b4ee2613e0 uboot-envtools: move imx to imx_cortexa9
Subtarget-specific files under 'uboot-envtools' package are supported
since 6f3a05ebb0 ("uboot-envtools: support uci-default config also per
subtargets").

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 09:59:59 +08:00
Piotr Dymacz
c9451f29f3 uboot-imx6: rename to 'uboot-imx'
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 09:59:13 +08:00
Piotr Dymacz
7135adeb6b uboot-envtools: rename 'imx6' to 'imx'
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 09:58:31 +08:00
Piotr Dymacz
df2e050cc4 kobs-ng: update dependencies after 'imx6' -> 'imx' rename
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 09:58:02 +08:00
Piotr Dymacz
f1a9b91fd4 kernel: update dependencies after 'imx6' -> 'imx' rename
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 09:57:20 +08:00
lean
ee9e153105 mtk_eth_soc: add missing ipv6 flow offload support for 5.10 2022-01-05 19:25:24 +08:00
lean
40222caccd target: imx6 rename to imx 2022-01-05 19:08:23 +08:00
Hauke Mehrtens
a859ab9ac0 sunxi: Use rtl8723bu-firmware instead of rtl8723bs-firmware
The firmware for the rtl8723bs chip is now included in the
rtl8723bu-firmware package.

Fixes: 397dfe4a97e6 ("linux-firmware: Update to version 20121216")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-01-05 11:24:26 +08:00
AmadeusGhost
d35b0161d0 kmod-fs-nfs-common: fix build on 5.15
Fixes: #8599
2022-01-05 11:21:48 +08:00
AmadeusGhost
c6edc4c192 kmod-fs-ntfs3: update dependence
Fixes: #8600, #8601, #8605
2022-01-05 10:29:30 +08:00
lean
dced95e705 x86: add brand display for R86S etc. 2022-01-04 23:52:49 +08:00
AmadeusGhost
9ba612191d kmod-switch-bcm53xx: fixes build on kernel 5.15
Fixes: #8583, #8586
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2022-01-04 16:54:20 +08:00
AmadeusGhost
af9ddeb7c9 kmod-usb-net-asix: fix build on kernel 5.15
Fixes: #8584
2022-01-04 16:49:20 +08:00
AmadeusGhost
cf8d67a3e3 automount: fix ntfs-mount on kernel 5.15 2022-01-04 16:45:45 +08:00
AmadeusGhost
e841c2c2cd ntfs3-mount: re-enabled on kernel 5.15 2022-01-04 16:43:47 +08:00
lean
1bf58b7e18 automount: revert to antfs-mount for 5.4/5.10 2022-01-03 15:15:11 +08:00
Beginner
f85cd5c8c7 kernel: bump 5.10 to 5.10.89 (#8589)
Deleted (upstreamed):
bcm27xx/patches-5.10/950-0186-pinctrl-bcm2835-Change-init-order-for-gpio-hogs.patch [1]
sunxi/patches-5.10/103-arm64-dts-allwinner-orangepi-zero-plus-fix-PHY-mo.patch [2]

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.89&id=ba696b470839d70c6b8290c1f798bac7fb2a584c
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.89&id=93a957bbf46ceb224b959de61fe85cfc6f71b6c7

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-01-03 13:06:25 +08:00
Beginner
9d4eae4a8e ipt2socks microsocks: cleanup makefile (#8578)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-01-03 12:50:04 +08:00
Beginner
53227ee36a tools/cmake: update to version 3.22.1 (#8579)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>

Co-authored-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-01-03 12:49:09 +08:00
Beginner
24b49256a4 pdns-alt: refresh patches (#8587)
Co-authored-by: W_Y_CPP <383152993@qq.com>
2022-01-03 12:48:45 +08:00
lean
86b2e8ab49 kernel 5.15: fix AQR PHY ID patch 2022-01-02 21:50:32 +08:00
lean
e105008c7d fw3: add a hack to revert register tables implementation by torvalds in 5.15 2022-01-02 21:39:26 +08:00
lean
e38193fbab x86: make 32bit available in 5.15 2022-01-02 21:26:15 +08:00
Beginner
6c07b5cd72 openssl: bump to 1.1.1m (#8573)
This is a bugfix release.  Changelog:

  *) Avoid loading of a dynamic engine twice.
  *) Fixed building on Debian with kfreebsd kernels
  *) Prioritise DANE TLSA issuer certs over peer certs
  *) Fixed random API for MacOS prior to 10.12

Patches were refreshed.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-01-02 17:23:58 +08:00
lean
c17e5fb4fd ipq807x: add missing symbol for QNAP 301w 2022-01-02 17:20:38 +08:00
lean
cc7063de8c ipq807x: add QNAP 301w (AX WIFI router with 4 1G and 2 10G ports) support 2022-01-02 12:24:33 +08:00
lean
5e4693f2ac k3screenctrl: fix PHICOMM K3 screen display off 2022-01-02 12:07:07 +08:00
lean
7b75725731 ntfs3-oot: disable on 5.15 2022-01-01 13:34:47 +08:00
lean
012d1ef0ef automount: add kmod-ntfs3 for 5.15 support 2022-01-01 13:31:28 +08:00
lean
772c5d2c8b kmod: add highspeed ntfs3 fs driver for 5.15 2022-01-01 13:29:20 +08:00
lean
23d753e060 wireguard: add support for 5.15 2022-01-01 13:13:48 +08:00
Beginner
ae4bace648 pdnsd-alt: fix kernel 5.15 build error (#8557)
Co-authored-by: SiYao Mo <msylgj@vip.qq.com>
2022-01-01 10:43:56 +08:00
lean
74b38ca2bf automount: replace antfs with ntfs3-oot 2021-12-31 16:05:40 +08:00
lean
8efdb24e81 mac80211: fix typo error 2021-12-31 14:46:23 +08:00
lean
8b87e9022f linux: fix asn1-encoder.ko 2021-12-31 14:31:10 +08:00
lean
011c015a6f ath10k: provide a build variant for small RAM devices 2021-12-31 11:50:34 +08:00
Christian Lamparter
440bb2bf81 linux-firmware: amd: consolidate amd's linux-firmware entries
this patch consolidates the amd64-microcode
(moved to linux-firmware.git, previously this was an extra
debian source package download), amdgpu and radeon firmwares
into a shared "amd" makefile.

With the upcoming 20211216 linux-firmware bump,
this will include a microcode update for ZEN 3 CPUs.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2021-12-31 10:43:27 +08:00
Hauke Mehrtens
7cba3a967b linux-firmware: Update to version 20121216
The rtl8723bs firmware was removed and a symlink to the rtl8723bu
firmware was created like it is done in upstream linux-firmware.

The following OpenWrt packages are changing:
* amdgpu-firmware: Multiple updates and new files
* ar3k-firmware: Multiple updates and new files
* ath10k-firmware-qca6174: Updated ath10k/QCA6174/hw3.0/board-2.bin
* bnx2x-firmware: Added bnx2x-e1-7.13.21.0.fw, bnx2x-e1h-7.13.21.0.fw and bnx2x-e2-7.13.21.0.fw
* iwlwifi-firmware-iwl8260c: Updated iwlwifi-8000C-36.ucode
* iwlwifi-firmware-iwl8265: Updated iwlwifi-8265-36.ucode
* iwlwifi-firmware-iwl9000: Updated iwlwifi-9000-pu-b0-jf-b0-46.ucode
* iwlwifi-firmware-iwl9260: Updated iwlwifi-9260-th-b0-jf-b0-46.ucode
* r8169-firmware: Updated rtl8153c-1.fw
* rtl8723bs-firmware: removed
* rtl8723bu-firmware: Added rtlwifi/rtl8723bs_nic.bin symlink
* rtl8822ce-firmware: Updated rtw8822c_fw.bin

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-12-31 10:41:36 +08:00
Javier Marcet
33a4c251a2 base-files: upgrade: fix efi partitions size calculation
We were missing (not using) the last sector of each partition,
compared with the output of gparted.

Signed-off-by: Javier Marcet <javier@marcet.info>
[moved the dot]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2021-12-31 10:40:40 +08:00
lean
77123eb4a4 kmod: re-add bnxt-en support 2021-12-31 10:29:05 +08:00
lean
93965c3bd4 kmod: fix kmod-fs-nfs missing dependencies 2021-12-31 10:12:04 +08:00
lean
c70ad2cd30 kernel: bump to 5.15.12 2021-12-31 01:07:59 +08:00
lean
773f94ca05 package:ntfs3 rename to ntfs3-oot 2021-12-31 00:45:36 +08:00
lean
b143589cf2 x86: improve sysinfo handling manufacturer like R86S etc. 2021-12-31 00:38:25 +08:00
lean
bcad74fa27 linux-firmware: add Intel GPU firmware files 2021-12-31 00:14:48 +08:00
lean
8d13d0a14c x86: add test version 5.15 2021-12-30 22:42:54 +08:00
lean
373d0aa212 Version update to R22.1.1 2021-12-30 20:08:51 +08:00
lean
01426ea8a0 x86: add linux kernel 5.15 support 2021-12-30 20:06:47 +08:00
lean
f1ac700efb ipq60xx: fix GL-AX1800 nand partition to avoid brick uboot 2021-12-30 17:51:46 +08:00
lean
75d9cc7272 fullconenat: fix compile error on Linux 5.15 2021-12-30 17:45:14 +08:00
lean
fc0f5e35b1 kernel: init linux kernel 5.15 support 2021-12-30 17:39:24 +08:00
Saxon
0be42d529b UnblockNeteaseMusic: add local VIP and repair failure to replace 320K music source (#8538) 2021-12-29 02:41:56 +08:00
Beginner
1649b53b2b tcpdump: libpcap: Remove http://www.us.tcpdump.org mirror (#8527)
The http://www.us.tcpdump.org mirror will go offline soon, only use the
normal download URL.

Reported-by: Denis Ovsienko <denis@ovsienko.info>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-12-28 10:35:35 +08:00
Beginner
781c800ce7 kernel: bump 5.10 to 5.10.88 (#8511)
Deleted (upstreamed):
mpc85xx/patches-5.10/002-powerpc-85xx-fix-oops-when-CONFIG_FSL_PMC-n.patch [1]

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.88&id=151ffac3ac277ad7c2a5f201b566b56d97ed3a99

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-12-28 10:34:58 +08:00
AmadeusGhost
53c6795843 ipq807x: drop unsupported devices for orphan 2021-12-28 09:58:20 +08:00
lean
bb269d3df3 x86: switch to kernel 5.10 2021-12-27 16:58:49 +08:00
Saxon
f55d623079 UnblockNeteaseMusic: Bug Fix (#8524)
* UnblockNeteaseMusic: Change Redirect source

* Fix UnblockNeteaseMusic Version display error

* Fix UnblockNeteaseMusic update error

* Bump luci-app-unblockmusic PKG_RELEASE
2021-12-27 15:53:33 +08:00
Beginner
9f09554986 go-aliyundrive-webdav: update to 1.1.1 (#8523) 2021-12-26 01:24:45 +08:00
Beginner
c68d427fd1 aliyundrive-webdav: update to 1.1.0 (#8512)
Co-authored-by: messense <messense@icloud.com>
2021-12-26 01:24:35 +08:00
Beginner
f687033810 openssl: add ppc64 support (#8510)
Backport an upstream patch that adds support for ELFv2 ABI on big endian
ppc64. As musl only supports ELFv2 ABI on ppc64 regardless of
endianness, this is required to be able to build OpenSSL for ppc64be.

Modify our targets patch to add linux-powerpc64-openwrt, which will use
the linux64v2 perlasm scheme. This will probably break the combination
ppc64 with glibc, but as we really only want to support musl, this
shouldn't be a problem.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-12-24 15:00:31 +08:00
Beginner
1ba0b9f626 luci-app-baidupcs-web: Fix UCI is incorrect in the system log (#8515)
daemon.notice procd: /etc/rc.d/S90baidupcs-web: uci: Entry not found

Co-authored-by: zxlhhyccc <45259624+zxlhhyccc@users.noreply.github.com>
2021-12-24 14:59:31 +08:00
lean
ad4916ff3f Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-12-23 00:40:24 +08:00
lean
c98f0b933e x86: init support for R86S network 2021-12-23 00:40:01 +08:00
aakkll
960a1b41d7 tools/mkimage: update to 2021.10 (#8481)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: Huangbin Zhan <zhanhb88@gmail.com>
2021-12-22 23:30:34 +08:00
Beginner
6445677afd UnblockNeteaseMusic: bump to latest git HEAD (#8494) 2021-12-22 23:30:07 +08:00
He Cheng
6bc3781e62 luci-app-frpc: remove data type restriction of http_proxy (#8495) 2021-12-22 23:29:52 +08:00
木四水
01042589af Add Support For OrangePi R1 Plus LTS (#8498) 2021-12-22 23:29:37 +08:00
AmadeusGhost
f07434ac6d rockchip: fixes module build error on 5.10
Fixes: #8484
2021-12-20 10:37:23 +08:00
Paul Spooren
353374ba04 build: prereq detect Python 3.10 for python3 binary
While the binary `python3.10` is correctly detected by the build system
the default `python3` binary is currently not detected if pointing to a
Python 3.10 installation.

Fix this by extending the grep regex.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-12-20 10:29:32 +08:00
Marcin Juszkiewicz
aa26cd69f8 prereq-build: recognize Python 3.10
Fedora 35 contains Python 3.10 as default version. Make use of it.
Fixes: #8456

Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
[fix commit subject]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-12-20 10:29:08 +08:00
Andre Heider
a74921fa77 prereq-build: require python3-distutils
Debian and Ubuntu ship a python3-minimal package which does not include
the distutils module. This is not supported by upstream and can be
considered a broken python distribution.

In practice, many scripts depend on said module, and this is a reoccuring
pain point for building various OpenWrt packages.

Require and check for said module, enough time has been wasted on this.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2021-12-20 10:26:32 +08:00
Beginner
9cfbc21464 luci-app-kodexplorer: update php8 deps (#8445)
deps update to php8 and nginx-ssl

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-12-18 10:50:04 +08:00
Beginner
dbf54e83c3 dnsproxy: move package feeds (#8443)
from: 15098f4fcd
2021-12-18 10:49:47 +08:00
Boos4721
d5a1c39071 kernel: bump 5.10 to 5.10.87 (#8459)
* kernel: bump 5.10 to 5.10.86

Signed-off-by: boos4721 <3.1415926535boos@gmail.com>

* kernel: bump 5.10 to 5.10.87

Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-12-18 10:49:25 +08:00
lean
ea5c0f0079 dpdk: add meson fix 2021-12-17 18:12:05 +08:00
lean
4702133800 dpdk: bump version 2021-12-17 18:09:10 +08:00
lean
5dbb1c0822 cmake: bump version 2021-12-17 17:18:40 +08:00
lean
cb6f72ed43 Revert "kernel: bump 5.4 to 5.4.165 (#8448)"
This reverts commit a8490915d3.
2021-12-17 17:16:42 +08:00
Beginner
a8490915d3 kernel: bump 5.4 to 5.4.165 (#8448)
All patches automatically rebased.

Build system: x86_64
Build-tested: ramips/mt7621*

*FS#4149 affects me so I had to revert 7f1edbd41295dff9f2127b169fbc086c0fb2c14e
in order to downgrade to 2.35.1

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-12-17 15:21:49 +08:00
Beginner
252bd55b5f r8152: drop patch (#8455) 2021-12-17 15:21:25 +08:00
lean
ccf791cbd5 UnblockNeteaseMusic-Go: update to git lastest version 2021-12-17 14:06:59 +08:00
lean
09ebce5131 tools: add meson 2021-12-17 14:03:54 +08:00
Boos4721
0cadba2d40 kernel: bump 5.10 to 5.10.85 (#8434)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-12-16 12:55:51 +08:00
AmadeusGhost
95afa84a8e n2n: update to 3.0 (#8390) 2021-12-16 12:54:28 +08:00
ZhenYu
6e5aaa7b3d CI: fix 'alternatives for my.cnf' problem (#8436)
* CI: fix alternatives for my.cnf problem

* CI: expand more compilation space
2021-12-16 12:54:14 +08:00
Beginner
9f16277f3e r8152: Update to 2.15.20211119 (#8447)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-12-16 12:53:31 +08:00
AmadeusGhost
aa70c1a3cb luci-app-turboacc: fixes hwnat judgment on mediatek 2021-12-16 09:25:08 +08:00
AmadeusGhost
07054c38a8 Revert "luci-app-cifs-mounts: fix the URL to mounts (#8345)"
This reverts commit 647505ec81.
This is incorrect on luci 18.06.

Reported-by: GitHub user flyhong666
2021-12-16 09:23:21 +08:00
Shane Synan
be692b5939 ipq806x: revert SDC clock changes for NBG6817 MMC
Revert the SDC "CLK_SET_RATE_GATE" changes to the SDC clock regulator
structures.

See https://elinux.org/images/b/b8/Elc2013_Clement.pdf
> if ((clk->flags & CLK_SET_RATE_GATE) && clk->prepare_count) {
>
> For this particular clock, setting its rate is possible only if the
> clock is ungated (not yet prepared)

This fixes the MMC failing to initialize on newer ZyXEL NBG6817
hardware revisions with Kingston MMC.  Older revisions should
hopefully be unaffected.

Check MMC hardware details with:
cd /sys/block/mmcblk0/device/ && \
  tail -v cid date name manfid fwrev hwrev oemid rev

Known problematic MMC names (broken before this commit):
* M62704 (dated 12/2018) via myself
* M62704 (dated 11/2018) via Drake Stefani

Known unaffected MMC names (already working without this commit):
* S10004 (dated 12/2015) via slh

Now, the MMC properly initializes and later switches to high speed.

Thanks to:
* Ansuel for maintaining/help with the IPQ806x platform, kernel code
* slh for additional debugging and suggestions
* dwfreed for confirming newer MMC details, clock frequency
* robimarko for device driver debug printing help, clock debugging
* Drake for testing and confirmation with their own newer NBG6817
...and anyone else I missed!

Signed-off-by: Shane Synan <digitalcircuit36939@gmail.com>
Tested-by: Shane Synan <digitalcircuit36939@gmail.com>
2021-12-16 09:22:06 +08:00
lxhao61
1c63672349 luci-app-softethervpn: correct download link for Mac OS (#8444) 2021-12-15 23:29:13 +08:00
Junle Fong
77fe3c1a3c ramips: mt76x8: add missing config (#8440)
update kernel config file.
2021-12-15 15:38:10 +08:00
lxhao61
79796a0bf4 luci-app-softethervpn: correct the link of SoftEtherVPN Manager (#8439) 2021-12-15 10:20:25 +08:00
Josef Schlehofer
093f822043 luci-app-softethervpn: update provided links for SoftEtherVPN clients (#8435)
I updated the link for downloading Windows client to download the latest
currently available version instead of using beta version, which is not
good to use in production.

Also, the macOS link led to the OpenVPN server, which was wrong. It should
be a client. It was updated to the latest version as well.
2021-12-15 00:10:16 +08:00
ntlf9t
b57240d4ce r8125: turn on multi-queue support and turn off ASPM (#8433)
开启RTL8125B的多队列支持和关闭ASPM
2021-12-14 20:30:09 +08:00
ntlf9t
ab8bdce1c2 Update easymesh (#8416)
修复丢失的lan配置
2021-12-12 01:25:54 +08:00
Boos4721
1e368cb085 kernel: bump 5.10 to 5.10.84 (#8411)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-12-10 23:47:33 +08:00
ntlf9t
841b4bb650 luci-app-easymesh: update to v1.9 (#8409) 2021-12-10 09:00:09 +08:00
lean
06b8f98e25 ipq60xx: add GL.iNet AX1800 init support 2021-12-09 17:23:11 +08:00
AmadeusGhost
5c40fcd80e ipq806x: update some script paths 2021-12-09 10:25:20 +08:00
Chen Minqiang
2652e567f5 ramips: add mt7620-nand driver for NAND flash
This add the mt7620-nand driver and enable nand ubifs for
mt7620 subtarget, closed: #8097, #8402, #8405

Fixes: 3625a730 ("ramips: switch to kernel 5.10")

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2021-12-09 10:20:09 +08:00
aakkll
7d11f9ad7a x86: added support to generate VHDX images (#8399)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: Oldřich Jedlička <oldium.pro@gmail.com>
2021-12-08 16:10:18 +08:00
aakkll
2972a0502d base-files: add eMMC sysupgrade support (#8400)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: Enrico Mioso <mrkiko.rs@gmail.com>
2021-12-08 16:09:15 +08:00
AmadeusGhost
4bdb51efa0 ramips: JCG Q20: add pbboot mod version
Add the missing part, fixes: #8391
2021-12-06 15:09:07 +08:00
AmadeusGhost
f8a982515a Revert "Add JCG Q10 PRO(the same as JCG Q20) with CR660x pb-boot support, change switch to swconfig from DSA. (#8391)"
This reverts commit 83b646937f. Since
it is exactly the same, there is no need to add as a new device.
2021-12-06 14:45:18 +08:00
dsanke
83b646937f Add JCG Q10 PRO(the same as JCG Q20) with CR660x pb-boot support, change switch to swconfig from DSA. (#8391) 2021-12-06 13:55:01 +08:00
lean
0b002d6c22 ipq60xx: add new target initial support 2021-12-06 13:50:45 +08:00
lean
c5917936b1 luci-app-qbittorrent: change x64 default use dynamic build 2021-12-05 19:24:12 +08:00
lean
2598209e44 libtorrent: bump to 1.2.15 2021-12-05 19:21:06 +08:00
lean
ff1bcf8da9 x86: add lspci and lsusb tools 2021-12-05 18:29:10 +08:00
aakkll
a6f79ace50 busybox: update to 1.33.2 bugfix release (#8386)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2021-12-05 18:22:36 +08:00
lxhao61
5d0ad9332a Update Makefile (#8383) 2021-12-05 18:22:20 +08:00
Liam Luo
549eea3251 ramips: add support for RAISECOM MSG1500 Z.00 (#8385)
Hardware:
  SoC: MediaTek MT7621AT
  Flash: SPI NOR 16MB
  RAM: DDR3 64MB
  2.4GHz: MT7603EN bgn 2x2
  5GHz: MT7612EN nac 2x2
  Ethernet: 1 x WAN and 4 x LAN
  USB: 1 x 3.0
  Button: Reset, WPS

Note: the flash memory capacity is only 64MB.
      You may need to uncheck some options to ensure normal startup.

Signed-off-by: LINGJP <lonelyjskj@gmail.com>
2021-12-05 18:21:56 +08:00
lean
37828c4b47 mediatek: Add support for Xiaomi Redmi Router AX6S 2021-12-03 12:25:39 +08:00
Beginner
0cd887f7b5 kernel: bump 5.10 to 5.10.83 (#8374)
Removed upstreamed:
    bcm53xx/patches-5.10/033-v5.16-0024-ARM-dts-BCM5301X-Fix-I2C-controller-interrupt.patch[1]
    bcm53xx/patches-5.10/033-v5.16-0025-ARM-dts-BCM5301X-Add-interrupt-properties-to-GPIO-no.patch[2]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.83&id=b2cd6fdcbe0a5cb44e4610a08cc58261d494a885
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.83&id=9db1d4a3c2700e1cc84c3d61199411d75c2a3ec6

Build system: x86_64*
Build-tested: bcm2711/RPi4B, ipq806x/R7800†
Run-tested: bcm2711/RPi4B, ipq806x/R7800†

* Had to revert 7c99085bd69742f66207d61e9f2da5ec4f8f9d2f in order to build
  (latest bump of ca-certificates)

† Had to revert 7f1edbd41295dff9f2127b169fbc086c0fb2c14e in order to build
  (binutils 2.37, https://bugs.openwrt.org/index.php?do=details&task_id=4149)

Signed-off-by: graysky <graysky@archlinux.us>

Co-authored-by: graysky <graysky@archlinux.us>
2021-12-03 12:10:21 +08:00
AmadeusGhost
006ca1d9b4 r8125: update to 9.007.01 (#8380) 2021-12-03 12:10:06 +08:00
aakkll
0bc4089e81 go-aliyundrive-webdav: update to 1.0.20 (#8373)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2021-12-02 22:45:21 +08:00
ntlf9t
d4fbc4959b Bypassing the HH3K up to 2.5Gbps using a BCM578xx (#8377)
https://www.dslreports.com/forum/r32230041-Internet-Bypassing-the-HH3K-up-to-2-5Gbps-using-a-BCM57810S-NIC
2021-12-02 22:24:37 +08:00
zhouF96
52689b9a0f kernel: add module for bcm574xx 575xx serials (#8369)
kernel: add module for bnxt_en Linux driver for the 
Broadcom NetXtreme-C/NetXtreme-E 
BCM573xx, BCM574xx, BCM575xx, NetXtreme-S BCM5880x
(up to 200 Gbps) Ethernet Network Controllers and Broadcom Nitro
BCM58700 4-port 1/2.5/10 Gbps Ethernet Network Controller.
2021-12-01 18:41:59 +08:00
AmadeusGhost
525d69c5d7 uugamebooster: add default conffiles 2021-11-30 10:38:58 +08:00
Rosen Penev
8fc090abcb tools/libressl: update to 3.4.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-11-30 10:18:55 +08:00
Rosen Penev
304c55713a tools/libressl: update to 3.3.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-11-30 10:18:28 +08:00
Rosen Penev
b7995944fa tools/libressl: update to 3.3.3
Fix wrong FPIC variable usage. Fixes compilation under sparc64 host.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-11-30 10:18:03 +08:00
Ivan Pavlov
f571a6bf66 tools/libtool: update to 2.4.2
Refresh patches.
Remove upstreamed: 001-fix-func_append.patch

Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
2021-11-30 10:08:31 +08:00
Beginner
647505ec81 luci-app-cifs-mounts: fix the URL to mounts (#8345)
Co-authored-by: klever1988 <56048681+klever1988@users.noreply.github.com>
2021-11-30 01:22:29 +08:00
Beginner
899ff7b21a rclone: add missing pkginfo (#8351)
Co-authored-by: Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-11-30 01:22:17 +08:00
Beginner
6ca9a1b1a8 treewide: fix http/https protocol on some packages (#8350)
Not tested, but this shouldn't affect anything.

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2021-11-30 01:22:04 +08:00
Beginner
d259439b3b UnblockNeteaseMusic: bump to latest git HEAD (#8353) 2021-11-30 01:21:35 +08:00
Stan Grishin
c15d7bc773 wolfssl: enable ECC Curve 25519 by default
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-11-30 00:38:22 +08:00
Ivan Pavlov
63388d9b69 wolfssl: fix compile when enable-devcrypto is set
fixing linking error when --enable-devcrypto=yes
fixes: 7d92bb050961 wolfssl: update to 4.8.1-stable

Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
2021-11-30 00:37:43 +08:00
Andre Heider
fea265b6a0 wolfssl: remove --enable-sha512 configure switch
It's the default anyway and this just looks confusing, as if it wasn't.

Switch to AUTORELEASE while at it.

The binary size is unchanged.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2021-11-30 00:37:10 +08:00
Andre Heider
1fe5c9fb40 wolfssl: always build with --enable-reproducible-build
This gates out anything that might introduce semantically frivolous jitter,
maximizing chance of identical object files.

The binary size shrinks by 8kb:
1244352 staging_dir/target-mipsel_24kc_musl/usr/lib/libwolfssl.so.4.8.1.39c36f2f
1236160 staging_dir/target-mipsel_24kc_musl/usr/lib/libwolfssl.so.4.8.1.39c36f2f

Signed-off-by: Andre Heider <a.heider@gmail.com>
2021-11-30 00:36:25 +08:00
Andre Heider
05e99f51e4 wolfssl: build with WOLFSSL_ALT_CERT_CHAINS
"Alternate certification chains, as oppossed to requiring full chain
validataion. Certificate validation behavior is relaxed, similar to
openssl and browsers. Only the peer certificate must validate to a trusted
certificate. Without this, all certificates sent by a peer must be
used in the trust chain or the connection will be rejected."

This fixes e.g. uclient-fetch and curl connecting to servers using a Let's
Encrypt certificate which are cross-signed by the now expired
DST Root CA X3, see [0].

This is the recommended solution from upstream [1].

The binary size increases by ~12.3kb:
1236160 staging_dir/target-mipsel_24kc_musl/usr/lib/libwolfssl.so.4.8.1.39c36f2f
1248704 staging_dir/target-mipsel_24kc_musl/usr/lib/libwolfssl.so.4.8.1.39c36f2f

[0] https://github.com/openwrt/packages/issues/16674
[1] https://github.com/wolfSSL/wolfssl/issues/4443#issuecomment-934926793

Signed-off-by: Andre Heider <a.heider@gmail.com>
[bump PKG_RELEASE]
Signed-off-by: David Bauer <mail@david-bauer.net>
2021-11-30 00:36:03 +08:00
Ivan Pavlov
09b49156bf wolfssl: update to 4.8.1-stable
Changes from 4.7.0:
  Fix one high (OCSP verification issue) and two low vulnerabilities
  Improve compatibility layer
  Other improvements and fixes

For detailed changes refer to https://github.com/wolfSSL/wolfssl/releases

Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
2021-11-30 00:35:31 +08:00
AmadeusGhost
b9e4f343a2 Revert "fix mtkwifi iface down after restart br-lan as workaround"
This reverts commit ab08f8306e
due to it did not fix any problems.
2021-11-30 00:28:32 +08:00
AmadeusGhost
fc1b9acad3 Revert "import luci-app-diskman and luci-app-diskman from lisaac"
This reverts commit dbf4b59e8e.
2021-11-30 00:18:27 +08:00
lean
bb3d86eb9a x86: add BCM57414 BNX2X driver 2021-11-29 18:51:19 +08:00
lean
fa06c2a99e Version update to R21.12.1 2021-11-29 18:20:11 +08:00
lean
2672bfdc9d x86: add new packages 2021-11-29 18:19:00 +08:00
lean
dbf4b59e8e import luci-app-diskman and luci-app-diskman from lisaac 2021-11-29 17:57:58 +08:00
lean
431a8f0e2c x86: change target package 2021-11-29 16:46:19 +08:00
lean
e0b8803b71 autosamba: skip mount /boot on x86 2021-11-29 16:13:03 +08:00
aakkll
a5559680e1 iproute2: update to 5.15 (#8321)
from https://git.kernel.org/pub/scm/network/iproute2/iproute2.git

changes since 5.14.0:

ad3a118f rdma: Fix SRQ resource tracking information json
7a235a10 man: devlink-port: fix pfnum for devlink port add
229eaba5 uapi: pickup fix for xfrm ABI breakage
a500c5ac lib/bpf: fix map-in-map creation without prepopulation
7c032cac man: devlink-port: remove extra .br
04ee8e6f man: devlink-port: fix style
14802d84 man: devlink-port: fix the devlink port add synopsis
897772a7 cmd: use spaces instead of tabs for usage indentation
e7a98a96 mptcp: unbreak JSON endpoint list
2f5825cb lib: bpf_legacy: fix bpffs mount when /sys/fs/bpf exists
d756c08a tc/f_flower: fix port range parsing
92e32f77 uapi: updates from 5.15-rc1
e7e0e2ce iptuntap: fix multi-queue flag display
deef844b man: ip-link: remove double of
a3272b93 configure: restore backward compatibility
ceba5930 tree-wide: fix some typos found by Lintian
7a705242 ip: remove leftovers from IPX and DECnet
8ab1834e uapi: update headers from 5.15 merge
6d0d35ba ip/bond: add lacp active support
926ad641 Update kernel headers
c730bd0b ip/tunnel: always print all known attributes
df8912ed ipioam6: use print_nl instead of print_null
7e7270bb tc/skbmod: Introduce SKBMOD_F_ECN option
86c596ed IOAM man8
2d83c710 New IOAM6 encap type for routes
f0b3808a Add, show, link, remove IOAM namespaces and schemas
acbdef93 Import ioam6 uapi headers
2d6fa30b Update kernel headers
508ad89c ipneigh: add support to print brief output of neigh cache in tabular format

* update patch 170-ip_tiny.patch to accomodate ioam.

Signed-off-by: Russell Senior <russell@personaltelco.net>

Co-authored-by: Russell Senior <russell@personaltelco.net>
2021-11-29 13:15:59 +08:00
NagaseKouichi
31146a592c uugamebooster: bump to v2.18.2 (#8335) 2021-11-29 10:20:54 +08:00
lean
cbbb438afb ramips: add missing symbols for mt7620 2021-11-28 01:48:48 +08:00
Beginner
80bb1fbd20 luci-app-frps: add open page link (#8331)
Co-authored-by: zxlhhyccc <45259624+zxlhhyccc@users.noreply.github.com>
2021-11-28 00:41:07 +08:00
Hugo Yuan
5efd70f89f ipq806x: Add Norton 518 support (#8330) 2021-11-27 18:15:26 +08:00
aakkll
aeb1792a4c kernel: bump 5.4 to 5.4.162 (#8318)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-11-27 18:14:55 +08:00
Hugo Yuan
010702bc1a base-file: Add mmc support (#8329) 2021-11-27 18:14:36 +08:00
Beginner
31fc43272d kernel: bump 5.10 to 5.10.82 (#8303)
* kernel: bump 5.10 to 5.10.81

Manually rebased:
    octeontx/patches-5.10/0004-PCI-add-quirk-for-Gateworks-PLX-PEX860x-switch-with-.patch

All other patches automatically rebased.

Signed-off-by: John Audia <graysky@archlinux.us>

Build system: x86_64
Build-tested: bcm2711/RPi4B, ipq806x/R7800
Run-tested: bcm2711/RPi4B, ipq806x/R7800

* kernel: bump 5.10 to 5.10.82

Removed upstreamed:
    bcm53xx/patches-5.10/033-v5.16-0014-ARM-dts-NSP-Fix-mpcore-mmc-node-names.patch

Manually rebased:
    ipq806x/patches-5.10/086-ipq8064-fix-duplicate-node.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-11-27 03:02:35 +08:00
Beginner
226be6c0b7 luci-app-vlmcsd: adjust input box (#8316) 2021-11-27 03:02:19 +08:00
Beginner
c2ed5616ef luci-app-frps: fix status bar (#8315) 2021-11-26 18:19:23 +08:00
Beginner
f07303d327 luci-app-kodexplorer: revert some code (#8314) 2021-11-26 17:12:46 +08:00
Beginner
ce23910647 dnsproxy: update to 0.39.12 (#8309) 2021-11-26 07:12:14 +08:00
Hugo Yuan
19a764717d ipq806x: fix compile error (#8311) 2021-11-26 07:11:53 +08:00
Beginner
f0ff6b98d6 aliyundrive-webdav: update to 1.0.0 (#8301)
Co-authored-by: messense <messense@icloud.com>
2021-11-24 14:39:51 +08:00
aakkll
835ed78fc3 kernel: bump 5.4 to 5.4.161 (#8294)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-11-24 14:38:23 +08:00
hejiawencc
9bce8084a0 rockchip: fix rk3399 DoorNet2 emmc clk (#8295) 2021-11-24 14:37:30 +08:00
Beginner
238eb30fa0 dnsmasq: fix ismounted check (#8300)
Fix the return value, shell return codes should be 0 to indicate success
(i.e. mount point found), 1 should be failure (i.e. mount point not-found).

Fixes: ac4e8aa ("dnsmasq: fix more dnsmasq jail issues")
Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>

Co-authored-by: Oldřich Jedlička <oldium.pro@gmail.com>
2021-11-24 14:37:04 +08:00
Rosy Song
3b9dc892cb ppp: don't start ppp with IPv6 support if ipv6 is not supported
Fixes: #8286

Signed-off-by: Rosy Song <rosysong@rosinson.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2021-11-24 14:03:24 +08:00
SiYao Mo
a7d417c90d luci-app-arpbind: fix init doesn't work
Fixes: #8298
2021-11-24 13:56:17 +08:00
Beginner
96776d7d0b ethtool: update to version 5.15 (#8289)
cef54c4 Release version 5.15.
23beb39 update UAPI header copies
fd7db64 netlink: settings: Correct duplicate condition
88892ec Merge branch 'review/module-fixes-2-v2'
79cb4ab sff-8636: Remove extra blank lines
128e97c sff-8636: Convert if statement to switch-case
7ff603b sff-8636: Fix incorrect function name
86e9784 sff-8636: Remove incorrect comment
001aecd cmis: Correct comment
1bad83c cmis: Fix wrong define name
2c2fa88 cmis: Fix CLEI code parsing
d007b49 Merge branch 'review/module-fixes' into master
a7431bc netlink: eeprom: Fix compilation when pretty dump is disabled
d02409c ethtool: Fix compilation warning when pretty dump is disabled
2ddb1a1 netlink: eeprom: Fallback to IOCTL when a complete hex/raw dump is requested
7e153a7 cmis: Fix invalid memory access in IOCTL path
769a50e sff-8636: Fix parsing of Page 03h in IOCTL path

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

Co-authored-by: Hans Dedecker <dedeckeh@gmail.com>
2021-11-22 01:15:03 +08:00
Beginner
fce2887380 kernel: bump 5.4 to 5.4.159 (#8255)
Manually rebased:
    generic-backport/850-v5.13-usb-ehci-add-spurious-flag-to-disable-overcurrent-ch.patch

All other patches automatically rebased.

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-11-22 01:14:50 +08:00
Beginner
95f915abf1 luci-app: tidy up code (#8277)
1.文件尾部添加换行并删除多余的换行

2.整理代码,看起来更直观

3.更正文件的权限

4.将一些文件的CR LF末行符全部转为LF
2021-11-21 14:48:21 +08:00
Beginner
3c36b75de5 dnsproxy: Update to 0.39.11 (#8281) 2021-11-21 14:42:35 +08:00
Beginner
86de1e7158 UnblockNeteaseMusic: bump to latest git HEAD (#8276) 2021-11-20 01:43:04 +08:00
Beginner
56de0725a4 kernel: bump 5.10 to 5.10.80 (#8280)
Deleted (upstreamed):
ath79/patches-5.10/921-serial-core-add-support-for-boot-console-with-arbitr.patch [1]
bcm53xx/patches-5.10/033-v5.15-0012-ARM-dts-BCM5301X-Fix-memory-nodes-names.patch [2]
lantiq/patches-5.10/0016-mtd-rawnand-xway-Keep-the-driver-compatible-with-on-.patch [3]
lantiq/patches-5.10/0110-MIPS-lantiq-dma-add-small-delay-after-reset.patch [4]
lantiq/patches-5.10/0111-MIPS-lantiq-dma-reset-correct-number-of-channel.patch [5]
lantiq/patches-5.10/0112-MIPS-lantiq-dma-fix-burst-length-for-DEU.patch [6]

Manually rebased:
ipq806x/patches-5.10/0065-arm-override-compiler-flags.patch

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=47462c5e600fbaffd755cd13dedd80d04e41ff83
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=2fde76df1885a6bec04317e457121326070450eb
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=9b366f5221d8aa64b22f35be137a5749326444ce
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=5af57ce8a6155fe3e4270d28d171abf8903bebc0
[5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=b92a5df2c7adc79a57481445f67de0c1c716581f
[6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=6b72caabc47011d03f44064452b2c65e8ed18326

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-11-20 01:41:26 +08:00
Chiyuki Kagura
95a749a925 uugamebooster: bump to v2.18.0 (#8273) 2021-11-18 17:26:36 +08:00
Beginner
495fe886a3 luci-app-accesscontrol: tidy up code (#8241) 2021-11-16 20:33:55 +08:00
lean
ab08f8306e fix mtkwifi iface down after restart br-lan as workaround 2021-11-16 20:30:11 +08:00
lean
e3fdf4d8f6 ppp: bump to 2.4.9 2021-11-16 18:05:30 +08:00
Beginner
9e8387f5bb dnsmasq: sync upstream (#8245)
* dnsmasq: add ubus acl to allow calls to hotplug.tftp object

dnsmasq may call hotplug.dhcp, hotplug.neigh and hotplug.tftp.
Only the first two callees were listed in the ACL, so add missing
hotplug.tftp.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* dnsmasq: fix the dynamic dns object names patch

We can't use booleans, since we're not including stdbool.h. Use integers
instead.

Fixes: 0b79e7c01e ("dnsmasq: generate the dns object name dynamically")

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-11-16 16:19:06 +08:00
Beginner
298dfb71b8 luci-app-openvpn-server: tidy up luci (#8217) 2021-11-16 16:18:46 +08:00
Beginner
f31188e2f2 luci-app-softethervpn: tidy up luci (#8214) 2021-11-16 16:18:33 +08:00
AmadeusGhost
156a636522 rockchip: apply patches for GuangMiao G4C
Only God knows how to soft reset it.
2021-11-15 13:19:01 +08:00
Chen Minqiang
e38d76d36e umbim: fixup ipv6 address and gateway for pd 2021-11-15 09:16:22 +08:00
Howard Chu
0470e2a73d umbim: Fix typos, PIN check, IP config
Add pdptype param, for selecting IPv4, IPv6, or IPv4v6
Fix check for required PIN, only pin1 (SIM pin) matters
Get IP config directly from modem, no need for DHCP
Fix return value from proto_mbim_setup()

Signed-off-by: Howard Chu <hyc@symas.com>
2021-11-15 09:15:45 +08:00
Beginner
e3373ca72e luci-app-nps: tidy up luci (#8218) 2021-11-14 23:21:23 +08:00
Beginner
2e5f50cde9 kernel: bump 5.10 to 5.10.79 (#8246)
Manually rebased:
generic/backport-5.10/810-v5.13-usb-ehci-add-spurious-flag-to-disable-overcurrent-ch.patch

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-11-14 23:14:51 +08:00
hubbylei
bde47d3529 Update cpuinfo (#8250)
Fix errors in scripts
2021-11-13 21:30:01 +08:00
Beginner
894cba13b1 toolchain/musl: update to 1.2.2
Closed: #7989, #8108, #8199
2021-11-13 01:17:10 +08:00
AmadeusGhost
144217fada qBittorrent-static: fix download failure issue
Fixes: a623e3b ("qbittorrent: bump to v4.3.8")
Closed: #8209
2021-11-13 00:37:29 +08:00
AmadeusGhost
9991d3dd69 ipq-wifi: drop useless files
Fixes: d76ef71 ("ipq40xx: Add ZTE MF263 support")
2021-11-13 00:34:30 +08:00
i=菜鸡一批
2c139883e4 Make up the ipq temperature (#8244)
* Make up the ipq temperature

* Update cpuinfo

* 给bcm27xx加个温度吧。
2021-11-13 00:17:35 +08:00
Beginner
49f943873f pdnsd-alt: cleanup Makefile (#8236)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-11-12 16:35:50 +08:00
Beginner
ea3e9f2fe1 dns2socks: cleanup Makefile (#8237)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-11-12 16:35:38 +08:00
i=菜鸡一批
e65535d3cf rockchip:rk3399 increases the frequency of complete information of the big core (#8232)
* Update cpuinfo

* Add files via upload

Co-authored-by: KLT007 <84753324+KLT007@users.noreply.github.com>
2021-11-11 18:09:46 +08:00
Beginner
5390702074 aliyundrive-webdav: update to 0.5.5 (#8225)
Co-authored-by: messense <messense@icloud.com>
2021-11-11 09:26:34 +08:00
Beginner
2d8602fd87 luci-app-go-aliyundrive-webdav: sync upstream (#8228) 2021-11-11 09:26:25 +08:00
hejiawencc
7addb7e937 rockchip: add support for Embedfire DoorNet2 (#8226) 2021-11-11 09:26:13 +08:00
Beginner
ed74889e7e dnsmasq: generate the dns object name dynamically (#8227)
Fixes an issue with running multiple dnsmasq instances

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-11-11 09:22:18 +08:00
Beginner
e2307cd837 luci-app-xlnetacc: tidy up code (#8196) 2021-11-10 15:45:29 +08:00
Beginner
fed785d92f luci-app-unblockmusic: tidy up code (#8197) 2021-11-10 15:44:55 +08:00
Beginner
38162e62b3 dnsmasq: sync upstream (#8212)
* dnsmasq: add support for monitoring and modifying dns lookup results via ubus

The monitoring functionality will be used for dns rule support in qosify

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* dnsmasq: add match_tag for --dhcp-host

A set of tags can be specified for --dhcp-host option to restrict the
assignment to the requests which match all the tags.

Example usage:

config vendorclass
        option networkid 'udhcp'
        option vendorclass 'udhcp'

config host
        option mac '*:*:*:*:*:*'
        list match_tag 'switch.10'
        list match_tag 'udhcp'
        option ip '192.168.25.10'

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
Co-authored-by: Paul Fertser <fercerpav@gmail.com>
2021-11-10 15:42:48 +08:00
Beginner
3425c80725 dnsproxy: update to 0.39.10 (#8211) 2021-11-10 15:41:44 +08:00
Beginner
0ed591b402 luci-app-frpc: tidy up code (#8168) 2021-11-10 15:34:23 +08:00
Beginner
ac2d41bd27 luci-app-vlmcsd: fix fatch (#8223)
Co-authored-by: EnnawYang <6705663+EnnawYang@users.noreply.github.com>
2021-11-10 15:33:26 +08:00
zxlhhyccc
04d5160fa8 go-aliyundrive-webdav:Update to v1.0.15 (#8203) 2021-11-09 08:06:48 +08:00
Beginner
b442cc508b kernel: bump 5.4 to 5.4.158 (#8207)
All patches automatically rebased.

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-11-09 08:06:15 +08:00
Beginner
937f01bea2 go-aliyundrive-webdav: update to 1.0.14 (#8186) 2021-11-08 13:16:35 +08:00
Beginner
f5ecabe9e7 rclone: update to 1.57.0 (#8169)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-11-08 13:10:40 +08:00
Beginner
127cb57051 aliyundrive-webdav: update to 0.5.4 (#8195)
Co-authored-by: messense <messense@icloud.com>
2021-11-08 13:10:23 +08:00
lean
0f25fd18ee rockchip: swtich kernel to 5.4 2021-11-08 13:07:33 +08:00
lean
0977610352 rockchip: add support for HuaKe GuangMiao G4C by AmadeusGhost 2021-11-08 12:55:54 +08:00
Beginner
f0182383ce luci-app-qbittorrent: tidy up code (#8194) 2021-11-07 18:51:06 +08:00
Boos4721
1d22d226a1 kernel: bump 5.10 to 5.10.78 (#8193)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-11-07 18:50:35 +08:00
Beginner
f982a8bed6 UnblockNeteaseMusic: bump to latest git HEAD (#8177) 2021-11-06 20:53:02 +08:00
Beginner
14d974ed27 UnblockNeteaseMusic-Go: Update to 0.2.13 (#8185) 2021-11-06 20:52:51 +08:00
godMan
f7b1286679 luci-app-jd-dailybonus: sync upstream (#8189)
Signed-off-by: yoyi412 <43584510+yoyi412@users.noreply.github.com>

Co-authored-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2021-11-06 20:52:37 +08:00
Hugo Yuan
d76ef71367 ipq40xx: Add ZTE MF263 support (#8181) 2021-11-05 00:05:49 +08:00
Hugo Yuan
d0f1f23537 ipq40xx: Add cmdline override support for kernel 5.4 (#8180) 2021-11-05 00:04:24 +08:00
Beginner
36d2549203 kernel: bump 5.4 to 5.4.156 (#8149)
Removed upstreamed:
  backport-5.4/790-v5.7-net-switchdev-do-not-propagate-bridge-updates-across.patch

All other patches automatically rebased.

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-11-04 01:18:18 +08:00
Beginner
97485b8f42 aliyundrive-webdav: update to 0.5.2 (#8170)
Co-authored-by: messense <messense@icloud.com>
2021-11-04 01:18:02 +08:00
Boos4721
147aac7507 ramips: 5.10: fix issuse https://github.com/coolsnowwolf/lede/issues/8171 (#8172)
drop unnecessary commit form official kernel merge

Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-11-04 01:17:51 +08:00
csharper2005
7c0b920f18 ramips: Add support for Beeline SmartBox TURBO+ (#8161)
* ramips: add support for Beeline(Sercomm) U-Boot

- Add recipe for several Beeline/Sercomm devices (e.g., Beeline SmartBox
  GIGA, Beeline SmartBox Turbo+, Sercomm S3) that appends special header
  to a kernel.

- Add device variables KERNEL_LOADADDR, LZMA_TEXT_START. It's also
  necessary for the devices mentioned above.

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
(cherry picked from commit 6240da24f4c1442b0f750f06be512f630b0bc6c8)
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

* ramips: Add support for Beeline SmartBox TURBO+

This PR adds support for router Beeline Smart Box TURBO+.
OEM/ODM Serсomm. Almost identical to Serсomm S3.

Specification
-------------
SoC Type: MediaTek MT7621AT (880 MHz, 2 cores)
RAM (Nanya NT5CC64M16GP): 128 MiB
Flash (Macronix MX30LF1G18AC): 128 MiB
Wireless 2.4 GHz (MT7603EN): b/g/n, 2x2
Wireless 5 GHz (MT7615N): a/n/ac, 4x4
Ethernet: 5 ports - 5×GbE (WAN, LAN1-4)
USB ports: 1xUSB3.0
Buttons: 2 button (reset, wps)
LEDs: Red, Green, Blue
Zigbee (EFR32MG1B232GG): 3.0
Stock bootloader: U-Boot 1.1.3
Power: 12 VDC, 1.5 A

Installation
------------
Attach serial console, then boot the initramfs image via TFTP.
Once inside OpenWrt, run sysupgrade -n with the sysupgrade file.

Signed-off-by: Maximilian Weinmann <x1@disroot.org>
(cherry picked from commit d1f294521bd8bc462c76e09c57a5c8b0600170cd)
(factory recipe from a2cfe339995467308c9126c3d0f70d2a28aeb073)
(big NAND from e6e5837a625ba09e286a5bde05f2ce581cfbeab7)
(removed nvmem cells, fixed conflicts)
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

* ramips: add Sercomm partition map parser

This adds an MTD partition parser for the Sercomm partition table that
is used in some Netgear routers.

This is essentially the same code as proposed in the pull request for
Netgear R6350 support by NOGUCHI Hiroshi <drvlabo@gmail.com>:
https://github.com/openwrt/openwrt/pull/1318

It was originally rejected as it did not seem to work correctly.
However, this was only due the NAND driver transparently shifting pages
to hide bad blocks, which was fixed in commit
527832e54bf3bc4d699a145ae66f34230246f0a9.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
[x1@disroot.org: correction from checkpatch.pl]
Signed-off-by: Maximilian Weinmann <x1@disroot.org>
(cherry picked from commit 65e772105f8d5e98a999b836fed794b7415f2741)
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

* ramips: Improve Beeline Smartbox Turbo+ support in lede

Changed switch configuration and a few minor changes.

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

Co-authored-by: Maximilian Weinmann <x1@disroot.org>
Co-authored-by: Jan Hoffmann <jan@3e8.eu>
2021-11-03 12:16:32 +08:00
Boos4721
8d9e14b6ee kernel: bump 5.10 to 5.10.77 (#8167)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-11-03 12:16:17 +08:00
Beginner
cd84bd33e1 iproute2: Avoid unnecessary package rebuilds (#8163)
Build the tc-mod-iptables before the tc-tiny and tc-full packages.

This avoids unnecessary package rebuild when calling make back to back.
Before this change, tc-mod-iptables will be built after the main tc
binary packages.

Both tc-tiny and tc-full depend on tc-mod-ipables.  If make is called
after the packages are already built, it will check the timestamps of
both packages, and will rebuild the main binaries, since the module
package will be newer than the tc package.

Calling BuildPackage,mod-iptables first ensures that its variant gets
built before the other packages' variants.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-11-02 22:41:46 +08:00
Beginner
20c5ace4e4 dnsmasq: fix jail mount in case of ignore_hosts_dir being set (#8164)
Commit a2fcd3900c ("dnsmasq: improve init script") broke the existing
handling for hosts_dir. Remove the redundant mount again to fix it.

Reported-by: Hartmut Birr <e9hack@gmail.com>
Fixes: a2fcd3900c ("dnsmasq: improve init script")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-11-02 19:39:12 +08:00
Beginner
163eff7fa9 hostapd: avoid unnecessary package rebuilds (#8162)
Package hostapd-common is a dependency of every other package defined in
hostpad Makefile.  It is currently built next to the bottom of that
Makefile's package list.

If you run make back to back, then check-compile will compare the
hostapd-common timestamp to the variant being compiled, to decide if the
varint needs to be rebuilt or not.  Since the hostapd-conf package is
built towards the end of the list, it will be newer than most of the
variants, causing unnecessary package rebuilds.

Move it to the top, so that its timestamp will be older than dependent
packages, avoiding unnecessary rebuild of every selected variant.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-11-02 19:38:59 +08:00
ZeaKyX
a0bd6c8d4a qbittorrent: bump to v4.3.9 (#8158)
* qBittorrent-static: bump to v4.3.9_v1.2.14

* qbittorrent: bump to v4.3.9
2021-11-02 15:01:51 +08:00
Beginner
4b32d3505c dnsmasq: improve init script (#8153)
* fix restart in LuCI (inherited umask was to restrictive)
 * make directory of hosts-file (!= /tmp) accessible in ujail

Reported-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-11-01 15:29:44 +08:00
lean
7b26690e6e Version update to R21.11.11 2021-11-01 15:18:19 +08:00
lean
924819cf9e vlmcsd: fix patch 2021-11-01 15:08:47 +08:00
Beginner
0509415173 luci-app-vlmcsd: tidy up luci (#8150) 2021-11-01 09:57:56 +08:00
Beginner
eff943777d luci-app-go-aliyundrive-webdav: add package (#8112)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2021-10-31 17:04:10 +08:00
Beginner
67d86bf3cf luci-app-aliyundrive-webdav: update to 0.5.1 (#8144)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2021-10-31 17:03:39 +08:00
Beginner
047c7ec182 kernel: bump 5.10 to 5.10.76 (#8136)
Deleted (upstreamed):
bcm27xx/patches-5.10/950-0145-xhci-add-quirk-for-host-controllers-that-don-t-updat.patch [1]

Manually rebased:
bcm27xx/patches-5.10/950-0355-xhci-quirks-add-link-TRB-quirk-for-VL805.patch
bcm53xx/patches-5.10/180-usb-xhci-add-support-for-performing-fake-doorbell.patch

Note: although automatically rebaseable, the last patch has been edited to avoid
conflicting bit definitions.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=b6f32897af190d4716412e156ee0abcc16e4f1e5

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-10-31 16:27:59 +08:00
Beginner
74ff18c98b UnblockNeteaseMusic: bump to latest git HEAD (#8143) 2021-10-31 16:26:26 +08:00
Zhangyi
d9a8c1657b Update setting.lua (#8040)
add comments
2021-10-30 00:01:22 +08:00
Beginner
08d7638ce9 frp: update to 0.38.0 (#8139)
Co-authored-by: Chukun Pan <amadeus@jmu.edu.cn>
2021-10-29 13:20:01 +08:00
AmadeusGhost
aabb9a49f7 mtk_apcli: move to wireless 2021-10-29 00:15:23 +08:00
AmadeusGhost
f4ff087e02 luci-app-mtwifi: sync upstream source
From: https://github.com/MeIsReallyBa/MT7915_7621-MT_WIFI-Openwrt
2021-10-29 00:11:18 +08:00
AmadeusGhost
974cee715d mtwifi: add default config for mt7915d
Based on: https://github.com/MeIsReallyBa/MT7915_7621-MT_WIFI-Openwrt
2021-10-29 00:05:06 +08:00
AmadeusGhost
e76d06cd15 quantenna: only enabled on ipq806x
However, I still don’t know why rockchip and x86 users
choose this driver.

Closed: #7816, #8049
2021-10-28 23:51:38 +08:00
Beginner
a763fe4e88 base-files: chmod 1777 /var/lock (#8120)
Per FHS 3.0, /var/lock is the location for lock files [1].
However its current permissions (755) are too restrictive
for use by unprivileged processes.
Debian and Ubuntu set them to 1777, and now so do we.

[1] <https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#varlockLockFiles>

Signed-off-by: Deomid Ryabkov <rojer@rojer.me>
[fixed typo in commit message, had to remove "rojer" due to git hooks]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>

Co-authored-by: Deomid Ryabkov <rojer@rojer.me>
2021-10-26 22:22:11 +08:00
Beginner
d4df1bbdab dnsproxy: update to 0.39.9 (#8135) 2021-10-26 22:21:31 +08:00
Beginner
57f1fc21c3 ethtool: update to v5.14 (#8121)
Update to newly released version 5.14

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

Co-authored-by: Hans Dedecker <dedeckeh@gmail.com>
2021-10-25 23:01:14 +08:00
NagaseKouichi
bd8a6f08f0 uugamebooster: bump to v2.17.8 (#8126) 2021-10-25 18:36:31 +08:00
Beginner
7d1b459038 tools/isl: update the download URL (#8111)
isl.gforge.inria.fr has been dead since early this month [1]. Switch to
libisl.sourceforge.io for the time being.

[1] https://groups.google.com/g/isl-development/c/JGaMo2VUu_8

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-10-24 10:52:05 +08:00
Beginner
0d0403785e luci-app-aliyundrive-webdav: update to 0.4.8 (#8114)
Co-authored-by: messense <messense@icloud.com>
2021-10-23 18:05:19 +08:00
Beginner
26afd3e54d luci-app-jd-dailybonus: minor adjustments (#8113)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2021-10-23 18:05:07 +08:00
Tianling Shen
f0b639bb51 simple-obfs/trojan: move to helloworld (#8106)
* simple-obfs: remove package

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* trojan: remove package

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-22 23:16:53 +08:00
Beginner
f100ebf845 hostapd: sync upstream (#8101)
* hostapd: fix a race condition on adding AP mode wds sta interfaces

Both hostapd and netifd attempt to add a VLAN device to a bridge.
Depending on which one wins the race, bridge vlan settings might be incomplete,
or hostapd might run into an error and refuse to service the client.
Fix this by preventing hostapd from adding interfaces to the bridge and
instead rely entirely on netifd handling this properly

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* hostapd: fix up patches after the last commit

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* hostapd: ubus: fix uninitialized pointer

This fixes passing a bogus non-null pointer to the ubus handler in case
the transition request is rejected.

Signed-off-by: David Bauer <mail@david-bauer.net>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
Co-authored-by: David Bauer <mail@david-bauer.net>
2021-10-22 11:56:24 +08:00
Beginner
69753f8625 kernel: bump 5.4 to 5.4.155 (#8102)
* kernel: bump 5.4 to 5.4.153

Removed upstreamed:
  backport-5.4/070-v5.5-MIPS-BPF-Restore-MIPS32-cBPF-JIT.patch

All other patches automatically rebased.

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.4 to 5.4.154

All patches automatically rebased.

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.4 to 5.4.155

All patches automatically rebased.

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-10-22 11:55:35 +08:00
Beginner
13384d4c51 rclone: sync upstream (#8082)
Co-authored-by: Elon Huang <elonh@immortalwrt.org>
2021-10-21 11:04:25 +08:00
ntlf9t
e76d6d720c update easymesh v1.8 (#8094)
Co-authored-by: ntlf9t <dingzhong110@gmail.com>
2021-10-21 11:03:20 +08:00
Boos4721
7fce1e0dd5 kernel: bump 5.10 to 5.10.75 (#8095)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-21 11:00:41 +08:00
110010110
8c73e80029 qca-nss-ecm-64: unset active connection values and revert to default (#8096) 2021-10-21 11:00:23 +08:00
Beginner
03ff629884 hostapd: sync upstream (#8078)
* hostapd: ubus: add notification for BSS transition response

To allow steering daemons to be aware of the STA-decided transition
target, publish WNM transition responses to ubus. This way, steerings
daemons can learn about STA-chosen targets and send a better selection
of transition candidates.

Signed-off-by: David Bauer <mail@david-bauer.net>

* hostapd: ubus: add BSS transtiton request method

The existing wnm_disassoc_imminent ubus method only supports issuing a
bss transition request with the disassoc imminent flag set.
For use-cases, where the client is requested to roam to another BSS
without a pending disassoc, this existing method is not suitable.

Add a new bss_transition_request ubus method, which provides a more
universal way to dispatch a transition request. It takes the following
arguments:

Required:
addr: String - MAC-address of the STA to send the request to (colon-seperated)

Optional:
abridged - Bool - Indicates if the abridged flag is set
disassociation_imminent: Bool - Whether or not the disassoc_imminent
                         flag is set
disassociation_timer: I32 - number of TBTTs after which the client will
                      be disassociated
validity_period: I32 - number of TBTTs after which the beacon
                 candidate list (if included) will be invalid
neighbors: blob-array - Array of strings containing neighbor reports as
           hex-string

Signed-off-by: David Bauer <mail@david-bauer.net>

* hostapd: fix goto loop for ubus assoc handler

When a ubus event handler denies a association with a non-zero return
value, the code jumps to preceeding code, creating an endless loop until
the event handler accepts the assc request.

Move the ubus handler further up the code to avoid creating such a loop.

Signed-off-by: David Bauer <mail@david-bauer.net>

Co-authored-by: David Bauer <mail@david-bauer.net>
2021-10-20 17:29:38 +08:00
KLT007
9a50fdefc9 rockchip:add arm64-dts-doornet1-add-rk3328-dmc-relate-node (#8092)
* Delete 809-arm64-dts-DoorNet1-add-dmc-and-dram-timing.patch

* Add files via upload

* Update 809-arm64-dts-doornet1-add-rk3328-dmc-relate-node.patch
2021-10-20 17:24:04 +08:00
Beginner
9b094ff6fe luci-app-serverchan: sync upstream (#8080)
Co-authored-by: tty228 <tty228@yeah.net>
2021-10-20 12:55:36 +08:00
EnnawYang
892791f72d luci-app-jd-dailybonus: bump to 1.0.6 (#8091)
Co-authored-by: EnnawYang <EnnawYang@users.noreply.github.com>
2021-10-20 12:55:01 +08:00
Beginner
ffe2efbefe kernel: bump 5.4 to 5.4.152 (#8081)
* kernel: bump 5.4 to 5.4.151

All patches automatically rebased.

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.4 to 5.4.152

All patches automatically rebased.

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-10-19 22:51:53 +08:00
Beginner
280c1478f1 luci-app-aliyundrive-webdav: update to 0.4.7 (#8084)
Co-authored-by: messense <messense@icloud.com>
2021-10-19 22:51:14 +08:00
Stalker
47f5123531 tools/m4: update to 1.4.19 (#8067)
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2021-10-18 15:01:48 +08:00
Boos4721
483eb8772d kernel: bump 5.10 to 5.10.74 (#8068)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-18 09:42:29 +08:00
Boos4721
50cce804be kernel: bump 5.10 to 5.10.73 (#8064)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-17 14:53:09 +08:00
lean
fe032306be Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-10-16 15:27:35 +08:00
lean
a3f52d758a kernel: bump 5.10 to 5.10.72 2021-10-16 15:27:27 +08:00
KLT007
17997a3ba9 DoorNet1:Missing file (#8062)
* Delete 809-arm64-dts-DoorNet1-add-dmc-and-dram-timing.patch

* Add files via upload

缺少一个文件
2021-10-16 14:58:13 +08:00
ntlf9t
998bfc0485 luci-app-easymesh: generate PMK locally (#8058) 2021-10-16 10:02:07 +08:00
Beginner
d6a9941b07 firmware-utils: update to version 2021-10-05 (#8003)
* firmware-utils: update to version 2021-10-05

Includes following changes:

 db65821f006c cmake: fix missing install target
 3a0cfc856991 Add initial GitLab CI support
 8f47adea6f87 Add missing includes for byte swap operations
 fbafae9f8037 Convert to CMake based project

Additionaly moves source code into separate Git project repository and
converts the package build to utilize CMake.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
[rmilecki: rebase, update to the latest repo git & rm -r src]
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

* firmware-utils: bump to git HEAD

f9ad6b3 Add more missing includes for byte swap operations

Basically stop it exploding on MacOS

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

Co-authored-by: Petr Štetiar <ynezz@true.cz>
Co-authored-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2021-10-16 00:19:28 +08:00
ntlf9t
f598cbf18d luci-app-easymesh: update to v1.7 (#8057) 2021-10-15 23:20:16 +08:00
KLT007
1a4f339cb5 DoorNet1-add-dmc-and-dram-timing (#8053)
* Add files via upload

* Update 809-arm64-dts-DoorNet1-add-dmc.patch

* Update 809-arm64-dts-DoorNet1-add-dmc.patch

* Update 809-arm64-dts-DoorNet1-add-dmc.patch

* Update 809-arm64-dts-DoorNet1-add-dmc.patch

多一个空地方,防止在打补丁的时候顺序导致失败

* Delete 809-arm64-dts-DoorNet1-add-dmc.patch

* Add files via upload
2021-10-15 19:42:17 +08:00
Boos4721
658c2f10bc r8125: update to 9.006.04 (#8055)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-15 19:41:50 +08:00
AmadeusGhost
fb8a887bdf rockchip: revert upgrade part change again
Fixes: b1b36c86af
2021-10-15 13:30:47 +08:00
Beginner
53d63e38a9 kernel: drop kmod-gpio-dev (#8015)
The GPIO_DEVICE symbol belonged to a custom driver that was removed from
OpenWrt in 2012. The symbol never existed in the upstream kernel.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-10-13 17:29:11 +08:00
Boos4721
5f47207691 autocore: add missing depend package ethtool (#8030)
for fix issuse https://github.com/coolsnowwolf/lede/issues/8029

Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-12 08:15:59 +08:00
lean
dd9f6db1e8 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-10-11 17:12:11 +08:00
lean
d48fb0f877 autocore: add eth info for arm/armv8 target 2021-10-11 17:12:01 +08:00
Ailick
7f7366334c luci-app-turboacc: fix issues #7858 #7970 and more (#8018)
* shortcut-fe: Remove unnecessary unloading.

* luci-app-turboacc: add fullcone status sync
2021-10-11 16:15:03 +08:00
Ailick
b947b26d6b firewall: add reload config for triggers (#8027) 2021-10-11 16:14:23 +08:00
lean
983fdace9f luci-app-unblockmusic: adjust settings 2021-10-11 12:10:51 +08:00
Boos4721
92cbe03c5e tools/cmake: update to 3.21.3 (#7997)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-11 10:33:21 +08:00
Beginner
c14b434216 rclone: sync upstream (#8024)
* rclone-webui: cleanup Makefile

* rclone: import init files from luci

* rclone: add missing dependencies

* luci-app-rclone: move init files to packages

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-11 10:32:36 +08:00
Beginner
86cec76891 r8168: Update to 8.049.02 (#8016)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-10 14:40:19 +08:00
Beginner
d8ddacaad9 UnblockNeteaseMusic: bump to latest git HEAD (#8019) 2021-10-10 14:28:27 +08:00
lean
13792caf1b vlmcsd: add Windows 11 KMS key support 2021-10-08 16:50:43 +08:00
lean
4d7056dd7e rockchip: add missing symbol 2021-10-08 16:42:22 +08:00
lean
b1b36c86af rockchip: add yt85xx eth support for R2C 2021-10-08 16:22:39 +08:00
AmadeusGhost
56c4a5e91c base-files: switch the banner to lede 2021-10-08 11:40:18 +08:00
AmadeusGhost
d15af9ff7c r8152-vendor: only enabled for x86 targets
Ref: https://github.com/coolsnowwolf/lede/pull/8007#issuecomment-936127147
We do not welcome these unfriendly friendlyarm users. Btw, these projects
like "Fusion xxx" often confused me who is the original author.
2021-10-08 11:38:56 +08:00
AmadeusGhost
1c6254d794 Revert "ipq806x: skip MTDBLOCK error to speedup booting time by 5x"
This reverts commit 56e6c4b866.
Fixes: #7927
2021-10-08 11:31:03 +08:00
Boos4721
dd18c88844 tools/ccache: update to 4.4.2 (#7996)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-08 10:25:04 +08:00
lean
be571ec531 ipq807x: add zram swap by default 2021-10-07 12:47:27 +08:00
lean
a74f708420 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-10-07 12:28:52 +08:00
lean
6493920983 ipq807x: fix dtsi pcie patch 2021-10-07 12:28:44 +08:00
Beginner
6b35bb1a85 treewide: use AUTORELEASE on all uboot-* packages (#7988)
Nobody ever updates PKG_RELEASE when changing devices or setup in
the various uboot-* packages. Use $(AUTORELEASE) so we still have
proper versioning there.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

Co-authored-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-10-07 11:58:12 +08:00
Wu SiYu
1aa340d946 luci-app-airplay2: bugfix ,cleanup and enhance (#8008)
bugfix: in shairport-sync's conf file output_rate should be number form
    (except "auto")
bugfix: audio_backend_buffer_desired_length should in "general" section
enhance: option and text imporvement
cleanup: remove invalid options in shairport-sync's conf file generate
2021-10-07 00:10:31 +08:00
Beginner
4df40b7ed9 luci-app-unblockmusic: drop outdated server (#7977)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-06 21:24:55 +08:00
Beginner
b8c1f2d824 rclone: update to 1.56.2 (#7994) 2021-10-06 11:30:46 +08:00
Beginner
7d2c39e087 dnsmasq: add explicit "set:" for client-matching options (#7993)
Bring the usage in line with the dnsmasq man page and the other options
where set: is mandatory.

No functional change.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

Co-authored-by: Paul Fertser <fercerpav@gmail.com>
2021-10-06 11:30:27 +08:00
Beginner
a9c5c7aa6b kernel: bump 5.10 to 5.10.70 (#7976)
* kernel: bump 5.10 to 5.10.65

Manually refreshed:
generic/pending-5.10/800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch
bcm27xx/patches-5.10/950-0053-firmware-bcm2835-Support-ARCH_BCM270x.patch
bcm27xx/patches-5.10/950-0087-firmware-raspberrypi-Add-backward-compatible-get_thr.patch

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.66

No patches refreshed.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.67

Deleted (upstreamed):
bcm27xx/patches-5.10/950-0312-vc4_hdmi-Set-HD_CTL_WHOLSMP-and-HD_CTL_CHALIGN_SET.patch

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.68

Deleted (upstreamed):
generic/backport-5.10/610-v5.13-02-netfilter-Fix-fall-through-warnings-for-Clang.patch
generic/backport-5.10/792-v5.15-0001-net-dsa-b53-Fix-calculating-number-of-switch-ports.patch
generic/backport-5.10/792-v5.15-0002-net-dsa-b53-Set-correct-number-of-ports-in-the-DSA-s.patch
generic/backport-5.10/792-v5.15-0003-net-dsa-b53-Fix-IMP-port-setup-on-BCM5301x.patch
generic/backport-5.10/840-0001-PCI-of-Don-t-fail-devm_pci_alloc_host_bridge-on-miss.patch
generic/backport-5.10/840-0002-PCI-iproc-Fix-BCMA-probe-resource-handling.patch
generic/pending-5.10/498-mtd-mtdconcat-select-readwrite-function.patch

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.69

Patches automatically refreshed.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.70

Deleted (upstreamed):
bcm53xx/patches-5.10/181-Revert-USB-bcma-Add-a-check-for-devm_gpiod_get.patch

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-10-04 22:25:52 +08:00
Boos4721
00eeb609c2 ramips: config refresh (#7984)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-04 22:25:20 +08:00
Wu SiYu
81d712944d package: enhance luci-app-airplay2 (#7990)
feature: add allow_session_interruption and session_timeout option
bugfix: restart shairport-sync when new setting submitted on luci
enhance: some text change and file rename
2021-10-04 22:24:38 +08:00
Beginner
3a5b730796 kernel: bump 5.4 to 5.4.150 (#7981)
Manually rebased:
  generic/pending-5.4/800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch
  mvebu/patches-5.4/021-arm64-dts-marvell-armada-37xx-Move-PCIe-comphy-handl.patch

Removed upstreamed:
  layerscape/patches-5.4/819-uart-0004-MLK-18137-fsl_lpuart-Fix-loopback-mode.patch

All others updated automatically.

Compile-tested on: lantiq/xrx200, armvirt/64
Runtime-tested on: lantiq/xrx200, armvirt/64

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-10-03 10:04:41 +08:00
Beginner
1c61fc40eb UnblockNeteaseMusic: bump to latest git HEAD (#7968) 2021-10-01 23:24:24 +08:00
zcluo
1b6de996c9 update hash code (#7972)
update hash code
2021-10-01 23:24:11 +08:00
Beginner
dd63907371 luci-app-aliyundrive-webdav: add package (#7967)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>

Co-authored-by: messense <messense@icloud.com>
2021-10-01 22:16:24 +08:00
lean
687407acdc Version update to R21.10.1 2021-09-30 21:16:28 +08:00
Rosen Penev
8f8be53288 cryptodev-linux: update to 1.12
Remove upstream backport.

Use AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-30 16:18:17 +08:00
lean
61b1fd2208 Revert "mac80211: sync upstream (#7932)"
This reverts commit a42521a11f.
2021-09-29 21:45:03 +08:00
Beginner
a42521a11f mac80211: sync upstream (#7932)
* mac80211: fix HT40 mode for 6G band

The channel offset used for VHT segment calculation was missing for HT

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* mac80211: refresh patch

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* mac80211: add missing change for encap offload on devices with sw rate control

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* ath9k: owl-loader: remove obsolete AR71XX patch

this is no longer necessary as the AR71XX target
was superseded by ath79.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>

* mac80211: revert faulty change that was breaking broadcast tx

Fixes: 0f6887972adc ("mac80211: add missing change for encap offload on devices with sw rate control")
Signed-off-by: Felix Fietkau <nbd@nbd.name>

* mac80211: Update to backports-5.10.68

Refresh all patches.
The removed patches were integrated upstream.

This contains fixes for CVE-2020-3702

1. These patches (ath, ath9k, mac80211)  were included in kernel
versions since 4.14.245 and 4.19.205. They fix security vulnerability
CVE-2020-3702 [1] similar to KrØØk, which was found by ESET [2].

Thank you Josef Schlehofer for reporting this problem.

[1] https://nvd.nist.gov/vuln/detail/CVE-2020-3702
[2] https://www.welivesecurity.com/2020/08/06/beyond-kr00k-even-more-wifi-chips-vulnerable-eavesdropping/

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* mac80211: backport support for BSS color changes

This is needed for an upcoming mt76 update

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
Co-authored-by: Christian Lamparter <chunkeey@gmail.com>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-09-29 21:41:27 +08:00
Beginner
9d0e6f7509 dnsproxy: update to 0.39.8 (#7963) 2021-09-29 21:13:11 +08:00
Beginner
5cfc0c8652 bcm47xx: use device vendor/model variable (#7923)
Remove use of DEVICE_TITLE in favor of the
DEVICE_VENDOR and DEVICE_MODEL as used by
all other targets.

Signed-off-by: Moritz Warning <moritzwarning@web.de>

Co-authored-by: Moritz Warning <moritzwarning@web.de>
2021-09-29 21:12:52 +08:00
Beginner
764922c9bd x86: use device vendor/model variable (#7922)
Remove use of DEVICE_TITLE in favor of the
DEVICE_VENDOR and DEVICE_MODEL as used by
all other targets.

Signed-off-by: Moritz Warning <moritzwarning@web.de>

Co-authored-by: Moritz Warning <moritzwarning@web.de>
2021-09-29 21:12:31 +08:00
lean
b31e3e5593 ramips: disable cpu vint and veic to fix hwnat deadlock 2021-09-29 18:19:40 +08:00
lean
b3d4f7194d Revert "uboot-rockchip: fix pine64-bin"
This reverts commit 9d43160389.
2021-09-29 18:05:35 +08:00
lean
287e4bbf46 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-09-29 17:46:29 +08:00
lean
8c900f879c rockchip: add default pacakge 2021-09-29 17:46:04 +08:00
lean
0708698c66 rockchip: add default pacakge 2021-09-29 17:19:46 +08:00
lean
9d43160389 uboot-rockchip: fix pine64-bin 2021-09-29 16:47:25 +08:00
AmadeusGhost
46babd06c8 libcryptopp: makefile typo fixes 2021-09-29 12:12:45 +08:00
AmadeusGhost
428c40e58c Revert "add luci-app-netspeedtest (#7947)"
This reverts commit 0088bb1601.
Obviously the author put it up without any testing, so just
remove it. Closed: #7958, #7959
2021-09-29 12:08:07 +08:00
Tianling Shen
6e383a1471 Revert "amule: update to 2.3.3 (#7935)" (#7956)
The dependencies in the repo doesn't meet the minimum requirements for
upgrading to the latest aMule version.

This reverts commit dc43ea2936.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-29 11:24:13 +08:00
Tianling Shen
0af413d211 rockchip: update binary name of idbloader (#7957)
In rockchip's proprietary ddrloader, the idbloader can be general and
no longer limited to the specific device.
This matches the behavior in arm-trusted-firmware-rockchip-vendor.

Fixes: dd71a38acb ("uboot-rockchip: update package")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-29 11:06:17 +08:00
lean
dd71a38acb uboot-rockchip: update package 2021-09-29 01:01:18 +08:00
ricksuzade-maker
a7197ba92f Bump wireguard-tools to the latest version (#7951) 2021-09-29 00:04:40 +08:00
Beginner
dc43ea2936 amule: update to 2.3.3 (#7935)
Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2021-09-29 00:04:18 +08:00
Beginner
5e0ba68c3e luci-app-netspeedtest: rewrite makefile (#7953)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2021-09-29 00:03:03 +08:00
SirPdboy
0088bb1601 add luci-app-netspeedtest (#7947) 2021-09-28 16:02:32 +08:00
Boos4721
6df7af1c75 tools/ccache: update to 4.4.1 (#7930)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-09-28 16:01:55 +08:00
Beginner
20d18c4024 UnblockNeteaseMusic: bump to latest git HEAD (#7948) 2021-09-28 16:00:53 +08:00
Beginner
ecab8d5e17 UnblockNeteaseMusic: bump to latest git HEAD (#7946) 2021-09-27 22:36:28 +08:00
lean
4e1ecf98aa uboot-rockchip: add NanoPi R2C support 2021-09-27 22:35:07 +08:00
lean
97561b9ac6 UnblockNeteaseMusic: fix hash sum 2021-09-27 18:34:20 +08:00
Beginner
dee67c7b7a rclone: sync upstream (#7936)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-27 11:35:43 +08:00
Beginner
be087a4f7e hostapd: sync upstream (#7925)
* hostapd: let netifd set bridge port attributes for snooping

Avoids race conditions on bridge member add/remove

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* hostapd: fix segfault when deinit mesh ifaces

In hostapd_ubus_add_bss(), ubus objects are not registered for mesh
interfaces. This provokes a segfault when accessing the ubus object in
mesh deinit.

This commit adds the same condition to hostapd_ubus_free_bss() for
discarding those mesh interfaces.

Signed-off-by: Jesus Fernandez Manzano <jesus.manzano@galgus.net>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
Co-authored-by: Jesus Fernandez Manzano <jesus.manzano@galgus.net>
2021-09-25 01:42:07 +08:00
Beginner
c85f84bfde base-files: reduce sed calls (#7924)
* base-files: reduce `sed` calls

The `sed`-script shouldn't be called multiple times, especially not with
the same files.

This commit merges all files together in a single `sed`-script call.

Signed-off-by: Paul Spooren <mail@aparcar.org>

* base-files: reduce number of `mkdir` calls

The `mkdir` commands supports passing multiple arguments to batch create
multiple folders, instead of calling the tool every single time.

If the creation of one of the folders fails, all other folder are still
created and therefore doesn't change the error handling.

Also stop creating `/etc/` explicitly after subfolders of `/etc/` were
already created.

Signed-off-by: Paul Spooren <mail@aparcar.org>

Co-authored-by: Paul Spooren <mail@aparcar.org>
2021-09-25 01:40:03 +08:00
lean
b71710dbe3 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-09-24 22:12:39 +08:00
lean
cf8d3b6b33 ramips: mt7530 use lock to protect registers access 2021-09-24 22:12:29 +08:00
Beginner
218c16576f iproute2: update to 5.14 (#7887)
* iproute2: bump to 5.13

Drop patch 185-libbpf-add-limits-h merged upstream
Update patch 170-ip_tiny
Update patch 130-no_netem_tpic_dcb...

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>

* iproute2: m_xt.so depends on dynsyms.list

When doing parallel build on a fast machine with bottleneck in i/o,
m_xt.so may start linking faster than dynsyms.list gets populated,
resulting in error:

ld:dynsyms.list:0: syntax error in dynamic list

Fix this by adding dynsyms.list as make dependency to m_xt.so
Described also here:
https://bugs.openwrt.org/index.php?do=details&task_id=3353

Change from v1:
- add dynsysms.list dependancy only when shared libs are enabled

Signed-off-by: Roman Yeryomin <roman@advem.lv>
Fixes: FS#3353

* iproute2: update to 5.14

Update iproute2 to latest stable 5.14; for the changes see https://lwn.net/Articles/867940/

Refresh patches

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

Co-authored-by: Ansuel Smith <ansuelsmth@gmail.com>
Co-authored-by: Roman Yeryomin <roman@advem.lv>
Co-authored-by: Hans Dedecker <dedeckeh@gmail.com>
2021-09-24 22:04:40 +08:00
蛋炒饭
a623e31b7a qbittorrent: bump to v4.3.8 (#7919)
* qbittorrent: bump to v4.3.8

* qBittorrent-static: bump to v4.3.8_v1.2.14
2021-09-24 22:04:15 +08:00
lean
6628f88d75 x86: add missing symbol 2021-09-24 22:01:18 +08:00
lean
4db09bd3a0 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-09-24 21:47:57 +08:00
lean
8eaa4051c9 rtl8821cu: add package 2021-09-24 21:47:50 +08:00
AmadeusGhost
63ffadfc13 luci-app-diskman: sync upstream source code 2021-09-24 17:37:26 +08:00
AmadeusGhost
f8bb1a89d6 x86: add missing kernel config
Fixes: #7915
2021-09-24 17:35:44 +08:00
breakings
368e31dc7c dnsmasq: update to version 2.86 (#7909)
Co-authored-by: breakings <skygmin@yahoo.com>
2021-09-23 22:22:07 +08:00
lean
9621c35447 ramips: cr660x switch to DSA network driver 2021-09-23 16:21:27 +08:00
lean
61f4bdeb2b Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-09-23 14:48:06 +08:00
lean
50d98983c2 rockchip: add NanoPi R2C support 2021-09-23 14:47:55 +08:00
EnnawYang
3b48d25c42 luci-app-pushbot: update to 3.55-21 (#7884)
Co-authored-by: 然后七年 <69092025+zzsj0928@users.noreply.github.com>
2021-09-23 02:34:08 +08:00
lean
3052240a57 x86: add emmc booting config support 2021-09-23 02:26:41 +08:00
Ailick
ac6b0edd8d shortcut-fe: fix the issue of shortcut-fe-cm. (#7893)
* (TEST) fix the issue of shortcut-fe-cm premature loading

* shortcut-fe: bug fixes: a problem of lookup routes when skb provided.
2021-09-23 00:49:18 +08:00
AmadeusGhost
69b0f1cf68 ramips: add support for JCG JHR-AC945M (#7900)
Hardware specs:
  SoC: MediaTek MT7621AT
  Flash: SPI NOR 16MB
  RAM: DDR3 256MB
  2.4GHz: MT7615N bgn 4x4
  5GHz: MT7615N nac 4x4
  Ethernet: 1 x WAN and 4 x LAN
  USB: 1 x 3.0
  Button: Reset, WPS

Unsupported chips:
  ATMEGA328P-AU
  HCLTEK HT1621B

Flash instructions:
  Upload factory.bin in stock firmware's upgrade page.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-09-23 00:46:42 +08:00
hejiawencc
c2309f3515 rockchip: fix DoorNet1 dts and drop unneeded files (#7906)
* rockchip: drop unneeded files

* rockchip: fix DoorNet1 dts missing wifi enable pin
2021-09-23 00:46:24 +08:00
Beginner
86769e475d dnsproxy: update to 0.39.7 (#7898)
* dnsproxy: update to 0.39.6

* dnsproxy: update to 0.39.7
2021-09-22 00:51:26 +08:00
NagaseKouichi
37492e08df bump version to 2.16.2 (#7897) 2021-09-21 22:55:14 +08:00
Beginner
f9e6ab7e08 UnblockNeteaseMusic: bump to latest git HEAD (#7899) 2021-09-21 22:54:58 +08:00
AmadeusGhost
5679a89ee9 luci-app: drop some unneeded files 2021-09-20 11:24:56 +08:00
AmadeusGhost
5fc448227d ramips: msg1500: further fix mac address
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2021-09-20 11:19:36 +08:00
AmadeusGhost
84b4f3514c cypress-nvram: add rpi cm4 support
Fixes: #7753, #7837
2021-09-20 11:09:05 +08:00
AmadeusGhost
bed41cb1fb bcm27xx: add missing config
Fixes: #7879, #7891
2021-09-20 11:05:07 +08:00
coolsnowwolf
e4ba63a992 kernel: bump 5.4 to 5.4.145 2021-09-18 01:45:36 +08:00
coolsnowwolf
fcd2797a87 kernel: bump 5.4 to 5.4.144 2021-09-18 01:43:02 +08:00
coolsnowwolf
14616558c7 kernel: bump 5.10 to 5.10.64 2021-09-18 01:32:55 +08:00
Rui Salvaterra
caca89b4a2 kernel: bump 5.10 to 5.10.63
No patches refreshed.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-09-18 01:27:23 +08:00
coolsnowwolf
afb4db2533 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-09-18 01:26:38 +08:00
coolsnowwolf
dcfcc34e01 kernel: bump 5.10 to 5.10.62 2021-09-18 01:26:26 +08:00
Beginner
751dda88b9 luci-app-pushbot: update to 3.55-16 (#7869)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2021-09-18 00:46:57 +08:00
love4taylor
0b52435c36 default-settings: move samba4 to nas (#7868) 2021-09-18 00:45:51 +08:00
Beginner
e6d6c2058b luci-app-serverchan: update to 2.01.4 (#7870)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2021-09-18 00:45:33 +08:00
coolsnowwolf
56e6c4b866 ipq806x: skip MTDBLOCK error to speedup booting time by 5x 2021-09-18 00:32:44 +08:00
Beginner
a3f095db4c luci-app-jd-dailybonus: sync upstream (#7871)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2021-09-17 12:57:46 +08:00
coolsnowwolf
09bfdd0f63 Version update to R21.9.18 2021-09-15 16:39:34 +08:00
AmadeusGhost
49f7faa21f ipq807x: improve support for ZTE MF269 (#7800) 2021-09-15 15:00:09 +08:00
Beginner
2ba47c8f12 luci-app-turboacc: rename files (#7855) 2021-09-15 00:17:33 +08:00
AmadeusGhost
fe5786bfa4 ramips: msg1500: switch to ralink-eth driver
It seems that dsa is not stable on this machine...
2021-09-13 11:29:04 +08:00
AmadeusGhost
781f8a604b ramips: msg1500: fixes error mac address
Fixes: b27f77f ("ramips: add support for RAISECOM MSG1500")
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2021-09-13 11:21:04 +08:00
AmadeusGhost
f4659685c5 ramips: mt7621: devices typo fixes
Fixes: a3c941d ("ramips: add ZTE e8820s support")
2021-09-13 11:16:32 +08:00
Chen Minqiang
a70fee5f7d ramips: add xiaomi_miwifi-r3 support
Specification:
 - CPU: 580 MHz
 - Flash size: 128 MiB NAND
 - RAM size: 128 MiB DDR2
 - Wireless No1: SoC-integrated: MT7620A 2x2 MIMO 802.11b/g/n (2.4 GHz)
 - Wireless No2: On-board chip: MT7612E 2x2 MIMO 802.11a/n/ac (5 GHz)
 - Switch: MT7620 built-in 10/100 switch w/ vlan support
 - USB: 2.0 x1

Fixes: #7841

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2021-09-13 11:09:46 +08:00
EnnawYang
f08bdedec6 luci-app-pushbot: bump to 3.55-15 (#7845)
Co-authored-by: 然后七年 <69092025+zzsj0928@users.noreply.github.com>
2021-09-12 14:11:02 +08:00
KLT007
12d4b91c8b fix rockchip (#7846)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete 0001-Added-support-for-DoorNet1.patch

* Add files via upload

* Delete 0001-feat-rockchip-add-support-EmbedFire-DoorNet1-for-kernel-5.10.patch

* Add files via upload
2021-09-11 19:15:21 +08:00
Ailick
3a2042824a luci-app-turboacc: fix issues #7840 (#7842) 2021-09-11 15:38:02 +08:00
Beginner
8eef4cee14 dnsproxy: update to 0.39.5 (#7835) 2021-09-10 18:29:33 +08:00
KLT007
2480f819d1 rockchip add support EmbedFire DoorNet1 for kernel-5.10 (#7839)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete 0001-Added-support-for-DoorNet1.patch

* Add files via upload
2021-09-10 18:28:52 +08:00
Ailick
4e1354dc49 shortcut-fe: update to QSDK11.4 HEAD (#7832) 2021-09-09 00:42:58 +08:00
KLT007
52c8a137ac Added support for DoorNet1 devices (#7834)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete 0001-Added-support-for-DoorNet1.patch
2021-09-09 00:42:08 +08:00
Beginner
3f8ccaf5f5 luci-app-unblockmusic: tidy up Makefile (#7821)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2021-09-08 01:01:05 +08:00
Beginner
4ab3a3db8f luci-app-turboacc: tidy up Makefile (#7820)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2021-09-08 01:00:38 +08:00
Beginner
d7a7821cca luci-app-serverchan: add package (#7809)
Co-authored-by: tty228 <tty228@yeah.net>
2021-09-06 22:17:00 +08:00
Beginner
3a25a30b8b luci-app-rclone: tidy up Makefile (#7813)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2021-09-06 21:17:56 +08:00
喃南下
b27f77f431 ramips: add support for RAISECOM MSG1500 X.00 (#7808) 2021-09-06 21:17:23 +08:00
coolsnowwolf
a3c941d126 ramips: add ZTE e8820s support 2021-09-04 15:23:48 +08:00
coolsnowwolf
7a28386e64 Revert "mac80211: sync upstream (#7734)"
This reverts commit a74c473f42.
2021-09-04 15:19:13 +08:00
coolsnowwolf
b42c413de5 Revert "mac80211: remove patch (#7742)"
This reverts commit 634663fe56.
2021-09-04 15:19:10 +08:00
Beginner
769084636c dnsproxy: update to 0.39.4 (#7763)
* dnsproxy: update to 0.39.3

* dnsproxy: update to 0.39.4
2021-09-03 01:02:55 +08:00
AmadeusGhost
e1ea0488be frp: update to v0.37.1 (#7760) 2021-09-01 23:27:42 +08:00
Beginner
895c07b068 luci-app-pushbot: rewrite makefile (#7782)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2021-09-01 23:19:20 +08:00
Beginner
48c9ee015a UnblockNeteaseMusic: bump to latest git HEAD (#7764)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-01 23:16:11 +08:00
Beginner
d6d23bcaf3 ethtool: fix recursive dependency (#7793)
Change the CONFLICTS definition from the alternative package
(ethtool-full) to the main one.

The CONFLICTS line creates a dependency to the conflicting package.

Right now, the dependency would be created in the PACKAGE_ethtool-full
symbol:

config PACKAGE_ethtool-full
        depends on m || (PACKAGE_ethtool != y)

When the main package is selected by airmon-ng, it selects
PACKAGE_ethtool, *depending* on the value of PACKAGE_ethtool-full:

config PACKAGE_airmon-ng
        select PACKAGE_ethtool if PACKAGE_ethtool-full<PACKAGE_airmon-ng

In the first block, the value of PACKAGE_ethtool-full depends on the
value of PACKAGE_ethtool.  In the second block, the opposite is true:
the value of PACKAGE_ethtool depends on the value of
PACKAGE_ethtool-full.  This is a recursive dependency.

Fix it by changing the package where the dependency is created, so that
only the value of PACKAGE_ethtool will depend on PACKAGE_ethtool-full.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-09-01 23:15:23 +08:00
Beginner
3d92784881 luci-app-xlnetacc: rewrite makefile (#7784) 2021-08-31 23:10:33 +08:00
Beginner
f5cb3a0af4 nps: update to to 0.26.10 (#7778)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-08-31 10:47:26 +08:00
Beginner
20394f4491 kernel: bump 5.10 to 5.10.61 (#7786)
Manually rebased:
  bcm27xx/patches-5.10/950-1031-net-lan78xx-Ack-pending-PHY-ints-when-resetting.patch

Removed upstreamed:
  mvebu/patches-5.10/101-cpufreq-armada-37xx-forbid-cpufreq-for-1.2-GHz-variant.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-08-31 10:47:07 +08:00
Beginner
eb81bea870 kernel: bump 5.4 to 5.4.143 (#7767)
Manually rebased:
  bcm27xx/patches-5.4/950-1031-net-lan78xx-Ack-pending-PHY-ints-when-resetting.patch

Removed upstreamed:
  mvebu/patches-5.4/100-cpufreq-armada-37xx-forbid-cpufreq-for-1.2-GHz-variant.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-08-31 01:08:20 +08:00
Beginner
f350ecc799 hostapd: sync upstream (#7771)
* hostapd: refresh patches

Signed-off-by: David Bauer <mail@david-bauer.net>

* hostapd: fix Proxy-ARP with Hotspot 2.0 disabled

The disable_dgaf config fiels is only available in case Hostapd is
compiled with Hotspot 2.0 support, however Proxy-ARP does not depend on
Hotspot 2.0.

Only add the code related to this config field when Hotspot 2.0 is
enabled to fix compilation with the aformentioned preconditions.

Signed-off-by: David Bauer <mail@david-bauer.net>

* hostapd: enable proxy-arp support for hostapd-full

The hostapd.sh script already has support for configuring proxy-ARP,
however no built variant has support for it enabled.

Enable proxy-ARP support for hostapd-full builds in order to allow users
to actually use this feature.

Signed-off-by: David Bauer <mail@david-bauer.net>

Co-authored-by: David Bauer <mail@david-bauer.net>
2021-08-31 01:07:54 +08:00
Beginner
cdb022d3e1 openssl: Refresh patch (#7765)
This version fixes two vulnerabilities:
  - SM2 Decryption Buffer Overflow (CVE-2021-3711)
    Severity: High

  - Read buffer overruns processing ASN.1 strings (CVE-2021-3712)
    Severity: Medium

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-08-29 13:33:31 +08:00
小离
9bf56ad0d2 Update pptpd.include (#7758)
If not return PPPoE traffic, it will make flow-offload rules has no effect.
2021-08-27 02:15:47 +08:00
coolsnowwolf
af0d19fcde Revert "procd: update to git HEAD (#7676)"
This reverts commit 0469fc1c98.
2021-08-26 16:46:06 +08:00
coolsnowwolf
cac757ce9e Revert "procd: update to git HEAD (#7738)"
This reverts commit 55360f9eb0.
2021-08-26 16:42:27 +08:00
AmadeusGhost
55544e1b73 openssl: bump to 1.1.1l (#7755)
This version fixes 2 security vulnerabilities:
 - CVE-2021-3711
 - CVE-2021-3712
2021-08-26 16:41:28 +08:00
Beginner
55360f9eb0 procd: update to git HEAD (#7738)
8a8306d uxc.c: fix coverity resource leak warning
 7f2398e jail: devices: create parent folder when creating devices
 0603c8d jail: return to hook callback instead of just calling it
 3edb7eb jail: check return value when opening console
 af048a3 jail: use portable sizeof(void *)
 6010bd3 utils: make sure read() string is 0 terminated
 f6daca3 uxc: free string returned by blobmsg_format_json_indent()
 51f1cd2 trace: free string returned by blobmsg_format_json_indent()
 d716cb5 trace: handle open() return value and make sure string is terminated
 b824a89 jail: preload: avoid NULL-dereference in case things go wrong
 167dc24 jail: protect against strcat buffer overflows

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-26 11:41:53 +08:00
Beginner
634663fe56 mac80211: remove patch (#7742)
This patch caused a compilation error

Signed-off-by: Beginner <70857188+Beginner-Go@users.noreply.github.com>
2021-08-25 15:07:02 +08:00
Beginner
a74c473f42 mac80211: sync upstream (#7734)
* mac80211: fix HT40 mode for 6G band

The channel offset used for VHT segment calculation was missing for HT

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* mac80211: refresh patch

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* mac80211: add missing change for encap offload on devices with sw rate control

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-08-25 10:55:57 +08:00
Beginner
b23e6fa3ee hostapd: enable ht40 in wpa_supplicant when using wider HE modes (#7737)
Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-08-25 01:46:50 +08:00
Beginner
9b519e7747 base-files: add option to make /var persistent (#7719)
* base-files: add option to make /var persistent

In OpenWrt, /var is symlinked to /tmp by default. This is done to reduce
the amount of writes to the flash chip, which often have not the
greatest durability. As a result, things like DHCP or UPnP lease files,
are not persistent across reboots.

Since OpenWrt can run on devices with more durable storage, it makes
sense to have an option for a persistent /var. Add an option to make
/var persistent. When enabled, /var will no longer be symlinked to /tmp,
but /var/run will be symlink to /tmp/run, as it should contains only
files that should not be kept during reboot. The option is off by
default, to maintain the current behaviour.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

* base-files: fix option to make /var persistent

The option was initially named TARGET_ROOTFS_LN_VAR_TMP, and the check
was correct. When renaming the option to something more suitable, the
check was changed to check for n, but when an option is not set, it's
not n but empty. This results in the check always evaluating to false.
Fix the check by checking for y with ifneq.

Fixes: 57807f50ded6 ("base-files: add option to make /var persistent")

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-08-24 19:13:55 +08:00
Beginner
3c9dcaf72e kernel: bump 5.4 to 5.4.142 (#7694)
* kernel: bump 5.4 to 5.4.141

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.4 to 5.4.142

Removed upstreamed:
  hack-5.4/991-platform-x86-pcengines-apuv2-revert-simswitch.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-08-24 11:50:11 +08:00
Beginner
f3081567df kernel: bump 5.10 to 5.10.60 (#7688)
* kernel: bump 5.10 to 5.10.57

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.58

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.59

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.60

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-08-23 21:50:56 +08:00
Beginner
c112db31f0 selinux-policy: update to version 0.9 (#7712)
592ac0f add a note
 4bacd14 sslcertfile: list /etc/ssl
 7bdefa4 example: indicate that skip is an option
 d1e9a85 wifi: sys pipe usage
 eb903e1 README: add note about policycoreutils-setfiles weak dependency
 762e011 ttyd: signull all subjects
 fbfc079 acme: add basic support for acme_cleanup.sh and acme_setup.sh
 9ac7592 acme: transition to sys.subj on generic initscript execution
 f3dd1ba acme: missing rules related to sys.subj trans on file.initscriptfile
 ae273fa odhcp6c/netifd: support drop-in directories
 5fa9b41 subj: do not encourage misconfiguration
 44722b6 blockd, logd, odhcpc6, ubiutil, mtdstordev
 a775d93 21.02 related
 a473691 rcboot runs rcuhttpd which creates /tmp/etc for /tmp/etc/uhttpd
 290e9fb rcuhttpd: related to rcboot and uci-defaults
 3fc0d8b rcuhttpd: lists /etc/uci-defaults
 1f5ef48 removes ubvol.lock policy and adds move mtd/ubi partitions

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-23 15:09:33 +08:00
HiGarfield
db28e1ee30 vsftpd-alt: update to 3.0.5 (#7720) 2021-08-23 15:08:39 +08:00
Hugo Yuan
527a117abd ipq807x: add support for ZTE MF269 (#7713) 2021-08-22 01:27:48 +08:00
AmadeusGhost
f27a1742d6 ipq806x: add support for Arris RAC2V1A (#7680)
This commit add support for Arris RAC2V1A (aka TR4400-AC).

Hardware specs:
  SoC: Qualcomm IPQ8065
  RAM: 256 MB DDR3
  Flash: 512 MB NAND
  WiFi1: Qualcomm QCA9983 2.4 GHz
  WiFi2: Qualcomm QCA9984 5 GHz
  Ethernet1: AR8033 PHY -> Wan
  Ethernet2: QCA8337 Switch -> Lan 1~4
  LED: Status (red / blue)
  USB: 1x USB 3.0 Type-A
  Button: Reset, WPS
  Power: DC 12V,2.5A

Installation:
  Interrupt U-Boot, tftpboot initramfs image,
  than sysupgrade to openwrt.

Very thanks for asushugo's help.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-08-20 01:36:28 +08:00
Beginner
f973cb7c13 default-settings: tidy up makefile (#7699) 2021-08-19 22:37:15 +08:00
Beginner
0cc5759392 image: fix build with SELinux (#7701)
The option '-xattr' for mksquashfs4 should be '-xattrs' which lead to
build failure with SELinux enabled. Add the missing 's'.

Fixes: 803d6ba ("images: squashfs: xattrs should not depend on buld host")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-19 22:36:49 +08:00
Beginner
1a654041fb UnblockNeteaseMusic: bump to latest git HEAD (#7703)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-08-19 22:36:22 +08:00
Beginner
2761cf38bd luci-app-pushbot: update docs links (#7704)
Updated the doc link for Dingding, Ent-Wechat

Co-authored-by: zzsj0928 <69092025+zzsj0928@users.noreply.github.com>
2021-08-19 22:35:56 +08:00
Beginner
287ffc5e01 firewall: update to git HEAD (#7682)
40e5f6a ipsets: permit default timeout of 0

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

Co-authored-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2021-08-17 23:30:36 +08:00
AmadeusGhost
eed97b08c8 kernel: bump 5.4 to 5.4.140 (#7685)
* kernel: bump 5.4 to 5.4.139

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.4 to 5.4.140

Removed upstreamed bcm27xx/patches-5.4:
    950-0977-USB-gadget-f_hid-avoid-crashes-and-log-spam.patch
    950-0980-SQUASH-USB-gadget-f_hid-remove-more-spam.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-08-17 23:29:42 +08:00
Beginner
0469fc1c98 procd: update to git HEAD (#7676)
* procd: update to git HEAD

 48638ad hotplug-dispatch: yet another rare memory leak disovered by Coverity
 459b3e8 jail: fix several issues discovered by Coverity
 2562e2b ujail-console: add missing error handling discovered by coverity

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 040fecc system: fix issues reported by Coverity
 48f481b service: make sure string read is null terminated
 16dbc2a uxc: fix a bunch of issues discovered by Coverity
 ff9002f uxc: fix help output
 104b49d uxc: support config in uvol

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: add missing dependency and fix empty mount triggers

procd.sh:
 Instead of triggering on every mount.add event, there should be no
 mount trigger at all in case none of the directories passed to
 procd_add_*_mount_trigger() are located on a mountpoint configured in
 /etc/config/fstab.

uxc:
 add missing dependency on rpcd.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-17 18:46:22 +08:00
Hugo Yuan
e71ffdf12a Revert "kernel: bump 5.10 to 5.10.58 (#7649)" (#7687)
This reverts commit 988ddf5d18.
2021-08-16 21:21:32 +08:00
Beginner
0dc87d287d fstools: update to git HEAD (#7677)
629726d blockd: fix resource leak discovered by coverity scan
 68ae639 libubi: fix several issues discovered by Coverity
 a77c4fa ubi: fix resource leak in legacy codepath
 2e3aca2 block: fix two resources leaks discovered by Coverity

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-16 16:59:06 +08:00
Beginner
988ddf5d18 kernel: bump 5.10 to 5.10.58 (#7649)
* kernel: bump 5.10 to 5.10.57

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.58

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-08-16 16:58:42 +08:00
coolsnowwolf
6c52a8ba07 kernel: bump 5.10 to 5.10.57 2021-08-15 15:08:57 +08:00
coolsnowwolf
d9bd5b2df1 x86: add cfdisk to parted gpt 2021-08-13 23:33:19 +08:00
coolsnowwolf
11533a87cc Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-08-13 23:32:08 +08:00
coolsnowwolf
8a4db76249 fstools: enable any device with non-MTD rootfs_data volume 2021-08-13 23:31:58 +08:00
Beginner
f575350b7d procd: update to git HEAD (#7670)
* procd: update to git HEAD

 2dcefbd jail: add support for cgroup devices as in OCI run-time spec

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 0ee73b2 uxc: implement support for rootfs overlay in containers
 b0a8ea1 jail: do not hack /etc/resolv.conf on container rootfs
 92aba53 jail: increase max additional env records to 64
 15997e6 jail: allow rootfs to be a symbolic link
 0114c6f jail: open() extroot folder before mounting
 ed96eda uxc: check for required blockd mounts

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 0545905 jail: make use of realpath() for rootfs and overlaydir

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 9bd1b7f jail: refactor directory handling for rootfs and overlaydir

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 772292e uxc: don't restart containers when mount shows up
 3a9d910 uxc: resolve volume UUIDs by name of UCI fstab section

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 f26233e watchdog: Add an info message if the watchdog reset the system

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* procd: update to git HEAD

Fix build on glibc targets and address a bunch of compiler warnings.

 93fc089 jail: cgroups-bpf: don't use sys/reg.h when building with glibc
 548d057 jail: don't ignore return value of seteuid()
 220b716 jail: ignore return value when creating default /dev symlinks
 78d5baa hotplug-dispatch: don't ignore asprintf() return value
 736aee5 uxc: always handle asprintf() return value
 2b20456 hotplug-dispatch: replace wrongly used assert()
 bfc86a2 jail: cgroups: replace wrongly used assert()
 516bdf2 jail: don't ignore return value of write()

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD and add new script helpers

 e10de28 jail: cgroups-bpf: fix compile with musl 1.2
 f5d9b14 hotplug-dispatch: fix rare memory leaks in error paths

Add new init script helpers:
 procd_add_start_mount_trigger
 procd_add_reload_mount_trigger
 procd_get_mountpoints

Both trigger helpers expect a list of paths which are checked against
the mount targets configured in /etc/config/fstab and a trigger for all
mountpoints covered by the list of paths is setup.

procd_get_mountpoints is useful to find out if and which mountpoints
are covered by a list of paths.

Example:
  DATADIRS="/mnt/data/foo /mnt/data/bar /etc/foo/baz /var/lib/doe"

  start_service() {
    [ "$_BOOT" = "1" ] &&
      [ "$(procd_get_mountpoints $DATADIRS)" ] && return 0

    procd_open_instance
    # ...
    procd_close_instance
  }

  boot() {
    _BOOT=1 start
  }

  service_triggers() {
    procd_add_start_mount_trigger $DATADIRS
  }

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: change procd_add_start_mount_trigger to do restart

Change procd_add_start_mount_trigger to procd_add_restart_mount_trigger
and make it call 'restart' instead of 'start'.
This is more useful as it allows to handle both cases, intial start of
a services as well as restarting services. Calling 'restart' on a
service which has not yet been started has the same result as calling
'start'.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 9f233f5 system: make rootfs type accessible through board call

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-08-13 23:17:18 +08:00
蛋炒饭
fc77756bf9 qbittorrent: bump to v4.3.7 (#7667)
* qbittorrent: bump to v4.3.7

* qBittorrent-static: bump to v4.3.7_v1.2.14
2021-08-13 23:16:24 +08:00
Beginner
0a5b74053a hostapd: fix broken check in radar detection notification (#7663)
This check was accidentally left in after reworking the code,
causing a segfault

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-08-12 16:01:08 +08:00
Beginner
a0a93fb2e0 rpcd: update to latest Git HEAD (#7655)
1fa3576 session: unload rpcd configuration before checking login

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

Co-authored-by: Jo-Philipp Wich <jo@mein.io>
2021-08-12 10:38:01 +08:00
Beginner
339a3a0b07 ethtool: update to v5.13 (#7656)
* ethtool: introduce ethtool-full build variant

Netlink support is required for using the virtual cable tester
functionality.

Remove the pretty print build option and instead create a second package
variant ethtool-full. This allows users to install the full ethtool
featureset using opkg.

Signed-off-by: David Bauer <mail@david-bauer.net>

* ethtool: update to v5.13

Signed-off-by: David Bauer <mail@david-bauer.net>

* ethtool: fix depends

Co-authored-by: David Bauer <mail@david-bauer.net>
Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2021-08-11 17:29:09 +08:00
然后七年
ed865731cc Fix Pushbot symbols (#7659) 2021-08-11 17:26:57 +08:00
AmadeusGhost
e80af1955e kernel: bump 5.4 to 5.4.138 (#7630) 2021-08-10 20:20:42 +08:00
Beginner
690126dd55 kernel: backport mdio_find_bus from 5.10.x (#7633)
mdio-tools (https://github.com/wkz/mdio-tools) requires the use of
mdio_find_bus, which is not present in 5.4.x.

This patch backports the required change from 5.10.x to 5.4.x

The original patch submission for this can be found at
https://patchwork.ozlabs.org/project/netdev/patch/20200201074625.8698-2-jeremy.linton@arm.com/

Signed-off-by: Damien Mascord <tusker@tusker.org>
[Add original patch description]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Damien Mascord <tusker@tusker.org>
2021-08-10 14:18:43 +08:00
Beginner
e35805c6ea kernel: bump 5.10 to 5.10.56 (#7635)
* kernel: bump 5.10 to 5.10.52

Add the new CONFIG_BATTERY_RT5033 to the generic configuration, as reported by
Paul Blazejowski. Resort the kconfig while at it.

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel/generic: add a missing symbol to the 5.10 kconfig

Add CONFIG_HAVE_ARM_ARCH_TIMER (disabled). A make kernel_oldconfig on cortexa9
will otherwise prompt for its selection. The 5.4 configuration already contains
the same symbol.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel/generic: sort the 5.10 kconfig symbols

Sort the kernel configuration using scripts/kconfig.pl.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.53

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.54

Deleted (upstreamed) patches:
mediatek/patches-5.10/000-spi-fix-fifo.patch

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.55

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.56

No patches needed refreshing

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-08-10 14:18:30 +08:00
Beginner
e0f5decd3c luci-app-pushbot: tidy up Makefile (#7640) 2021-08-10 14:13:45 +08:00
Beginner
06324b679c kernel/generic: add CONFIG_KCSAN to the 5.10 kconfig (#7634)
Add the missing CONFIG_KCSAN (disabled). Found while making kernel_oldconfig on
an x86-64 subtarget.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-08-10 14:13:20 +08:00
xingkong
0f59ed510f add luci-app-pushbot (#7638)
luci-app-pushbot跟-luci-app-serverchan不同点如下:
实现了 IOS-bark的通知推送
通知栏:直接显示推送主题,一目了然,按设备不同,分组显示
消息列表:直接显示最新推送的标题
消息内容:直接显示所有推送信息,不用二次点开再查看
2021-08-10 10:45:13 +08:00
Beginner
4885638ce1 libpcap: update to 1.10.1 (#7636)
Switch to AUTORELEASE to avoid manual increments.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

Co-authored-by: Rosen Penev <rosenp@gmail.com>
2021-08-10 10:40:51 +08:00
Beginner
5a001287e5 toolchain/gcc: bump gcc 11 to 11.2 (#7579)
Patches automatically refreshed.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-08-09 22:35:53 +08:00
Beginner
6240e663d4 hostapd: respect fixed channel BW in HE20 mode (#7629)
When using htmode 'HE20' with a radio mode that uses wpa-supplicant
(like mesh or sta), it will default to 40 MHz bw if disable_ht40 is not
set. This commit fixes this behaviour.

Signed-off-by: Jesus Fernandez Manzano <jesus.manzano@galgus.net>

Co-authored-by: Jesus Fernandez Manzano <jesus.manzano@galgus.net>
2021-08-09 22:35:40 +08:00
Beginner
27060c997a libpcap: add rpcapd as package (#7631)
This enables building of rpcapd and adds it as a package.

It is a daemon that allows remote packet capturing from another machine.
E.g. Wireshark can talk to it using the Remote Capture Protocol (RPCAP).
https://www.tcpdump.org/manpages/rpcapd.8.html

Compile and run tested: OpenWrt SNAPSHOT r17190-2801fe6132 on x86/64

Signed-off-by: Stephan Schmidtmer <hurz@gmx.org>

Co-authored-by: Stephan Schmidtmer <hurz@gmx.org>
2021-08-09 22:34:49 +08:00
coolsnowwolf
fd6b6c4bf2 kmod-r8168: fix kernel dependence 2021-08-09 18:31:50 +08:00
Beginner
8de440368d r8168: update to 8.049.01 (#7625)
Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2021-08-09 12:07:33 +08:00
coolsnowwolf
5d861ddb20 fstools: disable ubifs extroot functionality 2021-08-07 23:22:05 +08:00
AmadeusGhost
1bd237de15 rockchip: revert upgrade part change (#7540) 2021-08-07 15:56:57 +08:00
coolsnowwolf
e99650c2b3 uboot: add arm-trusted-firmware-rk3328 2021-08-07 00:58:50 +08:00
coolsnowwolf
9baed7e03a Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-08-06 23:06:04 +08:00
coolsnowwolf
2e96602901 rockchip: import patch from immortalwrt 2021-08-06 23:05:53 +08:00
AmadeusGhost
129bfbf305 ipq806x: add support for askey rt4230w 256m nand version (#7595)
The difference between flashing:
  Interrupt U-Boot and run these commands:

  setenv bootcmd "setenv mtdids nand0=nand0 && set mtdparts
  mtdparts=nand0:0xDC00000@0x2400000(firmware) && ubi part firmware &&
  ubi read 0x44000000 kernel 0x6e0000 && bootm"
  saveenv
2021-08-06 18:07:10 +08:00
coolsnowwolf
6f2494ee52 Version update to R21.8.6 2021-08-06 15:24:28 +08:00
coolsnowwolf
f96fa52426 block-mount: fix nand ecc booting delay 2021-08-06 15:16:56 +08:00
coolsnowwolf
3a7ee17ad0 x86: revert to kernel 5.4 2021-08-06 09:51:07 +08:00
Beginner
401af3c26f base-files: sysupgrade stage2: fix losetup detection (#7601)
If the busybox applet losetup was selected, `command -v` selects that
during sysupgrade. As this applet is in another path and doesn't cover
the '-D' option which is used to make sure user-defined loop devices
are no longer active during sysupgrade.
Detect losetup at the path of the full utility to avoid error messages
in case of the busybox applet being selected.

Reported-by: fda77 <fda77@users.noreply.github.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-06 09:29:44 +08:00
coolsnowwolf
a8c2fab607 pcre: revert to 8.45 2021-08-06 09:27:51 +08:00
Beginner
803d6ba7a6 images: squashfs: xattrs should not depend on buld host (#7602)
Enable xattr for the generated squashfs only if needed for SELinux.
This eliminates warnings during boot on target when building
(non-SELinux) OpenWrt on SELinux-enabled hosts like Fedora.

Reported-by: fda77 <fda77@users.noreply.github.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-06 09:23:19 +08:00
Beginner
f804e61cca dnsproxy: update to 0.39.2 (#7600) 2021-08-05 17:35:24 +08:00
Beginner
78d3125aa5 dnsproxy: update to 0.39.2 (#7600) 2021-08-05 09:12:47 +08:00
ricksuzade-maker
0d3f765a1e bump wireguard-tools to the latest version (#7605) 2021-08-04 14:52:21 +08:00
AmadeusGhost
ec446374ab ramips: hc5962: switch to use ralink-eth driver (#7580) 2021-08-04 11:38:05 +08:00
Beginner
f5c0cee305 dnsproxy: update to 0.39.1 (#7594) 2021-08-03 18:30:35 +08:00
coolsnowwolf
5ad600f88c Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-08-01 23:07:39 +08:00
coolsnowwolf
6ca172247d Revert "iproute2: bump to 5.13 (#7545)"
This reverts commit b772877d87.
2021-08-01 23:07:29 +08:00
Beginner
9dc595bade dnsmasq: reset EXTRA_MOUNT in the right place (#7585)
* dnsmasq: fix more dnsmasq jail issues

 * remove superflus mounts of /dev/null and /dev/urandom
 * reset EXTRA_MOUNTS at the beginning of the script
 * add mount according to ignore_hosts_dir
 * don't add mount for file which is inside a directory already in the
   EXTRA_MOUNTS list

Fixes: 59c63224e1 ("dnsmasq: rework jail mounts")
Reported-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* dnsmasq: reset EXTRA_MOUNT in the right place

EXTRA_MOUNT variable should be reset in dnsmasq_start() rather than
just once at the beginning of the script.

Fixes: ac4e8aa2f8 ("dnsmasq: fix more dnsmasq jail issues")
Reported-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-01 22:26:58 +08:00
Beginner
7777b3ad7d dnsmasq: rework jail mounts (#7578)
* split into multiple lines to improve readability
 * use EXTRA_MOUNT for addnhosts instead of blindly adding /tmp/hosts
 * remove no longer needed mount for /sbin/hotplug-call
 * add dhcp-script.sh dependencies (jshn, ubus)

Fixes: 3a94c2ca5c ("dnsmasq: add /tmp/hosts/ to jail_mount")
Fixes: aed95c4cb8 ("dnsmasq: switch to ubus-based hotplug call")
Reported-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-01 17:50:30 +08:00
coolsnowwolf
ff042839f3 ipq806x: fix boot pages ecc I/O error cause booting slow issue 2021-07-31 17:09:57 +08:00
Beginner
b772877d87 iproute2: bump to 5.13 (#7545)
Drop patch 185-libbpf-add-limits-h merged upstream
Update patch 170-ip_tiny
Update patch 130-no_netem_tpic_dcb...

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>

Co-authored-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-07-31 16:50:20 +08:00
coolsnowwolf
8e247edca9 ipq806x: fix E8350 web upgrade again 2021-07-31 16:49:38 +08:00
coolsnowwolf
0c928423f6 Revert "iwinfo: bump version"
This reverts commit 8c55064b3a.
2021-07-31 16:48:06 +08:00
coolsnowwolf
13dfa7a8b8 ramips: remove eip 5.4 patch 2021-07-31 16:28:33 +08:00
Ailick
aa347717dd ramips: crypto: Fix with Mediatek EIP93 Crypto Engine for MT7621 SoC (#7568) 2021-07-31 14:46:15 +08:00
AmadeusGhost
27cbdc106d ramips: cr660x: fix network settings (#7565) 2021-07-31 12:21:02 +08:00
coolsnowwolf
4925397922 ramips: fix some switch target sysupgrade 2021-07-31 00:02:33 +08:00
coolsnowwolf
90810371f9 ramips: cr660x add switch support 2021-07-30 23:46:39 +08:00
coolsnowwolf
d8f3d5efb3 ramips: add wireless tools 2021-07-30 21:42:24 +08:00
AmadeusGhost
6006596973 ramips: mt7621: add back switch support (#7560)
Based-on: https://github.com/x-wrt/x-wrt
2021-07-30 21:39:12 +08:00
coolsnowwolf
9a5d95747e Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-30 15:14:04 +08:00
coolsnowwolf
8c55064b3a iwinfo: bump version 2021-07-30 15:13:53 +08:00
libinanshu
89fa14ad27 add TP-LINK TL-WDR7500 V3-16MB (#7550) 2021-07-29 14:42:32 +08:00
Beginner
b72f6d6fa1 hostapd: add missing chunk for the snoop interface fix (#7551)
Fixes: 7b46377a0cd9 ("hostapd: make the snooping interface (for proxyarp) configurable")
Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-07-28 23:44:50 +08:00
Beginner
3c6aadc40e hostapd: sync upstream (#7549)
* hostapd: make the snooping interface (for proxyarp) configurable

Use the VLAN interface instead of the bridge, to ensure that hostapd receives
untagged DHCP packets

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* hostapd: fix a segfault on sta disconnect with proxy arp enabled

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* hostapd: make proxyarp work with libnl-tiny

Remove a dependency on libnl3-route

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-07-28 13:41:38 +08:00
onewe
b01a5f922a fix: ttyd https frame (#7548) 2021-07-28 13:40:36 +08:00
coolsnowwolf
1214d8dc98 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-28 10:25:37 +08:00
coolsnowwolf
807e8e4f29 ramips: add Mediatek EIP93 Crypto Engine for MT7621 SoC 2021-07-28 10:25:30 +08:00
ntlf9t
fde8a69c47 ath11k: memory leak patches (#7546) 2021-07-28 10:12:15 +08:00
AmadeusGhost
9f569564f3 ipq806x: rt4230w: import some fixes from upstream pr (#7530)
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2021-07-26 18:09:50 +08:00
coolsnowwolf
81ec7987f7 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-26 17:37:22 +08:00
coolsnowwolf
601262ed5f Version bump to R21.7.26 2021-07-26 17:37:13 +08:00
ZeaKyX
2fa6c157c8 Fix autocore-arm Makefile for ipq807x (#7526) 2021-07-26 11:39:47 +08:00
Beginner
016d099689 toolchain/binutils: add binutils 2.37 (#7520)
Tested on ath79/generic, without issues.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-07-26 10:33:43 +08:00
ntlf9t
c7f168255a ath11k: memory leak patches and finishing patch (#7521) 2021-07-26 00:56:20 +08:00
Hugo Yuan
3fd47a91b9 Revert "elfutils: fix building with GCC 11 (#7519)" (#7522)
This reverts commit d04380e63c.
2021-07-26 00:54:54 +08:00
Beginner
d04380e63c elfutils: fix building with GCC 11 (#7519)
Add a patch to fix building with GCC 11, which triggers new warnings by
enabling -Warray-parameter by default.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-07-25 23:54:47 +08:00
coolsnowwolf
68f6599bd9 ipq807x: unselect nodejs by default 2021-07-25 22:48:44 +08:00
coolsnowwolf
b517f4f273 ipq806x: resize D7800 ubi partition 2021-07-25 18:22:21 +08:00
coolsnowwolf
3977f16214 ipq807x: add autocore-arm and some packages to target 2021-07-25 17:53:08 +08:00
coolsnowwolf
6667e63585 quantenna: use /etc/config/wireless to config 2021-07-25 14:52:52 +08:00
coolsnowwolf
1c3806e11f Update qcom-ipq8065-rt4230w-rev6.dts 2021-07-25 13:38:42 +08:00
AmadeusGhost
775b31429e qca-ssdk: adjust build flags for ath79 and ipq platform (#7510) 2021-07-25 13:27:53 +08:00
coolsnowwolf
2ba5b1b1ae Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-24 22:45:19 +08:00
coolsnowwolf
c366b45ec9 ipq806x: fix Linksys E8350 web sysupgrade 2021-07-24 22:45:08 +08:00
Yangbo
e6ec503071 fix RK3328 compile error on kernel 5.10.51 (#7505) 2021-07-24 15:56:52 +08:00
coolsnowwolf
7a4f49fb25 ath11k: fix wifi drivers memory leak for AX6/AX3600 etc. 2021-07-24 15:49:58 +08:00
Beginner
c5a0343304 dnsproxy: update to 0.39.0 (#7498) 2021-07-24 13:01:42 +08:00
AmadeusGhost
5ca5a488f0 ipq807x: fix boardname and license (#7501) 2021-07-24 13:01:17 +08:00
coolsnowwolf
737e0fd864 ath11k-firmware: fixes wifi encap offload 2021-07-23 21:09:30 +08:00
coolsnowwolf
dff8f79b52 ipq807x: resolve the nss cpu high load regarding ecm 2021-07-23 20:58:34 +08:00
coolsnowwolf
6a18e18416 ipq806x: add quantenna 5G wifi support for E8350/R7500v1 2021-07-23 16:59:44 +08:00
coolsnowwolf
0551b74b0a ipq806x: scaling mini freq set to 600mhz 2021-07-23 13:00:36 +08:00
coolsnowwolf
47cdbf28f5 ipq806x: fix nss offload for Linksys E8350 2021-07-23 12:30:17 +08:00
coolsnowwolf
85c853d442 ipq807x: add nss firmware to active nat hw-acc 2021-07-23 11:37:49 +08:00
coolsnowwolf
ecd242eddd ipq806x: fix linksys e8350 boot 2021-07-23 11:35:05 +08:00
coolsnowwolf
65068ed984 Revert "treewide: convert mtd-mac-address-increment* to generic implementation"
This reverts commit 82d9b3e2c4.
2021-07-23 00:29:52 +08:00
coolsnowwolf
82d9b3e2c4 treewide: convert mtd-mac-address-increment* to generic implementation 2021-07-23 00:20:32 +08:00
Rui Salvaterra
8575f72a6b kernel: bump 5.10 to 5.10.51
No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-07-22 23:55:59 +08:00
coolsnowwolf
1857399288 ipq806x: fix linksys E8350 dts 2021-07-22 18:58:43 +08:00
coolsnowwolf
39dfd98c1b ipq806x: fix Netgear D7800 ubi and RAM 2021-07-22 18:49:03 +08:00
coolsnowwolf
28c936c003 Revert "ipq806x: resize Netgear D7800 ubi and RAM"
This reverts commit d09f440991.
2021-07-22 18:42:13 +08:00
Yonghyu Ban
0c4512d048 scripts/mkits.sh: Fix the hash algorithm paramter
The mkits.sh script help message states hash algorithm can be
specified using the -H command-line option, but it does not work
currently due to a bug in the script.

This patch fixes this problem by changing the option from -S to
-H and specify getopts parameter after it

Signed-off-by: Yonghyu Ban <yonghyu@empo.im>
2021-07-22 18:11:36 +08:00
coolsnowwolf
c47abf0d08 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-22 18:08:00 +08:00
coolsnowwolf
d09f440991 ipq806x: resize Netgear D7800 ubi and RAM 2021-07-22 18:07:53 +08:00
Beginner
32419ee4e4 Revert "kernel: bump 5.10 to 5.10.51 (#7437)" (#7473)
This reverts commit a8ad0940bf.
2021-07-22 17:53:15 +08:00
coolsnowwolf
922d471d21 qca-nss-crypto: add PKG_MIRROR_HASH 2021-07-22 17:42:31 +08:00
coolsnowwolf
a624e88e63 firmware-utils: fix cyg_crc32_accumulate call 2021-07-22 17:35:22 +08:00
coolsnowwolf
54d5790ab6 ipq806x: add quantenna wireless firmware for E8350/R7500v1 2021-07-22 14:11:47 +08:00
coolsnowwolf
cda8c08d33 ipq806x: fix linksys E8350 factory header 2021-07-22 14:08:24 +08:00
coolsnowwolf
b4e219dc4b Revert "ipq806x: fix Linksys E8350 factory flash"
This reverts commit 0ac49b89de.
2021-07-22 14:01:25 +08:00
coolsnowwolf
0a7c9813a9 ipq806x: add NSS HW-accelerated QOS traffic shaping support 2021-07-22 00:22:15 +08:00
HoldOnBro
d037c4b9fd fix ntfs3 compiling problem (#7467) 2021-07-21 15:17:01 +00:00
EnnawYang
4d5e9db0d9 luci-app-jd-dailybonus: sync upstream (#7468) 2021-07-21 15:16:24 +00:00
Beginner
a8ad0940bf kernel: bump 5.10 to 5.10.51 (#7437)
* kernel: bump 5.10 to 5.10.51

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* linux/rockchip: update the USB 3.0 controller node patch

This has been added in Linux 5.10.51 [1], but it's broken/incomplete. Update our
patch and refresh the remaining patches.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.51&id=421aff50af5e4cdc56b3ac8d6b670e09697bc8ac

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-07-21 05:33:35 +00:00
coolsnowwolf
0ac49b89de ipq806x: fix Linksys E8350 factory flash 2021-07-21 12:22:19 +08:00
Beginner
13fabde28e dnsproxy: update to 0.38.3 (#7455) 2021-07-20 13:54:45 +00:00
coolsnowwolf
a9f078bb1a Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-20 20:06:43 +08:00
coolsnowwolf
112c1eee2d ipq806x: Linksys E8350 add NSS Hardware Offloading support 2021-07-20 20:06:35 +08:00
Beginner
ca98361637 x86: include kmod-fs-vfat by default in generic images (#7450)
As x86/64 and x86/generic may be using UEFI, mounting the FAT-32 /boot
is necessary in order not to loose configuration files accross
sysupgrades. Include kmod-fs-vfat by default to make sure /boot can
always be mounted.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-07-20 10:48:13 +00:00
Hugo Yuan
fb430b48e7 ipq806x: RT4230W add NSS Hardware Offloading support (#7452) 2021-07-20 10:47:57 +00:00
coolsnowwolf
e34e5b584e luci-app-pptp-server: rollback pptpd server 2021-07-20 14:12:48 +08:00
coolsnowwolf
facd06ed14 luci-app-ipsec-vpnd: rules security optimization 2021-07-20 14:08:13 +08:00
Beginner
5d2b458012 luci-app-unblockmusic: fix typo error (#7448) 2021-07-20 05:43:29 +00:00
HoldOnBro
74a25bc921 qt: Update to 5.15.2 (#7444)
* Update Makefile

* Update Makefile

* Create 010-gcc11.patch
2021-07-20 10:02:11 +08:00
Beginner
12d469347a UnblockNeteaseMusic: bump to latest git HEAD (#7440)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-20 09:59:50 +08:00
Beginner
1768458fc1 UnblockNeteaseMusic-Go: Update to 0.2.12 (#7441)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-20 09:59:28 +08:00
Beginner
051dcb72bd luci-app-unblockmusic: tidy up Makefile (#7442)
Signed-off-by: Beginner <70857188+Beginner-Go@users.noreply.github.com>
2021-07-20 09:59:15 +08:00
coolsnowwolf
19741fb812 luci-app-ipsec-vpnd: change zh-cn po 2021-07-20 00:22:58 +08:00
coolsnowwolf
567628d38b luci-app-ipsec-vpnd: add rule settings 2021-07-19 23:20:44 +08:00
zhusir
f8b4b81ac7 update readme.md add wsl note (#7349) 2021-07-19 12:57:32 +00:00
Beginner
a38acb62a9 libs: sync upstream (#7420)
* elfutils: update to 0.182

Add --disable-libdebuginfod with remove libcurl dependency.

Remove totally unused host elfutils.

Refreshed and rebased patches.

Also happens to fix compilation with GCC11.

Newer versions of elfutils seem to have some kind of dependency on
obstack.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* libcap: update to 2.51

Switched to AUTORELEASE to avoid manual increments.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* libnftnl: update to 1.2.0

Switch to AUTORELEASE to avoid manual increments.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* libpcap: update to 1.10.1

Switch to AUTORELEASE to avoid manual increments.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* mbedtls: update to 2.16.11

Switched to AUTORELEASE to avoid manual increments.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* nettle: update to 3.7.3

Switch to AUTORELEASE to avoid manual increments.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* pcre: update to 8.45

Switch to AUTORELEASE to avoid manual increments.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

Co-authored-by: Rosen Penev <rosenp@gmail.com>
2021-07-19 12:56:38 +00:00
Beginner
3865fb059b util-linux: update to 2.37 (#7427)
Switched to AUTORELEASE to avoid manual increments.

Changed PKG_LICENSE to SPDX format.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

Co-authored-by: Rosen Penev <rosenp@gmail.com>
2021-07-19 12:50:07 +00:00
Beginner
7f94662b94 dnsmasq: add /tmp/hosts/ to jail_mount (#7438)
Programs like the olsr-name-plugin write hostname files to "/tmp/hosts/".
If you don't add this to the jail_mount, dnsmasq can't read it anymore.

Signed-off-by: Nick Hainke <vincent@systemli.org>

Co-authored-by: Nick Hainke <vincent@systemli.org>
2021-07-19 12:49:50 +00:00
coolsnowwolf
e7b3959470 mtk_apcli: move catagory 2021-07-19 18:56:46 +08:00
coolsnowwolf
4329a501b5 pacakge: add mtk_apcli for mt proprietary driver 2021-07-19 18:53:24 +08:00
coolsnowwolf
54efd56808 ipq806x: rezise R7500 ubi partion from 22MB to 104MB 2021-07-19 17:19:07 +08:00
coolsnowwolf
ea79bf45a6 ramips: add wireless tool for K2P 2021-07-19 17:05:35 +08:00
Beginner
f15b1ec524 x86: kernel: set NR_CPUS to 512 (#7428)
NR_CPUS limits the number of CPUs supported to 8. This makes total sense
on hardware-restircted platforms, but not on x86_64, where CPUs with
more than 8 cores can be easily acquired and with less physical limitaions.

see also: https://forum.openwrt.org/t/x86-64-8-cpu-limitation-on-vanilla-release/100946

Signed-off-by: Edgar Su <sjs333@outlook.com>

Co-authored-by: Edgar Su <sjs333@outlook.com>
2021-07-19 07:50:01 +00:00
coolsnowwolf
7bfab38104 nss pacakge: rename package 2021-07-19 12:52:07 +08:00
Beginner
1dc482f3dd toolchain: add gcc 11 version (#7419)
Add gcc 11 version. Same patches of gcc 10.

Build tested on: ipq806x ipq807x
Run tested on: ipq806x ipq807x

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
[refresh patches]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-07-19 01:36:19 +00:00
coolsnowwolf
f5e7d6cec5 ipq806x: Add support for Linksys E8350 2021-07-19 09:19:48 +08:00
AmadeusGhost
2848dc4722 ipq40xx: add qca-rfs and qca-ssdk support (#7410)
Also fix the limitation of the original makefile
so that it can be compiled on arm.
Fixes: eac26cc (ipq807x: add Redmi/Xiaomi support")
2021-07-18 22:53:04 +08:00
Beginner
071719b69e luci-app-jd-dailybonus: use uclient-fetch replace wget (#7422)
Co-authored-by: Mattraks <16359027+Mattraks@users.noreply.github.com>
2021-07-18 14:41:44 +08:00
Hugo Yuan
25369be255 ipq806x: Rename Netgear XR500 (#7415) 2021-07-17 21:00:17 +08:00
coolsnowwolf
6a7d00deab ipq806x: add Netgear XR500 support 2021-07-17 20:25:49 +08:00
coolsnowwolf
14f0a651b7 ipq807x: fix mailbox patch 2021-07-16 23:56:27 +08:00
coolsnowwolf
2c6266dbf9 ipq806x: add luci-app-advanced-reboot support for EA7500 v1/EA8500 2021-07-16 18:47:43 +08:00
coolsnowwolf
ebe8ec1003 kernel: bump 5.10 to 5.10.50 2021-07-16 18:32:33 +08:00
coolsnowwolf
f0d208f443 ath11k: Update signal filled flag during sta_statistics drv 2021-07-16 16:50:37 +08:00
coolsnowwolf
2943e7f0b1 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-16 14:37:21 +08:00
coolsnowwolf
48bbf94002 ipq807x: add rps/xps irq balance 2021-07-16 14:36:44 +08:00
AmadeusGhost
ef375fa1c2 mentohust: add package (#7400) 2021-07-16 06:22:57 +00:00
Beginner
7fa4c56a1c mt76: update to the latest version (#7399) 2021-07-16 02:18:24 +00:00
Beginner
35ed2d4e61 kernel: bump 5.4 to 5.4.132 (#7322)
* kernel: bump 5.4 to 5.4.129

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.4 to 5.4.130

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.4 to 5.4.131

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.4 to 5.4.132

Manually rebased:
  layerscape/patches-5.4/805-display-0002-drm-rockchip-prepare-common-code-for-cdns-and-rk-dpi.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-07-16 02:13:15 +00:00
coolsnowwolf
770e3a0e9e Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-16 10:11:51 +08:00
coolsnowwolf
23e72ed38c remove luci-app-dnsfilter 2021-07-16 10:11:42 +08:00
Beginner
37f8d160c7 luci-app-arpbind: fix init doesn't work (#7397)
Added missing START and STOP priorities, also removed the useless
references to functions.

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-16 02:09:33 +00:00
Beginner
25ccbb49aa dnsproxy: remove unnecessary args (#7396)
Go toolchain will scan the dependencies automatically.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-15 16:52:58 +00:00
coolsnowwolf
467e89a2b6 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-15 22:12:53 +08:00
coolsnowwolf
6d64ad25d0 mt7615: reduce noise log 2021-07-15 22:12:39 +08:00
Beginner
5aa1f7fcbd hostapd: add "force" parameter for channel switch (#7394)
This will restart the interface in case the CSA fails and can be used to
force the device on a DFS channel (including full CAC)

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-07-15 13:31:45 +00:00
coolsnowwolf
ed1a6992c8 ipq806x: enable 64-bit time 2021-07-15 16:24:45 +08:00
coolsnowwolf
429c273e1b ipq806x: use schedutil governor replace of ondemand 2021-07-15 16:20:54 +08:00
coolsnowwolf
d2400e73ea Version update to R21.7.15 2021-07-15 16:18:29 +08:00
coolsnowwolf
1eaa4c5b76 ath79: use wpad-openssl by default 2021-07-15 14:42:44 +08:00
coolsnowwolf
b8a2a9b17e ath79: switch to kernel 5.10 2021-07-15 14:39:10 +08:00
coolsnowwolf
90659c4876 mvebu: fix missing Kconfig 2021-07-15 14:09:13 +08:00
coolsnowwolf
a0ffc4c4e0 ipq806x: add smallbuffers profile for EA7500 v1 2021-07-15 12:19:46 +08:00
coolsnowwolf
e9991bd82f ipq806x: fix lan nss mdio for EA7500 v1/EA8500 2021-07-15 11:58:38 +08:00
coolsnowwolf
55b7d1afe9 uugamebooster: fix download path 2021-07-15 11:28:47 +08:00
Beginner
889ce56607 mac80211: sync upstream (#7387)
* mac80211: merge the virtual time based airtime scheduler

Improves airtime fairness, especially for devices with larger firmware buffers

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* mac80211: merge a 4-addr client mode fix

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* mac80211: backport SAR power limit support

Needed for an upcoming mt76 update

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* mt76: update to the latest version

624c681ef0c6 mt76: mt7921: enable VHT BFee capability
a27dfcb63ccf mt76: connac: fix UC entry is being overwritten
6b691e62470e mt76: connac: add mt76_connac_power_save_sched in mt76_connac_pm_unref
b14365bea586 mt76: mt7921: wake the device before dumping power table
82af16bddfc0 mt76: mt7921: make mt7921_set_channel static
b24598b1c1a9 mt76: connac: add mt76_connac_mcu_get_nic_capability utility routine
5954e3381ff9 mt76: testmode: move chip-specific stats dump before common stats
fd5b612f9aa4 mt76: mt7915: fix rx fcs error count in testmode
d9d26a294f7b mt76: connac: fix the maximum interval schedule scan can support
ed39c882f388 mt76: reduce rx buffer size to 2048
60f3d3adbba6 mt76: move mt76_get_next_pkt_id in mt76.h
67ed4d902c84 mt76: connac: check band caps in mt76_connac_mcu_set_rate_txpower
23c6ec49c000 mt76: make mt76_update_survey() per phy
5ca602fb9455 mt76: mt7915: introduce mt7915_mcu_set_txbf()
c13df42282e9 mt76: mt7915: improve MU stability
dee7dcddcaa0 mt76: use SPDX header file comment style
6fbd47153b3d mt76: mt7915: fix IEEE80211_HE_PHY_CAP7_MAX_NC for station mode
1b97dd1762ca mt76: mt7921: fix sta_state incorrect implementation
1b89053b5a6f mt76: mt7921: improve code readability for mt7921_update_txs
126649816785 mt76: mt7921: limit txpower according to userlevel power
a5163ac09be2 mt76: mt7921: introduce dedicated control for deep_sleep
e47c04db4d7e mt76: mt7921: fix kernel warning when reset on vif is not sta
063d3611662c mt76: mt7921: fix the coredump is being truncated
12bf28feba7c mt76: fix iv and CCMP header insertion
949327e76ee4 mt76: disable TWT capabilities for the moment
3530254c1bc9 mt76: mt7921: enable HE BFee capability
599e35f5d9b8 mt76: sdio: do not run mt76_txq_schedule directly
3b6d30c28946 mt76: mt7663s: rely on pm reference counting
529d55a79088 mt76: mt7663s: rely on mt76_connac_pm_ref/mt76_connac_pm_unref in tx path
ef44ff116ee2 mt76: mt7663s: enable runtime-pm
3a71e71a555e mt76: mt7615: set macwork timeout according to runtime-pm
925d96e443a4 mt76: mt7921: allow chip reset during device restart
63b114d84361 mt76: mt76x0e: fix device hang during suspend/resume
7f5ea5e2fd10 mt7915: check return code of sysfs_create_link
ca64a36908b7 mt76: fix mt76_rates for the multiple devices
f517116bf14c mt76: add mt76_default_basic_rate more devices can rely on
6c70b0100513 mt76: mt7921: fix mgmt frame using unexpected bitrate
c00a9a6b52af mt76: mt7915: fix mgmt frame using unexpected bitrate
0e4089949565 mt76: mt7921: fix endianness in mt7921_mcu_tx_done_event
55f314120ef2 mt76: mt7921: avoid unnecessary spin_lock/spin_unlock in mt7921_mcu_tx_done_event
541cd3276488 mt76: mt7915: fix endianness warning in mt7915_mac_add_txs_skb
817761e87c4f mt76: mt7921: fix endianness warning in mt7921_update_txs
b8eca74bbd7b mt76: mt7615: fix endianness warning in mt7615_mac_write_txwi
5e5e07f0def3 mt76: mt7915: fix potential overflow of eeprom page index
abda4cded420 mt76: mt7915: fix info leak in mt7915_mcu_set_pre_cal()
535899f81a46 mt76: mt7915: fix calling mt76_wcid_alloc with incorrect parameter
adfa1b9a3ca0 mt76: connac: fix mt76_connac_gtk_rekey_tlv usage
2a65b105ea4a mt76: mt7921: enable aspm by default
c57158c82804 mt76: fix build error implicit enumeration conversion
41f607cab83c mt76: mt7921: fix survey-dump reporting
25b4f885a937 mt76: mt76x02: fix endianness warnings in mt76x02_mac.c
e63fadb87fe1 mt76: mt7915: report HE MU radiotap
135ef3e9827a mt76: mt7915: adapt new firmware to update BA winsize for Rx session
7118eacb7ce4 mt76: mt7921: add .set_sar_specs support
f1f6569da408 mt76: mt7915: fix an off-by-one bound check
f7da39467965 mt76 mt7915: take RCU read lock when calling ieee80211_bss_get_elem()
87af8e5c72b1 mt76: mt7915: cleanup -Wunused-but-set-variable
8e2d383fbd92 mt76: mt7915: report tx rate directly from tx status
ddce30977591 mt76: mt7915: remove mt7915_sta_stats
4ccd42029519 mt76: mt7921: introduce testmode support

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-07-15 03:23:47 +00:00
AmadeusGhost
e6f03100aa rockchip: fixes re-boot with UHS cards (#6482) (#7380)
Some boards have SD card connectors where the power rail cannot be switched
off by the driver. If the card has not been power cycled, it may still be
using 1.8V signaling after a warm re-boot. Bootroms expecting 3.3V signaling
will fail to boot from a UHS card that continue to use 1.8V signaling.

Set initial signal voltage in mmc_power_off() to allow re-boot to function.

This fixes re-boot with UHS cards on Asus Tinker Board (Rockchip RK3288),
same issue have been seen on some Rockchip RK3399 boards.

Signed-off-by: CN_SZTL <cnsztl@immortalwrt.org>

Co-authored-by: CN_SZTL <22235437+1715173329@users.noreply.github.com>
2021-07-14 21:57:15 +08:00
dansir
5c2745d5fc uugamebooster: update to 2.12.0 (#7386) 2021-07-14 21:56:49 +08:00
Hyy2001X
9111ddb8b1 luci-app-nfs: fix page jump (#7368) 2021-07-13 21:11:41 +08:00
AmadeusGhost
5e34f40296 ramips: improve support for dlink and xiaomi devices (#7370)
* ramips: dlink_dir-8xx-a1: switch to breed partition

* ramips: improve support for cr660x
2021-07-13 21:11:06 +08:00
coolsnowwolf
811525694b ipq40xx: use schedutil governor replace of ondemand 2021-07-13 15:30:08 +08:00
coolsnowwolf
b35d695901 ath10k-ct: remove noise log 2021-07-13 10:10:34 +08:00
HoldOnBro
4e1890478e Update docker.po (#7366)
* Update docker.po

* Update docker.lua
2021-07-13 01:43:10 +00:00
coolsnowwolf
604ceaa750 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-13 00:39:11 +08:00
coolsnowwolf
3625a73046 ramips: switch to kernel 5.10 2021-07-13 00:37:50 +08:00
Beginner
4641e712d0 hostapd: sync upstream (#7361)
* hostapd: make it possible to update station airtime weights via ubus

This allows dynamic tuning based on other runtime information

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* hostapd: add support for enabling HE on channel switch

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* hostapd: initialize ht/vht/he mode on channel switch by default

Use the current mode, but allow overwriting via ubus command parameters

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* hostapd: fix uninitialized stack variable on CSA

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-07-12 14:06:20 +00:00
Beginner
2cc5ee12c8 ath79: add support for TP-Link RE455 v1 (#7362)
TP-Link RE455 v1 is a dual band router/range-extender based on
Qualcomm/Atheros QCA9563 + QCA9880.

This device is nearly identical to RE450 v3

Specification:

- 775 MHz CPU
- 64 MB of RAM (DDR2)
- 8 MB of FLASH (SPI NOR)
- 3T3R 2.4 GHz
- 3T3R 5 GHz
- 1x 10/100/1000 Mbps Ethernet (AR8033 PHY)
- 7x LED, 4x button
- UART header on PCB[1]

Flash instruction:
Apply factory image in OEM firmware web-gui.

[1] Didn't work, probably need to short unpopulated resistor R64
    and R69 as RE450v3

Signed-off-by: Roberto Valentini <valantin89@gmail.com>

Co-authored-by: Roberto Valentini <valantin89@gmail.com>
2021-07-12 14:05:52 +00:00
AmadeusGhost
89a8e0d652 ipq806x: fix nss frequency on ipq8062 (#7360) 2021-07-12 13:59:14 +00:00
coolsnowwolf
4b4261fff3 x86: add zen3 cpu temperature and 5990x support 2021-07-12 17:32:00 +08:00
AmadeusGhost
aa73053a71 ipq806x: re-added support for Ruijie M520 again (#7330)
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2021-07-11 01:25:59 +08:00
coolsnowwolf
f99839aea2 ipq806x: add default package 2021-07-10 12:16:46 +08:00
coolsnowwolf
25683fe038 ipq807x: add NSS ecm 64 support 2021-07-10 08:43:31 +08:00
Felix Fietkau
83f53db630 mediatek: prevent duplicate hardware flow offload entries
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-07-09 22:53:51 +08:00
Felix Fietkau
dde33c4b02 kernel: backport a few upstream flow offloading fixes
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-07-09 22:53:26 +08:00
coolsnowwolf
f01d2831cb wireless-regdb: add 30dbm wireless signal for CN/US region 2021-07-09 18:30:21 +08:00
coolsnowwolf
67e0aa3a01 ath10k: add tx hw 802.11 encapusaltion offloading support 2021-07-09 18:18:34 +08:00
coolsnowwolf
2513ccaf94 mac80211: NSS classify tx support 2021-07-09 17:39:01 +08:00
coolsnowwolf
ff90683203 luci-app-turboacc: add NSS-ECM support for IPQ806x/IPQ807x 2021-07-09 17:06:07 +08:00
coolsnowwolf
adf04492ee ipq806x: add NSS Hardware Offloading support 2021-07-09 17:03:34 +08:00
AmadeusGhost
b6f610d00d luci-app-turboacc: use flow offload by default for ramips (#7320) 2021-07-09 02:01:31 +00:00
coolsnowwolf
4790aa244b mac80211: add tasklet_kill step during NSS interface take down 2021-07-08 12:57:11 +08:00
coolsnowwolf
800501b488 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-08 12:27:12 +08:00
coolsnowwolf
e82fddcf0e mac80211: add support for NSS firmware 2021-07-08 12:27:04 +08:00
libinanshu
b7d4936042 add Pisen_WPR003N (#7307)
* Update arpbind.po

* Update sfe.po

* Update flowoffload.po

* add Pisen_WPR003N
2021-07-08 02:55:13 +00:00
coolsnowwolf
f85ad474b4 luci-app-turboacc: use SFE by default 2021-07-07 15:37:06 +08:00
Beginner
3d3d099f90 dnsproxy: update to 0.38.2 (#7297) 2021-07-06 15:26:33 +00:00
AmadeusGhost
d9e4d8d981 ntfs3: update to latest git HEAD (#7295)
Removed patches that were merged upstream.
2021-07-06 15:25:42 +00:00
Ansuel Smith
430a7b442f scripts: check if dl directory exist in dl_cleanup script
Check if the provided dl directory exist and return on error.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-07-06 14:31:20 +08:00
David Bauer
40b63f28e8 hostapd: add HE flag to get_clients
Expose the hostapd HE flag via ubus to indicate HE capable devices.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-07-06 14:30:48 +08:00
Martin Weinelt
935151084e hostapd: remove unused mac_buff allocation
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2021-07-06 14:30:34 +08:00
Martin Weinelt
1754452baa hostapd: report bssid, ssid and channel over ubus
Imports a function from iw to convert frequencies to channel numbers.

Co-authored-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
[fix potential out of bounds read]
Signed-off-by: David Bauer <mail@david-bauer.net>
2021-07-06 14:30:16 +08:00
coolsnowwolf
01438961e6 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-06 14:29:19 +08:00
Kevin Darbyshire-Bryant
0c8e2bd7d0 dnsmasq: use local option for local domain parameter
'--local' is a synonym for '--server' so let's use '--local' in the
resultant config file for uci's 'local' instead of uci's local
parameter being turned into '--server'.  Slightly less confusion all
round.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2021-07-06 14:28:49 +08:00
Tianling Shen
0f29dec405 Revert "ath11k: fixes a memory leak as the MHI controller was allocated but never freed" (#7286)
This makes memory leak more seriously.

This reverts commit 48a880a190.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-06 06:27:21 +00:00
coolsnowwolf
6675de3732 Revert "ath11k: fix for peer memory corruption"
This reverts commit 83b29e014f.
2021-07-06 14:26:13 +08:00
coolsnowwolf
6ad4588a9b ath11k: allow vht on 2.4g 2021-07-06 00:08:31 +08:00
coolsnowwolf
83b29e014f ath11k: fix for peer memory corruption 2021-07-06 00:07:39 +08:00
coolsnowwolf
6967bf73f0 ipq807x: ax6/ax3600 use 512M RAM profile 2021-07-06 00:06:32 +08:00
Evgeniy Isaev
c8468aa59c ath79: add support for Xiaomi AIoT Router AC2350
Device specifications
* SoC: QCA9563 @ 775MHz (MIPS 74Kc)
* RAM: 128MiB DDR2
* Flash: 16MiB SPI-NOR (EN25QH128)
* Wireless 2.4GHz (SoC): b/g/n, 3x3
* Wireless 5Ghz (QCA9988): a/n/ac, 4x4 MU-MIMO
* IoT Wireless 2.4GHz (QCA6006): currently unusable
* Ethernet (AR8327): 3 LAN × 1GbE, 1 WAN × 1GbE
* LEDs: Internet (blue/orange), System (blue/orange)
* Buttons: Reset
* UART: through-hole on PCB ([VCC 3.3v](RX)(GND)(TX) 115200, 8n1)
* Power: 12VDC, 1,5A

MAC addresses map (like in OEM firmware)
  art@0x0     88:C3:97:*:57  wan/label
  art@0x1002  88:C3:97:*:2D  lan/wlan2g
  art@0x5006  88:C3:97:*:2C  wlan5g

Obtain SSH Access
1. Download and flash the firmware version 1.3.8 (China).
2. Login to the router web interface and get the value of `stok=` from the
   URL
3. Open a new tab and go to the following URL (replace <STOK> with the stok
   value gained above; line breaks are only for easier handling, please put
   together all four lines into a single URL without any spaces):
     http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/misystem/set_config_iotdev
       ?bssid=any&user_id=any&ssid=-h%0Anvram%20set%20ssh_en%3D1%0Anvram%20commit
       %0Ased%20-i%20%27s%2Fchannel%3D.%2A%2Fchannel%3D%5C%5C%22debug%5C%5C%22%2F
       g%27%20%2Fetc%2Finit.d%2Fdropbear%0A%2Fetc%2Finit.d%2Fdropbear%20start%0A
4. Wait 30-60 seconds (this is the time required to generate keys for the
   SSH server on the router).

Create Full Backup
1. Obtain SSH Access.
2. Create backup of all flash (on router):
    dd if=/dev/mtd0 of=/tmp/ALL.backup
3. Copy backup to PC (on PC):
    scp root@192.168.31.1:/tmp/ALL.backup ./
Tip: backup of the original firmware, taken three times, increases the
chances of recovery :)

Calculate The Password
* Locally using shell (replace "12345/E0QM98765" with your router's serial
  number):
  On Linux
    printf "%s6d2df50a-250f-4a30-a5e6-d44fb0960aa0" "12345/E0QM98765" | \
    md5sum - | head -c8 && echo
  On macOS
    printf "%s6d2df50a-250f-4a30-a5e6-d44fb0960aa0" "12345/E0QM98765" | \
    md5 | head -c8
* Locally using python script (replace "12345/E0QM98765" with your
  router's serial number):
    wget https://raw.githubusercontent.com/eisaev/ax3600-files/master/scripts/calc_passwd.py
    python3.7 -c 'from calc_passwd import calc_passwd; print(calc_passwd("12345/E0QM98765"))'
* Online
    https://www.oxygen7.cn/miwifi/

Debricking (lite)
If you have a healthy bootloader, you can use recovery via TFTP using
programs like TinyPXE on Windows or dnsmasq on Linux. To switch the router
to TFTP recovery mode, hold down the reset button, connect the power
supply, and release the button after about 10 seconds. The router must be
connected directly to the PC via the LAN port.

Debricking
You will need a full dump of your flash, a CH341 programmer, and a clip
for in-circuit programming.

Install OpenWRT
1. Obtain SSH Access.
2. Create script (on router):
    echo '#!/bin/sh' > /tmp/flash_fw.sh
    echo >> /tmp/flash_fw.sh
    echo '. /bin/boardupgrade.sh' >> /tmp/flash_fw.sh
    echo >> /tmp/flash_fw.sh
    echo 'board_prepare_upgrade' >> /tmp/flash_fw.sh
    echo 'mtd erase rootfs_data' >> /tmp/flash_fw.sh
    echo 'mtd write /tmp/openwrt.bin firmware' >> /tmp/flash_fw.sh
    echo 'sleep 3' >> /tmp/flash_fw.sh
    echo 'reboot' >> /tmp/flash_fw.sh
    echo >> /tmp/flash_fw.sh
    chmod +x /tmp/flash_fw.sh
3. Copy `openwrt-ath79-generic-xiaomi_aiot-ac2350-squashfs-sysupgrade.bin`
   to the router (on PC):
    scp openwrt-ath79-generic-xiaomi_aiot-ac2350-squashfs-sysupgrade.bin \
    root@192.168.31.1:/tmp/openwrt.bin
4. Flash OpenWRT (on router):
    /bin/ash /tmp/flash_fw.sh &
5. SSH connection will be interrupted - this is normal.
6. Wait for the indicator to turn blue.

Signed-off-by: Evgeniy Isaev <isaev.evgeniy@gmail.com>
[improve commit message formatting slightly]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-07-05 22:49:15 +08:00
coolsnowwolf
9c78339ab5 iproute2: re-nice patch 2021-07-05 22:46:11 +08:00
coolsnowwolf
c4b625f3bb iproute2: drop sprint_rate() and uses print_rate() 2021-07-05 18:40:12 +08:00
coolsnowwolf
48a880a190 ath11k: fixes a memory leak as the MHI controller was allocated but never freed 2021-07-05 18:01:22 +08:00
coolsnowwolf
d7ee5d6016 iproute2: tc: add support for NSS qdisc 2021-07-05 17:24:38 +08:00
coolsnowwolf
ddfd47b436 shortcut-fe: add simulated-driver 2021-07-05 17:11:19 +08:00
coolsnowwolf
843dd8fcd7 ath79: fix dw33d nor breed-factory build 2021-07-05 13:49:18 +08:00
coolsnowwolf
cec9b9983a x86: add emmc boot support 2021-07-05 13:41:54 +08:00
Beginner
a595602d28 luci-app-jd-dailybonus: sync upstream (#7276)
Co-authored-by: cielpy <beijiu572@gmail.com>
2021-07-05 05:35:42 +00:00
AmadeusGhost
70b6c02432 ipq806x: sync upstream source code (#7270)
* ipq806x: fix missing changes in 5.4 for new cpufreq implementation

The new cpufreq dedicated driver changed the node structure
on how the cache should be defined in the dts. The 5.4 dtsi addition
patch has not been updated to follow the new implementation.
Fix this to restore correct cache scaling and restore any performance
regression.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>

* ipq806x: fix missing 1.4ghz cache freq for ipq8065 SoC

With the new implementation of the dedicated cpufreq driver,
the 1.4 Ghz was only dropped and not added to the ipq8065 SoC.
Fix this to improve performance.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>

* ipq806x: fix dedicated cpufreq driver

2 small fix for the dedicated cpufreq driver:
- Fix index wrongly used as the current cpu
- Exit early if a bad freq is detected. In the current state the freq
is applied anyway even with invalid state.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>

Co-authored-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-07-04 10:52:46 +08:00
Her0R0cket
8c1df6e3c3 add qt-sql for qBittorrent-Enhanced-Edition (#7263)
add qt-sql for qBittorrent-Enhanced-Edition
2021-07-03 17:19:56 +08:00
Beginner
b875a76417 .gitignore: ignore any .vscode* file (#7266)
.vscode-ctags are being tracked by git. Update .gitignore to
include any .vscode* file

Signed-off-by: Nicholas Smith <nicholas@nbembedded.com>

Co-authored-by: Nicholas Smith <nicholas@nbembedded.com>
2021-07-03 17:19:44 +08:00
dansir
d7bef8a8f4 packages: use old extra_command wrapper (#7259)
* dnsforwarder: use old extra_command wrapper

* zram-swap: use old extra_command wrapper

* ltq-adsl-app: use old extra_command wrapper

* ltq-vdsl-app: use old extra_command wrapper
2021-07-03 14:44:24 +08:00
coolsnowwolf
ee1d80efcc ipq40xx: fix ath10k-ct conflit with ac58u 2021-07-02 22:19:33 +08:00
coolsnowwolf
80abbb1656 x86: add luci-app-qbittorrent by default 2021-07-02 22:17:15 +08:00
qianxu2001
0deda920ef base-files: NTP change (#7252)
https://help.aliyun.com/document_detail/92704.html
2021-07-02 21:39:39 +08:00
AmadeusGhost
0497ccf1cc ntfs3: simplified patch (#7255)
However, I'm not sure whether the changes below kernel 4.14
are correct, use at your own risk.
2021-07-02 21:37:47 +08:00
Beginner
34ad4fec88 luci-app-dnsfilter: fixed failure to start (#7247)
Signed-off-by: Beginner <70857188+Beginner-Go@users.noreply.github.com>
2021-07-02 15:36:00 +08:00
coolsnowwolf
4a06bf69e4 ntfs3: backport support to kernel 4.9 2021-07-01 16:59:40 +08:00
coolsnowwolf
adc5d8f12d Version Update to R21.7.1.100 2021-07-01 16:41:11 +08:00
coolsnowwolf
4c552bf00e luci-app-dnsfilter: add zh_Hans po 2021-07-01 15:55:37 +08:00
coolsnowwolf
c2c27b6ddf Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-01 15:51:33 +08:00
coolsnowwolf
dd7d3d8cb6 luci-app-dnsfilter: add package from garypang13 2021-07-01 15:51:22 +08:00
Beginner
12a44d5e54 mac80211: backport fix for nl80211 control port tx (fixes FS#3857) (#7241)
Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-07-01 05:27:14 +00:00
coolsnowwolf
a9b30b2b2d ipsec: disable ESP offload 2021-06-30 22:02:26 +08:00
Beginner
8d192ea9a4 luci-app-turboacc: some minor adjustments (#7235) 2021-06-30 13:58:32 +00:00
coolsnowwolf
382647e995 luci-app-turboacc: use old extra_command wrapper 2021-06-30 21:29:49 +08:00
coolsnowwolf
4a0fbb84ad dropbear: use old extra_command wrapper 2021-06-30 21:26:45 +08:00
coolsnowwolf
370e0d0c6b Update README 2021-06-30 20:46:32 +08:00
coolsnowwolf
2835bb8a84 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-30 20:44:56 +08:00
coolsnowwolf
4f7aaacb00 adjust default package 2021-06-30 20:44:49 +08:00
Crazy365
fc00955465 fix k3screenctrl DEPENDS (#7232)
fix #7228
2021-06-30 20:37:43 +08:00
coolsnowwolf
01e4998f6d qBittorrent: add static build for lazy guys 2021-06-30 19:15:41 +08:00
coolsnowwolf
a7e39ff214 x86: gen EFI image only by default 2021-06-30 17:30:55 +08:00
coolsnowwolf
8fc5020e3e dnsmasq: sync upstream 2021-06-30 16:16:46 +08:00
coolsnowwolf
8e0f468729 ath79: add support for domywifi_dw33d-nor 2021-06-30 13:28:09 +08:00
coolsnowwolf
58ac6952fe Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-30 13:17:44 +08:00
coolsnowwolf
acf2ce3a64 ath79: add support for Arris SBC-AC1750 2021-06-30 13:17:37 +08:00
Beginner
d7e0201ce9 dnsmasq: distinct Ubus names for multiple instances (#7225)
Currently, when using multiple dnsmasq instances they are all assigned
to the same Ubus instance name. This does not work, as only a single
instance can register with Ubus at a time. In the log, this leads to
`Cannot add object to UBus: Invalid argument` error messages.
Furthermore, upstream 3c93e8eb41952a9c91699386132d6fe83050e9be changes
behaviour so that instead of the log, dnsmasq exits at start instead.

With this patch, all dnsmasq instances are assigned unique names so that
they can register with Ubus concurrently. One of the enabled instances
is always assigned the previous default name "dnsmasq" to avoid breaking
backwards compatibility with other software relying on that default.
Previously, a random instance got assigned that name (while the others
produced error logs). Now, the first unnamed dnsmasq config section is
assigned the default name. If there are no unnamed dnsmasq sections the
first encountered named dnsmasq config section is assigned instead.

A similar issue exists for Dbus and was similarly addressed.

Signed-off-by: Etan Kissling <etan.kissling@gmail.com>
[tweaked commit message] dnsmasq was not crashing it is exiting
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

Co-authored-by: Etan Kissling <etan.kissling@gmail.com>
2021-06-30 05:05:20 +00:00
coolsnowwolf
5d99eeef7c luci-app-ipsec-vpnd: add strongswan-mod-kernel-libipsec 2021-06-30 13:04:33 +08:00
coolsnowwolf
0581b059ef ath79: add support for TP-Link TL-WDR6500 v2 2021-06-30 01:16:42 +08:00
Beginner
ced4dc7500 mac80211: fix a regression in starting aggregation sessions on mesh interfaces (#7226)
Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-06-30 01:01:01 +08:00
coolsnowwolf
6add79ce44 fix luci-app-turboacc dependence 2021-06-29 22:37:51 +08:00
Tianling Shen
d05161e2a3 luci-app-turboacc: add the new offloading controller (#7223)
The new LuCI controller rewritten by Tianling, based on the previous
version of luci-app-flowoffload written by Lean and modified by ntlf9t.

This app merged flow offloading and shortcut-fe support into a single
package, and you can switch to each of them easily without conflicts
or rebooting. Also adapted the Qualcomm QCA NSS ECM driver
(controlling is not supported yet).

For DNS caching, the new promgrams dnsforwarder and dnsproxy were
supported, the latter one supports more advanced procotols like DoT,
DoH, and QUIC. It is useful for users whose ISP hijacked their DNS
requests.

Re-licensed under GPL-3.0-only.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-29 14:32:29 +00:00
coolsnowwolf
87d72cae64 mac80211: remove ath11k nss code temporality 2021-06-29 22:24:20 +08:00
Saxon
3e0302e832 Add docker-cli depend (#7217) 2021-06-29 18:38:17 +08:00
coolsnowwolf
892b521774 mac80211: grace code 2021-06-29 17:09:06 +08:00
coolsnowwolf
9faf3ea90d mac80211: add ipq807x dep for ath11k nss 2021-06-29 16:19:40 +08:00
coolsnowwolf
9be314ba8f mac80211: add ath11k nss dependence 2021-06-29 14:07:54 +08:00
coolsnowwolf
37efc3f069 ath11k: Update tx descriptor search index properly 2021-06-29 12:03:04 +08:00
coolsnowwolf
9e2257c44a ath11k: add hw nss ax wifi offload support 2021-06-29 11:47:43 +08:00
coolsnowwolf
aa3cc2ddfa ath11k: add decap offload support 2021-06-29 11:42:28 +08:00
coolsnowwolf
38fcecc1ad ipq807x: add led configuration 2021-06-29 11:38:08 +08:00
coolsnowwolf
b9089dbf09 ipq807x: update current partition directly 2021-06-29 11:37:17 +08:00
coolsnowwolf
a6cc239b86 Update README 2021-06-29 11:21:29 +08:00
Bob Cantor
d444b78fc9 base-files: wifi: tidy up the reconf code
commit 5edbd390d321532d9a697d6895a1a7c71c40bd5d rearranged the
"wifi up" code.

This commit tidies up the "wifi reconf" code so as to
keep it aligned with the "wifi up" code.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:17:51 +08:00
Bob Cantor
420bd45ca2 base-files: wifi: swap the order of some ubus calls
"/sbin/wifi up" makes three ubus calls:
1. ubus call network reload
2. ubus call network.wireless down
3. ubus call network.wireless up

The first and third ubus calls call drv_mac80211_setup,
while the second ubus call triggers wireless_device_setup_cancel,
so the call sequence becomes,

1. drv_mac80211_setup
2. wireless_device_setup_cancel
3. drv_mac80211_setup

This commit swaps the order of the first two ubus calls,
1. ubus call network.wireless down
2. ubus call network reload
3. ubus call network.wireless up

Consequently drv_mac80211_setup is only called once,
and two related bugs (#FS3784 and #FS3902) are no longer triggered
by /sbin/wifi.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:17:32 +08:00
Bob Cantor
5df9eeddbf mac80211: print an error if wifi teardown fails
drv_mac80211_teardown fails silently if the device to be torn down is
not defined.  This commit prints an error message.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:17:01 +08:00
Bob Cantor
00be744e8f mac80211: always call wireless_set_data (FS#3784)
When wifi is turned off, drv_mac80211_teardown sometimes fails (silently)
because the device to be torn down is not defined.

This situation arises if drv_mac80211_setup was called twice when
wifi was turned on.

This commit ensures that the device to be torn down is always defined
in drv_mac80211_teardown.

Steps to reproduce:

1) Use /sbin/wifi to turn on wifi.
   uci set wireless.@wifi-iface[0].disabled=0
   uci set wireless.@wifi-device[0].disabled=0
   uci commit
   wifi

2) Use /sbin/wifi to turn off wifi.
   uci set wireless.@wifi-device[0].disabled=1
   uci commit
   wifi

3) Observe that wifi is still up.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:16:40 +08:00
Bob Cantor
9cdb2a6cd3 mac80211: fix no_reload logic (FS#3902)
If drv_mac80211_setup is called twice with the same wifi configuration,
then the second call returns early with error HOSTAPD_START_FAILED.
(wifi works nevertheless, despite the fact that setup is incomplete.  But
"ubus call network.wireless status" erroneously reports that radio0 is down.)

The relevant part of drv_mac80211_setup is,

if [ "$no_reload" != "0" ]; then
        add_ap=1
        ubus wait_for hostapd
        local hostapd_res="$(ubus call hostapd config_add "{\"iface\":\"$primary_ap\", \"config\":\"${hostapd_conf_file}\"}")"
        ret="$?"
        [ "$ret" != 0 -o -z "$hostapd_res" ] && {
                wireless_setup_failed HOSTAPD_START_FAILED
                return
        }
        wireless_add_process "$(jsonfilter -s "$hostapd_res" -l 1 -e @.pid)" "/usr/sbin/hostapd" 1 1
fi

This commit sets no_reload = 0 during the second call of drv_mac80211_setup.

It is perhaps worth providing a way to reproduce the situation
where drv_mac80211_setup is called twice.

When /sbin/wifi is used to turn on wifi,
   uci set wireless.@wifi-iface[0].disabled=0
   uci set wireless.@wifi-device[0].disabled=0
   uci commit
   wifi

/sbin/wifi makes the following ubus calls,
   ubus call network reload
   ubus call network.wireless down
   ubus call network.wireless up

The first and third ubus calls both call drv_mac80211_setup,
while the second ubus call triggers wireless_device_setup_cancel.
So the call sequence becomes,

   drv_mac80211_setup
   wireless_device_setup_cancel
   drv_mac80211_setup

In contrast, when LuCI is used to turn on wifi only a single call
is made to drv_mac80211_setup.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:16:16 +08:00
John Audia
c3b54e78a5 ipq806x: refresh config for kernel 5.4
* With kernel 5.4.128, ran: make kernel_menuconfig CONFIG_TARGET=generic
* Manually added back CONFIG_LEDS_TRIGGER_DISK=y so as not to revert
  f93fcf8923aa ("ipq806x: enable disk-activity LED trigger")

Signed-off-by: John Audia <graysky@archlinux.us>
[minor commit title/message adjustments]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-06-29 11:14:56 +08:00
Felix Fietkau
4d4799ac4c iwinfo: update to the latest version
c9b1672f5a83 nl80211: fix path compatibility issue

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-29 11:11:37 +08:00
Hans Dedecker
48648d5fc0 glibc: update to latest 2.33 HEAD (BZ #27646, bug 27896, BZ #15271)
58b90461ae elf: Use _dl_catch_error from base namespace in dl-libc.c [BZ #27646]
8c06748c51 Fix use of __pthread_attr_copy in mq_notify (bug 27896)
4b6be914bd Use __pthread_attr_copy in mq_notify (bug 27896)
f4cba6ca1e dlfcn: Failures after dlmopen should not terminate process [BZ #15271]

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2021-06-29 11:10:28 +08:00
Alexey Dobrovolsky
b789e068a3 busybox: sysntpd: add trigger to reload server
sysntpd server becomes unavailable if the index of the bound
interface changes. So let's add an interface trigger to reload sysntpd.

This patch also adds the ability for the sysntpd script to handle
uci interface name from configuration.

Fixes: 4da60500ebd2 ("busybox: sysntpd: option to bind server to iface")
Signed-off-by: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
Reviewed-by: Philip Prindeville <philipp@redfish-solutions.com>
2021-06-29 11:09:36 +08:00
coolsnowwolf
99fe6d7249 libtorrent: bump to v1.2.14 2021-06-28 13:06:24 +08:00
coolsnowwolf
03a0c027a6 qbittorrent: bump to v4.3.6 2021-06-28 11:42:55 +08:00
coolsnowwolf
6f52d351ac disable ccache build 2021-06-28 11:37:29 +08:00
coolsnowwolf
0e42710c09 Revert "Update Makefile (#7205)"
This reverts commit ab5ed92656.
2021-06-28 11:36:38 +08:00
Tianling Shen
b40baddcfe kernel: 5.10: re-add shortcut-fe patch (#7204)
* kernel: 5.10: re-add shortcut-fe patch

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* ipq807x: compat with SFE patch

Patch for ECM support includes some stuff provided by the one for sfe
alreadly, simply remove these duplicated parts.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* qca-nss-ecm: rework netfilter conntrack notification

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-28 02:30:57 +00:00
eSir
ab5ed92656 Update Makefile (#7205) 2021-06-28 02:30:48 +00:00
libinanshu
b9ea47bdff Perfect translation (#7202)
* Update arpbind.po

* Update sfe.po

* Update flowoffload.po
2021-06-28 00:22:18 +08:00
AmadeusGhost
41ba774971 ath10k: re-added 256qam support (#7200)
* mac80211: allow VHT on 2.4GHz

Allow VHT rate on 2.4GHz in order to use 256-QAM

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* ath10k: allow VHT on 2.4GHz

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* hostapd: add vendor_vht option

hostapd has vendor_vht option to enable VHT (256-QAM) on 2.4GHz
Add this option to hostapd.sh so users can enable it via uci

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* mac80211: ath.mk: typo fixes

Co-authored-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2021-06-27 17:47:04 +08:00
coolsnowwolf
5e0c803478 mac80211: enable ATH10K THERMAL 2021-06-27 01:17:59 +08:00
Karel Kočí
c03bf68330 ustream-ssl: variants conflict with each other
This adds conflicts between variants of libustream pacakge.
They provide the same file and thus it should not be possible to install
them side by side.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2021-06-27 01:00:05 +08:00
Hauke Mehrtens
f379898615 kernel: Backport patch to automatically bring up DSA master when opening user port
Without this patch we have to manually bring up the CPU interface in
failsafe mode.

This was backported from kernel 5.12.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Tested-by: Rafał Miłecki <rafal@milecki.pl>
2021-06-27 00:57:26 +08:00
Jason A. Donenfeld
2e53a967fc kernel-5.4: backport latest patches for wireguard
These are the latest patches that just landed upstream for 5.13, will be
backported by Greg into 5.10 (because of stable@), and are now in the
5.4 backport branch of wireguard: https://git.zx2c4.com/wireguard-linux/log/?h=backport-5.4.y

Cc: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Tested-by: Stijn Segers <foss@volatilesystems.org>
2021-06-27 00:56:27 +08:00
coolsnowwolf
8e7c08b9cd Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-27 00:37:57 +08:00
coolsnowwolf
8852e13751 ucl: add Apple Silicon M1 compiler support 2021-06-27 00:37:49 +08:00
Beginner
4c3740979a kernel: bump 5.10 to 5.10.46 (#7166)
Add the new symbol to the generic kconfig.

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-06-26 15:28:28 +00:00
coolsnowwolf
283f361f58 Revert "automount: change to NTFS3 mount"
This reverts commit 99db707263.
2021-06-26 23:26:52 +08:00
ntlf9t
b8abbb6856 update lan bat0 binding (#7190) 2021-06-25 18:48:33 +00:00
coolsnowwolf
3a87b9106c ipq807x: fix Xiaomi AX3600/AX9000 support 2021-06-26 02:47:30 +08:00
coolsnowwolf
8f3ca3ae4e Revert "fix 600-qca-nss-ecm-support-CORE.patch (#7184)"
This reverts commit 21ad3b6462.
2021-06-26 02:19:33 +08:00
Hugo Yuan
21ad3b6462 fix 600-qca-nss-ecm-support-CORE.patch (#7184) 2021-06-25 17:30:04 +00:00
dansir
ce2874f528 luci-app-mwan3helper: update data (#7173)
gfw数据来源:https://cokebar.github.io/gfwlist2dnsmasq/gfwlist_domain.txt
ispip数据来源:https://ispip.clang.cn/
2021-06-25 04:41:15 +00:00
dansir
0d655dc5c1 luci-app-xlnetacc: luci-compat (#7159)
* luci-app-xlnetacc: 删除非必要依赖luci-compat

当前源码采用旧版luci,luci-compat此兼容包只配合新版luci使用

* default-settings: 删除非必要依赖luci-compat
2021-06-25 04:40:43 +00:00
Beginner
39fc6395fd hostapd: add support for providing vendor specific IE elements (#7178)
They can be added as hex digit strings via the 'vendor_elements' option

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-06-25 04:40:25 +00:00
AmadeusGhost
f1d18ecb17 ipq-wifi: makefile bug fixes (#7180)
Fixes: eac26cc353
2021-06-25 04:40:12 +00:00
Dingcon
a2c991e755 Luci-app-diskman: update to v0.2.11 (#7170)
* Update to v0.3.4

Update to lastest version from lisaac.

* Update to v0.3.4

Update to lastest version from lisaac

* luci-lib-docker: Update to v0.3.4

Update to lastest version from lisaac.

* luci-app-diskman: Update to v0.2.11
2021-06-24 09:37:57 +00:00
Dingcon
6930f1bef1 Luci-lib-docker: Update to v0.3.4 (#7168)
* Update to v0.3.4

Update to lastest version from lisaac.

* Update to v0.3.4

Update to lastest version from lisaac

* luci-lib-docker: Update to v0.3.4

Update to lastest version from lisaac.
2021-06-24 07:11:26 +00:00
coolsnowwolf
a77abd4064 ddns-scripts_dnspod: fix dependence 2021-06-24 13:30:34 +08:00
dansir
6abd652604 hostapd: disassoc_low_ack disable by default (#7160)
https://openwrt.org/faq/disconnected_due_to_excessive_missing_acks
https://openwrt.org/faq/deauthenticated_due_to_inactivity
2021-06-24 05:26:23 +00:00
Beginner
6752f7970f hostapd: add default_disabled option to the supplicant (#7165)
With the default configuration we generate, the supplicant starts
scanning and tries to connect to any open network when the interface
is enabled.

In some cases it can be desirable to prevent the supplicant from
scanning by itself. For example, if on the same radio an AP is
configured and an unconfigured STA is added (to be configured with
WPS), the AP might not be able to beacon until the STA stops
scanning.

In such a case, the STA configuration can still be required to set
specific settings (e.g. multi_ap_backhaul_sta) so it can't be set to
"disabled" in uci (because that would prevent the supplicant from
being run at all). The alternative is to add the "disabled" parameter
to the default network block in the supplicant configuration.

This patch adds a "default_disabled" setting in UCI which, when set,
adds the "disabled" parameter to the supplicant default network block.

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>

Co-authored-by: Raphaël Mélotte <raphael.melotte@mind.be>
2021-06-24 05:25:38 +00:00
coolsnowwolf
37e0686458 ipq807x: add ath11k wireless 2021-06-24 12:26:35 +08:00
coolsnowwolf
b3908e3b65 mac80211: add ath11k support 2021-06-24 12:20:23 +08:00
coolsnowwolf
eac26cc353 ipq807x: add Redmi AX6, Xiaomi AX9000 support 2021-06-24 12:16:06 +08:00
coolsnowwolf
fb9568cbe3 kernel: bump 5.4 to 5.4.128 2021-06-24 10:49:50 +08:00
Beginner
9fef48a0ad kernel: bump 5.10 to 5.10.44 (#7034)
Add the new symbol to the generic kconfig.

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Signed-off-by: Signed-off-by: Beginner <70857188+Beginner-Go@users.noreply.github.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-06-23 13:24:07 +08:00
bluskai
2dee07b5c5 Update frp to v0.37.0 (#7149)
* Update frp to v0.37.0

* Update frp to v0.37.0
2021-06-23 13:23:36 +08:00
Beginner
3929e40fda hostapd: make wnm_sleep_mode_no_keys configurable (#7150)
In the aftermath of the KRACK attacks, hostapd gained an AP-side workaround
against WNM-Sleep Mode GTK/IGTK reinstallation attacks. WNM Sleep Mode is not
enabled by default on OpenWrt, but it is configurable through the option
wnm_sleep_mode. Thus, make the AP-side workaround configurable as well by
exposing the option wnm_sleep_mode_no_keys. If you use the option
wpa_disable_eapol_key_retries and have wnm_sleep_mode enabled, you might
consider using this workaround.

Signed-off-by: Timo Sigurdsson <public_timo.s@silentcreek.de>

Co-authored-by: Timo Sigurdsson <public_timo.s@silentcreek.de>
2021-06-23 13:22:57 +08:00
coolsnowwolf
37805151b3 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-22 21:55:17 +08:00
coolsnowwolf
0a9825206d ddns-scripts_aliyun: fix VAR 2021-06-22 21:55:07 +08:00
Beginner
2c7a6b92b0 hostapd: sync upstream (#7135)
* hostapd: make country3 option configurable

The country3 option in hostapd.conf allows the third octet of the country
string to be set. It can be used e.g. to indicate indoor or outdoor use (see
hostapd.conf for further details). Make this option configurable but optional
in OpenWrt.

Signed-off-by: Timo Sigurdsson <public_timo.s@silentcreek.de>

* hostapd: fix handling of the channel utilization options

Commit 0a7657c ("hostapd: add channel utilization as config option") added the
two new uci options bss_load_update_period and chan_util_avg_period. However,
the corresponding "config_add_int" calls for these options weren't added, so
attempting to actually use these options and change their values is bound to
fail - they always stay at their defaults. Add the missing code to actually
make these options work.

Fixes: 0a7657c ("hostapd: add channel utilization as config option")
Signed-off-by: Timo Sigurdsson <public_timo.s@silentcreek.de>

Co-authored-by: Timo Sigurdsson <public_timo.s@silentcreek.de>
2021-06-22 11:07:36 +00:00
coolsnowwolf
07863551c8 ddns-scripts_aliyun: use uclient-fetch replace wget-ssl 2021-06-22 18:42:25 +08:00
coolsnowwolf
0b2a95ce24 default-settings: redirect ipv6 dns 2021-06-22 17:54:02 +08:00
coolsnowwolf
60ac048388 Version update to R21.6.22 2021-06-22 17:17:43 +08:00
coolsnowwolf
9a8c1923b2 UnblockNeteaseMusic: nodejs version use Tianling's source 2021-06-22 17:07:02 +08:00
coolsnowwolf
d60ec7c320 ntfs3: add kmod-nls-utf8 depend 2021-06-22 16:58:00 +08:00
coolsnowwolf
24714104cc autocore-arm: drop lm-sensor for ipq806x 2021-06-22 13:18:56 +08:00
coolsnowwolf
84d1b74472 autocore-arm: get rip of lm-sensor to speedup display index.html 2021-06-22 12:57:40 +08:00
coolsnowwolf
f5a8fa17f9 target: use ccache by default 2021-06-22 10:59:48 +08:00
dunkeng
3e593ca647 mvebu: switch to kernel 5.10 (#7114) 2021-06-21 07:56:24 +00:00
lean
445ada8627 ramips: switch to kernel 5.10 2021-06-21 15:55:46 +08:00
Michael Yartys
248dbdb904 hostapd: add support for setting sae_pwe
Make it possible to specify the SAE mechanism for PWE derivation. The
following values are possible:

0 = hunting-and-pecking loop only
1 = hash-to-element only
2 = both hunting-and-pecking loop and hash-to-element enabled

hostapd currently defaults to hunting-and-pecking loop only.

Signed-off-by: Michael Yartys <michael.yartys@protonmail.com>
2021-06-21 15:49:10 +08:00
Dobroslaw Kijowski
31d876d11a hostapd: stop advertising 11w feature
This is a follow up of 1a9b896d ("treewide: nuke DRIVER_11W_SUPPORT").
LuCI commit ab010406 ("luci-mod-network: skip check for 802.11w feature")
skips check of the 11w feature [1]. Now advertising it in hostapd is
superfluous so stop doing it.

[1]: https://github.com/openwrt/luci/pull/4689

Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
[remove outdated PKG_RELEASE bump and update to SPDX]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-06-21 15:48:51 +08:00
lean
55d545b926 luci-app-cpufreq : move to target 2021-06-21 15:44:56 +08:00
lean
e3b1fa5ef0 urngd: fix busy loop in case of ioctl cause high cpu usage 2021-06-21 11:52:55 +08:00
lean
e616c4b3f8 luci-app-jd-dailybonus: use wget-ssl replace wget 2021-06-21 11:37:58 +08:00
lean
e56235aa3c luci-app-unblockmusic: use uclient-fetch replace wget-ssl 2021-06-21 11:32:41 +08:00
lean
f8046684f8 luci-app-arpbind: use ip-tiny replace ip-full 2021-06-21 11:10:49 +08:00
lean
526dc79377 revert: uclient sylink to wget-ssl 2021-06-21 10:35:33 +08:00
lean
017d7d1cbd luci-app-adbyby-plus: use uclient-fetch replace wget-ssl 2021-06-21 10:03:17 +08:00
lean
80d6eac5e9 uclient: sylink to wget-ssl 2021-06-21 10:01:31 +08:00
lean
38cbf28fbc Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-21 09:27:11 +08:00
lean
1e60e3186e luci-app-adbyby-plus: replace wget-ssl with uclient-fetchuclient 2021-06-21 09:27:02 +08:00
AmadeusGhost
8554a670a0 mbedtls: add missing armv8 ce patches (#7110)
Fixes: 53f353337b
2021-06-21 00:10:07 +00:00
lean
2a5057a7ca Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-20 21:36:29 +08:00
lean
ca7325417d luci-app-unblockmusic: add softfloat support for MIPS 2021-06-20 21:36:19 +08:00
AmadeusGhost
87e2f29128 ipq806x: re-added support for Ruijie M520 (#7105)
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2021-06-20 07:45:22 +00:00
lean
1bb9b83c5a luci-app-easymesh: add package from ntlf9t 2021-06-20 13:51:09 +08:00
dansir
89d2ce56df dropbear: set listen interface to lan (#7100)
默认设置为“未指定”不安全
2021-06-20 05:29:18 +00:00
dansir
7143083908 base-files: NTP servers set for CN users (#7101) 2021-06-20 05:28:04 +00:00
lean
8c77c54d15 ntfs3-mount: mount NTFS with codepage utf8 2021-06-20 13:26:55 +08:00
lean
b7cb7b0185 Revert "Revert "automount: change to NTFS3 mount""
This reverts commit 46a59df3e2.
2021-06-20 13:25:06 +08:00
lean
13ae7ee67d x86: add Hyper-V & PVE image build 2021-06-20 00:29:29 +08:00
lean
1eed211889 dpdk: add x64 and armv8 64bit support 2021-06-19 23:16:19 +08:00
lean
2a60fb0d17 bcm53xx: drop spi rom target support 2021-06-19 22:45:35 +08:00
lean
607ded4bbd luci-app-cpufreq: fix governor setting 2021-06-19 22:25:24 +08:00
lean
363a33eeca target: get rip of some compents by default 2021-06-19 21:55:38 +08:00
lean
260fbd3a46 dnsmasq: unselect DNSEC 2021-06-19 20:19:26 +08:00
Felix Fietkau
4b93d4f442 mac80211: fix an issue with wds links on 802.11ax devices
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-19 19:46:31 +08:00
lean
13ed5020f3 fstools: enable any device with non-MTD rootfs_data volume to support extroot 2021-06-19 19:26:22 +08:00
lean
e63bfdca57 ramips: fix mt7620a 8M support 2021-06-19 18:09:39 +08:00
Felix Fietkau
2fef510468 kernel: disable CONFIG_PCIE_BUS_PERFORMANCE
The option was added in 5.9 and for some reason, it is causing performance
issues at least on an APU2 board with the igb device.
Switch CONFIG_PCIE_BUS_DEFAULT to fix the performance issues and match the
older kernel's behavior

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-19 16:40:43 +08:00
lean
46a59df3e2 Revert "automount: change to NTFS3 mount"
This reverts commit 99db707263.
2021-06-19 16:38:00 +08:00
AmadeusGhost
1e54d20241 ipq40xx: some typo and bug fixes (#7080) 2021-06-19 08:32:38 +00:00
lean
34fa22926e Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-19 13:03:34 +08:00
lean
bae5572a81 luci-app-docker: add data-root path config 2021-06-19 13:03:27 +08:00
Beginner
9a2df98c56 mac80211: sync upstream (#7077)
* mac80211: remove patches stripping down crypto support

Use of WPA3 and things like FILS is getting much more common, and platforms
that can't affort the extra kilobytes for this code are fading away.
Let's not hold back modern authentication methods any longer

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* kernel: make cryptoapi support needed by mac80211 built-in

This reduces the flash space impact, since built-in code is much smaller
than a bunch of kernel modules on squashfs

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* mac80211: remove extra patch accidentally added during rebase

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-06-19 12:44:24 +08:00
Beginner
5a80754f03 mac80211: system hang caused by deferring calls into minstrel to dequeue (#7057)
Move the aggregation check to mac80211

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-06-18 10:12:55 +08:00
Beginner
2ac40de1cb luci-app-arpbind: Translation "IP Address" (#7058) 2021-06-18 10:12:21 +08:00
AmadeusGhost
e041b4889e ipq40xx: add missing wifi fw (#7060) 2021-06-18 10:12:02 +08:00
lean
b3cdf4ee1b pdnsd-alt: fix turboacc dns cache 2021-06-17 23:47:51 +08:00
Felix Fietkau
a4e2bd54c6 mac80211: fix minstrel sample time check
We need to skip sampling if the next sample time is after jiffies, not before.
This patch fixes an issue where in some cases only very little sampling (or none
at all) is performed, leading to really bad data rates

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-17 20:16:52 +08:00
Felix Fietkau
f89a6ad13d mac80211: select iwinfo
Since iwinfo is now used in the core scripts, it needs to be present on the system

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-17 20:16:31 +08:00
Felix Fietkau
f58e450837 mac80211: fix processing HE capabilities (FS#3871)
Use the right argument to fix setting unsupported capabilities to 0

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-17 20:15:56 +08:00
Moritz Warning
d415964c87 build: preserve profiles.json between builds
Keep other profiles.json content if the data belongs to the current
build version.

Also useful for the ImageBuilder, which builds for a single model each
time. Without this commit the profiles.json would only contain the
latest build profile information.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
[improve commit message]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-06-17 20:14:50 +08:00
lean
d193d19af7 LICENSES: include all used licenses in LICENSES directory 2021-06-17 20:11:04 +08:00
lean
3ec824b86c gmediarender: bump version 2021-06-17 16:04:31 +08:00
lean
53f353337b mbedtls: add ARMv8 Crypto Extensions AES and SSE2 on x86 2021-06-17 15:37:02 +08:00
lean
58973c3e8c linux: enable default automatic CT helper 2021-06-17 15:25:45 +08:00
lean
cf84a00c7d luci-app-qbittorrent: refresh config 2021-06-17 14:55:45 +08:00
lean
c13ad1940b luci-app-qbittorrent: drop python3 by default 2021-06-17 13:39:01 +08:00
lean
68791db727 qBittorrent: bump to v4.3.5 (QT 5.15.1) 2021-06-17 13:37:52 +08:00
lean
069d9a1d19 bcm53xx: fix phicomm-k3 wireless 2021-06-17 11:08:29 +08:00
lean
a067631601 pdnsd: change installed patch 2021-06-17 10:49:06 +08:00
lean
a40a462858 amule: fix ibupnp API breakage and compilation with binutils >= 2.33.1 2021-06-17 10:44:53 +08:00
Beginner
212b5ef32b target.mk: remove duplicate depend (#7028)
Signed-off-by: Beginner <70857188+Beginner-Go@users.noreply.github.com>
2021-06-17 10:27:30 +08:00
AmadeusGhost
c5fd96d935 download.pl: add more mirrors addresses (#7025) 2021-06-17 01:19:53 +08:00
lean
1ac12ab23b Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-17 00:17:21 +08:00
lean
f4b9f11f28 libcryptopp: fix cmake build 2021-06-17 00:17:12 +08:00
Beginner
c312a9fd02 r8125: update to 9.005.06 (#7016)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-16 20:30:58 +08:00
lean
38b89d9fc2 build: ensure that dash isn't prepended twice to abi version suffix 2021-06-16 18:13:00 +08:00
lean
99db707263 automount: change to NTFS3 mount 2021-06-16 17:47:00 +08:00
lean
0f212bc1ab ntfs3: add Paragon NTFS Read-Write filesystem 2021-06-16 17:45:39 +08:00
lean
84e65d3ad6 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-16 16:42:17 +08:00
lean
4e4e31a1bd busybox: add ps -ef option for docker top command 2021-06-16 16:42:10 +08:00
Beginner
45ba1e0679 grub2: update to 2.06 (#7013)
-300-CVE-2015-8370.patch is upstreamed with different code
(upstream id: 451d80e52d851432e109771bb8febafca7a5f1f2)

- fixup OpenWrts setup_root patch

compile tested: x86_64,i386
runtime tested: VM x86_64,VM i386

- booted fine
- grub-editenv worked

Signed-off-by: Dirk Neukirchen <plntyk.lede@plntyk.name>

Co-authored-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
2021-06-16 16:33:02 +08:00
lean
258d06f43d parallel built squashfs 2021-06-16 16:31:44 +08:00
lean
b3855f2f18 procd: disable flock 2021-06-16 16:04:30 +08:00
lean
72f3ab2009 rockchip: sync upstream 2021-06-16 15:04:58 +08:00
lean
c816854e4e add source download mirror 2021-06-16 14:41:33 +08:00
lean
44570084e3 generic: add SHORTCUT_FE symbol 2021-06-16 14:02:25 +08:00
lean
060621b5fe ipq40xx: replace flow to SFE offload 2021-06-16 13:15:45 +08:00
lean
d0408aa5e0 wireless: revert remove ndo_do_ioctl fallback 2021-06-16 12:57:56 +08:00
lean
f1e7ffbd74 generic: add shortcut-fe support for 5.10 2021-06-16 12:55:28 +08:00
lean
45b0103a59 x86: add kmod-ixgbevf 2021-06-16 12:19:14 +08:00
lean
7a4654cee3 x86: kernel swtich to 5.10 2021-06-16 12:11:43 +08:00
lean
1fae34cb7f UnblockNeteaseMusicGo: bump version to 0.2.11 2021-06-16 11:33:44 +08:00
lean
ff883891b6 x86: use r8168 replace r8169 2021-06-16 11:22:39 +08:00
lean
27fdec85f9 iwinfo: add ralink support for K2P 2021-06-16 11:14:54 +08:00
lean
744d1ed2c7 autocore: add ax feature 2021-06-16 10:44:10 +08:00
hyy-666
d3df653136 fix dpdk errors (#7001) 2021-06-16 10:36:24 +08:00
Hugo Yuan
931947d20a Set WiFi country to US by default (#6999) 2021-06-15 23:06:55 +08:00
lean
4ea0790422 x86: add more drivers by default 2021-06-15 19:45:54 +08:00
lean
ba4b3804fa x86: kernel swtich to 5.10 2021-06-15 18:59:56 +08:00
lean
b45204b3d9 image: tune rootfs size 2021-06-15 18:30:21 +08:00
lean
02e29d9c7b reduce error probability on parallel build 2021-06-15 18:17:49 +08:00
lean
bc569574df Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-15 18:06:28 +08:00
lean
974a53a70c kernel: bump 5.4 to 5.4.125 2021-06-15 18:06:21 +08:00
AmadeusGhost
d48bf5b190 mtwifi: mt7612: fix build error (#6990) 2021-06-15 17:59:09 +08:00
lean
a3f1e837fd x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
lean
b28e1c5402 ipq807x: xiaomi-ax3600: correctly handle boot flag from uboot 2021-06-14 20:16:06 +08:00
lean
9d8a34c9ab ipq807x: add Xiaomi AX3600 and ath11k support 2021-06-14 20:08:28 +08:00
lean
bb239072f8 Add DPDK 21.05 support for Armv7 based platforms 2021-06-14 19:30:08 +08:00
lean
77181eebf9 luci-app-docker: update docker version 2021-06-14 19:27:27 +08:00
lean
d2c2435b0d Version update to R21.6.14 2021-06-14 18:40:19 +08:00
lean
7a50383ab6 add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
CN_SZTL
7883a5d2e6 r8152: fix build under kernel >= 4.19.10 or kernel >= 4.14.217 (#6965)
Fixes: 1024f0ec23 ("r8152: update to 2.15 (#6900)")
Fixes: #6946

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-12 01:57:31 +08:00
coolsnowwolf
e2535799fb Update usb_printer_hotplug 2021-06-11 11:38:31 +08:00
Beginner
5a56f1eeaa curl: update to version 7.77.0 (security fix) (#6952)
Fixes:
CVE-2021-22897
CVE-2021-22898
CVE-2021-22901

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>

Co-authored-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-06-10 17:29:56 +08:00
Eason
d871216a7c luci-app-frpc: Support TLS Connection and Admin Web (#6945) 2021-06-07 23:14:22 +08:00
Beginner
38862e7f50 baidupcs-web: update to 3.7.4 (#6939)
Co-authored-by: hue715 <hue715@gmail.com>
2021-06-07 15:02:15 +08:00
Beginner
c0bacc8f95 kernel: bump 5.4 to 5.4.124 (#6936)
Manually rebased:
  generic/hack-5.4/662-remove_pfifo_fast.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
[manual changes to ramips/patches-5.10/835-asoc-add-mt7620-support.patch]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-06-07 15:02:02 +08:00
Beginner
6f0e710582 UnblockNeteaseMusic: bump to latest git HEAD (#6935)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-05 21:02:41 +08:00
LittlePri
ffc6bbe70e Update config-5.4 (#6927) 2021-06-05 10:32:25 +08:00
AmadeusGhost
eb1e8ce8f8 zram-swap: sync upstream source (#6930) 2021-06-05 10:32:05 +08:00
lean
9ae00955cc Revert "rpcd: iwinfo add 802.11ax HE support"
This reverts commit 6d496145ed.
2021-06-03 21:20:27 +08:00
lean
6d496145ed rpcd: iwinfo add 802.11ax HE support 2021-06-03 21:15:18 +08:00
Beginner
9826d70a9b luci-app-jd-dailybonus: Keep up to date (#6916) 2021-06-02 12:57:17 +08:00
AmadeusGhost
213f55ba58 ramips: xiaomi cr6606: increase firmware partition size (#6915) 2021-06-02 12:56:38 +08:00
Beginner
07ad9ff555 luci-app-syncdial: adapt LuCI style of luci-theme-openwrt-2020 (#6906)
Co-authored-by: zxlhhyccc <45259624+zxlhhyccc@users.noreply.github.com>
2021-05-31 18:42:08 +08:00
Beginner
568814d998 cypress-firmware: bump to v5.4.18-2021_0527 (#6898)
Ref: https://community.cypress.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2021-05-27/td-p/277394

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-31 18:41:57 +08:00
Beginner
7e89bfe713 kernel: bump 5.4 to 5.4.123 (#6899)
All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Co-authored-by: John Audia graysky@archlinux.us

Co-authored-by: John Audia <graysky@archlinux.us>
2021-05-31 18:41:45 +08:00
Beginner
1024f0ec23 r8152: update to 2.15 (#6900)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-31 18:41:30 +08:00
Hugo Yuan
6cd9c7393e UnblockNeteaseMusic: Change source to 1715173329 (#6903) 2021-05-31 18:40:34 +08:00
lean
3403deeaf8 Version update to R21.6.1 2021-05-28 13:03:20 +08:00
Beginner
c50e175383 kernel: bump 5.4 to 5.4.122 (#6895)
Co-authored-by: John Audia <graysky@archlinux.us>
2021-05-28 13:01:36 +08:00
Beginner
7a92f40719 luci-app: adapt LuCI style of luci-theme-openwrt-2020 (#6884)
* luci-app-amule: adapt LuCI style of luci-theme-openwrt-2020

* luci-app-unblockmusic: adapt LuCI style of luci-theme-openwrt-2020

Co-authored-by: zxlhhyccc <45259624+zxlhhyccc@users.noreply.github.com>
2021-05-28 11:18:58 +08:00
AmadeusGhost
5d4aa4be33 luci-proto-bonding: add zh-cn translations (#6890) 2021-05-28 11:18:10 +08:00
Beginner
5624185e4f kernel: bump 5.4 to 5.4.121 (#6871)
All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-05-25 22:08:41 +08:00
AmadeusGhost
d1a5ba9769 kernel/5.4: refresh configs (#6875) 2021-05-25 22:08:03 +08:00
FFBest
10ba223e88 修改 argon 的样式,好多不对齐,改 cbi-value 相关成 flex,chrome 90 做了测试 (#6879)
Co-authored-by: BestZF <realtozf@qq.com>
2021-05-25 22:07:37 +08:00
Beginner
ff49c6e8aa mac80211: fix ATH_REG_DYNAMIC_USER_REG_HINTS (#6878)
ATH_REG_DYNAMIC_USER_REG_HINTS is currently not being set as mac80211
tries to set it as m which is not possible as its boolean only.

Since its used alongside user regulatory, move it to USER_REGD.

This is required for ath11k to accept regulatory changes, otherwise
it wont accept any changes and will simply force US.

Signed-off-by: Robert Marko <robimarko@gmail.com>

Co-authored-by: Robert Marko <robimarko@gmail.com>
2021-05-25 22:06:59 +08:00
Beginner
678606b603 grub2: update to 2.06-rc1 (#6855)
* grub2: update to 2.06-rc1

When building GRUB with binutils 2.35.2 or later, an error occurs due to
a section .note.gnu.property that is placed at an offset such that
objcopy needs to pad the img file with zeros. This in turn causes the
following error: "error: Decompressor is too big.".

The fix accepted by upstream patches a python script that isn't executed
at all when building GRUB with OpenWrt buildroot. There's another patch
that patches the files generated by that python script directly, but by
including it we would deviate further from upstream. Instead of doing
that, simply bump to the latest release candidate.

As one of the fixes for the CVEs causes grub to crash on some x86
hardware using legacy BIOS when compiled with -O2, filter -O2 and
-O3 out of TARGET_CFLAGS.

Fixes the following CVEs:
- CVE-2020-14372
- CVE-2020-25632
- CVE-2020-25647
- CVE-2020-27749
- CVE-2020-27779
- CVE-2021-3418
- CVE-2021-20225
- CVE-2021-20233

Runtime-tested on x86/64.

Fixes: FS#3790

Suggested-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

* grub2: disable liblzma dependency

Florian Ekert reported:

"I have build a fresh master branch recently, Since your last change [1]
on grub2, I have now a new dependency on liblzma for the install package
grub2-editenv.

root@st-dev-07 /usr/lib # ldd /root/grub-editenv
       /lib/ld-musl-x86_64.so.1 (0x7f684b088000)
       liblzma.so.5 => /usr/lib/liblzma.so.5 (0x7f684b06d000)
       libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7f684b059000)
       libc.so => /lib/ld-musl-x86_64.so.1 (0x7f684b088000)

This was not the case before your update.

root@st-dev-07 /usr/sbin # ldd /usr/sbin/grub-editenv
       /lib/ld-musl-x86_64.so.1 (0x7fd970176000)
       libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7fd970162000)
       libc.so => /lib/ld-musl-x86_64.so.1 (0x7fd970176000)

My build complains that it cannot satisfy the runtime package dependency
for grub2-editenv.

install -d -m0755 /home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.06~rc1/ipkg-x86_64/grub2-editenv/usr/sbin
install -m0755 /home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.06~rc1/grub-editenv /home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.06~rc1/ipkg-x86_64/grub2-editenv/usr/sbin/
find /home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.06~rc1/ipkg-x86_64/grub2-editenv -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package grub2-editenv is missing dependencies for the following libraries:
liblzma.so.5
make[2]: *** [Makefile:166: /home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt/bin/APOS/feckert/master/master-Maggie-455-ga5edc0e8e/x86_64/targets/x86/64/packages/grub2-editenv_2.06~rc1-1_x86_64.ipk] Error 1
make[2]: Leaving directory '/home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt/package/boot/grub2'
time: package/boot/grub2/pc/compile#78.64#9.79#83.88
   ERROR: package/boot/grub2 failed to build (build variant: pc).
make[1]: *** [package/Makefile:116: package/boot/grub2/compile] Error 1
make[1]: Leaving directory '/home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt'
make: *** [/home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt/include/toplevel.mk:230: package/boot/grub2/compile] Error 2

If I add the following changes to the package all works as expected.

<snip>
-  DEPENDS:=@TARGET_x86
+  DEPENDS:=@TARGET_x86 +liblzma
  VARIANT:=pc
endef

This is a hotfix but I dont´t think this is the final solution, because lzma is provided by the package xz.
And This is maintained in the package feed [not the core]"

Dirk stated & offered his patch to disable liblzma and thus resolve the
'out of core dependency' problem:

"LZMA is used in mkimage.c
disabling it prints
Without liblzma (no support for XZ-compressed mips images) (explicitly disabled)
(see configure.ac)

liblzma is autodetected so this issue was present but hidden somehow

[unsure: grep/image generation does not use grub with that option]
OpenWrt does not use that feature currently

[!] some scripts and examples use --compression=xz or -C xz and those will break

grub has an internal xzlib for different "lzma" functionality
(ext. LIBLZMA from XZ (GRUB_COMPRESSION_XZ) vs. GRUB_COMPRESSION_LZMA)"

Hopefully fixes e74d81e and doesn't
break anything else.

Signed-off-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
[include Florian's description of how problem 1st encountered]
[bump package release]
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
Co-authored-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
2021-05-22 12:07:40 +08:00
Beginner
79b427589c wireguard,wireguard-tools: update to 1.0.20210424 (#6864)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-21 18:57:54 +08:00
AmadeusGhost
c07e97d809 ramips: add support for JCG Q20 (#6850)
JCG Q20 is an AX 1800M router.

Hardware specs:
  SoC: MediaTek MT7621AT
  Flash: Winbond W29N01HV 128 MiB
  RAM: Winbond W632GU6NB-11 256 MiB
  WiFi: MT7915 2.4/5 GHz 2T2R
  Ethernet: 10/100/1000 Mbps x3
  LED: Status (red / blue)
  Button: Reset, WPS
  Power: DC 12V,1A

Flash instructions:
  Upload factory.bin in stock firmware's upgrade page,
  do not preserve settings.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-05-21 13:44:01 +08:00
Beginner
9b223be451 UnblockNeteaseMusicGo: renew certs (#6860)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-21 11:04:45 +08:00
lean
f6f590958d kernel: bump 5.4 to 5.4.120 2021-05-20 13:04:41 +08:00
lean
a92a7010eb kernel: bump 5.4 to 5.4.119 2021-05-20 12:54:36 +08:00
Beginner
5402ff8230 mac80211: backport upstream fixes for FragAttacks (#6854)
From the patch series description:

Several security issues in the 802.11 implementations were found by
Mathy Vanhoef (New York University Abu Dhabi), who has published all
the details at

	https://papers.mathyvanhoef.com/usenix2021.pdf

Specifically, the following CVEs were assigned:

 * CVE-2020-24586 - Fragmentation cache not cleared on reconnection
 * CVE-2020-24587 - Reassembling fragments encrypted under different
                    keys
 * CVE-2020-24588 - Accepting non-SPP A-MSDU frames, which leads to
                    payload being parsed as an L2 frame under an
                    A-MSDU bit toggling attack
 * CVE-2020-26139 - Forwarding EAPOL from unauthenticated sender
 * CVE-2020-26140 - Accepting plaintext data frames in protected
                    networks
 * CVE-2020-26141 - Not verifying TKIP MIC of fragmented frames
 * CVE-2020-26142 - Processing fragmented frames as full frames
 * CVE-2020-26143 - Accepting fragmented plaintext frames in
                    protected networks
 * CVE-2020-26144 - Always accepting unencrypted A-MSDU frames that
                    start with RFC1042 header with EAPOL ethertype
 * CVE-2020-26145 - Accepting plaintext broadcast fragments as full
                    frames
 * CVE-2020-26146 - Reassembling encrypted fragments with non-consecutive
                    packet numbers
 * CVE-2020-26147 - Reassembling mixed encrypted/plaintext fragments

In general, the scope of these attacks is that they may allow an
attacker to
 * inject L2 frames that they can more or less control (depending on the
   vulnerability and attack method) into an otherwise protected network;
 * exfiltrate (some) network data under certain conditions, this is
   specific to the fragmentation issues.

A subset of these issues is known to apply to the Linux IEEE 802.11
implementation (mac80211). Where it is affected, the attached patches
fix the issues, even if not all of them reference the exact CVE IDs.

In addition, driver and/or firmware updates may be necessary, as well
as potentially more fixes to mac80211, depending on how drivers are
using it.

Specifically, for Intel devices, firmware needs to be updated to the
most recently released versions (which was done without any reference
to the security issues) to address some of the vulnerabilities.

To have a single set of patches, I'm also including patches for the
ath10k and ath11k drivers here.

We currently don't have information about how other drivers are, if
at all, affected.

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-05-20 12:11:42 +08:00
RealFakeAccount
c3ef24d640 fix mistakes for English Readme (#6846)
- line 8: add `for compiling` to make the meaning more clear
- line 23: source should be source code
- line 61: archive should be achieve
- line 65: `motivate` is better
2021-05-18 13:33:06 +08:00
Bob zhang
5d9e12eba4 luci-app-ttyd auto fit iframe height (#6821) 2021-05-14 12:32:48 +08:00
CN_SZTL
1549187fc5 shadowsocksr-libev: remove package (#6814)
This is included by somebody else.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-11 21:28:59 +08:00
paldier
d2165d5303 fix UnblockNeteaseMusicGo source (#6812)
go版本仅这两个源可用,全部加上优化体验
2021-05-10 10:56:34 +08:00
Beginner
28456ea993 kernel: bump 5.4 to 5.4.117 (#6809)
Co-authored-by: John Audia <graysky@archlinux.us>
2021-05-10 10:55:22 +08:00
Selboo
d3eba6d930 fix vsftpd banner (#6810)
/etc/config/vsftpd 选项是 banner
2021-05-10 10:54:56 +08:00
Beginner
c38ec92e07 kernel: bump 5.4 to 5.4.116 (#6788) 2021-05-08 21:36:37 +08:00
AmadeusGhost
fda203104f mvebu: build error fixes (#6805)
Fixes: 6b42a76 ("mvebu: sync upstream")
2021-05-08 21:36:10 +08:00
AmadeusGhost
d7a249a5c2 dnsmasq: Update to version 2.85 (#6795)
Fixes issue with merged DNS requests in 2.83/2.84 not being
retried on the firsts failed request causing lookup failures.

Also fixes the following security problem in dnsmasq:
* CVE-2021-3448:
  If specifiying the source address or interface to be used
  when contacting upstream name servers such as:
  server=8.8.8.8@1.2.3.4, server=8.8.8.8@1.2.3.4#66 and
  server=8.8.8.8@eth0 then all would use the same socket
  bound to the explicitly configured port. Now only
  server=8.8.8.8@1.2.3.4#66 will use the explicitly
  configured port and the others random source ports.

Remove upstreamed patches and update remaining patch.

Signed-off-by: Alan Swanson <reiver@improbability.net>
[refreshed old runtime support patch]
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

Co-authored-by: Alan Swanson <reiver@improbability.net>
2021-05-05 23:24:23 +08:00
lean
a764e7feae luci-app-kodexplorer: fix libxml dependence 2021-05-05 12:15:11 +08:00
lean
6b42a76ace mvebu: sync upstream 2021-05-05 11:28:42 +08:00
lean
e2c456836b luci-app-kodexplorer: fix php7-mod-dom support 2021-05-03 23:57:20 +08:00
lean
d3d9ed5f07 kernel: bump 5.4 to 5.4.115 2021-05-03 23:40:55 +08:00
lean
63d61a68c5 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-05-03 23:37:39 +08:00
lean
376ec4b6ed kernel: bump 5.4 to 5.4.114 2021-05-03 23:37:30 +08:00
z826540272
d3d6f3a2c4 DNSMASQ ttl config (#6779)
默认情况下 SSR PLUS DNS结果根本无法缓存(由于引入拒绝ipv6结果导致的问题),nslookup & dig 延迟每次依然有200-300多.
dnsmasq处设置缓存依然无效,设置TTL也无效,应该是bug。
解决办法是手动指定缓存TTL为最大一小时。域名查询实测有效缓存0延迟。 

此变更仅使开启dnsmasq缓存的情况下正常工作。
2021-05-03 22:50:02 +08:00
Beginner
fb93cd2795 feeds.conf.default: remove management feed (#6763) 2021-05-02 22:42:16 +08:00
lean
910af7e482 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-04-28 17:45:47 +08:00
lean
ea12768a60 luci-app-unblockmusic: update version 2021-04-28 17:45:39 +08:00
Beginner
cda4a4ff70 baidupcs-web: add upx support (#6772) 2021-04-28 13:05:09 +08:00
AmadeusGhost
6df341b33c ramips: xiaomi cr6606: typo fixes (#6770) 2021-04-28 13:04:55 +08:00
lean
d78f1b9f94 kernel: drop the conntrack rtcache patch 2021-04-28 13:03:16 +08:00
lean
bda6a64281 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-04-27 22:59:03 +08:00
lean
87f0b29a20 ramips: add support for Xiaomi Mi Router CR660x series 2021-04-27 22:58:52 +08:00
AmadeusGhost
2f74b3efff ipq40xx: add support for HiWiFi C526A (#6760)
Hardware specs:
  SoC:	    Qualcomm IPQ4019
  RAM:	    256 / 512 MB DDR3
  Flash1:   2 MB SPI NOR EN25QH16
  Flash2:   128 MB ESMT NAND
  Ethernet: Qualcomm QCA8075 (3xLAN, 1xWAN)
  WIFI1:    MT7615 2.4 GHz 802.11 b/g/n
  WIFI2:    QCA4019 5.2 GHz 802.11 n/ac
  WIFI3:    QCA4019 5.8 GHz 802.11 n/ac
  LEDS:     System (red / blue)
  POWER:    12V 2.5A
  USB:      1 x 3.0
  Button:   Reset

Warning: This version does not support pbboot
and uses all space of the nand.

Signed-off-by: DENG Qingfang <dqfext@gmail.com>
[add commit message, expand rootfs to 128 MB]
Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

Co-authored-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2021-04-27 16:09:55 +08:00
Beginner
90f9a868f2 UnblockNeteaseMusicGo: update to 0.2.10 (#6762) 2021-04-27 16:08:23 +08:00
lean
f3efbf91f4 curl: bump version 2021-04-24 23:38:25 +08:00
SuLingGG
3844f5eaaf Remove outdate cypress firmwares (#6747)
cypress-firmware-4359-pcie
cypress-firmware-4359-sdio
cypress-firmware-89459-pcie
2021-04-24 20:51:21 +08:00
coolsnowwolf
4eee58acd5 ath79: add support for Arris SBC-AC1750 2021-04-23 09:58:05 +08:00
EnnawYang
d037aff9ed cypress-firmware: bump to v5.4.18-2021_0114 (#6726)
Ref: https://community.cypress.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2021-01-14/m-p/268899
2021-04-20 11:19:45 +08:00
Beginner
09ad0ddb1f luai-app: tidy up controller (#6724) 2021-04-19 16:52:04 +08:00
ricksuzade-maker
8188790996 Bump wireguard to the latest version (#6716) 2021-04-19 10:24:39 +08:00
EnnawYang
314e5103df cypress-firmware: bump to v5.4.18-2020_0925 (#6715) 2021-04-19 10:24:20 +08:00
ricksuzade-maker
55daeb886a Bump wireguard-tool to the latest version (#6717) 2021-04-19 10:24:04 +08:00
z826540272
63787623af Reduce file size again (#6723)
减少编译输出的文件大小。上次回滚并不正确
2021-04-19 10:23:30 +08:00
coolsnowwolf
420f085d95 Version update to R21.4.18 2021-04-18 15:41:09 +08:00
HF
6aa3ed2b19 fix Orangepi R1 Plus boot (#6707)
* Update 103-rockchip-rk3328-Add-support-for-Orangepi-R1-Plus.patch

修复一下编译后不能用的问题(用的是Orangepi官方发布的代码)

* Update 202-rockchip-rk3328-Add-support-for-OrangePi-R1-Plus.patch

修复编译固件之后不可用的问题(用的是Orangepi官方项目的代码)
2021-04-18 10:08:57 +08:00
bluskai
180e496c6f Upgrade frp to the latest version. (#6709)
Upgrade frp to v0.36.2.
2021-04-18 09:59:32 +08:00
coolsnowwolf
d96a2e78f7 v2ray-plugin: move source 2021-04-18 09:55:04 +08:00
Beginner
ab4dd78d08 luci-app: correct file name (#6692) 2021-04-18 09:39:39 +08:00
Beginner
a4773cf258 kernel: bump 5.4 to 5.4.113 (#6691)
* kernel: bump 5.4 to 5.4.112

* kernel: bump 5.4 to 5.4.113
2021-04-18 09:38:02 +08:00
AmadeusGhost
535b525566 kernel: Adapt renamed can-dev.ko (#6695)
The can-dev.ko kernel module was moved in kernel 5.4.110 and 5.10.28.

Fixes: 5dcbd82 ("kernel: bump 5.4 to 5.4.110")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
[Also compatible with kernel 4.x]
Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-04-16 21:40:32 +08:00
Beginner
1605e48e85 Revert "v2ray-plugin: update to 4.37.3 (#6686)" (#6696)
This reverts commit 9e9afd921c.
2021-04-16 21:39:46 +08:00
badgv
fae07ff3d9 fix dnsmasq configuration modification logic (#6685)
fix dnsmasq configuration modification logic
2021-04-14 13:34:43 +08:00
Beginner
9e9afd921c v2ray-plugin: update to 4.37.3 (#6686) 2021-04-14 13:33:09 +08:00
Beginner
5dcbd82a57 kernel: bump 5.4 to 5.4.110 (#6676) 2021-04-12 18:47:14 +08:00
Beginner
763081f891 v2ray-plugin: update to 4.37.2 (#6671) 2021-04-10 17:36:56 +08:00
lichao0223
2030ebf7fa uugamebooster: update to 2.10.0 (#6665)
* uugamebooster: update to 2.9.0

看到UU加速器更新到2.9.0了

* uugamebooster: update to 2.10.0

最近UU频繁更新,暂时还没经过测试
2021-04-10 08:40:02 +08:00
Beginner
c41c174be8 luci-app-xlnetacc: fix bug (#6660) 2021-04-08 16:22:08 +08:00
Beginner
8db35e67f2 v2ray-plugin: update to 4.37.1 (#6654) 2021-04-07 23:34:43 +08:00
Eason
6fe4db3814 Fix luci-app-zerotier iptables bug (#6650) 2021-04-06 10:55:51 +08:00
Beginner
049e623690 default-settings: tidy up Makefile (#6642) 2021-04-04 00:53:47 +08:00
Beginner
61322b6bbf luci-app-dnsforwarder luci-app-vlmcsd: Change file name (#6641) 2021-04-03 17:55:40 +08:00
lean
a10aead5be kernel: bump 5.4 to 5.4.109 2021-04-03 17:02:54 +08:00
lean
fd5de8f413 rblibtorrent: bump to v1.2.13 2021-04-03 16:59:43 +08:00
Beginner
570300eca7 luci-app-xlnetacc: tidy up Makefile (#6637) 2021-04-03 11:13:21 +08:00
Beginner
28a4d0ce78 v2ray-plugin: update to 4.37.0 (#6638) 2021-04-03 11:12:37 +08:00
AmadeusGhost
b4a699c6c3 mbedtls: update to 2.16.10 (#6630)
This release of Mbed TLS provides bug fixes and minor enhancements. This
release includes fixes for security issues.

Security fixes:
* Fix a buffer overflow in mbedtls_mpi_sub_abs()
* Fix an errorneous estimation for an internal buffer in
mbedtls_pk_write_key_pem()
* Fix a stack buffer overflow with mbedtls_net_poll() and
mbedtls_net_recv_timeout()
* Guard against strong local side channel attack against base64 tables
by making access aceess to them use constant flow code

Full release announcement:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.10

Signed-off-by: Magnus Kroken <mkroken@gmail.com>

Co-authored-by: Magnus Kroken <mkroken@gmail.com>
2021-04-02 09:52:36 +08:00
dwj0
3c3ea0d4fe Add n2n supernode ports and rules (#6577)
* 自动开放 supernode 的防火墙端口,这样 openwrtr的edge和supernode都可以用了。
增加edge的第二supernode节点。但当两个supernode都设了后,貌似只有第二个supernode起作用,如果把第二个supernode关掉,就都连不上了

为n2n的防火墙规则添加描述

* Update n2n_v2.init

修复 n2n 的 supernode 添加防火墙规则的错误端口

Co-authored-by: dwj0 <dwj-ubuntu@example.com>
2021-03-31 12:31:52 +08:00
lean
8fd95efe58 baidupcs-web: using upx compress 2021-03-31 12:30:10 +08:00
lean
51aabc9d17 baidupcs-web: bump to v3.7.3 2021-03-31 12:24:14 +08:00
lean
b99049121c Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-03-31 12:20:42 +08:00
lean
f2b11df031 kernel: bump 5.4 to 5.4.108 2021-03-31 12:20:32 +08:00
AmadeusGhost
ee6fb24811 rockchip: add support for OrangePi R1 Plus (#6620)
Hardware Specification:
  CPU: RockChip RK3328 (4 cores)
  RAM: 1GB DDR4
  Ethernet: 2x 1000 Base-T
  Flash: SPI-NOR 16 MB (mx25l12835f)
  LED: SYS, LAN, WAN
  MicroSD Slot x 1
  Button: Reset
  USB:1x 2.0
  Serial1: 13 Pin pin-header
  Serial2: 3 Pin debug port
  Type-C: for power input
  Power Supply: DC 5V/2A

Installation:
  Write the image to SD Card with dd.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-03-30 14:03:34 +08:00
klever1988
0bfe0bbf80 luci-app-xlnetacc: update to 1.0.5 (#6622) 2021-03-30 00:42:45 +08:00
lichao0223
52d0aed849 uugamebooster: update to 2.9.0 (#6619)
看到UU加速器更新到2.9.0了
2021-03-30 00:41:35 +08:00
Jarao
b1c24dfed7 Fix go unblockmusic can't change provider (#6616) 2021-03-29 12:22:17 +08:00
lean
a520790fac x86: switch to flowoffload 2021-03-28 16:17:57 +08:00
lean
a5f11291f5 qBittorrent: bump to v4.3.4.1 2021-03-28 00:24:13 +08:00
AmadeusGhost
84e3d78aa5 openssl: bump to 1.1.1k (#6608)
This version fixes 2 security vulnerabilities, among other changes:

 - CVE-2021-3450: problem with verifying a certificate chain when using
   the X509_V_FLAG_X509_STRICT flag.

 - CVE-2021-3449: OpenSSL TLS server may crash if sent a maliciously
   crafted renegotiation ClientHello message from a client.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-03-27 16:44:41 +08:00
lean
f6630978ef kernel: bump 5.4 to 5.4.106 2021-03-27 16:39:14 +08:00
lean
5f82f8cd31 Version update to R21.3.27 2021-03-27 15:21:40 +08:00
lean
f341ef96fe rockchip: add DRM driver for R2S/R4S (Jellyfin HW decode and encode 2021-03-27 15:08:00 +08:00
Beginner
6bbfac6c5f luci-app-jd-dailybonus: Keep up to date from jerrykuku (#6601) 2021-03-25 23:52:57 +08:00
536wfr
f225e953fc mwlwifi: add PKG_FLAGS:=nonshared (#6600)
This should fix the problem of mwlwifi-firmware-* not being found
when using the ImageBuilder.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 9b3aaf1)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-25 23:52:46 +08:00
cjp_jx
e65f670bed Update zerotier.po (#6588)
完善中文翻译
2021-03-24 16:21:01 +08:00
CN_SZTL
5317abee94 rockchip: nanopi-r4s: refresh latest patches accepted by upstream (#6583)
Link: https://lore.kernel.org/r/20210319051627.814-2-cnsztl@gmail.com
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-23 13:12:59 +08:00
wyapx
db581ad990 Remove expired source (#6575) 2021-03-21 23:00:23 +08:00
CN_SZTL
757e42d707 rockchip: add execute permission for network setup script (#6566)
Fixes: f4b1b358fe ("rockchip: sync latest codes from ImmortalWrt (#6522)")

Closes: #6534
Closes: #6548
Closes: #6563

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2021-03-20 01:13:40 +08:00
Saxon
ea79943fa1 remove outdated music source (#6565) 2021-03-19 12:55:48 +08:00
dwj0
4a3feac228 add n2n auto-nat (#6562)
2. 为n2n界面的路由表添加描述栏

Co-authored-by: dwj0 <dwj-ubuntu@example.com>
2021-03-19 11:48:32 +08:00
Beginner
01300087dc v2ray-plugin: update v4.36.2 (#6560) 2021-03-19 11:47:32 +08:00
biliwala
40ace68f10 v2ray-plugin: update to 4.36.2 (#6558) 2021-03-19 11:47:16 +08:00
Beginner
88b460b870 UnblockNeteaseMusicGo: update v0.2.9 (#6561)
* UnblockNeteaseMusicGo: update v0.2.8

* UnblockNeteaseMusicGo: update v0.2.9
2021-03-19 11:46:31 +08:00
Beginner
741737b800 luci-app-jd-dailybonus: Keep up to date from jerrykuku (#6554) 2021-03-18 10:52:43 +08:00
EnnawYang
0b4bdc43c2 luci-app-jd-dailybonus:“bug fix” from jerrykuku (#6547) 2021-03-16 15:18:30 +08:00
EnnawYang
4824ae9e85 luci-app-jd-dailybonus: Keep up to date from jerrykuku (#6540) 2021-03-15 19:07:38 +08:00
Beginner
f681482829 v2ray-plugin: update to 4.36.0 (#6533) 2021-03-15 13:19:54 +08:00
CN_SZTL
779cf0f600 rockchip: leds: fix boardname for NanoPi R4S (#6535)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-15 13:19:39 +08:00
Beginner
54e90134e7 luci-app-jd-dailybonus: Keep up to date from jerrykuku (#6537) 2021-03-15 13:19:30 +08:00
AmadeusGhost
f06ba13bd2 kernel: bump 5.4 to 5.4.105 (#6520) 2021-03-14 11:52:33 +08:00
Michael Qu
093f57f1af uugamebooster: update to 2.7.8 (#6518) 2021-03-14 11:52:19 +08:00
CN_SZTL
f4b1b358fe rockchip: sync latest codes from ImmortalWrt (#6522)
uboot:
 - immortalwrt/immortalwrt@7a042afdee uboot-rockchip: fix RockPro64 boot from eMMC
 - immortalwrt/immortalwrt@f450acefb0 uboot-rockchip: update to v2021.01
 - immortalwrt/immortalwrt@5cc1d3df78 rockchip: improve support for NanoPi R4S
 - immortalwrt/immortalwrt@83d3fb9634 uboot-rockchip: add NanoPi R4S support
 - immortalwrt/immortalwrt@3d86ffedd7 uboot-rockchip: update to v2020.10
 - immortalwrt/immortalwrt@fe5fa0c7ab Revert "uboot-rockchip: fix nanopi-r2s failed to boot on some sd cards"

target:
 - immortalwrt/immortalwrt@f67522e532 rockchip: add support for Radxa Rock Pi 4
 - immortalwrt/immortalwrt@cd7fd0c77b rockchip: add NanoPi R4S support
 - immortalwrt/immortalwrt@02395293a2 rockchip: fix SUPPORTED_DEVICES for Radxa ROCK Pi 4
 - immortalwrt/immortalwrt@c7b200b8a2 rockchip: re-order patches
 - immortalwrt/immortalwrt@aee038e773 rockchip: refresh Kconfig
 - immortalwrt/immortalwrt@22061b2880 kernel: enable CONFIG_LEDS_TRIGGER_HEARTBEAT
 - immortalwrt/immortalwrt@b1150de9e4 rockchip: add missing Kconfig symbols
 - immortalwrt/immortalwrt@ab28d07c3b treewide: fix spelling 'seperate' -> 'separate'
 - immortalwrt/immortalwrt@6401fca74d rockchip: use native mac address for NanoPi R4S

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-14 11:52:00 +08:00
CN_SZTL
feea766f1c target/x86: fix PKG_NAME of r8152 driver (#6523)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-14 11:51:26 +08:00
coolsnowwolf
767dd1dc71 x86: usb kmod-r8152 for RTL 2.5Gbps USB netcard 2021-03-11 15:33:14 +08:00
AmadeusGhost
f99b002949 arm64: display model name in /proc/cpuinfo (#6510) 2021-03-11 15:28:03 +08:00
CN_SZTL
2607c6cf5c r8152: introduce r8152/r8153 driver from vendor (#6511)
This is the vendor driver for r8152/r8153 series USB ethernet adapter, it may be
better than the driver from kernel mainline, or be worse. It's depending on your
use-case.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-11 15:27:27 +08:00
CN_SZTL
1b93a9705f rockchip: nanopi-r4s: use vendor driver for PCIe ethernet adapter (#6512)
Vendor driver seems to be better than the one from kernel mainline.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-11 15:26:35 +08:00
CN_SZTL
80a7e79a7b mbedtls: fix typo error (#6507)
Fixes: #6505

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-10 13:39:43 +08:00
Beginner
bd7cdbf39e v2ray-plugin: update to 4.35.1 (#6494) 2021-03-09 23:14:05 +08:00
bobo liu
b1c6b17bf7 luci-app-frpc: add config field of user (#6496) 2021-03-09 23:13:48 +08:00
AmadeusGhost
6b5b7884a8 ath79: domywifi_dw33d: support startup from breed (#6490)
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2021-03-09 23:12:17 +08:00
CN_SZTL
ef449e470b mbedtls: Implements AES and GCM with ARMv8 Crypto Extensions (#6491)
* mbedtls: update to 2.16.9

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* mbedtls: Implements AES and GCM with ARMv8 Crypto Extensions

A compact patch that provides AES and GCM implementations that utilize the
ARMv8 Crypto Extensions. The config flag is MBEDTLS_ARMV8CE_AES_C, which
is disabled by default as we don't do runtime checking for the feature.
The new implementation lives in armv8ce_aes.c.

Provides similar functionality to https://github.com/ARMmbed/mbedtls/pull/432
Thanks to Barry O'Rourke and others for that contribtion.

Tested on a Cortex A53 device and QEMU. On a midrange phone the real AES-GCM
throughput increases about 4x, while raw AES speed is up to 10x faster.

[updated Makefile to enable this function, adjusted commit message]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: Rosen Penev <rosenp@gmail.com>
Co-authored-by: QiuSimons <45143996+QiuSimons@users.noreply.github.com>
2021-03-09 23:11:41 +08:00
CN_SZTL
a38300a096 rockchip: fixes re-boot with UHS cards (#6482)
Some boards have SD card connectors where the power rail cannot be switched
off by the driver. If the card has not been power cycled, it may still be
using 1.8V signaling after a warm re-boot. Bootroms expecting 3.3V signaling
will fail to boot from a UHS card that continue to use 1.8V signaling.

Set initial signal voltage in mmc_power_off() to allow re-boot to function.

This fixes re-boot with UHS cards on Asus Tinker Board (Rockchip RK3288),
same issue have been seen on some Rockchip RK3399 boards.

Backport from https://lore.kernel.org/linux-rockchip/AM3PR03MB09664161A7FA2BD68B2800A7AC620@AM3PR03MB0966.eurprd03.prod.outlook.com/

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-07 10:09:35 +08:00
Beginner
d3d8d0860a luci-app-jd-dailybonus: add cdn (#6483) 2021-03-07 10:08:58 +08:00
Beginner
51e0914577 feeds.conf.default: remove freifunk feed (#6484)
Synchronize official source code
2021-03-07 10:08:32 +08:00
Leung Yau Ming
8710feec93 Separate READMEs and minor improvements (#6472)
* docs(chinese): remove english version and format readme

* docs(english): add english readme
2021-03-06 00:29:04 +08:00
AmadeusGhost
7b6c29773a v2ray-plugin: update to 4.35.0 (#6470) 2021-03-06 00:27:32 +08:00
Saxon
3dcb5a5c8a ca-certicficates: Update to version 20210119 (#6456) 2021-03-03 23:09:55 +08:00
CN_SZTL
ec4de4d31c r8125: bump to 9.005.01 (#6457)
Enabled RSS support for performance.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-03-03 23:09:37 +08:00
lean
26721a994c move xray-plugin 2021-03-01 11:08:52 +08:00
Beginner
4b8c8b486e kernel: bump 5.4 to 5.4.101 (#6445) 2021-02-28 22:57:49 +08:00
AmadeusGhost
87d9ed8cb7 bcm27xx: rpi4: update wifi script (#6440) 2021-02-26 17:38:37 +08:00
quintus
cc06227463 Create 990-not-defined-errors-on-gcc10.patch (#6433)
This patch fixes the following error when we compile with GCC 10.
‘’
‘’openwrt/staging_dir/toolchain-aarch64_generic_gcc-10.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/10.2.0/../../../../aarch64-openwrt-linux-musl/bin/ld: ss_local-http.o:openwrt/build_dir/target-aarch64_generic_musl/shadowsocksr-libev/shadowsocksr-libev-2.5.6-d63ff863800a5645aca4309d5dd5962bd1e95543/src/http.h:32: multiple definition of `http_protocol'; ss_local-local.o:openwrt/build_dir/target-aarch64_generic_musl/shadowsocksr-libev/shadowsocksr-libev-2.5.6-d63ff863800a5645aca4309d5dd5962bd1e95543/src/http.h:32: first defined here

openwrt/staging_dir/toolchain-aarch64_generic_gcc-10.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/10.2.0/../../../../aarch64-openwrt-linux-musl/bin/ld: ss_local-tls.o:openwrt/build_dir/target-aarch64_generic_musl/shadowsocksr-libev/shadowsocksr-libev-2.5.6-d63ff863800a5645aca4309d5dd5962bd1e95543/src/tls.h:31: multiple definition of `tls_protocol'; ss_local-local.o:openwrt/build_dir/target-aarch64_generic_musl/shadowsocksr-libev/shadowsocksr-libev-2.5.6-d63ff863800a5645aca4309d5dd5962bd1e95543/src/tls.h:31: first defined here‘’
‘’
2021-02-25 15:45:34 +08:00
AmadeusGhost
29cba8c5c1 bcm27xx: sync upstream source code (#6435) 2021-02-25 15:44:46 +08:00
AmadeusGhost
a8f9582ec9 kernel: bump 5.4 to 5.4.100 (#6420) 2021-02-24 19:27:20 +08:00
Beginner
bdb5fa60ef File organization (#6356) 2021-02-23 12:01:11 +08:00
Beginner
a5169dbd05 luci-app-jd-dailybonus: Keep up to date from jerrykuku (#6416) 2021-02-23 11:55:03 +08:00
Veoco
ef97f2a247 Revert "luci-app-ipsec-vpnd: add strongswan-mod-kernel-libipsec" (#6331) 2021-02-21 12:35:50 +08:00
Beginner
1160ce1e00 Add xray-plugin from Tianling Shen (#6407) 2021-02-21 12:30:47 +08:00
CN_SZTL
b484f2eeb3 Revert "Add broken-flash-reset flag to Youku YK-L1" (#6408)
This reverts commit 90bd81e099.

The commit 90bd81e099 is a duplicate of b132179c89.

Fixes: #6388
Fixes: #6406

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-21 12:30:04 +08:00
Chuck
e17961f67e optimize the performance of obtaining CPU temperature (#6398)
Preformance Test (on NanoPi R2s, repeat 1000 times):

old command:

temp="$(awk "BEGIN{printf (\"%.1f\n\",$(cat /sys/class/thermal/thermal_zone0/temp)/1000) }")°C"

```
real    0m 9.20s
user    0m 3.29s
sys     0m 6.24s
```

new command:

temp="$(awk '{ printf("%.1f °C", $0 / 1000) }' /sys/class/thermal/thermal_zone0/temp)"

```
real    0m 5.57s
user    0m 1.78s
sys     0m 3.97s
```

Signed-off-by: Chuck <fanck0605@qq.com>
2021-02-21 12:27:55 +08:00
Chuck
aaba169f2f optimize the performance of obtaining CPU usage (#6399)
Preformance Test (on NanoPi R2s, repeat 1000 times):

old command

cpu_usage=$(expr 100 - $(cat /tmp/top_tmp | grep 'CPU:' | awk -F '%' '{print$4}' | awk -F ' ' '{print$2}'))

```
real    0m 14.25s
user    0m 7.96s
sys     0m 20.33s
```

new command

cpu_usage=$(cat /tmp/top_tmp | awk '/^CPU/ { printf("%d%%", 100 - $8) }')

```
real    0m 6.91s
user    0m 4.29s
sys     0m 6.06s
```

Signed-off-by: Chuck <fanck0605@qq.com>
2021-02-21 12:26:19 +08:00
AmadeusGhost
7436d6866f openssl: bump to 1.1.1j (#6410)
This fixes 4 security vulnerabilities/bugs:

- CVE-2021-2839 - SSLv2 vulnerability. Openssl 1.1.1 does not support
  SSLv2, but the affected functions still exist. Considered just a bug.

- CVE-2021-2840 - calls EVP_CipherUpdate, EVP_EncryptUpdate and
  EVP_DecryptUpdate may overflow the output length argument in some
  cases where the input length is close to the maximum permissable
  length for an integer on the platform. In such cases the return value
  from the function call will be 1 (indicating success), but the output
  length value will be negative.

- CVE-2021-2841 - The X509_issuer_and_serial_hash() function attempts to
  create a unique hash value based on the issuer and serial number data
  contained within an X509 certificate. However it was failing to
  correctly handle any errors that may occur while parsing the issuer
  field (which might occur if the issuer field is maliciously
  constructed). This may subsequently result in a NULL pointer deref and
  a crash leading to a potential denial of service attack.

- Fixed SRP_Calc_client_key so that it runs in constant time. This could
  be exploited in a side channel attack to recover the password.

The 3 CVEs above are currently awaiting analysis.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-02-21 12:25:02 +08:00
AmadeusGhost
73fdfdf6aa v2ray-plugin: fix build with goproxy (#6391) 2021-02-17 23:47:14 +08:00
whc2001
90bd81e099 Add broken-flash-reset flag to Youku YK-L1 (#6372)
Add broken-flash-reset flag to Youku YK-L1 so soft reboot would work on the original 32MB flash.
2021-02-16 23:02:21 +08:00
fliaping
91efc63019 fix ddns(dnspod) update I pv6和ipv4 (#6383)
1. 当一个域名同时有A记录和AAAA记录时,在不需要更新时去更新,接口返回错误导致的脚本挂掉的问题,
接口报错信息:Error message:[记录已经存在,无需再次添加]
2. 文案明显错误修改
2021-02-16 23:01:40 +08:00
AmadeusGhost
b132179c89 ramips: remove obsolete mx25l25635f compatible hack (#6380)
The kernel bump to 5.4 has removed the mx25l25635f hack, and the
mx25l25635f compatible is no longer required.

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

Co-authored-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2021-02-16 23:00:28 +08:00
AmadeusGhost
db3ec85639 goproxy: replace unavailable goproxy.io (#6371)
The currently used goproxy.io will redirect to proxy.golang.com.cn
and cause compilation failure.
2021-02-15 18:02:53 +08:00
noire11
0de1301c53 ramips: use mt proprietary driver for Netgear R6800 (#6324)
* ramips: use mt proprietary driver for Netgear R6800

Signed-off-by: noire11 <noire.wei@gmail.com>

* Merge branch 'master' of https://github.com/noire11/lede
2021-02-11 09:19:39 +08:00
acooler15
22cfbe7faa add function extra_command (#6357) 2021-02-11 09:19:12 +08:00
小离
e922f4a778 luci-app-jd-dailybonus: Keep up to date from jerrykuku (#6350)
Fix issues:
- Fix permission denied
- Fix html tag mismatch in openwrt theme
2021-02-11 09:18:04 +08:00
然后七年
51a94cb899 Remove V2Ray: Xray-core will provide (#6327) 2021-02-08 17:17:00 +08:00
AmadeusGhost
5b1838d04d kernel: bump 5.4 to 5.4.95 (#6340) 2021-02-08 17:13:28 +08:00
Mattraks
fbdca3d67e microsocks:bump to 1.0.2 (#6320)
https://github.com/rofl0r/microsocks/releases/tag/v1.0.2
2021-02-04 16:27:47 +08:00
lean
ea4e4d17e8 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-02-03 19:32:18 +08:00
lean
04cc41e9d0 ar71xx: fix ARRIS SBR-AC1750 web upgrade support 2021-02-03 19:32:07 +08:00
Mattraks
e33b848bb2 ipt2socks:bump to 1.1.3 (#6317)
https://github.com/zfl9/ipt2socks/releases/tag/v1.1.3
2021-02-03 12:40:47 +08:00
dreamcmi
84bb1aaef6 add mt1300 wireless support (#6311)
* 添加glinet-mt1300支持

* 优化更新mt1300支持

* Fix mt1300 wireless unavailability problem

* Fix mt1300 wireless unavailability problem
2021-02-03 10:36:25 +08:00
lean
9bc05c5ce3 Version update to R21.2.1 2021-02-01 11:22:35 +08:00
ricksuzade-maker
b61d7f5d5b Bump npc to 0.26.9 (#6279)
Bump npc to the newest version
2021-02-01 11:16:48 +08:00
ricksuzade-maker
3da0060131 Bump wireguard to 1.0.20210124 (#6285) 2021-02-01 11:16:20 +08:00
pupie
96f26d716a Add scramble option in options file. (#6287) 2021-01-31 14:49:19 +08:00
Beginner
4244e635c6 luci-app-jd-dailybonus: Keep up to date from jerrykuku (#6296) 2021-01-31 14:48:32 +08:00
xiaobaishu1
7daf3edcec Update Makefile (#6290)
切换到正式版本
2021-01-31 14:48:11 +08:00
AmadeusGhost
b95ffef87f Revert "dnsmasq: force sync with official code" (#6266)
Fixes: 9170d18d0d ("dnsmasq: Update to 2.84test3")
2021-01-27 17:12:30 +08:00
EnnawYang
6ee0262477 luci-app-jd-dailybonus: merge upstream code (#6262) 2021-01-26 18:38:53 +08:00
Beginner
9170d18d0d dnsmasq: Update to 2.84test3 (#6259) 2021-01-26 18:38:30 +08:00
Beginner
d75d45a145 kernel: bump 5.4 to 5.4.92 (#6256) 2021-01-26 09:26:50 +08:00
Beginner
1de5883783 luci-app-jd-dailybonus: update v1.0.3 from jerrykuku (#6255) 2021-01-26 00:17:05 +08:00
Beginner
434b834160 luci-app-jd-dailybonus: Keep up to date from jerrykuku (#6253)
* luci-app-jd-dailybonus: Keep up to date from jerrykuku

* luci-app-jd-dailybonus: Keep up to date from jerrykuku
2021-01-25 22:32:23 +08:00
eSir
b927a69df8 Upgrade OpenVPN to 2.5.0 & Add xorpatch as a scramble option (#6249) 2021-01-25 16:33:40 +08:00
EpLiar
d11cb386d7 Update README (#6252)
* README.md: Update and fix typo

* README: Fix typo
2021-01-25 16:32:26 +08:00
xiaobaishu1
e780247bf7 Update DNSMASQ (#6250) 2021-01-25 16:31:52 +08:00
EnnawYang
3a50f6d523 luci-app-jd-dailybonus:bump to v1.0.2 (#6247) 2021-01-25 09:54:03 +08:00
AmadeusGhost
1c271cdd2c dnsmasq: Update to version 2.83 (#6245)
This fixes the following security problems in dnsmasq:
* CVE-2020-25681:
  Dnsmasq versions before 2.83 is susceptible to a heap-based buffer
  overflow in sort_rrset() when DNSSEC is used. This can allow a remote
  attacker to write arbitrary data into target device's memory that can
  lead to memory corruption and other unexpected behaviors on the target
  device.
* CVE-2020-25682:
  Dnsmasq versions before 2.83 is susceptible to buffer overflow in
  extract_name() function due to missing length check, when DNSSEC is
  enabled. This can allow a remote attacker to cause memory corruption
  on the target device.
* CVE-2020-25683:
  Dnsmasq version before 2.83 is susceptible to a heap-based buffer
  overflow when DNSSEC is enabled. A remote attacker, who can create
  valid DNS replies, could use this flaw to cause an overflow in a heap-
  allocated memory. This flaw is caused by the lack of length checks in
  rtc1035.c:extract_name(), which could be abused to make the code
  execute memcpy() with a negative size in get_rdata() and cause a crash
  in Dnsmasq, resulting in a Denial of Service.
* CVE-2020-25684:
  A lack of proper address/port check implemented in Dnsmasq version <
  2.83 reply_query function makes forging replies easier to an off-path
  attacker.
* CVE-2020-25685:
  A lack of query resource name (RRNAME) checks implemented in Dnsmasq's
  versions before 2.83 reply_query function allows remote attackers to
  spoof DNS traffic that can lead to DNS cache poisoning.
* CVE-2020-25686:
  Multiple DNS query requests for the same resource name (RRNAME) by
  Dnsmasq versions before 2.83 allows for remote attackers to spoof DNS
  traffic, using a birthday attack (RFC 5452), that can lead to DNS
  cache poisoning.
* CVE-2020-25687:
  Dnsmasq versions before 2.83 is vulnerable to a heap-based buffer
  overflow with large memcpy in sort_rrset() when DNSSEC is enabled. A
  remote attacker, who can create valid DNS replies, could use this flaw
  to cause an overflow in a heap-allocated memory. This flaw is caused
  by the lack of length checks in rtc1035.c:extract_name(), which could
  be abused to make the code execute memcpy() with a negative size in
  sort_rrset() and cause a crash in dnsmasq, resulting in a Denial of
  Service.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-01-25 01:37:23 +08:00
big fox tail
d3d861a729 random generate openvpn cert at first run (#6207) 2021-01-24 20:30:53 +08:00
lean
afc97235d2 update README to fuck nobk 2021-01-24 20:03:22 +08:00
lean
6f113da6d5 update README to fuck nobk 2021-01-24 20:02:01 +08:00
lean
0ef46ab96b move xray to feeds 2021-01-23 19:29:53 +08:00
Beginner
dbc39c527b Xray : Update V1.2.3 (#6232) 2021-01-23 19:23:31 +08:00
AmadeusGhost
18d284b238 ramips: re-added phicomm k2p 32m version (#6235) 2021-01-23 19:23:18 +08:00
AmadeusGhost
e0d3229487 luci-app-jd-dailybonus: fix depends and install error (#6230) 2021-01-22 18:23:21 +08:00
lean
95dfd326ad luci-app-jd-dailybonus: bump version 2021-01-22 11:27:27 +08:00
lean
f15b61b9b8 ipq40xx: switch to kernel 5.4 2021-01-22 10:58:28 +08:00
AmadeusGhost
c83233b052 kernel: bump 5.4 to 5.4.91 (#6225) 2021-01-21 20:51:19 +08:00
lean
4fb06ce99c ar71xx: add ARRIS SBR-AC1750 router support 2021-01-20 23:45:20 +08:00
lean
8fa535c668 luci-app-uugamebooster: update qcode image 2021-01-20 22:33:19 +08:00
lean
b9f45263fe luci-app-uugamebooster: add qcode 2021-01-20 18:55:01 +08:00
lean
dfbb519764 Revert "uugamebooster & luci-app-uugamebooster: (#6217)"
This reverts commit f60d3ea9c9.
2021-01-20 18:26:52 +08:00
lean
c72286565f change x86 default pacakge 2021-01-20 18:26:33 +08:00
ZhenYu
f60d3ea9c9 uugamebooster & luci-app-uugamebooster: (#6217)
* uugamebooster: rebuild startup service
* luci-app-uugamebooster: use standerd terms
* luci-app-uugamebooster: use inter-startup funcion
* luci-app-uugamebooster: fix typo
2021-01-19 23:42:00 +08:00
taowazi007
3fedff6615 ssrs ipv6 chacha20 support (#6199)
* Update ssrs

config ipv6 support

* Update ssrs.lua
2021-01-18 15:53:45 +08:00
Beginner
2c91a30820 kcptun : update v20210103 (#6214) 2021-01-18 15:52:25 +08:00
lean
7b043f5cfa Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-01-18 15:30:48 +08:00
lean
3ac7bea729 add luci-app-jd-dailybonus from jerrykuku 2021-01-18 15:30:32 +08:00
AmadeusGhost
69f46989e2 mac80211: update to 5.8.18-1 (#6200)
ath10k-ct-firmware: update to 2020-11-08
ath10k-ct: update to 2020-12-24
mt76: update to 2020-12-18
wireless-regdb: update to version 2020.11.20
2021-01-18 13:06:03 +08:00
Beginner
1f87014d58 Xray : Update V1.2.2 (#6203) 2021-01-18 13:05:46 +08:00
lean
332fe57a37 Version update to R21.1.18 2021-01-18 13:04:32 +08:00
lean
121548b153 Add luci-app-uugamebooster for uuplugin 2021-01-18 12:53:23 +08:00
ZhenYu
faf254aedd uugamebooster: fix missing depends & file conflict (#6196)
* uugamebooster: fix missing depends & file conflict

* uugamebooster: optimize program running

* uugamebooster: delete extra space
2021-01-14 14:32:45 +08:00
AmadeusGhost
f58a163622 Revert "ramips: mt7621 default overclock to 1000Mhz" (#6190)
This reverts commit 5be81314bb. Many users
reported that this commit broken their router. The mips platform does not
support changing the operating frequency of cpu while system is running.
Obviously it is more appropriate to use breed to overclock.
2021-01-13 13:59:42 +08:00
ZhenYu
d75c037bd9 package : add UU gamebooster package (#6191) 2021-01-13 12:08:38 +08:00
AmadeusGhost
a8ddd988b1 ipq40xx/5.4: remove duplicate patches (#6185)
Fixes: 28f854eb5f ("kernel: bump 5.4 to 5.4.86")
2021-01-11 21:27:35 +08:00
Beginner
223448316c Xray : Update V1.2.1 (#6179) 2021-01-11 12:32:02 +08:00
lean
28f854eb5f kernel: bump 5.4 to 5.4.86 2021-01-10 15:14:14 +08:00
S4kura0ne
c1d469ca06 fix WGET_SSL var for wget in ddns-script (#6177)
* Update update_aliyun_com.sh

* Update update_dnspod_cn.sh

* Update update_dnspod_com.sh
2021-01-10 14:51:06 +08:00
ericsnow911
f9e5242f90 Update mt7621_xiaomi_mir3p.dts (#6170) 2021-01-10 14:49:52 +08:00
CN_SZTL
9a742cfb4e luci-app-ssrserver-python: improve status check (#6167)
Running `ps` via luci.exec directly will cause no output
to compare as `ps` cannot detect the size of screen, adding
`-w` to solve this.

Fixes: 0e285c3037 ("add lean's package")
2021-01-08 23:11:45 +08:00
lean
e7115414c8 Revert “ramips: phicomm k2p 32m network auto config” 2021-01-08 23:10:43 +08:00
lean
b039772c02 Revert "ramips: add support for Phicomm K2P 32M flash version (#5861)"
This reverts commit 632b36be39.
2021-01-08 22:57:12 +08:00
lean
f6381d2094 revert: fix k2p 32m reboot problems 2021-01-08 22:55:29 +08:00
Beginner
622af09a79 V2ray : Update V4.34.0 (#6150)
* V2ray : Update V4.34.0

* v2ray-plugin : update v1.8.0
2021-01-07 14:02:22 +08:00
ricksuzade-maker
ea0cbd65c9 Bump v2ray-plugin to 1.8.0 (#6155) 2021-01-07 14:02:02 +08:00
dreamcmi
ba907056db add glinet-mt1300 support (#6142)
* 添加glinet-mt1300支持

* 优化更新mt1300支持
2021-01-04 22:40:47 +08:00
Beginner
1450ec3092 Xray : Update V1.2.0 (#6146) 2021-01-04 22:13:12 +08:00
woOzZ1
81a53ead53 Update sysctl-br-netfilter.conf (#6133) 2020-12-29 22:28:04 +08:00
Mattraks
f8ef6220d6 treewide: upx ignore errors (#6092) 2020-12-28 14:25:16 +08:00
AmadeusGhost
7dcc873eca kernel: bump 5.4 to 5.4.85 (#6105) 2020-12-28 14:24:26 +08:00
Beginner
137a9b3f2c Xray : Update V1.1.5 (#6101) 2020-12-28 14:24:08 +08:00
uamrws
e14ddaea36 hotfix: fix mwan3 syncdial port settings (#6100)
Co-authored-by: causal <causal@causaldeMacBook-Pro.local>
2020-12-25 23:54:27 +08:00
Kaffu Chino
8c37984f30 libnetfilter_conntrack: Update V1.0.8 (#6094) 2020-12-25 16:15:32 +08:00
AmadeusGhost
9f9bc95d6b autocore: avoid resource busy issue on rpi4 (#6095) 2020-12-25 14:32:13 +08:00
lean
dd9feccea4 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-12-24 21:32:20 +08:00
lean
9e2f145432 x86: add support Intel Ethernet Controller I225 Series 2020-12-24 21:32:08 +08:00
Mattraks
af6a5cc7a4 Fix flowoffload and SFE disable DNS acceleration without deleting DNS forwarding errors (#6086) 2020-12-23 12:31:24 +08:00
AmadeusGhost
f0da89a98b ramips: fix k2p 32m reboot problems (#6085) 2020-12-23 12:30:07 +08:00
lean
5013d29cdb x64: Add support for AMD Ryzen 3990x max 128 threads 2020-12-23 01:31:10 +08:00
lean
48f9978555 rockchip: use USB host by default on R4S 2020-12-23 00:29:53 +08:00
lean
5be81314bb ramips: mt7621 default overclock to 1000Mhz 2020-12-23 00:18:58 +08:00
lean
2a0b915c53 rockchip: add support for FriendlyARM NanoPi R4S (not stable) 2020-12-21 18:45:26 +08:00
AmadeusGhost
8724adeaac Revert "mtwifi: enable autoload by default" (#6070)
This reverts commit 653b7e432e due to
the combination of the mtwifi driver for mt603 and mt7615 will cause
some modules to fail to load normally.
2020-12-21 16:34:56 +08:00
Beginner
f8035eb8a1 kernel: bump 5.4 to 5.4.84 (#6066) 2020-12-21 11:00:13 +08:00
liwenjie119
674cf23141 fix kodexplore nginx info (#6053)
修复nginx的path_info,以及可道云中查看数据库的adminer的依赖
2020-12-20 14:31:55 +08:00
Beginner
3ed02932ae Xray : Update V1.1.4 (#6052) 2020-12-19 01:43:29 +08:00
gw826943555
6fa119f2ed ipq40xx: improve cpu operating points and overclosk to 896Mz (#6049)
this patch improve cpu operating points to 896Mhz and match the clock-latency-ns values in the device tree  for those found inside the OEM device tree and kernel source code
2020-12-18 22:59:41 +08:00
AmadeusGhost
995724bffb kernel: bump 5.4 to 5.4.83 (#6040) 2020-12-17 23:29:07 +08:00
Mattraks
543a4a41a6 Fix unable to start SFE with IPv4 only (#5914) 2020-12-16 02:36:08 +08:00
AmadeusGhost
eed26dc436 openssl: update to 1.1.1i (#5925)
Fixes: CVE-2020-1971, defined as high severity, summarized as:
NULL pointer deref in GENERAL_NAME_cmp function can lead to a DOS
attack.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-12-14 22:26:30 +08:00
CN_SZTL
37836e0c3d rockchip: enable hwRNG for rk3399 by default and remove R4S support (#5916)
* Revert "rockchip: add support for NanoPi R4S"

This reverts commit 6edffa8419.

* rockchip: move hwRNG driver to files

* rockchip: drop hwRNG support for NanoPi R2S

* rockchip: enable hwRNG on rk3399 by default

* rockchip: enable hwRNG crypto engine in Kconfig

* rockchip: sync upstream patch

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-12-12 11:33:26 +08:00
Beginner
e04fd21629 Xray : Update V1.1.3 (#5915) 2020-12-12 11:32:35 +08:00
xydche
057f8cf9b9 fix gen_config.lua (#5917)
修复HTTP伪装时生成错误的配置文件。
2020-12-12 11:26:21 +08:00
lean
59fe7c1ac6 Version update to R20.12.12 2020-12-11 10:36:13 +08:00
lean
6edffa8419 rockchip: add support for NanoPi R4S 2020-12-11 10:33:58 +08:00
AmadeusGhost
653b7e432e mtwifi: enable autoload by default (#5905) 2020-12-10 19:08:51 +08:00
Mattraks
c06f6662d4 luci-app-v2ray-server: bump to 13-1 version (#5894) 2020-12-09 15:04:55 +08:00
M1A6I3L
a5217b2901 Fix qbt compilation errors in specific situation (#5895)
Add qt5-sql to the dependencies of qbt.
2020-12-09 14:40:13 +08:00
nobody
b0249774ba frp: version bump to 0.34.3 (#5891) 2020-12-08 13:44:43 +08:00
练亮斌
13ec6bcfd6 Using luci native support for MT7615(K2P),support muilti SSID (#5844)
* mt7615: try wext and cfg80211

* iwinfo: support ra frequency offset

* iwinfo: ra support assolist, support AC bandwidth, read device id from mtd

* mt7615: clean code

* k2p: wireless interface should not add to bridge, wifi system will handle this

* mt7615: adapt for modern luci

* mt7615: fix Makefile, conflicts with luci-app-mtwifi

* mt_wifi: conflicts with mt7615d

* iwinfo: fix ra probe, scan list

* iwinfo: fix ra scan list

* mt7615: speed up wifi reload

* mt7615: fix bug

* mt7615: fix isolate

* mt7615: clean code

* mt7615: fix CE without cfg80211

* mt7615: split dbdc variant

* mt7615: revert config for non dbdc variant devices

* mt7615: move maccalc dependency to dbdc variant

* mt7615: append author info

* mt7615: move config generation to uci-defaults
2020-12-07 12:55:18 +08:00
Mattraks
eb64bd0f9b xray: bump to 1.1.2 version (#5885) 2020-12-07 12:53:34 +08:00
Mattraks
4ba0d2d311 Use canonical path (#5855)
* Use canonical path

* xray: add V2ray Compatibility mode

* x/v2ray: remove custom options
2020-12-06 21:13:42 +08:00
caicaicai21
5bfd826109 Update v2ray_server (#5870) 2020-12-03 16:49:46 +08:00
Ljzkirito
f79af995c5 add missing symbol (#5869) 2020-12-03 13:31:30 +08:00
小甲哥
520c5099ba startup n2n then add route table after 2s (#5852) 2020-12-02 19:58:19 +08:00
Mattraks
bd68f78374 Adjust compatibility with Xray (#5862) 2020-12-02 16:54:08 +08:00
练亮斌
e0484b458c ramips: phicomm k2p 32m network auto config (#5863) 2020-12-02 16:52:39 +08:00
练亮斌
632b36be39 ramips: add support for Phicomm K2P 32M flash version (#5861) 2020-12-02 14:33:00 +08:00
AmadeusGhost
0456744e39 mac80211: sync upstream source code (#5860)
[mac80211]
  08a42ef mac80211: fix memory leak on filtered powersave frames
  daeda8a mac80211: pass phy name to hostapd_set_bss_options
  7ca9b82 mac80211: Fix wpa_supplicant config removal ubus call
  bf3158b mac80211: backport the new tasklet API
  0bb5d39 mac80211: add minstrel fixes that fix mt76 issues in legacy mode

[ath10k]
  c3b2efa linux-firmware: ath10k: add board firmware packages
  655091e ath10k-ct-firmware: switch to linux-firmware board binaries
  61e381d ath10k-firmware: remove unused package
2020-12-02 12:24:26 +08:00
Beginner
39821ce555 v2ray : update v4.33.0 (#5841) , remove XTLS 2020-12-02 12:23:48 +08:00
Beginner
7084c5cb15 kcptun : update v20201126 (#5842) 2020-12-01 14:50:04 +08:00
Beginner
4ebe636bad add xray package 2020-12-01 14:47:09 +08:00
M1A6I3L
8cf4d9a640 qBittorrent : update v4.3.1 , rblibtorrent : update v1.2.11 (#5839)
qBittorrent add RSS.
2020-11-28 21:32:46 +08:00
AmadeusGhost
041d7abc4a kernel: bump 5.4 to 5.4.79 and add mt7620-nand driver (#5830)
* kernel: bump 5.4 to 5.4.79

* ramips: add mt7620-nand driver for NAND flash

This add the mt7620-nand driver
and enable nand ubifs for subtarget mt7620

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-11-28 16:43:16 +08:00
xydche
bcbce88ad3 fix v2ray-server tcpsettings (#5820)
修复传输方式为tcp时,http伪装不生效的问题。
2020-11-23 13:14:23 +08:00
AmadeusGhost
73e554dab2 ramips: add support for JCG Y2 (#5815)
JCG Y2 is an AC1300M router

Hardware specs:
  SoC: MediaTek MT7621AT
  Flash: Winbond W25Q128JVSQ 16MiB
  RAM: Nanya NT5CB128M16 256MiB
  2.4GHz: MT7615D 2x2
  5GHz: MT7615D 2x2
  Ethernet: 1 x WAN and 4 x LAN
  LED: POWER, INTERNET, 2.4G, 5G
  USB: 1 x 3.0
  Button: Reset

Flash instructions:
  Upload factory.bin in stock firmware's upgrade page.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-11-21 13:36:02 +08:00
tjuyy
d313225160 frp: bump to v0.34.2 (#5801) 2020-11-17 19:18:47 +08:00
eSir
cdc722a4bb Revert back to May 12th Version (#5803) 2020-11-17 19:18:31 +08:00
AmadeusGhost
91b4f75974 mtwifi: adjust some files calling location (#5805) 2020-11-17 19:18:01 +08:00
ricksuzade-maker
7565c236de Bump wireguard-tools to 1.0.20200827 (#5787) 2020-11-15 09:11:09 +08:00
ricksuzade-maker
02eae7a969 Bump wireguard to 1.0.20201112 (#5786) 2020-11-15 09:10:56 +08:00
BlacK201
60a82d5711 vsftpd use_localtime by default (#5785) 2020-11-15 09:10:37 +08:00
CN_SZTL
f4a0e03cc2 dnsforwarder: replace unavailable source url (#5790) 2020-11-15 09:09:50 +08:00
虾哥哥
78cff4a63a set default interface to lan to avoid attacks (#5773)
to avoid attacks from WAN
2020-11-14 00:53:25 +08:00
CN_SZTL
1e36f5d11c autocore-arm: add support for mvebu (#5781)
Co-authored-by: 486057 <4860575@qq.com>
2020-11-14 00:52:55 +08:00
AmadeusGhost
5d98c4178e kernel: bump 5.4 to 5.4.75 (#5780)
[mac80211]
 5b29614 mac80211: another fix for the sta connection monitor
 1ed6eb1 mac80211: backport sched_set_fifo_low
 cba4120 mac80211: add support for specifying a per-device scan list
 e0d482f rt2x00: mt7620: differentiate based on SoC's CHIP_VER

[package]
 amd64-microcode/intel-microcode/linux-firmware: update version
2020-11-14 00:52:35 +08:00
CN_SZTL
67198ef5be rockchip: increase volt of 1.5ghz to 1.5v for stability (#5703) 2020-11-10 14:54:32 +08:00
AmadeusGhost
5323b53533 shortcut-fe: rework netfilter conntrack notification (#5760)
The original patch over rode the nf_conntrack_un/register_notifier API, which will
break other modules relying on the API. Reworked the notification APIs to play nice
with others. Also avoid to touch the code of fullcone nat.

Co-authored-by: quarkysg <hhtan72@yahoo.com>
2020-11-10 14:53:05 +08:00
acooler15
047d6ea928 mt_wifi lua detect wanif name not null (#5748) 2020-11-08 17:06:51 +08:00
Beginner
bb19d14f40 v2ray : update v4.32.1 (#5752) 2020-11-08 17:05:21 +08:00
Beginner
d504d9430c v2ray : update v4.32.0 , v2ray-plugin : update v1.7.0 (#5729)
* v2ray : update v4.32.0

* v2ray-plugin : update v1.7.0
2020-11-05 14:10:17 +08:00
plutoghost
365348f6b6 Add switch to enable/disable ipv6 support for sfe and fast-classifier package (#5645) 2020-10-27 17:55:05 +08:00
letmekillthemall
cedc143ffe 屏蔽所有主流短视频 (#5651)
* 屏蔽所有主流短视频

抖音、快手、西瓜等短视频统统屏蔽

* fix 屏蔽所有主流短视频

fix

* fix 版本号

忘改版本号了
2020-10-27 17:54:14 +08:00
wisdomjxc
28668c0dd1 Update config-5.4 (#5716)
Support 20 threads。
2020-10-26 23:57:19 +08:00
Beginner
ca5ee92d3b v2ray : update v4.31.3 (#5706) 2020-10-26 15:44:03 +08:00
Mattraks
273dc29a23 v2ray: update sed args and upx ignore errors (#5708)
* v2ray: update sed args and upx ignore errors

* v2ray:bump to v4.31.3
2020-10-26 15:43:42 +08:00
eSir
f1a52ec517 fstools bump version to 2020-10-16 (#5717) 2020-10-26 15:36:08 +08:00
AmadeusGhost
cf7c3b3994 ramips: ralink: rename some functions (#5697)
Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-10-23 10:53:01 +08:00
Mattraks
a0ff7c025a Adjust submenu (#5686) 2020-10-21 14:52:21 +08:00
AmadeusGhost
c80f1dc6c3 mediatek: rewrite flow offload code (#5690)
The code is now much cleaner and works better than the old code.
Preparation for submitting it upstream (though with a different API)
Also add back MT7621 support and fix flow table coherence issues on
MT7622

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2020-10-21 10:51:23 +08:00
coolsnowwolf
cdefdb9dc1 kernel: bump 5.4 to 5.4.72 2020-10-20 14:00:12 +08:00
coolsnowwolf
126df018db rockchip: R2S cpu freq limite to 1512mhz 2020-10-20 13:49:13 +08:00
coolsnowwolf
f907feafd6 Version update to R20.10.20 2020-10-20 13:14:47 +08:00
coolsnowwolf
0dc0e9fdef r8125: bump to 9.004.01 to fix packet loss issue 2020-10-20 13:07:35 +08:00
AmadeusGhost
7459894377 ipq40xx: add support for Century WR142AC (#5670)
This commit add support for the yyets_le router.

Hardware Highlights:

SoC:	  Qualcomm IPQ4019 717 MHz
RAM:	  512M NT5CC256M16ER-EK
Flash:    32M SPI NOR MX25L25635F
WIFI1:    2.4 GHz 2T2R integrated
WIFI2:    5 GHz 2T2R integrated
Ethernet: Qualcomm QCA8075 (4x LAN, 1x WAN)
USB:      1x 3.0
LEDS:     power, wlan2g, wlan5g, usb
Button:   Reset

Installation:
 Upload the firmware on the upgrade page of the stcok, and this will
 take a few minutes.

This commit also supports the addition of a 128M nand flash version,
just use the P&W R619AC's OpBoot to overwrite the original uboot.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-10-19 12:48:48 +08:00
Beginner
4ccbf14700 v2ray : update v4.31.2 (#5682) 2020-10-19 12:48:05 +08:00
bingsugar
e1e1c8b49c luci-app-v2ray-server: update v2ray url (#5662) 2020-10-14 13:31:16 +08:00
CN_SZTL
c39177efcf autocore: add cpu freq & temp display for some arm devices (#5657)
* autocore: add cpu freq & temp display for some arm devices

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>

* Revert "show CPU Temperature for NanoPi R2S (#5612)"

This reverts commit 099439f051.

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-10-13 01:07:17 +08:00
Texot
d61db96155 mtwifi: mt7615: fix multi-profile merge (#5622)
* mtwifi: mt7615: fix multi-profile merge

Currently some settings like AutoChannelSelect, CountryRegion(ABand),
HT_BW/VHT_BW are not respected. This is due to wrong multi-profile
merging when l1profile.dat is not consistent with compiling flag
DEFAULT_5G_PROFILE.

5g profile should be put before 2g profile when DEFAULT_5G_PROFILE is
set.

References:
- 099439f051/package/lean/mt/drivers/mt7615d/Makefile (L52)
- 099439f051/package/lean/mt/drivers/mt7615d/src/mt_wifi/os/linux/rt_profile.c (L211)

* mtwifi: mt7615: fix reload
2020-10-13 01:06:34 +08:00
AmadeusGhost
dc28ade4d8 generic: limit commit "ramips/mediatek: improve GRO performance, fix PPE packet parsing" to mediatek target only (#5650) 2020-10-13 01:05:26 +08:00
ZeaKyX
1ca9a56362 Fix Migu typo (#5652)
* Fix Migu typo

* Update unblockmusic.lua
2020-10-13 01:04:36 +08:00
6667933
6fac299e61 remove 82_show_temp to resolve r2s start up problems (#5656) 2020-10-13 01:04:11 +08:00
lzx2009vb
d653619eb1 kcptun: bump to v20201010 (#5658)
kcptun: bump to v20201010
2020-10-13 01:03:58 +08:00
nobody
289296beec frp: version bump to v0.34.1 (#5627) 2020-10-10 14:01:45 +08:00
CN_SZTL
64debc95d5 kernel: bump 5.4 to 5.4.69 (#5587)
Seemingly unneeded based on new upstream code so manually deleted:
 platform/820-usb-0007-usb-dwc3-gadget-increase-timeout-value-for-send-ep-c.patch

Manually merged:
 generic-hack/251-sound_kconfig.patch

All other modifications made by update_kernel.sh

Build system: x86_64
Build-tested: ipq806x/R7800, ath79/generic, bcm27xx/bcm2711
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2020-10-10 14:01:25 +08:00
Beginner
d2cbce4dbf v2ray : update v4.31.0 , v2ray-plugin : update v1.6.0 (#5632)
* v2ray : update v4.31.0

* v2ray-plugin : update v1.6.0
2020-10-10 13:59:57 +08:00
Yangbo
099439f051 show CPU Temperature for NanoPi R2S (#5612)
Co-authored-by: Yangbo Wei <467815891@qq.com>
2020-10-07 23:25:41 +08:00
CN_SZTL
0bfbe98823 Revert "uboot-rockchip: update NanoPi R2S patches" (#5596)
* Revert "uboot-rockchip: update NanoPi R2S patches"

This reverts commit bda6f6572be630bcf9a1c8a429e40d8a53033af5.

This commit breaks the onboard ethernet on some units. Revert it for
now.

Signed-off-by: David Bauer <mail@david-bauer.net>

* rockchip: enable Realtek PHY support

The NanoPi R2S features a Realtek Gigabit Ethernet PHY. Enable the
Realtek specific PHY driver to correctly configure internal delays.

Signed-off-by: David Bauer <mail@david-bauer.net>

* uboot-rockchip: fix nanopi-r2s failed to boot on some sd cards

Add regulator-boot-on parameters to vcc_sd.
Add startup-delay-us parameters to vcc_sdio.
This will improve the problem that in some SD cards are failing to boot up.

Signed-off-by: Yuan Tao <ty@wevs.org>

* rockchip: fix NanoPi R2S GMAC clock name

This commit fixes the name for the GMAC clock to gmac_clkin, as this is
the name of the clock provided by the rk3328-clk driver.

Without this commit, the GMAC will not work in TX direction.

Suggested-by: Tobias Waldvogel <tobias.waldvogel@gmail.com>
Signed-off-by: David Bauer <mail@david-bauer.net>

Co-authored-by: David Bauer <mail@david-bauer.net>
Co-authored-by: Yuan Tao <ty@wevs.org>
2020-10-07 23:22:52 +08:00
AmadeusGhost
8de358af76 ramips: XiaoYu-C5: reuse ralink-eth driver (#5605)
* treewide: remove support for 'DEVICE_COMPAT' variable

This commit removes support for the DEVICE_COMPAT variable due to it
requires relatively few changes.

* Revert "ramips: disable PORT 5 MAC RX/TX flow control by default"

The TX/RX flow control is not the cause of the TX timeouts issue

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

* ramips: net/mediatek fix logical error

fe_empty_txd() should return `tx_ring_size - 1` on ring empty, and
return 0 on ring full.

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

* ramips: net/mediatek disable eee

This disable eee for mt7530 ports, it causes the link down/up
issue, which happens when connecting to 100Mbit switch

Fixes: FS#1449

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

* ramips: XiaoYu-C5: reuse ralink-eth driver

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-10-07 23:20:11 +08:00
Mattraks
71e335c0be v2ray:switch asset files' download url to v2fly (#5551) 2020-10-03 00:41:31 +08:00
AmadeusGhost
a16a54e4a4 openssl: bump to 1.1.1h (#5570)
This is a bug-fix release.  Patches were refreshed.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-10-03 00:37:24 +08:00
AmadeusGhost
86bc29e4a8 kernel: bump 5.4 to 5.4.68 (#5555)
[mac80211]
 ca5ee6e mac80211: Fix potential endless loop
 2c14710 mac80211: add more AQL fixes/improvements
 91fb3ce mac80211: remove an obsolete patch that is no longer doing anything useful
 acf1733 mac80211: add preliminary support for enabling 802.11ax in config
 d717343 mac80211: update encap offload patches to the latest version
 673062f mac80211: allow bigger A-MSDU sizes in VHT, even if HT is limited
 caf7277 mac80211: do not allow bigger VHT MPDUs than the hardware supports
 cd36c0d mac80211: select the first available channel for 5GHz interfaces
 1c6d456 mac80211: fix regression in station connection monitor optimization
 4bd7689 mac80211: update sta connection monitor regression fix

[target]
 Sync: at91, ath25, ath79, lantiq, mediatek, mvebu.
2020-10-03 00:36:16 +08:00
小甲哥
0ecfa0d4fa adapt luci configuration to new n2n version 2.8.0; add static route support (#5576) 2020-10-03 00:31:46 +08:00
ricksuzade-maker
b6a9a388b8 v2ray-plugin: bump to 1.5.0 (#5558) 2020-10-03 00:30:18 +08:00
Beginner
8cf0b35dc1 v2ray: update v4.30.0 (#5584) 2020-10-03 00:28:13 +08:00
CN_SZTL
b5fa901e0b rockchip: improve FriendlyElec NanoPi R2S support (#5578)
* rockchip: refresh NanoPi R2S patches

Update the patches for the NanoPi R2S to the v3 sent (and accepted)
upstream.

Signed-off-by: David Bauer <mail@david-bauer.net>

* rockchip: rk3328: add compatible to NanoPi R2S ethernet PHY

This adds the compatible property to the NanoPi R2S ethernet PHY node.
Otherwise, the PHY might not be probed, as the PHY ID reads all 0xff
when it is still in reset.

Signed-off-by: David Bauer <mail@david-bauer.net>

* uboot-rockchip: update NanoPi R2S patches

Update the patches required for the NanoPi R2S to match the DTS accepted
for upstream Linux. The U-Boot patch meanwhile is still pending
upstream.

Signed-off-by: David Bauer <mail@david-bauer.net>

* rockchip: refresh target patches

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>

Co-authored-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
Co-authored-by: wevsty <ty@wevs.org>

* rockchip: fix NanoPi R2S PHY ID

Fix the PHY ID for the NanoPi R2S PHY compatible to match the used PHY.
The ID was wrong as I've accidentally picked the wrong upstream patch.

Signed-off-by: David Bauer <mail@david-bauer.net>

Co-authored-by: David Bauer <mail@david-bauer.net>
Co-authored-by: wevsty <ty@wevs.org>
2020-10-03 00:27:34 +08:00
op
c15c7e9263 Update UnblockNeteaseMusicGo v0.2.7 (#5586) 2020-10-03 00:26:57 +08:00
ricksuzade-maker
9a482a15a3 Wireguard: bump to 1.0.20200908 (#5535) 2020-09-24 10:01:24 +08:00
John
2397e103d7 v2ray: Update v4.28.2 (#5500) 2020-09-24 10:00:51 +08:00
Mattraks
dcefd8bb69 Revert "v2ray 4.28.2 (#5508)" (#5530)
This reverts commit dffe50b581.
2020-09-24 10:00:29 +08:00
liuchao
94a7c85782 if wan iface set to apcli0 or apclii0 while wireless relay, add them to lan should be avoided (#5528) 2020-09-23 16:51:29 +08:00
op
dffe50b581 v2ray 4.28.2 (#5508)
v2ray同步至4.28.2
2020-09-23 14:38:36 +08:00
nobody
5d6052ccd7 Update Makefile (#5510)
frp: fix  PKG_HASH
2020-09-23 14:36:28 +08:00
小甲哥
89866db121 update n2n 2.8 to latest commit (#5518) 2020-09-23 14:35:56 +08:00
Saxon
5323eac14f Update Makefile (#5505) 2020-09-21 15:10:02 +08:00
CN_SZTL
a750363c5c luci-app-unblockmusic: add a new function for go version (#5493)
* UnblockNeteaseMusic-Go: bump to 0.2.6

* luci-app-unblockmusic: drop outdated cloud servers

* luci-app-unblockmusic: add a new function from go version
2020-09-20 13:37:31 +08:00
AmadeusGhost
7b6163f336 automount: add libblkid dependencies for exfat (#5485) 2020-09-19 14:27:37 +08:00
SuLingGG
a54f38733b Bump mt76 from 2020-08-22 to 2020-08-25 (#5469)
This update fix clients can not get correct IP adress on mt76x2u
Then add disable_usb_sg module parameter to fix wireless devices crash when multi-devices connect to mt76x2u devices (Line 336)
Details: https://github.com/openwrt/mt76/issues/405\#issuecomment-665737497
2020-09-16 20:04:43 +08:00
eSir
48b8c58de7 fstools-support-extroot-for-non-MTD-rootfs (#5472) 2020-09-16 20:04:13 +08:00
lean
99222f49fd Version Update to R20.9.15 2020-09-15 14:01:14 +08:00
lean
697f6e9972 Revert "Update v2ray version to 4.28.1 (#5447)"
This reverts commit cfc9629d4f.
2020-09-15 11:54:54 +08:00
Android Dev Notes
c11f800d34 Fix grammatical errors (#5463) 2020-09-15 09:35:55 +08:00
AmadeusGhost
bcce04eb66 luci-app-kodexplorer: add missing dependencies unzip (#5460) 2020-09-15 09:34:57 +08:00
AmadeusGhost
92481cb484 verysync: adjust download address (#5455) 2020-09-14 19:26:43 +08:00
cabbyjing
4abf84eae9 Update Makefile (#5443) 2020-09-13 09:08:54 +08:00
accors
cfc9629d4f Update v2ray version to 4.28.1 (#5447) 2020-09-13 09:08:32 +08:00
536wfr
c1305ad3bc add curl as dependence (#5448) 2020-09-13 09:08:03 +08:00
DoveKi
2b57c926b4 Update Xiaomi R4 get lan_mac (#5437) 2020-09-11 13:52:09 +08:00
Saxon
a3d51d83b0 Rclone: bump version from 1.52.2 to 1.53.0 (#5422)
v1.53.0 - 2020-09-02
See commits

New Features
The VFS layer was heavily reworked for this release - see below for more details
Interactive mode -i/--interactive for destructive operations (fishbullet)
Add --bwlimit-file flag to limit speeds of individual file transfers (Nick Craig-Wood)
Transfers are sorted by start time in the stats and progress output (Max Sum)
Make sure backends expand ~ and environment vars in file names they use (Nick Craig-Wood)
Add --refresh-times flag to set modtimes on hashless backends (Nick Craig-Wood)
build
Remove vendor directory in favour of Go modules (Nick Craig-Wood)
Build with go1.15.x by default (Nick Craig-Wood)
Drop macOS 386 build as it is no longer supported by go1.15 (Nick Craig-Wood)
Add ARMv7 to the supported builds (Nick Craig-Wood)
Enable rclone cmount on macOS (Nick Craig-Wood)
Make rclone build with gccgo (Nick Craig-Wood)
Make rclone build with wasm (Nick Craig-Wood)
Change beta numbering to be semver compatible (Nick Craig-Wood)
Add file properties and icon to Windows executable (albertony)
Add experimental interface for integrating rclone into browsers (Nick Craig-Wood)
lib: Add file name compression (Klaus Post)
rc
Allow installation and use of plugins and test plugins with rclone-webui (Chaitanya Bankanhal)
Add reverse proxy pluginsHandler for serving plugins (Chaitanya Bankanhal)
Add mount/listmounts option for listing current mounts (Chaitanya Bankanhal)
Add operations/uploadfile to upload a file through rc using encoding multipart/form-data (Chaitanya Bankanhal)
Add core/copmmand to execute rclone terminal commands. (Chaitanya Bankanhal)
rclone check
Add reporting of filenames for same/missing/changed (Nick Craig-Wood)
Make check command obey --dry-run/-i/--interactive (Nick Craig-Wood)
Make check do --checkers files concurrently (Nick Craig-Wood)
Retry downloads if they fail when using the --download flag (Nick Craig-Wood)
Make it show stats by default (Nick Craig-Wood)
rclone obscure: Allow obscure command to accept password on STDIN (David Ibarra)
rclone config
Set RCLONE_CONFIG_DIR for use in config files and subprocesses (Nick Craig-Wood)
Reject remote names starting with a dash. (jtagcat)
rclone cryptcheck: Add reporting of filenames for same/missing/changed (Nick Craig-Wood)
rclone dedupe: Make it obey the --size-only flag for duplicate detection (Nick Craig-Wood)
rclone link: Add --expire and --unlink flags (Roman Kredentser)
rclone mkdir: Warn when using mkdir on remotes which can't have empty directories (Nick Craig-Wood)
rclone rc: Allow JSON parameters to simplify command line usage (Nick Craig-Wood)
rclone serve ftp
Don't compile on < go1.13 after dependency update (Nick Craig-Wood)
Add error message if auth proxy fails (Nick Craig-Wood)
Use refactored goftp.io/server library for binary shrink (Nick Craig-Wood)
rclone serve restic: Expose interfaces so that rclone can be used as a library from within restic (Jack)
rclone sync: Add --track-renames-strategy leaf (Nick Craig-Wood)
rclone touch: Add ability to set nanosecond resolution times (Nick Craig-Wood)
rclone tree: Remove -i shorthand for --noindent as it conflicts with -i/--interactive (Nick Craig-Wood)
Bug Fixes
accounting
Fix documentation for speed/speedAvg (Nick Craig-Wood)
Fix elapsed time not show actual time since beginning (Chaitanya Bankanhal)
Fix deadlock in stats printing (Nick Craig-Wood)
build
Fix file handle leak in GitHub release tool (Garrett Squire)
rclone check: Fix successful retries with --download counting errors (Nick Craig-Wood)
rclone dedupe: Fix logging to be easier to understand (Nick Craig-Wood)
Mount
Warn macOS users that mount implementation is changing (Nick Craig-Wood)
to test the new implementation use rclone cmount instead of rclone mount
this is because the library rclone uses has dropped macOS support
rc interface
Add call for unmount all (Chaitanya Bankanhal)
Make mount/mount remote control take vfsOpt option (Nick Craig-Wood)
Add mountOpt to mount/mount (Nick Craig-Wood)
Add VFS and Mount options to mount/listmounts (Nick Craig-Wood)
Catch panics in cgofuse initialization and turn into error messages (Nick Craig-Wood)
Always supply stat information in Readdir (Nick Craig-Wood)
Add support for reading unknown length files using direct IO (Windows) (Nick Craig-Wood)
Fix On Windows don't add -o uid/gid=-1 if user supplies -o uid/gid. (Nick Craig-Wood)
Fix macOS losing directory contents in cmount (Nick Craig-Wood)
Fix volume name broken in recent refactor (Nick Craig-Wood)
VFS
Implement partial reads for --vfs-cache-mode full (Nick Craig-Wood)
Add --vfs-writeback option to delay writes back to cloud storage (Nick Craig-Wood)
Add --vfs-read-ahead parameter for use with --vfs-cache-mode full (Nick Craig-Wood)
Restart pending uploads on restart of the cache (Nick Craig-Wood)
Support synchronous cache space recovery upon ENOSPC (Leo Luan)
Allow ReadAt and WriteAt to run concurrently with themselves (Nick Craig-Wood)
Change modtime of file before upload to current (Rob Calistri)
Recommend --vfs-cache-modes writes on backends which can't stream (Nick Craig-Wood)
Add an optional fs parameter to vfs rc methods (Nick Craig-Wood)
Fix errors when using > 260 char files in the cache in Windows (Nick Craig-Wood)
Fix renaming of items while they are being uploaded (Nick Craig-Wood)
Fix very high load caused by slow directory listings (Nick Craig-Wood)
Fix renamed files not being uploaded with --vfs-cache-mode minimal (Nick Craig-Wood)
Fix directory locking caused by slow directory listings (Nick Craig-Wood)
Fix saving from chrome without --vfs-cache-mode writes (Nick Craig-Wood)
Local
Add --local-no-updated to provide a consistent view of changing objects (Nick Craig-Wood)
Add --local-no-set-modtime option to prevent modtime changes (tyhuber1)
Fix race conditions updating and reading Object metadata (Nick Craig-Wood)
Cache
Make any created backends be cached to fix rc problems (Nick Craig-Wood)
Fix dedupe on caches wrapping drives (Nick Craig-Wood)
Crypt
Add --crypt-server-side-across-configs flag (Nick Craig-Wood)
Make any created backends be cached to fix rc problems (Nick Craig-Wood)
Alias
Make any created backends be cached to fix rc problems (Nick Craig-Wood)
Azure Blob
Don't compile on < go1.13 after dependency update (Nick Craig-Wood)
B2
Implement server side copy for files > 5GB (Nick Craig-Wood)
Cancel in progress multipart uploads and copies on rclone exit (Nick Craig-Wood)
Note that b2's encoding now allows \ but rclone's hasn't changed (Nick Craig-Wood)
Fix transfers when using download_url (Nick Craig-Wood)
Box
Implement rclone cleanup (buengese)
Cancel in progress multipart uploads and copies on rclone exit (Nick Craig-Wood)
Allow authentication with access token (David)
Chunker
Make any created backends be cached to fix rc problems (Nick Craig-Wood)
Drive
Add rclone backend drives to list shared drives (teamdrives) (Nick Craig-Wood)
Implement rclone backend untrash (Nick Craig-Wood)
Work around drive bug which didn't set modtime of copied docs (Nick Craig-Wood)
Added --drive-starred-only to only show starred files (Jay McEntire)
Deprecate --drive-alternate-export as it is no longer needed (themylogin)
Fix duplication of Google docs on server side copy (Nick Craig-Wood)
Fix "panic: send on closed channel" when recycling dir entries (Nick Craig-Wood)
Dropbox
Add copyright detector info in limitations section in the docs (Alex Guerrero)
Fix rclone link by removing expires parameter (Nick Craig-Wood)
Fichier
Detect Flood detected: IP Locked error and sleep for 30s (Nick Craig-Wood)
FTP
Add explicit TLS support (Heiko Bornholdt)
Add support for --dump bodies and --dump auth for debugging (Nick Craig-Wood)
Fix interoperation with pure-ftpd (Nick Craig-Wood)
Google Cloud Storage
Add support for anonymous access (Kai Lüke)
Jottacloud
Bring back legacy authentification for use with whitelabel versions (buengese)
Switch to new api root - also implement a very ugly workaround for the DirMove failures (buengese)
Onedrive
Rework cancel of multipart uploads on rclone exit (Nick Craig-Wood)
Implement rclone cleanup (Nick Craig-Wood)
Add --onedrive-no-versions flag to remove old versions (Nick Craig-Wood)
Pcloud
Implement rclone link for public link creation (buengese)
Qingstor
Cancel in progress multipart uploads on rclone exit (Nick Craig-Wood)
S3
Preserve metadata when doing multipart copy (Nick Craig-Wood)
Cancel in progress multipart uploads and copies on rclone exit (Nick Craig-Wood)
Add rclone link for public link sharing (Roman Kredentser)
Add rclone backend restore command to restore objects from GLACIER (Nick Craig-Wood)
Add rclone cleanup and rclone backend cleanup to clean unfinished multipart uploads (Nick Craig-Wood)
Add rclone backend list-multipart-uploads to list unfinished multipart uploads (Nick Craig-Wood)
Add --s3-max-upload-parts support (Kamil Trzciński)
Add --s3-no-check-bucket for minimising rclone transactions and perms (Nick Craig-Wood)
Add --s3-profile and --s3-shared-credentials-file options (Nick Craig-Wood)
Use regional s3 us-east-1 endpoint (David)
Add Scaleway provider (Vincent Feltz)
Update IBM COS endpoints (Egor Margineanu)
Reduce the default --s3-copy-cutoff to < 5GB for Backblaze S3 compatibility (Nick Craig-Wood)
Fix detection of bucket existing (Nick Craig-Wood)
SFTP
Use the absolute path instead of the relative path for listing for improved compatibility (Nick Craig-Wood)
Add --sftp-subsystem and --sftp-server-command options (aus)
Swift
Fix dangling large objects breaking the listing (Nick Craig-Wood)
Fix purge not deleting directory markers (Nick Craig-Wood)
Fix update multipart object removing all of its own parts (Nick Craig-Wood)
Fix missing hash from object returned from upload (Nick Craig-Wood)
Tardigrade
Upgrade to uplink v1.2.0 (Kaloyan Raev)
Union
Fix writing with the all policy (Nick Craig-Wood)
WebDAV
Fix directory creation with 4shared (Nick Craig-Wood)
v1.52.3 - 2020-08-07
See commits

Bug Fixes
docs
Disable smart typography (eg en-dash) in MANUAL.* and man page (Nick Craig-Wood)
Update install.md to reflect minimum Go version (Evan Harris)
Update install from source instructions (Nick Craig-Wood)
make_manual: Support SOURCE_DATE_EPOCH (Morten Linderud)
log: Fix --use-json-log going to stderr not --log-file on Windows (Nick Craig-Wood)
serve dlna: Fix file list on Samsung Series 6+ TVs (Matteo Pietro Dazzi)
sync: Fix deadlock with --track-renames-strategy modtime (Nick Craig-Wood)
Cache
Fix moveto/copyto remote:file remote:file2 (Nick Craig-Wood)
Drive
Stop using root_folder_id as a cache (Nick Craig-Wood)
Make dangling shortcuts appear in listings (Nick Craig-Wood)
Drop "Disabling ListR" messages down to debug (Nick Craig-Wood)
Workaround and policy for Google Drive API (Dmitry Ustalov)
FTP
Add note to docs about home vs root directory selection (Nick Craig-Wood)
Onedrive
Fix reverting to Copy when Move would have worked (Nick Craig-Wood)
Avoid comma rendered in URL in onedrive.md (Kevin)
Pcloud
Fix oauth on European region "eapi.pcloud.com" (Nick Craig-Wood)
S3
Fix bucket Region auto detection when Region unset in config (Nick Craig-Wood)
2020-09-09 11:32:39 +08:00
Saxon
38a401c9de Update Makefile (#5425) 2020-09-09 11:32:26 +08:00
AmadeusGhost
611171589b verysync: add more download address to avoid official changes (#5420) 2020-09-09 11:32:07 +08:00
Zeng Weiyu
7ee73b061a Change portainer to portainer-ce (#5431) 2020-09-09 11:31:08 +08:00
536wfr
951f37b25f UnblockNeteaseMusicGo 0.2.5 (#5429) 2020-09-09 11:30:35 +08:00
Kslr
7ce9641037 Update to v2ray 4.27.5 version (#5403) 2020-09-04 09:39:46 +08:00
ricksuzade-maker
4a96f98ecd v2ray-plugin: bump to 1.4.2 (#5404) 2020-09-04 09:29:12 +08:00
tl768
622c204290 Update Makefile (#5409) 2020-09-04 09:28:24 +08:00
Alecthw
102a615d74 update n2n version to 2.8.0 (#5407) 2020-09-04 09:14:41 +08:00
chongshengB
88d85bb574 kernel: bump 5.4 to 5.4.61 (#5399)
Manually merged:
  backport-5.4
     011-kbuild-export-SUBARCH.patch
  layerscape
    701-net-0262-net-dsa-ocelot-add-tagger-for-Ocelot-Felix-switches.patch

All other modifications made by update_kernel.sh

Build-tested: x86/64, lantiq/xrx200, ramips/mt7621
Run-tested: ipq806x (R7800), lantiq/xrx200, x86/64, ramips (RT-AC57U)

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
[minor commit message adjustments]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

Co-authored-by: John Audia <graysky@archlinux.us>
2020-09-01 17:21:00 +08:00
zhusir
219c4866d6 Update v2ray version to 4.27.4 (#5379) 2020-09-01 11:39:50 +08:00
ricksuzade-maker
a23d832955 Bump v2ray-plugin to 1.4.1 (#5386) 2020-09-01 11:39:33 +08:00
CN_SZTL
a07a47018c mbedtls: update to 2.16.7 (#5377)
Mbed TLS 2.16.7 is a maintenance release of the Mbed TLS 2.16 branch,
and provides bug fixes and minor enhancements. This release includes
fixes for security issues and the most severe one is described in more
detail in a security advisory:
https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-07

* Fix a side channel vulnerability in modular exponentiation that could
reveal an RSA private key used in a secure enclave.
* Fix side channel in mbedtls_ecp_check_pub_priv() and
mbedtls_pk_parse_key() / mbedtls_pk_parse_keyfile() (when loading a private
key that didn't include the uncompressed public key), as well as
mbedtls_ecp_mul() / mbedtls_ecp_mul_restartable() when called with a NULL
f_rng argument. An attacker with access to precise enough timing and
memory access information (typically an untrusted operating system
attacking a secure enclave) could fully recover the ECC private key.
* Fix issue in Lucky 13 counter-measure that could make it ineffective when
hardware accelerators were used (using one of the MBEDTLS_SHAxxx_ALT
macros).

Due to Mbed TLS moving from ARMmbed to the Trusted Firmware project, some
changes to the download URLs are required. For the time being, the
ARMmbed/mbedtls Github repository is the canonical source for Mbed TLS.

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
[Use https://codeload.github.com and new tar.gz file]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Magnus Kroken <mkroken@gmail.com>
2020-08-30 21:17:26 +08:00
CN_SZTL
12d0742fd5 kernel: bump to 4.14.195, 5.4.60 (#5376)
* kernel: bump 5.4 to 5.4.60

Deleted upstream patches:
  generic:
    041-genirq-affinity-Make-affinity-setting-if-activated-o.patch
  ipq806x:
    093-5-v5.8-ipq806x-PCI-qcom-Define-some-PARF-params-needed-for-ipq8064-SoC.patch
    093-6-v5.8-ipq806x-PCI-qcom-Add-support-for-tx-term-offset-for-rev-2_1_0.patch

Merged manually:
  ipq806x:
    093-4-v5.8-ipq806x-PCI-qcom-Use-bulk-clk-api-and-assert-on-error.patch
  layerscape:
    804-crypto-0016-MLKU-114-1-crypto-caam-reduce-page-0-regs-access-to-.patch

Build-tested: ath79/generic, ipq806x, layerscape/armv7, layerscape/armv8_64b
Run-tested: ipq806x (R7800)

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

* kernel: Update kernel 4.14 to version 4.14.195

Compile and runtime tested on lantiq/xrx200 and x86/64.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-30 21:16:31 +08:00
CN_SZTL
53dfbe11aa exfat: update to 5.8.7 (#5378)
93e2334 exfat: fix build error on linux-5.4,5.5 kernel
01a7b8c exfat: fix name_hash computation on big endian systems
8f92bc0 exfat: fix wrong size update of stream entry by typo

Removed commented material that was for testing compilation.

Removed patch as the error was fixed upstream. First entry above.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

Co-authored-by: Rosen Penev <rosenp@gmail.com>
2020-08-30 21:15:56 +08:00
kongfl888 K
9c0e3433f4 dns2sock: use github source instead (#5388)
Because of the redirection of SF, sometimes code download errors.
This is very unfriendly to cloud compilation.

Signed-off-by: kongfl888 K <kongfl888@outlook.com>
2020-08-30 21:15:24 +08:00
babutree
ddae30c491 Update to verysync 1.5.5 version (#5368) 2020-08-27 16:14:06 +08:00
AmadeusGhost
20274fd514 ipq806x: sync official source code (#5365) 2020-08-27 15:57:30 +08:00
lean
a1618b97f7 Version bump to R20.8.27 2020-08-27 15:55:37 +08:00
AmadeusGhost
404209f6c4 kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350)
kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350)
  431fb8c mac80211: add AQL improvements
  6bdd4c9 mac80211: add missing backports for building with 4.14 kernels
  0106820 mac80211: add missing return code checks in AQL improvements
  e7f7101 mac80211: rework encapsulation offload support

[package]
  base-files: add function for generating random MAC
  dnsmasq: abort dhcp_check on interface state
  boot: sync upstream source code
  ath10k-ct-firmware/mt76/sch_cake: update to latest git HEAD

[script]
  download: add China Mirror Station

[target]
  Sync: arc770, ath79, bcm63xx, kirkwood, lantiq, layerscape,
        mediatek, mvebu, octeon, oxnas, pistachio, uml
  Sync most of the target patches.

Run-compiled-on: ipq40xx (4.19 & 5.4), ramips
2020-08-26 11:31:50 +08:00
ricksuzade-maker
7dd173abbc Wireguard-tools: Bump to 1.0.20200820 (#5338) 2020-08-21 16:49:29 +08:00
hyird
d003d3d900 keep truboacc at bottom (#5326) 2020-08-20 16:01:20 +08:00
Her0R0cket
3283cc4324 iproute2: disable SELinux for now (#5328)
follow openwrt:iproute2: disable SELinux for now
2020-08-20 16:01:01 +08:00
kongfl888 K
3e7c32a48d Coremark: use the general way to detect 64bit or not. (#5330)
Signed-off-by: kongfl888 K <kongfl888@outlook.com>
2020-08-20 16:00:27 +08:00
AmadeusGhost
46524d9336 ipq806x: sync upstream source code (#5320) 2020-08-18 01:41:42 +08:00
Her0R0cket
7ba6311016 fix depends for libdevmapper & change host pkg name (#5325)
* fix depends for libdevmapper

fix depends for libdevmapper

* Use python3 in18.04 

Use python3 in18.04
2020-08-18 01:40:34 +08:00
AmadeusGhost
075090c4d5 mac80211: support kernel 4.14 and update to 5.8 (#5303)
* mac80211: refresh patches

* mac80211: build compat on kernel 4.14

* mac80211: Update to version 5.8

The removed patches were applied upstream.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-11 23:37:22 +08:00
mjyhj
1a8e657689 luci-app-zerotier: fix bugs (#5276)
1.support muilt network id 
2.drop network config when stop 
3.restart service when network changed

code by CN_SZTL 1715173329
https://github.com/project-openwrt/openwrt
2020-08-10 15:26:35 +08:00
mjyhj
b4bc0d39e2 luci-app-diskman: bump to v0.2.10 (#5277) 2020-08-09 15:47:50 +08:00
AmadeusGhost
7e3464582c mac80211-5.8: fix build on kernel 4.14 and sync upstream commit (#5295)
* mac80211-5.8: fix build on kernel 4.14

* mac80211: sync upstream commit
2020-08-09 15:47:25 +08:00
firker
f9e821f979 Update Makefile (#5280) 2020-08-07 23:54:06 +08:00
ricksuzade-maker
d5f6807b2b Bump v2ray-plugin to v1.3.5 (#5283) 2020-08-07 23:53:34 +08:00
AmadeusGhost
b1677a562c mac80211: bump to 5.8-rc2, add ath10k VHT support and very basic support for ipq807x ath11k (#5288)
* mac80211: bump to 5.8-rc2

changelog:
  dfe0bc8 mac80211: allow ACS restriction with fixed channel
  727685c mac80211: rt2x00: define RF5592 in init_eeprom routine
  cfd2f3b mac80211: create channel list for fixed channel operation
  d1100c7 mac80211: Update to version 5.7.5-1
  ed2015c mac80211: Update to version 5.8-rc2-1
  a956c14 mac80211: util: don't warn on missing sband iftype data
  8b3e170 hostapd: fix incorrect service name
  68bf5a9 mac80211: don't kill wireless daemon on teardown
  25e0ae6 mac80211: make cfg80211 testmode support optional (and disabled by default)
  b7727a8 mac80211: fix AQL issues
  3d731fc mac80211: merge performance improvement patches

* mt76: update to 2020-07-22

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* mac80211: allow VHT on 2.4GHz

Allow VHT rate on 2.4GHz in order to use 256-QAM

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* ath10k: allow VHT on 2.4GHz

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* hostapd: add vendor_vht option

hostapd has vendor_vht option to enable VHT (256-QAM) on 2.4GHz
Add this option to hostapd.sh so users can enable it via uci

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* ipq807x: Refresh kernel configuration

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* ipq807x: Add WCSS bus

This is needed to build ath11k.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* mac80211: Add ath11k

This adds the Qualcomm 802.11ax wireless chipset support.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
Co-authored-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-07 23:53:02 +08:00
ZhenYu
aed7fc6131 CI: multi-asset delivery support (#5243)
*
fix: asset release broken
fix: failed to upgrade helloworld
2020-08-06 15:29:42 +08:00
SuLingGG
376abbc89e Fix baidupcs-web file name to fit i386 device (#5263) 2020-08-06 13:10:43 +08:00
DoveKi
85808a075c ramips: use mt proprietary driver for XiaoMI MI R4 (#5244) 2020-08-05 19:40:13 +08:00
CN_SZTL
413d8692d0 linux: improve exFAT support (#5249)
* staging: remove staging exfat driver

This will be replaced with the driver found in newer kernels.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* exfat: add out of tree module

>From an email conversation with the person responsible for upstreaming
the exFAT driver, it seems the staging one in kernel 5.4 is not so
good. Excerpts below.

Namjae Jeon:
Hm... exfat in 5.4 kernel  that we did crap shit long time ago is
contributed by someone who we don't know.
This version is unstable and low quality code. We have been improving
it continuously.
and staging version exfat is removed from linux 5.7 kernel.

linux exfat oot  version is a backport of exfat in linux 5.7 kernel to
support lower version kernel, and it is a real.
You can see the patch history fro linux-exfat-oot.
this version support timezone and boot sector verification feature newly.
and better filesystem structure and much clean code quality that
reviewed by high profile kernel developers. and add many bug fixes.
And this version is officially maintained by me and kernel guys.

I would not recommend to use staging exfat version.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* automount: switch exFAT driver to high performance ver

Co-authored-by: Rosen Penev <rosenp@gmail.com>
2020-08-05 19:39:06 +08:00
ricksuzade-maker
1b96532fcb Bump wireguard to 1.0.20200729 (#5221) 2020-07-30 08:46:16 +08:00
CN_SZTL
093cfcf243 target/rockchip: drop ugly hacks (sync with official) (#5218) 2020-07-29 19:02:51 +08:00
lphgor
50a8e8f348 UnblockNeteaseMusicGo: bump to 0.2.4 (#5214) 2020-07-29 12:18:49 +08:00
acooler15
0a796c092b add check and format 'security' parameter in function scan_app , and function connect_ap add bssid option (#5200)
* check and format security

* apcli add bssid option

* updat PKG_RELEASE to 16
2020-07-28 12:44:57 +08:00
Hugo Yuan
ef882612fd Readme: Update English version (#5197) 2020-07-27 19:05:41 +08:00
John Smith
18fb27faf6 Update README.md (#5174)
编译提示/bin/sh: 1: rsync: not found
增加 rsync 默认依赖
2020-07-26 15:02:31 +08:00
AmadeusGhost
30decd5f30 ramips/mtwifi: disable bind apcli interface to lan by default (#5178)
The apcli interface can be bound to either lan or wan, so cancel the
default settings.
2020-07-26 15:02:08 +08:00
AmadeusGhost
6f156e443d luci-app-mtwifi: add wifi relay support (#5168)
* luci-app-mtwifi: add wifi relay support

Source code: Nossiac/mtk-openwrt-feeds
Based on commit 'wireless: wext: remove ndo_do_ioctl fallback'

* luci-app-mtwifi: fix ap-scan failed

* luci-app-mtwifi: show overview when relay is enabled
2020-07-23 22:39:25 +08:00
Hugo Yuan
0866d17f4f fix dnsmasq resolvfile path (#5159) 2020-07-22 16:43:42 +08:00
ricksuzade-maker
f5b06268b4 Bump v2ray-plugin to 1.3.4 (#5152) 2020-07-22 12:16:43 +08:00
coolsnowwolf
289e393763 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-07-20 22:49:03 +08:00
coolsnowwolf
4dbc650998 package: drop adbyby by default 2020-07-20 22:48:40 +08:00
z826540272
e68d170e60 Revert shadowsocksr-libev:reduce file size (#5147)
用来修复编译失败。
2020-07-20 16:47:53 +08:00
coolsnowwolf
14371af55d ipq40xx: fix ethernet vlan double tagging 2020-07-20 13:53:04 +08:00
coolsnowwolf
7fdf770ca0 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-07-20 13:46:06 +08:00
coolsnowwolf
3356040880 kernel: bump 5.4 to 5.4.51 2020-07-20 13:45:54 +08:00
AmadeusGhost
1e8536f117 ramips: improve ac2100/dir882 support (#5136) 2020-07-19 19:09:26 +08:00
big fox tail
fb7752d159 openvpn: fix bug (#5130) 2020-07-19 13:55:49 +08:00
big fox tail
88cd26581a 20200718-忽略文件添加*.log (#5128) 2020-07-19 13:54:52 +08:00
big fox tail
b04643026a wget: prefer ipv4 than ipv6 (#5127) 2020-07-19 13:54:32 +08:00
AmadeusGhost
0635250cda ramips/mt7621: re-added hwnat support for kernel 5.4 (#5120)
* ramips: mt7621.dtsi: add missing pinctrl to ethernet node

Add rgmii1_pins (1st GMAC) and mdio_pins to ethernet node
pinctrl to ensure they are set to correct mode

* ramips: kernel: ralink-eth support mt7621

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

* ramips: some devices use ralink-eth driver

Also re-added mt7621 hwnat support for some devices.

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>

* ramips/mt7621: re-added hwnat support

Co-authored-by: LGA1150 <dqfext@gmail.com>
Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-07-18 01:02:11 +08:00
SJZ
6e2f7ac729 Unblockmusic Cloud unlock Log output typo (#5105) 2020-07-17 10:54:46 +08:00
AmadeusGhost
e47f199950 ipq806x: add support for RuiJie RG-MTFI-M520 (#5112)
Fix startup by Mr.chilauhe.

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-07-17 10:53:56 +08:00
HiGarfield
fc0516eae7 openvpn: fix uci-defaults script (#5103)
修复防火墙端口号。用户如果设置自定义端口,例如1197,则升级固件时,需要uci查询用户设定的自定义端口号,然后打开防火墙端口。
2020-07-14 20:00:10 +08:00
ricksuzade-maker
90571f5db1 Bump wireguard to 1.0.20200712 (#5100) 2020-07-14 13:17:09 +08:00
AmadeusGhost
0426d95035 bcm27xx: rpi4: enable wifi by default (#5090) 2020-07-13 11:29:09 +08:00
Xiaok
ba2038499a vlmcsd: bump version to svn1113-2020-03-28 (#5088) 2020-07-13 10:09:57 +08:00
AmadeusGhost
ed6be7ead9 gmediarender: fix compilation (#5070) 2020-07-12 11:56:40 +08:00
Jason Zang
00938c8e20 xlnetacc: adjust iface event handling strategy (#5076)
出于以下两个原因,调整快鸟服务对于iface事件的处理策略:
1. 快鸟服务跟随系统启动,ifup事件使快鸟服务重复启动,出现2个快鸟脚本运行实例(原始脚本对于重复运行的判断失效,原因未知)。修改为restart后可保证快鸟服务启动前关闭正在运行的快鸟服务。
2. ifdown事件后不应该立即停止快鸟服务。iface下线后,快鸟脚本无法访问快鸟服务器进行账户注销。未正常注销的账户在外部ip变动后重新上线会触发812错误(12或24小时内无法提速)。因此ifdown事件触发后不停止快鸟服务,而是等iface重新上线(网络恢复正常)后重启服务,以此保证账户注销流程可以正常进行。
2020-07-12 11:56:17 +08:00
coolsnowwolf
95cd6ee365 ramips: miss typo 2020-07-10 17:45:48 +08:00
AmadeusGhost
15b5fbbc0a ramips: improve support for dir878/882 (#5058) 2020-07-10 11:58:12 +08:00
Charles Chin
74f1dce2c3 Add zh-cn po for luci-app-qBittorrent (#5057)
* translate `Open Web Interface`

* 打开管理页面自适应 http 和 https
2020-07-10 11:56:56 +08:00
Crazy365
6fb7d552d4 fix k3 wifi drive problem (#5053)
解决K3无线驱动未被选中编译问题
2020-07-09 18:01:55 +08:00
Crazy365
a55cb52dcb fix k3screenctrl depends (#5052)
解决target名称变化造成k3screenctrl无法选中编译问题
2020-07-09 18:01:26 +08:00
coolsnowwolf
1eb3eac387 ramips: fix dts name 2020-07-08 23:03:33 +08:00
hyy-666
c9bd4acac7 fix missing dir-882 and dir-878 and enable mt7615d's LED default n (#5039) 2020-07-08 17:37:28 +08:00
coolsnowwolf
9905c8cd15 luci-app-ipsec-vpnd: add strongswan-mod-kernel-libipsec 2020-07-08 16:49:39 +08:00
coolsnowwolf
dc46e107bc luci-app-webadmin: fix typo 2020-07-08 16:48:02 +08:00
hyy-666
e04cde3f2a fix menuconfig missing DIR-878 A1 DIR-882 A1 (#5038) 2020-07-08 16:43:03 +08:00
coolsnowwolf
146bf0281a target: rip of ip6tables 2020-07-08 16:28:32 +08:00
hyy-666
345a201394 ramips: add support for Dlink DIR-878 A1 DIR-882 A1 Motorola MR2600 (#5035)
* ramips: add support for Dlink DIR-878 A1 DIR-882 A1 Motorola MR2600

* ramips: add support for Dlink DIR-878 A1 DIR-882 A1 Motorola MR2600

* ramips: add support for Dlink DIR-878 A1 DIR-882 A1 Motorola MR2600

Co-authored-by: hyy-666 <hyiy666@gmail.com>
2020-07-08 16:23:05 +08:00
AmadeusGhost
e3aad86a01 wireless-regdb: custom change txpower and dfs (#5036)
Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-07-08 15:22:44 +08:00
coolsnowwolf
37c63e9b3d ppp: add shellsync support 2020-07-08 14:45:43 +08:00
coolsnowwolf
170042c687 luci-app-flowoffload: remove kernel limite 2020-07-08 12:48:24 +08:00
BoBppy
f6aacba030 R2S:swap lan and wan (#5028)
R2S的描述是eth1为LAN,eth0为WAN(强迫症xD
2020-07-08 12:23:54 +08:00
coolsnowwolf
86d0c132f4 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-07-07 20:22:16 +08:00
coolsnowwolf
7f73591fbf x86: fix cpu temp info 2020-07-07 20:22:05 +08:00
NivalXer
74b263ba93 mwlwifi:add disable-amsdu patch (#5027) 2020-07-07 18:19:10 +08:00
AmadeusGhost
0c94245788 mtwifi: update dual 7615 config (Thx zmzhuai and MeIsReallyBa) (#5025) 2020-07-07 17:02:20 +08:00
coolsnowwolf
b1413474d4 Version update to R20.7.7 2020-07-07 12:43:25 +08:00
coolsnowwolf
dca53083ba bcm53xx: phicomm-k3 using custom k3-brcmfmac4366c-firmware 2020-07-07 12:41:13 +08:00
coolsnowwolf
786a6e1843 bcm53xx: phicomm-k3 using custom k3-brcmfmac4366c-firmware 2020-07-07 12:39:50 +08:00
coolsnowwolf
3b4a069b2e package: remove some old pack 2020-07-07 12:38:06 +08:00
coolsnowwolf
bb51e8a978 coremark: bump version to 2020-05-28 2020-07-07 12:30:20 +08:00
coolsnowwolf
ea3f2b1f16 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-07-07 12:22:36 +08:00
coolsnowwolf
3ac0246ce9 automount:use antfs instead of ntfs-3g 2020-07-07 12:22:24 +08:00
AmadeusGhost
d8a77f3f19 shortcut-fe-cm: load only once to avoid panic (#5019) 2020-07-07 11:40:17 +08:00
coolsnowwolf
88aed2924e autocore: x86 change RPS/XPS handling to all CPUs 2020-07-06 16:13:07 +08:00
coolsnowwolf
351441834c uci: add uci_add_list method 2020-07-06 14:30:34 +08:00
coolsnowwolf
462c88bfc9 ipq40xx: swtich to kernel 4.19 2020-07-06 14:12:55 +08:00
accors
55d1d3733c Update v2ray version to 4.26.0 (#4983) 2020-07-06 13:55:24 +08:00
ricksuzade-maker
24a2aed1d9 Bump v2ray-plugin to 1.3.3 (#5003)
Bump v2ray-plugin to the newest version.
2020-07-06 13:55:09 +08:00
coolsnowwolf
ed5938f061 linux-firmware: Update linux-firmware to 20200619 2020-07-06 13:51:25 +08:00
coolsnowwolf
9da58fc28a wireless: wext: remove ndo_do_ioctl fallback 2020-07-06 12:31:15 +08:00
AmadeusGhost
6647c14b61 rampis: newifi3: adjust led settings (#4999) 2020-07-06 11:41:46 +08:00
Miracle1414
ac3a454edb qBittorrent: bump to v4.2.5 (#5000) 2020-07-06 11:40:54 +08:00
coolsnowwolf
486426de57 ipq40xx: less ess_edma ipv6 log output 2020-07-06 11:40:29 +08:00
coolsnowwolf
9c42b9f581 luci-app-unblockmusic: enable lossless for go version 2020-07-06 11:25:42 +08:00
coolsnowwolf
c080e1bc41 kernel: Fix ath79 DSP exception at bootup 2020-07-06 11:13:05 +08:00
coolsnowwolf
5568cae67c download.pl:add mirrors for mainland China users 2020-07-06 10:58:24 +08:00
coolsnowwolf
707e6ed1a1 kernel: update to 4.14.187, 4.19.131, 5.4.50 2020-07-06 10:52:50 +08:00
coolsnowwolf
40c8226ff8 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-07-06 10:50:16 +08:00
coolsnowwolf
e7e044dc34 shortcut-fe: splite to 2 packges and rip off ipv6 2020-07-06 10:50:04 +08:00
Kuma
35b9c66cae UnblockNeteaseMusicGo: bump version to 0.2.3 (#4988) 2020-07-06 09:32:26 +08:00
coolsnowwolf
bc656479fb default-settings: remove sqm.zh-cn.po 2020-07-05 18:50:04 +08:00
coolsnowwolf
b8e27f1f78 luci-app-ttyd: bump version 2020-07-05 18:36:43 +08:00
coolsnowwolf
108ef02c85 Revert "mtwifi: repair options (#4980)"
This reverts commit 23eb8b49a7.
2020-07-05 18:03:39 +08:00
coolsnowwolf
359680f107 ramips: fix netgear R6850 wireless depend 2020-07-05 17:48:33 +08:00
AmadeusGhost
23eb8b49a7 mtwifi: repair options (#4980) 2020-07-05 17:46:48 +08:00
AmadeusGhost
7dbd43f75f mtwifi: mt7615: fix install (#4979) 2020-07-05 17:11:28 +08:00
coolsnowwolf
ba14b8065c Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-07-05 16:11:26 +08:00
coolsnowwolf
d90ca2f6a4 ipq40xx: unselect some package 2020-07-05 16:11:16 +08:00
AmadeusGhost
f8baa878b1 mtwifi: mt7615: update config and disable autoload (#4975) 2020-07-05 15:19:40 +08:00
coolsnowwolf
68dfdeddb5 bcm53xx: add k3screenctrl for phicomm k3 2020-07-05 15:13:17 +08:00
coolsnowwolf
05aa31a875 default-settings: add luci-compat dependence 2020-07-05 13:09:35 +08:00
coolsnowwolf
eb2bf74ff5 uci: fix luci firewall rules display error 2020-07-05 13:01:05 +08:00
Chuck
989c1444ac add missing dependence (#4971)
Signed-off-by: Chuck <fanck0605@qq.com>
2020-07-05 12:40:21 +08:00
coolsnowwolf
61b257c96b ipq40xx: fix rt-acrh17 lan mac 2020-07-05 12:39:30 +08:00
AmadeusGhost
24cb7521b6 mtwifi: add mt7612 support (#4968)
* mtwifi: add mt7612 support (Thx TangHaili)

* mtwifi: mt7603/7612: disable autoload (Thx TangHaili)

* ramips: newifi3: use mtwifi

* luci-app-mtwifi: sync TangHaili's Source
2020-07-05 11:57:49 +08:00
coolsnowwolf
d4539c3188 ramips: fix AC2100/R6850 wireless setting 2020-07-04 20:16:43 +08:00
coolsnowwolf
2322672203 Merge pull request #4952 from AmadeusGhost/amend
mtwifi: add dual 7615 support
2020-07-04 15:22:40 +08:00
AmadeusGhost
4c3334c5ba mtwifi: add dual 7615 support (Thx TangHaili) 2020-07-04 13:39:48 +08:00
coolsnowwolf
104ed945a6 mac80211: set default country code to US 2020-07-04 12:01:27 +08:00
coolsnowwolf
db12a9ccbe ramips: use mt proprietary driver for XiaoMI/Redmi AC2100 2020-07-04 11:34:26 +08:00
coolsnowwolf
1c1aef021d add mt proprietary driver for linux 5.4 (Thx MeIsReallyBa and hanwckf) 2020-07-04 11:23:36 +08:00
coolsnowwolf
90e48a34ba Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-07-04 00:13:28 +08:00
coolsnowwolf
df073244ab ramips:improve R6850 support 2020-07-04 00:13:20 +08:00
coolsnowwolf
80c47d3476 Merge pull request #4938 from lphgor/patch-1
kcptun: bump to 20200701
2020-07-03 21:55:46 +08:00
coolsnowwolf
c1941e154b Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-07-03 20:04:08 +08:00
coolsnowwolf
7bd0d56834 x86: remove kmod-r8169 2020-07-03 20:03:55 +08:00
lphgor
7eaf95e309 kcptun: bump to 20200701 2020-07-03 20:02:39 +08:00
coolsnowwolf
49b45cde79 Merge pull request #4936 from ElonH/luci-app-rclone
luci-app-rclone: bump version from 1.4.0 to 1.4.1
2020-07-03 19:29:39 +08:00
coolsnowwolf
dc4751b10e Merge pull request #4935 from ElonH/rclone-ng
RcloneNg: bump version from 0.3.2 to 0.4.0
2020-07-03 19:29:23 +08:00
coolsnowwolf
29c62f24f5 Merge pull request #4934 from ElonH/rclone
Rclone: bump version from 1.52.1 to 1.52.2
2020-07-03 19:29:10 +08:00
coolsnowwolf
c551f6ec88 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-07-03 19:19:50 +08:00
coolsnowwolf
76cf8abc00 x86: add AMD Ryzen zen3 and Hygon Dhyana cpu temperature support 2020-07-03 19:19:39 +08:00
ElonH
6e98ad5339 Rclone: bump version from 1.52.1 to 1.52.2
v1.52.2 - 2020-06-24

[See commits](https://github.com/rclone/rclone/compare/v1.52.1...v1.52.2)

* Bug Fixes
    * build
        * Fix docker release build action (Nick Craig-Wood)
        * Fix custom timezone in Docker image (NoLooseEnds)
    * check: Fix misleading message which printed errors instead of differences (Nick Craig-Wood)
    * errors: Add WSAECONNREFUSED and more to the list of retriable Windows errors (Nick Craig-Wood)
    * rcd: Fix incorrect prometheus metrics (Gary Kim)
    * serve restic: Fix flags so they use environment variables (Nick Craig-Wood)
    * serve webdav: Fix flags so they use environment variables (Nick Craig-Wood)
    * sync: Fix --track-renames-strategy modtime (Nick Craig-Wood)
* Drive
    * Fix not being able to delete a directory with a trashed shortcut (Nick Craig-Wood)
    * Fix creating a directory inside a shortcut (Nick Craig-Wood)
    * Fix --drive-impersonate with cached root_folder_id (Nick Craig-Wood)
* SFTP
    * Fix SSH key PEM loading (Zac Rubin)
* Swift
    * Speed up deletes by not retrying segment container deletes (Nick Craig-Wood)
* Tardigrade
    * Upgrade to uplink v1.1.1 (Caleb Case)
* WebDAV
    * Fix free/used display for rclone about/df for certain backends (Nick Craig-Wood)
2020-07-03 18:18:48 +08:00
coolsnowwolf
6922fd811f Merge pull request #4933 from AmadeusGhost/amend
ipq40xx-5.4 fix
2020-07-03 18:16:02 +08:00
ElonH
4746841d0f luci-app-rclone: bump version from 1.4.0 to 1.4.1
set web client and fuse packages as optional
2020-07-03 18:14:22 +08:00
ElonH
e8589083e5 RcloneNg: bump version from 0.3.2 to 0.4.0
[0.4.0](https://github.com/ElonH/RcloneNg/compare/v0.3.2...v0.4.0) (2020-07-03)

    ⚠ BREAKING CHANGES

* **tasks:** remove tasks viewer
* **list-view:** In Mobile View, double click to open directory, lomg press it to popup detail log.
* **home-mode:** In Mobile View, double click remote item to enter file system,and long press it to popup
detail dialog.

    Features

* **dashboard:** add version card ([a36fcbe](a36fcbe919))
* **home-mode:** support remote detail on mobile view ([2015e2f](2015e2fea6))
* **jobs-manager:** clean finished groups ([188fcdf](188fcdf56c))
* **jobs-manager:** enable reset stats ([ec025bd](ec025bd8d4))
* **list-view:** support file detail on mobile view ([ce36cf2](ce36cf25cf))
* **pages:** show response time ([9a02b22](9a02b22ea5))

    Bug Fixes

* **file-manager:** footer over main sidebar in mobile view ([48b855a](48b855a7f4)), closes [#2](https://github.com/ElonH/RcloneNg/issues/2)
* **jobs-manager:** no animation on refresh button in mobile view ([b0d21d7](b0d21d7416))
* **list-view:** prevent showing detail when checking item ([a2a4fa2](a2a4fa2c5d))
* avoid duration format error on other page ([a1c4f75](a1c4f7521a))
* cancel underline in <a> ([6c179fa](6c179fa3e7))
* **tasks:** paste again not work around ([c339dfa](c339dfa07f))
2020-07-03 18:07:34 +08:00
coolsnowwolf
2c8ea33784 odhcpd: fix compilation with GCC10 2020-07-03 18:02:13 +08:00
coolsnowwolf
9fddcf33a6 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-07-03 18:01:24 +08:00
coolsnowwolf
bac469f0ba busybox: add ps -ef option for docker top command 2020-07-03 18:01:13 +08:00
AmadeusGhost
0b296d75bc ipq40xx: cm520: fix startup with opboot 2020-07-03 17:53:49 +08:00
AmadeusGhost
45ddd9f782 ipq40xx: r619ac: fix wan/lan led 2020-07-03 17:53:29 +08:00
coolsnowwolf
d541afbf42 Merge pull request #4932 from DoveKi/master
ramips: mt7621: update Xiaomi Mi Router 4
2020-07-03 17:37:55 +08:00
doveki
d83f9cd545 ramips: mt7621: update Xiaomi Mi Router 4 2020-07-03 16:04:48 +08:00
coolsnowwolf
51143b4c75 ipq40xx: add G-DOCK 2.0 (P&W R619AC) v5.4 support 2020-07-03 15:38:30 +08:00
coolsnowwolf
ee5f9b59c5 Update rblibtorrent
Update Makefile
2020-07-03 15:34:06 +08:00
coolsnowwolf
75fc3be079 squashfs: make mkfs with multi-cpus speedup 2020-07-03 15:17:32 +08:00
coolsnowwolf
b93293ef8d ipq40xx: essedma time-balanced scheduling for nat 2020-07-03 15:14:36 +08:00
whalechoi
e8e0f38f9a Update Makefile
support building with new boost version
2020-07-03 14:32:25 +08:00
coolsnowwolf
96652f8f80 dnsmasq: disable dhcpv6 by default 2020-07-03 13:58:59 +08:00
coolsnowwolf
57c30e4128 uhttpd: disable https redir 2020-07-03 13:40:31 +08:00
coolsnowwolf
04f6d885bd Merge pull request #4928 from AmadeusGhost/modified
kernel-5.4 fix merge commit
2020-07-03 13:14:27 +08:00
coolsnowwolf
8e012e7da4 ipq40xx: add support for ASUS RT-ACRH17 v5.4 2020-07-03 12:49:17 +08:00
AmadeusGhost
5e437f378a mtwifi: bump to 5.0.4.0
Source code: https://github.com/MeIsReallyBa/mt7615-dbdc-linux5.4
2020-07-03 12:28:23 +08:00
coolsnowwolf
0c95d8abf1 ipq40xx: rework with new v5.4 essedma eth setting 2020-07-03 12:17:04 +08:00
AmadeusGhost
6b8c4c3bbb ramips: re-add devices and use wpad-openssl
Re-add devices: XiaoMi Wifi R3/R4/AC2100, JDCloud

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-07-03 12:06:27 +08:00
AmadeusGhost
3fcc387312 generic/5.4: change thermal to tristate
fix #4922
2020-07-03 11:16:08 +08:00
coolsnowwolf
0e4fe04e67 mac80211: enable wifi by default 2020-07-03 01:32:16 +08:00
coolsnowwolf
41965f2d26 x86: acpi support 2020-07-03 00:44:03 +08:00
coolsnowwolf
c7c02dfae9 rockchip: add support for NanoPi R2S arm64 router board 2020-07-02 23:34:55 +08:00
coolsnowwolf
9c8da88756 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-07-02 23:31:25 +08:00
coolsnowwolf
33abeff31c Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
coolsnowwolf
33f7cb7353 Merge pull request #4917 from AmadeusGhost/amend
wol: fix build on x86
2020-07-02 21:31:46 +08:00
AmadeusGhost
c1b910fa8f wol: fix build on x86 2020-07-02 21:00:28 +08:00
coolsnowwolf
cc2ddb220a Revert "ksmbd: replace samba in ipq40xx and x86"
This reverts commit 82d03e87a0.
2020-07-02 19:21:50 +08:00
coolsnowwolf
f695ce42f3 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-07-02 17:57:19 +08:00
coolsnowwolf
790ae11ef8 luci-theme-netgear: revert link 2020-07-02 17:52:08 +08:00
coolsnowwolf
d62e5121de Merge pull request #4915 from Mandi-Sa/master
linux-firmware: intel: Downgrade wifi firmware version for k4.19
2020-07-02 17:50:15 +08:00
coolsnowwolf
a15e62191a wol: add package 2020-07-02 17:01:41 +08:00
coolsnowwolf
82d03e87a0 ksmbd: replace samba in ipq40xx and x86 2020-07-02 16:36:37 +08:00
coolsnowwolf
919a46c8dd ksmbd: bump version and update luci 2020-07-02 16:35:09 +08:00
阿菌•未霜
47b81244ad linux-firmware: intel: Downgrade wifi firmware version for k4.19 2020-07-02 16:11:23 +08:00
coolsnowwolf
09d432ba31 squashfs: make mkfs with multi-cpus speedup 2020-07-02 14:35:44 +08:00
coolsnowwolf
beb94a6f37 UnblockNeteaseMusicGo: revert version 2020-07-02 02:10:32 +08:00
coolsnowwolf
ed735bab75 ipq40xx: switch to kernel 4.14 2020-07-02 01:29:53 +08:00
coolsnowwolf
f053883d08 Revert "ipq40xx: import irq-balance script from presisco/openwrt-irq-balance"
This reverts commit defe460d44.
2020-07-02 01:28:20 +08:00
coolsnowwolf
6b2e7c13fd enable GOPROXY by default for Golang 2020-07-02 01:09:35 +08:00
coolsnowwolf
f0aa5e27f1 vidio: enable HSA_AMD 2020-07-02 00:57:44 +08:00
coolsnowwolf
36204c7110 IPSec: fix kernel modules 2020-07-02 00:55:25 +08:00
coolsnowwolf
f0fb43ea11 Merge pull request #4908 from asushugo/master
Bump redsocks2 to lastest version fix config error
2020-07-02 00:02:17 +08:00
coolsnowwolf
b63a1fc81e Merge pull request #4909 from xsm1997/master
UnblockNeteaseMusicGo: bump version to 0.2.1
2020-07-02 00:01:01 +08:00
Shimin Xiong
fce9e709ac UnblockNeteaseMusicGo: bump version to 0.2.1 2020-07-01 23:02:57 +08:00
asushugo
0c7fe2ad25 Bump redsocks2 to lastest version fix config error 2020-07-01 20:57:18 +08:00
coolsnowwolf
77a8d007cf shortcut-fe:added support for Linux kernel 4.19 2020-07-01 19:26:58 +08:00
coolsnowwolf
215c2f8309 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-07-01 18:30:00 +08:00
coolsnowwolf
6e14ee33cd kernel: Remove chash.ko from kmod-drm-amdgpu 2020-07-01 18:29:47 +08:00
coolsnowwolf
129f29e24a Merge pull request #4905 from AmadeusGhost/modified
kernel: revert some config
2020-07-01 17:26:04 +08:00
coolsnowwolf
de00eff01a x64:add support for AMD Zen2 APU (renoir) DRM video engine 2020-07-01 17:16:50 +08:00
coolsnowwolf
8d7204e1ea linux-firmware: add support for AMD Zen2 APU (renoir) firmware 20.10 2020-07-01 17:14:56 +08:00
AmadeusGhost
e4ecf8a5c0 kernel: cake: add missing backport to 4.19 patches 2020-07-01 17:12:37 +08:00
AmadeusGhost
6ea19a20b7 kernel: revert some config 2020-07-01 17:05:30 +08:00
coolsnowwolf
689dd9a678 kernel: refresh upsteam modules 2020-07-01 16:10:53 +08:00
coolsnowwolf
d669a371b6 UnblockNeteaseMusicGo: using single app to proccess windows client unblock 2020-07-01 14:33:50 +08:00
coolsnowwolf
defe460d44 ipq40xx: import irq-balance script from presisco/openwrt-irq-balance 2020-07-01 12:49:28 +08:00
coolsnowwolf
63bc209d7d Version Update to R20.7.1 2020-07-01 11:08:42 +08:00
coolsnowwolf
d11a7c9e78 kernel: bump 4.19 to 4.19.123 2020-07-01 10:52:01 +08:00
coolsnowwolf
0c0d41fcd7 kernel: drop kernel 4.9 support and add 5.4 placeholder 2020-07-01 10:51:09 +08:00
coolsnowwolf
cac9227e54 Merge pull request #4902 from ricksuzade-maker/patch-2
Bump v2ray-plugin to version 1.3.2
2020-07-01 10:46:14 +08:00
ricksuzade-maker
9f8f4afe36 Bump v2ray-plugin to version 1.3.2
Bump v2ray-plugin to the newest version
2020-07-01 10:17:46 +08:00
coolsnowwolf
cdca955c8e shortcut-fe:added support for Linux kernel 4.14 2020-07-01 02:56:41 +08:00
coolsnowwolf
c0f3364974 baidupcs-web: move to my source 2020-06-29 23:41:08 +08:00
coolsnowwolf
cd8708c26f Merge pull request #4865 from liuran001/patch-1
fix baidupcs-go
2020-06-29 23:36:24 +08:00
coolsnowwolf
617ae6c4a7 Merge pull request #4862 from deadlineOvO/patch-1
/sbin/mtkwifi 777 to 755
2020-06-29 23:28:25 +08:00
coolsnowwolf
fb6aeafd18 redsocks2: disable ss 2020-06-29 23:26:33 +08:00
coolsnowwolf
9aa56199f0 Merge pull request #4875 from 1715173329/redsocks2-openssl
redsocks2: fix compatible with openssl 1.1.x, support reuseport
2020-06-29 23:23:36 +08:00
coolsnowwolf
b82cf78797 gmediarender: move folder 2020-06-29 23:21:16 +08:00
coolsnowwolf
32c6e61376 Merge pull request #4743 from dingpengyu/zh_CN
fix lede zh-cn.po
2020-06-28 16:14:48 +08:00
coolsnowwolf
8d1ac15934 Merge pull request #4880 from DoveKi/master
ramips: mt7621: add support for Xiaomi Mi Router 4
2020-06-28 11:02:19 +08:00
doveki
0d171461ff ramips: mt7621: add support for Xiaomi Mi Router 4 2020-06-25 20:54:14 +08:00
coolsnowwolf
c2134e0e18 x64: Mellanox Connect-X 40Gbps card by default 2020-06-25 16:20:13 +08:00
coolsnowwolf
fc0f1ec5c5 Merge pull request #4867 from ricksuzade-maker/patch-1
Bump wireguard to 1.0.20200623
2020-06-25 15:38:43 +08:00
coolsnowwolf
fdc2fee363 Merge pull request #4868 from smallprogram/patch-1
update v2ray version to 4.25.1
2020-06-25 15:38:25 +08:00
coolsnowwolf
a780c6257d Merge pull request #4866 from goldkeyber112/master
add RTL8125B(S) 2.5G support
2020-06-25 15:38:09 +08:00
coolsnowwolf
b499b71dd1 Merge pull request #4870 from AmadeusGhost/amend
ramips: add support for Xiaomi R2100 (Black)
2020-06-25 15:37:43 +08:00
CN_SZTL
ab025ed8d3 redsocks2: fix compatible with openssl 1.1.x, support reuseport 2020-06-24 19:40:17 +08:00
zhusir
fc6930876d update v2ray version to 4.25.1 2020-06-24 09:11:10 +08:00
ricksuzade-maker
c6bb4b7e88 Bump wireguard to 1.0.20200623
Bump wireguard to the newest version
2020-06-24 08:51:46 +08:00
goldkeyber112
f3225f6770 bump to 9.003.05
add RTL8125B(S) support
2020-06-24 05:25:15 +08:00
coolsnowwolf
378ca0f03e x64: add EFI Image boot from emmc SSD support 2020-06-23 23:44:27 +08:00
liuran001
5be827d9f9 fix baidupcs-go
修复baidupcs-go下载链接
2020-06-23 23:12:25 +08:00
goldkeyber112
6e2c293610 Merge pull request #1 from coolsnowwolf/master
update fork
2020-06-23 21:57:07 +08:00
coolsnowwolf
d9dc1d4605 Merge pull request #4840 from AmadeusGhost/modified
r8168: Cancel default selection
2020-06-23 15:55:41 +08:00
AmadeusGhost
e0305c807a r8168: cancel default selection 2020-06-23 10:45:16 +08:00
coolsnowwolf
0f7ae686e5 fix uci bug which involed in 0326b4 2020-06-23 10:16:52 +08:00
dingpengyu
3fb5845276 Merge branch 'master' into zh_CN 2020-06-23 10:04:08 +08:00
deadlineOvO
420e0e8579 /sbin/mtkwifi 777 to 755
只是认为 777 没有必要
2020-06-23 09:39:20 +08:00
coolsnowwolf
d72f523497 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-06-22 18:27:37 +08:00
coolsnowwolf
663762352a add gmrender-resurrect UPNP render for media content (audio, video and images) 2020-06-22 18:27:23 +08:00
coolsnowwolf
c0326b44af Merge pull request #4839 from BoBppy/master
fix build with GCC10
2020-06-22 12:25:46 +08:00
coolsnowwolf
7c4258284b Merge pull request #4846 from goomadao/fix-ACL
Add ACL file to luci-app-frps
2020-06-22 01:46:23 +08:00
coolsnowwolf
9915faa78b Merge pull request #4844 from accors/master
Update v2ray version to 4.25.0
2020-06-22 01:46:03 +08:00
coolsnowwolf
f1a270dfbd Merge pull request #4850 from xkstudio/dev
npc: bump version to v0.26.8
2020-06-22 01:44:33 +08:00
Xiaok
bd29eb1a35 npc: bump version to v0.26.8 2020-06-21 16:17:49 +08:00
AmadeusGhost
5240af2247 ramips: add support for Xiaomi R2100 (Black) 2020-06-21 16:09:39 +08:00
madao
617e7f9918 Add ACL file 2020-06-20 16:16:43 +08:00
accors
e0b2fde78e Update v2ray version to 4.25.0 2020-06-20 10:05:57 +08:00
BoBppy
f317ed5b5d Add files via upload 2020-06-19 17:19:49 +08:00
BoBppy
3ace77ac4f Add files via upload 2020-06-19 17:19:16 +08:00
BoBppy
c1cd85e1b4 Add files via upload 2020-06-19 17:18:42 +08:00
BoBppy
e03d060d1c Add files via upload 2020-06-19 17:17:39 +08:00
BoBppy
98ac6365ae Add files via upload 2020-06-19 17:17:11 +08:00
BoBppy
bd2aaaea2c libubox:fix array out of bounds GCC 10 warning 2020-06-19 17:16:24 +08:00
BoBppy
7915610933 tools: squashfskit4: fix build with GCC10
In order to build squashfskit with GCC10, this backport from upstream is needed.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
[increase PKG_RELEASE]
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2020-06-19 17:12:34 +08:00
BoBppy
d665cad5f2 squashfs: Fix compile with GCC 10
Fixes the following build error with GCC 10:
	/usr/bin/ld: read_fs.o:(.bss+0x0): multiple definition of `swap'; mksquashfs.o:(.bss+0x1b2a88): first defined here
And a compile warning.

Fixes: FS#3104, FS#3119
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 1bbc1aa)
2020-06-19 17:09:24 +08:00
BoBppy
94929f76ac build: add GCC 10 version detection
Lets add GCC 10 detection to the build system as distributions like Fedora 32 have started shipping with it.
Some tools like mtd-utils need work to compile under GCC10, but that will be next step.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
2020-06-19 17:07:37 +08:00
dingpengyu
a8cb3a3fbd Merge branch 'master' into zh_CN 2020-06-19 14:28:58 +08:00
coolsnowwolf
ba8a697b76 Merge pull request #4835 from martin0607/master
add Realtek r8168 GBE eth support
2020-06-19 10:58:48 +08:00
coolsnowwolf
763184143e firewall: refresh 900-filter-aaaa.patch (#4698)
Signed-off-by: Chuck <fanck0605@qq.com>
2020-06-19 10:58:10 +08:00
coolsnowwolf
7e3bbbd936 Revert "dnsmasq: add auto multiple service instances for dns performance boost"
This reverts commit 3a0adfef15.
2020-06-19 10:57:41 +08:00
martin_ni
5051acc2c2 README.md 2020-06-18 16:57:02 +08:00
martin_ni
4da8bc1134 x86: add Realtek r8168 GBE eth support
Realtek r8111/8168
2020-06-18 16:55:34 +08:00
martin_ni
fab88b3b99 bump to 8.048.03 2020-06-18 16:52:10 +08:00
martin_ni
9ea9b0ce22 bump to 8.048.03 2020-06-18 16:51:07 +08:00
dingpengyu
01fe82a2d9 Merge branch 'master' into zh_CN 2020-06-18 04:23:53 +08:00
dingpengyu
7b9d809ba7 修改 Lazy Rule 和 Video Rule条目 2020-06-18 04:16:52 +08:00
coolsnowwolf
ecbbfcf25e ar71xx: unlock GL.net uboot part 2020-06-17 17:50:02 +08:00
coolsnowwolf
d3cc42cad8 ipt2socks:bump to 1.1.3 2020-06-17 11:36:13 +08:00
coolsnowwolf
3a0adfef15 dnsmasq: add auto multiple service instances for dns performance boost 2020-06-16 18:37:34 +08:00
coolsnowwolf
acb822180e luci-app-unblockmusic:change default Nodejs version value 2020-06-16 12:08:11 +08:00
coolsnowwolf
c252faf64e Version bump to R20.6.18 2020-06-16 11:58:20 +08:00
coolsnowwolf
887ca47154 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-06-16 11:57:10 +08:00
coolsnowwolf
95d52b6014 luci-app-unblockmusic: fix golang version can't unlock iOS newversion issue 2020-06-16 11:56:59 +08:00
Lienol
70a9891f4a luci-app-kodexplorer: update api new version (#4788) 2020-06-14 18:26:17 +08:00
AmadeusGhost
f4e6ac28a7 verysync: add auto select latest version support (#4790) 2020-06-14 18:25:50 +08:00
ElonH
55c5c30b48 rclone: Bump version to 1.52.1 (#4805)
Changelog

   v1.52.1 - 2020-06-10

[See commits](https://github.com/rclone/rclone/compare/v1.52.0...v1.52.1)

* Bug Fixes
    * lib/file: Fix SetSparse on Windows 7 which fixes downloads of files > 250MB (Nick Craig-Wood)
    * build
        * Update go.mod to go1.14 to enable -mod=vendor build (Nick Craig-Wood)
        * Remove quicktest from Dockerfile (Nick Craig-Wood)
        * Build Docker images with GitHub actions (Matteo Pietro Dazzi)
        * Update Docker build workflows (Nick Craig-Wood)
        * Set user_allow_other in /etc/fuse.conf in the Docker image (Nick Craig-Wood)
        * Fix xgo build after go1.14 go.mod update (Nick Craig-Wood)
    * docs
        * Add link to source and modified time to footer of every page (Nick Craig-Wood)
        * Remove manually set dates and use git dates instead (Nick Craig-Wood)
        * Minor tense, punctuation, brevity and positivity changes for the home page (edwardxml)
        * Remove leading slash in page reference in footer when present (Nick Craig-Wood)
        * Note commands which need obscured input in the docs (Nick Craig-Wood)
        * obscure: Write more help as we are referencing it elsewhere (Nick Craig-Wood)
* VFS
    * Fix OS vs Unix path confusion - fixes ChangeNotify on Windows (Nick Craig-Wood)
* Drive
    * Fix missing items when listing using --fast-list / ListR (Nick Craig-Wood)
* Putio
    * Fix panic on Object.Open (Cenk Alti)
* S3
    * Fix upload of single files into buckets without create permission (Nick Craig-Wood)
    * Fix --header-upload (Nick Craig-Wood)
* Tardigrade
    * Fix listing bug by upgrading to v1.0.7
    * Set UserAgent to rclone (Caleb Case)

   v1.52.0 - 2020-05-27

Special thanks to Martin Michlmayr for proof reading and correcting
all the docs and Edward Barker for helping re-write the front page.

[See commits](https://github.com/rclone/rclone/compare/v1.51.0...v1.52.0)

* New backends
    * [Tardigrade](/tardigrade/) backend for use with storj.io (Caleb Case)
    * [Union](/union/) re-write to have multiple writable remotes (Max Sum)
    * [Seafile](/seafile) for Seafile server (Fred @creativeprojects)
* New commands
    * backend: command for backend specific commands (see backends) (Nick Craig-Wood)
    * cachestats: Deprecate in favour of `rclone backend stats cache:` (Nick Craig-Wood)
    * dbhashsum: Deprecate in favour of `rclone hashsum DropboxHash` (Nick Craig-Wood)
* New Features
    * Add `--header-download` and `--header-upload` flags for setting HTTP headers when uploading/downloading (Tim Gallant)
    * Add `--header` flag to add HTTP headers to every HTTP transaction (Nick Craig-Wood)
    * Add `--check-first` to do all checking before starting transfers (Nick Craig-Wood)
    * Add `--track-renames-strategy` for configurable matching criteria for `--track-renames` (Bernd Schoolmann)
    * Add `--cutoff-mode` hard,soft,catious (Shing Kit Chan & Franklyn Tackitt)
    * Filter flags (eg `--files-from -`) can read from stdin (fishbullet)
    * Add `--error-on-no-transfer` option (Jon Fautley)
    * Implement `--order-by xxx,mixed` for copying some small and some big files (Nick Craig-Wood)
    * Allow `--max-backlog` to be negative meaning as large as possible (Nick Craig-Wood)
    * Added `--no-unicode-normalization` flag to allow Unicode filenames to remain unique (Ben Zenker)
    * Allow `--min-age`/`--max-age` to take a date as well as a duration (Nick Craig-Wood)
    * Add rename statistics for file and directory renames (Nick Craig-Wood)
    * Add statistics output to JSON log (reddi)
    * Make stats be printed on non-zero exit code (Nick Craig-Wood)
    * When running `--password-command` allow use of stdin (Sébastien Gross)
    * Stop empty strings being a valid remote path (Nick Craig-Wood)
    * accounting: support WriterTo for less memory copying (Nick Craig-Wood)
    * build
        * Update to use go1.14 for the build (Nick Craig-Wood)
        * Add `-trimpath` to release build for reproduceable builds (Nick Craig-Wood)
        * Remove GOOS and GOARCH from Dockerfile (Brandon Philips)
    * config
        * Fsync the config file after writing to save more reliably (Nick Craig-Wood)
        * Add `--obscure` and `--no-obscure` flags to `config create`/`update` (Nick Craig-Wood)
        * Make `config show` take `remote:` as well as `remote` (Nick Craig-Wood)
    * copyurl: Add `--no-clobber` flag (Denis)
    * delete: Added `--rmdirs` flag to delete directories as well (Kush)
    * filter: Added `--files-from-raw` flag (Ankur Gupta)
    * genautocomplete: Add support for fish shell (Matan Rosenberg)
    * log: Add support for syslog LOCAL facilities (Patryk Jakuszew)
    * lsjson: Add `--hash-type` parameter and use it in lsf to speed up hashing (Nick Craig-Wood)
    * rc
        * Add `-o`/`--opt` and `-a`/`--arg` for more structured input (Nick Craig-Wood)
        * Implement `backend/command` for running backend specific commands remotely (Nick Craig-Wood)
        * Add `mount/mount` command for starting `rclone mount` via the API (Chaitanya)
    * rcd: Add Prometheus metrics support (Gary Kim)
    * serve http
        * Added a `--template` flag for user defined markup (calistri)
        * Add Last-Modified headers to files and directories (Nick Craig-Wood)
    * serve sftp: Add support for multiple host keys by repeating `--key` flag (Maxime Suret)
    * touch: Add `--localtime` flag to make `--timestamp` localtime not UTC (Nick Craig-Wood)
* Bug Fixes
    * accounting
        * Restore "Max number of stats groups reached" log line (Michał Matczuk)
        * Correct exitcode on Transfer Limit Exceeded flag. (Anuar Serdaliyev)
        * Reset bytes read during copy retry (Ankur Gupta)
        * Fix race clearing stats (Nick Craig-Wood)
    * copy: Only create empty directories when they don't exist on the remote (Ishuah Kariuki)
    * dedupe: Stop dedupe deleting files with identical IDs (Nick Craig-Wood)
    * oauth
        * Use custom http client so that `--no-check-certificate` is honored by oauth token fetch (Mark Spieth)
        * Replace deprecated oauth2.NoContext (Lars Lehtonen)
    * operations
        * Fix setting the timestamp on Windows for multithread copy (Nick Craig-Wood)
        * Make rcat obey `--ignore-checksum` (Nick Craig-Wood)
        * Make `--max-transfer` more accurate (Nick Craig-Wood)
    * rc
        * Fix dropped error (Lars Lehtonen)
        * Fix misplaced http server config (Xiaoxing Ye)
        * Disable duplicate log (ElonH)
    * serve dlna
        * Cds: don't specify childCount at all when unknown (Dan Walters)
        * Cds: use modification time as date in dlna metadata (Dan Walters)
    * serve restic: Fix tests after restic project removed vendoring (Nick Craig-Wood)
    * sync
        * Fix incorrect "nothing to transfer" message using `--delete-before` (Nick Craig-Wood)
        * Only create empty directories when they don't exist on the remote (Ishuah Kariuki)
* Mount
    * Add `--async-read` flag to disable asynchronous reads (Nick Craig-Wood)
    * Ignore `--allow-root` flag with a warning as it has been removed upstream (Nick Craig-Wood)
    * Warn if `--allow-non-empty` used on Windows and clarify docs (Nick Craig-Wood)
    * Constrain to go1.13 or above otherwise bazil.org/fuse fails to compile (Nick Craig-Wood)
    * Fix fail because of too long volume name (evileye)
    * Report 1PB free for unknown disk sizes (Nick Craig-Wood)
    * Map more rclone errors into file systems errors (Nick Craig-Wood)
    * Fix disappearing cwd problem (Nick Craig-Wood)
    * Use ReaddirPlus on Windows to improve directory listing performance (Nick Craig-Wood)
    * Send a hint as to whether the filesystem is case insensitive or not (Nick Craig-Wood)
    * Add rc command `mount/types` (Nick Craig-Wood)
    * Change maximum leaf name length to 1024 bytes (Nick Craig-Wood)
* VFS
    * Add `--vfs-read-wait` and `--vfs-write-wait` flags to control time waiting for a sequential read/write (Nick Craig-Wood)
    * Change default `--vfs-read-wait` to 20ms (it was 5ms and not configurable) (Nick Craig-Wood)
    * Make `df` output more consistent on a rclone mount. (Yves G)
    * Report 1PB free for unknown disk sizes (Nick Craig-Wood)
    * Fix race condition caused by unlocked reading of Dir.path (Nick Craig-Wood)
    * Make File lock and Dir lock not overlap to avoid deadlock (Nick Craig-Wood)
    * Implement lock ordering between File and Dir to eliminate deadlocks (Nick Craig-Wood)
    * Factor the vfs cache into its own package (Nick Craig-Wood)
    * Pin the Fs in use in the Fs cache (Nick Craig-Wood)
    * Add SetSys() methods to Node to allow caching stuff on a node (Nick Craig-Wood)
    * Ignore file not found errors from Hash in Read.Release (Nick Craig-Wood)
    * Fix hang in read wait code (Nick Craig-Wood)
* Local
    * Speed up multi thread downloads by using sparse files on Windows (Nick Craig-Wood)
    * Implement `--local-no-sparse` flag for disabling sparse files (Nick Craig-Wood)
    * Implement `rclone backend noop` for testing purposes (Nick Craig-Wood)
    * Fix "file not found" errors on post transfer Hash calculation (Nick Craig-Wood)
* Cache
    * Implement `rclone backend stats` command (Nick Craig-Wood)
    * Fix Server Side Copy with Temp Upload (Brandon McNama)
    * Remove Unused Functions (Lars Lehtonen)
    * Disable race tests until bbolt is fixed (Nick Craig-Wood)
    * Move methods used for testing into test file (greatroar)
    * Add Pin and Unpin and canonicalised lookup (Nick Craig-Wood)
    * Use proper import path go.etcd.io/bbolt (Robert-André Mauchin)
* Crypt
    * Calculate hashes for uploads from local disk (Nick Craig-Wood)
        * This allows crypted Jottacloud uploads without using local disk
        * This means crypted s3/b2 uploads will now have hashes
    * Added `rclone backend decode`/`encode` commands to replicate functionality of `cryptdecode` (Anagh Kumar Baranwal)
    * Get rid of the unused Cipher interface as it obfuscated the code (Nick Craig-Wood)
* Azure Blob
    * Implement streaming of unknown sized files so `rcat` is now supported (Nick Craig-Wood)
    * Implement memory pooling to control memory use (Nick Craig-Wood)
    * Add `--azureblob-disable-checksum` flag (Nick Craig-Wood)
    * Retry `InvalidBlobOrBlock` error as it may indicate block concurrency problems (Nick Craig-Wood)
    * Remove unused `Object.parseTimeString()` (Lars Lehtonen)
    * Fix permission error on SAS URL limited to container (Nick Craig-Wood)
* B2
    * Add support for `--header-upload` and `--header-download` (Tim Gallant)
    * Ignore directory markers at the root also (Nick Craig-Wood)
    * Force the case of the SHA1 to lowercase (Nick Craig-Wood)
    * Remove unused `largeUpload.clearUploadURL()` (Lars Lehtonen)
* Box
    * Add support for `--header-upload` and `--header-download` (Tim Gallant)
    * Implement About to read size used (Nick Craig-Wood)
    * Add token renew function for jwt auth (David Bramwell)
    * Added support for interchangeable root folder for Box backend (Sunil Patra)
    * Remove unnecessary iat from jws claims (David)
* Drive
    * Follow shortcuts by default, skip with `--drive-skip-shortcuts` (Nick Craig-Wood)
    * Implement `rclone backend shortcut` command for creating shortcuts (Nick Craig-Wood)
    * Added `rclone backend` command to change `service_account_file` and `chunk_size` (Anagh Kumar Baranwal)
    * Fix missing files when using `--fast-list` and `--drive-shared-with-me` (Nick Craig-Wood)
    * Fix duplicate items when using `--drive-shared-with-me` (Nick Craig-Wood)
    * Extend `--drive-stop-on-upload-limit` to respond to `teamDriveFileLimitExceeded`. (harry)
    * Don't delete files with multiple parents to avoid data loss (Nick Craig-Wood)
    * Server side copy docs use default description if empty (Nick Craig-Wood)
* Dropbox
    * Make error insufficient space to be fatal (harry)
    * Add info about required redirect url (Elan Ruusamäe)
* Fichier
    * Add support for `--header-upload` and `--header-download` (Tim Gallant)
    * Implement custom pacer to deal with the new rate limiting (buengese)
* FTP
    * Fix lockup when using concurrency limit on failed connections (Nick Craig-Wood)
    * Fix lockup on failed upload when using concurrency limit (Nick Craig-Wood)
    * Fix lockup on Close failures when using concurrency limit (Nick Craig-Wood)
    * Work around pureftp sending spurious 150 messages (Nick Craig-Wood)
* Google Cloud Storage
    * Add support for `--header-upload` and `--header-download` (Nick Craig-Wood)
    * Add `ARCHIVE` storage class to help (Adam Stroud)
    * Ignore directory markers at the root (Nick Craig-Wood)
* Googlephotos
    * Make the start year configurable (Daven)
    * Add support for `--header-upload` and `--header-download` (Tim Gallant)
    * Create feature/favorites directory (Brandon Philips)
    * Fix "concurrent map write" error (Nick Craig-Wood)
    * Don't put an image in error message (Nick Craig-Wood)
* HTTP
    * Improved directory listing with new template from Caddy project (calisro)
* Jottacloud
    * Implement `--jottacloud-trashed-only` (buengese)
    * Add support for `--header-upload` and `--header-download` (Tim Gallant)
    * Use `RawURLEncoding` when decoding base64 encoded login token (buengese)
    * Implement cleanup (buengese)
    * Update docs regarding cleanup, removed remains from old auth, and added warning about special mountpoints. (albertony)
* Mailru
    * Describe 2FA requirements (valery1707)
* Onedrive
    * Implement `--onedrive-server-side-across-configs` (Nick Craig-Wood)
    * Add support for `--header-upload` and `--header-download` (Tim Gallant)
    * Fix occasional 416 errors on multipart uploads (Nick Craig-Wood)
    * Added maximum chunk size limit warning in the docs (Harry)
    * Fix missing drive on config (Nick Craig-Wood)
    * Make error `quotaLimitReached` to be fatal (harry)
* Opendrive
    * Add support for `--header-upload` and `--header-download` (Tim Gallant)
* Pcloud
    * Added support for interchangeable root folder for pCloud backend (Sunil Patra)
    * Add support for `--header-upload` and `--header-download` (Tim Gallant)
    * Fix initial config "Auth state doesn't match" message (Nick Craig-Wood)
* Premiumizeme
    * Add support for `--header-upload` and `--header-download` (Tim Gallant)
    * Prune unused functions (Lars Lehtonen)
* Putio
    * Add support for `--header-upload` and `--header-download` (Nick Craig-Wood)
    * Make downloading files use the rclone http Client (Nick Craig-Wood)
    * Fix parsing of remotes with leading and trailing / (Nick Craig-Wood)
* Qingstor
    * Make `rclone cleanup` remove pending multipart uploads older than 24h (Nick Craig-Wood)
    * Try harder to cancel failed multipart uploads (Nick Craig-Wood)
    * Prune `multiUploader.list()` (Lars Lehtonen)
    * Lint fix (Lars Lehtonen)
* S3
    * Add support for `--header-upload` and `--header-download` (Tim Gallant)
    * Use memory pool for buffer allocations (Maciej Zimnoch)
    * Add SSE-C support for AWS, Ceph, and MinIO (Jack Anderson)
    * Fail fast multipart upload (Michał Matczuk)
    * Report errors on bucket creation (mkdir) correctly (Nick Craig-Wood)
    * Specify that Minio supports URL encoding in listings (Nick Craig-Wood)
    * Added 500 as retryErrorCode (Michał Matczuk)
    * Use `--low-level-retries` as the number of SDK retries (Aleksandar Janković)
    * Fix multipart abort context (Aleksandar Jankovic)
    * Replace deprecated `session.New()` with `session.NewSession()` (Lars Lehtonen)
    * Use the provided size parameter when allocating a new memory pool (Joachim Brandon LeBlanc)
    * Use rclone's low level retries instead of AWS SDK to fix listing retries (Nick Craig-Wood)
    * Ignore directory markers at the root also (Nick Craig-Wood)
    * Use single memory pool (Michał Matczuk)
    * Do not resize buf on put to memBuf (Michał Matczuk)
    * Improve docs for `--s3-disable-checksum` (Nick Craig-Wood)
    * Don't leak memory or tokens in edge cases for multipart upload (Nick Craig-Wood)
* Seafile
    * Implement 2FA (Fred)
* SFTP
    * Added `--sftp-pem-key` to support inline key files (calisro)
    * Fix post transfer copies failing with 0 size when using `set_modtime=false` (Nick Craig-Wood)
* Sharefile
    * Add support for `--header-upload` and `--header-download` (Tim Gallant)
* Sugarsync
    * Add support for `--header-upload` and `--header-download` (Tim Gallant)
* Swift
    * Add support for `--header-upload` and `--header-download` (Nick Craig-Wood)
    * Fix cosmetic issue in error message (Martin Michlmayr)
* Union
    * Implement multiple writable remotes (Max Sum)
    * Fix server-side copy (Max Sum)
    * Implement ListR (Max Sum)
    * Enable ListR when upstreams contain local (Max Sum)
* WebDAV
    * Add support for `--header-upload` and `--header-download` (Tim Gallant)
    * Fix `X-OC-Mtime` header for Transip compatibility (Nick Craig-Wood)
    * Report full and consistent usage with `about` (Yves G)
* Yandex
    * Add support for `--header-upload` and `--header-download` (Tim Gallant)
2020-06-14 18:25:17 +08:00
ElonH
4db833bfbe RcloneNg: bump version to 0.3.2 (#4810)
* RcloneNg: bump version to 0.3.1

  Changelog

    [0.3.1](https://github.com/ElonH/RcloneNg/compare/v0.3.0...v0.3.1) (2020-06-13)

    Features

* **about:** show changelog ([9d7bea5](9d7bea5f62))
* **breadcurmb:** edit mode, double click to edit path. double again, back to normal ([60c57b4](60c57b4368))
* **file.detail:** enable download file ([1f578f7](1f578f7d54))
* **file.detail:** show spaces usage in file detail if selected is directory ([ff27df9](ff27df9161))
* **list-view:** expend click area of checkbox to improving user experience ([988a219](988a219dbb))
* **manager:** push a message to toastr before creating directory ([9e1091a](9e1091a1f1))
* **pages:** add star button ([5c23b9b](5c23b9bfe3))
* **server-setting:** adding more description in schema ([4eee2f5](4eee2f55d9))
* **server-setting:** provide a powerful schema for server setting ([67223bf](67223bf7e4))

    Bug Fixes

* check if "rc.Serve" is enabled in server options before downloading file ([6a484ca](6a484ca3a7))
* remove debug code ([b5cb23c](b5cb23c9db))
* **breadcurmb:** set cursor as poniter in breadcurmb item ([f014edc](f014edc11e))
* **changelog.md:** copy RcloneNg CHANGELOG.md only ([ef76e1e](ef76e1e589))
* **list-view:** disable double click in manipulations column ([0e0d825](0e0d825f57))
* **list-view:** disable double click surrounding area of checkbox ([bf03dd1](bf03dd173f))
* **list-view:** disable select types icon ([2ea540e](2ea540ec15))
* **manager:** show detail button when right sidebar is expended ([d69179e](d69179e36e))

* RcloneNg: bump version to 0.3.2

 Changelog

    [0.3.2](https://github.com/ElonH/RcloneNg/compare/v0.3.1...v0.3.2) (2020-06-14)

    Features

* **jobs-manager:** add animation on refresh button ([b7cc817](b7cc817b23))

    Bug Fixes

* **list-view:** table index except first page ([b9d7fcf](b9d7fcfb1c))
2020-06-14 18:25:00 +08:00
dingpengyu
925abfd272 更新 more.zh-cn.po
修复
restart 翻译 — 中文(中国): 重启, ID: 150
start 翻译 — 中文(中国): 启动, ID: 151
stop 翻译 — 中文(中国): 关闭, ID: 152
三个字符串的翻译错误
2020-06-14 05:29:12 +08:00
coolsnowwolf
cad7fb2a5a luci-app-ps3netsrv: add package luci 2020-06-13 00:27:53 +08:00
swxk
5715e22bbb Update trojan 1.16.0 (#4772)
* Update Makefile

* Update Makefile
2020-06-12 12:18:51 +08:00
ricksuzade-maker
e7e68c3352 Bump wireguard to v1.0.20200611 (#4778)
Bump wireguard to the newest version
2020-06-12 12:18:29 +08:00
ElonH
ad0a71dadc luci-app-nps: monitor uci configuration changes (#4784)
when uci configuration about nps has been changed, service doesn't
restart itself
2020-06-12 12:18:15 +08:00
hyird
299da0ae6c Update Makefile (#4776) 2020-06-11 17:19:12 +08:00
Jun Liu
8bf7ff9168 V2ray hash fix (#4773) 2020-06-11 17:18:52 +08:00
barton0426
468b3f5653 Update v2ray version to v4.24.2 (#4771) 2020-06-11 11:33:36 +08:00
AmadeusGhost
e707c9fb1b verysync: update to 1.4.1 (#4765) 2020-06-10 23:33:17 +08:00
coolsnowwolf
4676dd368c luci-app-unblockmusic: allow revert to <320Kbps mp3 2020-06-10 16:03:00 +08:00
coolsnowwolf
4798e5314b luci-app-unblockmusic: fix update version display 2020-06-10 16:01:15 +08:00
ElonH
2369979053 RcloneNg: bump version to 0.3.0 (#4757) 2020-06-10 13:10:29 +08:00
HiGarfield
e0c345df71 ppp: syncppp: further fix grep's regex match (#4623)
/etc/config/network这个文件里的写法可以各种各样,pppoe外面可以有引号,也可以没引号。proto与pppoe之间可以有不同类型、不同数量的空格(或Tab)。用uci show,可以把输出格式统一掉,省得考虑配置文件不同写法的区别。
2020-06-09 16:14:26 +08:00
hyird
bae6e7fc28 luci-app-frpc: add plugin "https2http" (#4754)
* Update config.lua

* Update frp

* Update frp.po
2020-06-09 16:11:41 +08:00
dingpengyu
5e37e2fdce Merge branch 'master' into zh_CN 2020-06-08 05:49:48 +08:00
Chuck
901efc2d12 default-settings: i18n: add space between Chinese and English characters (#4616) 2020-06-07 21:52:06 +08:00
dingpengyu
da331c5b34 更新 webadmin.po
修复符号
2020-06-07 11:28:14 +08:00
dingpengyu
5d4990f226 更新 vsftpd.po
修复符号
2020-06-07 11:26:36 +08:00
dingpengyu
5d17318c36 更新 samba4.po
修复符号
2020-06-07 11:21:55 +08:00
dingpengyu
af7295a7e2 remove 2020-06-07 11:20:25 +08:00
dingpengyu
c721c2768b 更新 luci-app-rclone.po
修复条目排序
2020-06-07 11:19:48 +08:00
dingpengyu
626b393bf0 统一翻译目录结构 2020-06-07 11:16:50 +08:00
dingpengyu
90e04aa14f 更新 qbittorrent.po
翻译新条目
修复符号
2020-06-07 11:11:09 +08:00
dingpengyu
edb9353889 更新 pppoe-relay.po
修复符号
2020-06-07 10:47:33 +08:00
dingpengyu
9e09f3fbd5 更新 nft-qos.po
修复符号
2020-06-07 10:45:38 +08:00
dingpengyu
1fd9d1de3f 更新 forked-daapd.po
修复符号
2020-06-07 10:42:50 +08:00
dingpengyu
0e98610329 更新 kodexplorer.po
修复符号
2020-06-07 10:41:09 +08:00
dingpengyu
c01f66c913 更新 filetransfer.po
优化翻译
2020-06-07 10:36:20 +08:00
dingpengyu
8dc4c4bf01 更新 cpufreq.po
修复翻译排序
2020-06-07 10:31:47 +08:00
dingpengyu
7453ca8d06 更新 adbyby.po
修复符号
2020-06-07 10:25:42 +08:00
dingpengyu
4832be27f6 更新 luci-i18n-sqm.po
修复翻译条目
2020-06-07 10:22:49 +08:00
dingpengyu
c873f61bb3 Poedit 自动修复了“more.zh-cn.po”文件中的无效内容。
该文件中包含重复的项目,这是不允许的,并且影响了该文件被使用。Poedit 修复了该问题,但您应该审阅任何已被标记为“需要处理”的翻译和纠正它们(如有必要)。
2020-06-07 10:18:02 +08:00
AmadeusGhost
f892bcdf96 treewide: adjust sysupgrade script (#4720)
This commit fix sysupgrade failed for bcm27xx.
2020-06-06 12:36:21 +08:00
ElonH
6ac928f1d5 Rclone-OpenWRT: upgrade (#4737)
* feat(rcloneng): an angular web application for rclone
* feat(backup): backup rclone configuration files during system upgrade
* 🐛 luci-app-rclone: rclone service without bash
* 🔇 filter out duplicate log
* 🐛 luci-app-rclone: proxy work around
* 📄 add license header
* rclone: set /etc/rclone/rclone.conf as default config path
2020-06-06 12:36:01 +08:00
coolsnowwolf
340f1bffaa ps3netsrv: add ps3netsrv allows you to stream games and ISOs over the network to your CFW PlayStation(R) 3 system 2020-06-04 16:38:42 +08:00
hyird
4b97e2a826 luci-app-frpc:fix translate (#4726)
Co-authored-by: hyird <1326606797@qq.com>
2020-06-04 15:48:42 +08:00
Aaron-lv
ee958e2bd3 Update v2ray-core to 4.23.4 (#4725) 2020-06-04 15:48:17 +08:00
Zeezorn
e2bbcd5ac2 update v2ray-core to 4.23.3 (#4716)
Fix
Issued an emergency fix for VMess weakness described in https://github.com/v2ray/v2ray-core/issues/2523
This fix can significantly hindrance attack based on the weakness described. Only servers need to be updated to apply this emergency fix, it not expected for well-behaved clients to be influenced. A more permanent solution is underway.
2020-06-03 12:10:15 +08:00
Max Zhao
d42b563e2f v2ray-plugin: update to 1.3.1 (#4709) 2020-06-01 22:01:44 +08:00
Max Zhao
939405f2cc v2ray: update v2ray-core to 4.23.2 (#4705) 2020-06-01 10:48:20 +08:00
Chuck
929f3953dd firewall: refresh 900-filter-aaaa.patch
Signed-off-by: Chuck <fanck0605@qq.com>
2020-05-31 15:39:00 +08:00
Kuma
ef2ebeeec4 Update UnblockNeteaseMusicGo server.crt (#4697) 2020-05-31 10:45:33 +08:00
R3pl4c3r
297a116933 luci-app-docker: rename dockerman (#4704) 2020-05-31 10:43:37 +08:00
AmadeusGhost
0f9db42950 baidupcs-web: correct download for arm (#4695) 2020-05-29 12:06:23 +08:00
coolsnowwolf
ab7e53e9ce baidupcs-web: fix token and add aira2 support 2020-05-28 17:35:38 +08:00
coolsnowwolf
1be41d9899 ipt2socks: bump to 1.1.2 fix udp relay bug 2020-05-27 12:46:18 +08:00
coolsnowwolf
bbe99b4fdf mac80211:update ath10k upstream patches 2020-05-27 11:58:24 +08:00
AmadeusGhost
6105915786 Wireless: rollback with mac80211 (#4683)
mt76: fix build
ath10k-ct: rollback to 4.19
Revert "iw/iwinfo/mwlwifi: bump version"
Revert "mac80211/5.4: fix build on kernel 4.9"
Revert "mac80211: switch to upstream owl-loader driver"
2020-05-27 11:45:56 +08:00
coolsnowwolf
d1f2153ca4 hostapd: disable wifi-reload 2020-05-27 00:17:15 +08:00
coolsnowwolf
bb3276ef05 mac80211: fix RT-ACRH17 2.4Ghz wifi performance issus 2020-05-26 23:18:25 +08:00
coolsnowwolf
458564b2b9 luci-app-adbyby-plus: add block douyin option 2020-05-26 19:09:01 +08:00
coolsnowwolf
f3339baf3c luci-app-unblockmusic: add force replace lower than 320kbps option 2020-05-26 18:33:09 +08:00
coolsnowwolf
052720804c Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-05-26 17:43:52 +08:00
coolsnowwolf
b32a75ed69 luci-app-unblockmusic: fix unlock PC and iOS at the same time in nodejs version 2020-05-26 17:43:43 +08:00
ricksuzade-maker
c289a1c598 Bump wireguard to 1.0.20200520 (#4675) 2020-05-26 15:29:36 +08:00
coolsnowwolf
dd25de3730 ramips: add redmi ac2100 pb-boot factory ubi format support 2020-05-26 15:17:00 +08:00
coolsnowwolf
79c0755674 Revert "luci-app-ipsec-vpnd: fix outboud rules with some China android phones"
This reverts commit 9206d58b34.
2020-05-25 23:01:48 +08:00
John Smith
6c741494f1 Update README.md (#4670)
纯净的ubuntu在搭建编译环境时会提示没有安装wget
2020-05-25 22:15:29 +08:00
AmadeusGhost
e54db866ab ar71xx: wdr8500: fix build on 4.14 (#4668) 2020-05-25 19:28:22 +08:00
monsterzzzz
db57362a97 make luci cifsd force_root option work (#4657) 2020-05-24 23:01:25 +08:00
AmadeusGhost
097f36d48c ipq40xx: fix dtc warning (#4660)
arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dtb: Warning (reg_format):
"reg" property in /led_spi/led_gpio@0 has invalid length (4 bytes)
(#address-cells == 1, #size-cells == 1)
arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dtb: Warning
(avoid_default_addr_size): Relying on default #size-cells value for
/led_spi/led_gpio@0
arch/arm/boot/dts/qcom-ipq4019-wpj419.dtb: Warning (reg_format):
/soc/spi@78b5000/flash0@0/partitions/partition@0:reg: property has
invalid length (8 bytes) (#size-cells == 1)

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-05-24 13:05:57 +08:00
coolsnowwolf
cd6e66d6e1 ramips:improve R6850 support 2020-05-23 00:14:36 +08:00
NivalXer
5ae70efb04 ramips: add support for Linksys EA7500 v2 (#4646)
* ramips: add support for Linksys EA7500 v2

* fix build

* fix build

* update build config
2020-05-22 10:53:12 +08:00
coolsnowwolf
35d87d547a ksmbd: bump version 2020-05-20 17:44:29 +08:00
coolsnowwolf
93c72e99da default-settings: replace 18.06.8 luci seed 2020-05-20 10:25:03 +08:00
lyin
01045fbb60 add fuse-utils (#4621)
缺少fuse-utils模块,导致rclone 无法运行。
2020-05-20 10:02:29 +08:00
Hugo Yuan
31cc9922ac luci-app-unblockmusic: Refresh ipset music list when ifup (#4576)
* luci-app-unblockmusic: Refresh ipset music list when ifup

* Update 099-unblockmusic
2020-05-20 10:02:10 +08:00
AmadeusGhost
1457fa8e97 ar71xx: add support for TP-LINK TL-WDR8500 v1 (#4615)
This commit add support for the TP-LINK TL-WDR8500 v1

SOC:	Qualcomm QCA9563 775MHz
RAM:    128MB M14D1G1664A-2.5B DDR2
FLASH:  8MB Winbond 25Q64FVSIG
WLAN1:  QCA9563 2.4GHz 802.11b/g/n 3x3
WLAN2:  QCA9984 5GHz 802.11 n/ac 4x4
Ethernet: 5 x 1000Mbps (1wan, 4lan)

Installation via breed:
Flash into breed-qca956x-uart_rx18_tx22-reset1.bin,
and then edit the environment variables:
  Field: autoboot.command
  Value: boot mem 0x9f020200

From https://www.right.com.cn/forum/thread-328619-1-1.html

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-05-20 10:00:51 +08:00
Hugo Yuan
4685f86c44 UnblockNeteaseMusic: bump to 0.25.3 (#4624) 2020-05-20 09:59:50 +08:00
MkfsSion
684c112b40 gdb: Fix build on AArch64 (#4619)
* Tested on RaspberryPi 4B(bcm2711)

Signed-off-by: MkfsSion <mkfssion@mkfssion.com>
2020-05-18 09:37:14 +08:00
Chuck
8f9bc86de1 ppp: syncppp: fix grep's regex match (#4609) 2020-05-15 20:10:48 +08:00
ricksuzade-maker
e48e438b08 Bump wireguard-tool to 1.0.20200513 (#4608) 2020-05-14 15:32:39 +08:00
coolsnowwolf
a71c8a8edd add Xiaoma v1 small photo 2020-05-14 15:30:44 +08:00
coolsnowwolf
6fa059ada4 add Xiaoma v1 small photo 2020-05-14 15:28:39 +08:00
coolsnowwolf
eabac3a457 add Xiaoma v1 small photo 2020-05-14 15:25:09 +08:00
coolsnowwolf
1fda4b59b1 add Xiaoma v1 recommendation 2020-05-14 15:22:39 +08:00
coolsnowwolf
ed5b3a43bf add Xiaoma v1 recommendation 2020-05-14 15:20:50 +08:00
ricksuzade-maker
7fe52a9f0b Bump wireguard-tools to 1.0.20200510 (#4598) 2020-05-13 13:28:58 +08:00
AmadeusGhost
c985a54a61 kernel: bump to 4.9.223, 4.14.180, 4.19.122 (#4600)
* kernel: bump 4.9 to 4.9.223

Refreshed all patches.

Fixes:
- CVE-2020-12114

Compile-tested on: ar71xx
Runtime-tested on: ar71xx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.14 to 4.14.180

Refreshed all patches.

Fixes:
- CVE-2020-12114
- CVE-2020-11669

Compile-tested on: pistachio
Runtime-tested on: none

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.19 to 4.19.122

Refreshed all patches.

Remove upstreamed:
- 551-loop-Better-discard-support-for-block-devices.patch

Fixed:
- CVE-2020-11884
- CVE-2020-12114
- CVE-2019-3016
- CVE-2020-11669

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

Co-authored-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-05-13 13:28:43 +08:00
HQ Ong
8ad037aed4 luci-app-frpc: Add ACL rule to compliance with new Luci (#4586)
New Luci sucks...
2020-05-12 19:00:33 +08:00
AmadeusGhost
5591c36728 Revert "ipq40xx: update ath10k firmware" (#4590)
This reverts commit 2c37fa71f9.
2020-05-12 18:58:46 +08:00
coolsnowwolf
1428e0eeed ipq40xx: ignore some debug info 2020-05-11 16:22:05 +08:00
coolsnowwolf
bd00ced2f6 brcm47xx: let K3 using 160Mhz firmware 2020-05-11 15:52:49 +08:00
AmadeusGhost
839522a0c7 mac80211: correct target name for bcm (#4575) 2020-05-11 15:42:59 +08:00
coolsnowwolf
b65f1ebf00 mt76: bump to lastest version 2020-05-09 16:48:42 +08:00
coolsnowwolf
f26c892a0b Version bump to R20.5.9 2020-05-09 15:39:00 +08:00
coolsnowwolf
58d4e7f906 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-05-09 15:36:59 +08:00
coolsnowwolf
de279cbd29 ramips: unlock Bootloader for Redmi AC2100 2020-05-09 15:36:49 +08:00
AmadeusGhost
9c732c877d ipq40xx: adjust switch configuration for netgear ex61x0v2 (#4550) 2020-05-09 15:05:57 +08:00
manyeechen
7c2d28fbae npc:bump version to 0.26.7 (#4569)
add:
api /client/list 添加获取服务端连接host和连接类型 #483
添加自定义客户端断开时间 #485
fix:
web手机浏览输入框或者按钮被遮挡问题,感谢 @kekxv
android客户端无法粘贴的问题 #479
p2p 由于上个版本的一些改动造成无法使用的问题 #515
2020-05-09 15:05:39 +08:00
Hugo Yuan
b7be5fd5fa UnblockNeteaseMusic: bump to 0.25.0 (#4570) 2020-05-09 15:05:25 +08:00
coolsnowwolf
f231323db5 luci-app-frps: fix disable when upgrade 2020-05-09 15:03:44 +08:00
coolsnowwolf
2c37fa71f9 ipq40xx: update ath10k firmware 2020-05-09 14:36:43 +08:00
HiGarfield
82792a1d11 luci-app-openvpn-server: avoid repeated forwarding rules (#4558)
Fix the bug that flashing firmware multiple times will cause repeated forwarding rules in firewall.
2020-05-08 20:43:27 +08:00
ricksuzade-maker
585ca34a6b Bump wireguard to version 1.0.20200506 (#4560) 2020-05-08 20:42:57 +08:00
lunatickochiya
b689600046 luci-app-openvpn-server:add lan to vpn forwarding (#4553)
we can control client directly by adding this forwarding 
also use uci -q batch commands can lead start router faster
2020-05-06 23:34:18 +08:00
lunatickochiya
b80d00eede luci-app-openvpn-server:fix start crash in AR9341 (#4540)
just one uci commit in script 
too many commits may crash start in AR9341 routers
2020-05-06 00:13:25 +08:00
ricksuzade-maker
5b88caedf6 Bump wireguard to 1.0.20200429 (#4536) 2020-05-04 18:24:01 +08:00
LitingLin
d71dc69844 make compatible with new upstream Luci requirement (#4529) 2020-05-04 10:55:07 +08:00
AmadeusGhost
9f90d1abd4 Redmi AC2100: adjust switch configuration (#4528) 2020-05-04 00:43:17 +08:00
AmadeusGhost
23378ed9a4 netifd: add dynamic wireless reconfiguration (#4518)
Set new option 'reconf' in 'wifi-device' section to enable dynamic re-configuration on that radio. Also fix wifi relay and 'netifd: radio1 (9654): Command failed'.
2020-05-02 19:11:45 +08:00
AmadeusGhost
1a44b8d74f ramips: fix build error (#4508) 2020-05-02 07:30:25 +08:00
AmadeusGhost
3c510baf47 ramips: fix support for Redmi AC2100 (#4500)
This commit fix switch and image config for Redmi AC2100.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-05-01 22:37:45 +08:00
coolsnowwolf
01aeb5df0e ramips: Add support for Xiaomi Redmi Router AC2100 (RM2100) 2020-05-01 12:23:28 +08:00
coolsnowwolf
d0cc3d0230 luci-app-qbittorrent: update python3 for search 2020-05-01 11:53:30 +08:00
ardanzhu
21b36d6f9f Update to frp 0.33.0 version (#4486) 2020-05-01 11:48:08 +08:00
AmadeusGhost
a5c4c8899c linux-firmware: enable qca4019 (#4488) 2020-05-01 11:47:50 +08:00
coolsnowwolf
f2f84a682e jquery v3.5.0 mark 2020-04-30 11:31:31 +08:00
coolsnowwolf
e3e03876c2 add rclone package and luci-app-rclone 2020-04-30 10:14:30 +08:00
coolsnowwolf
6cdf4ded1f ath10k-firmware: move CT firmwares to new package 2020-04-30 10:11:11 +08:00
AmadeusGhost
4b53337af7 ipq40xx: correct device packages (#4450) 2020-04-29 13:32:07 +08:00
lunatickochiya
11848e8b43 shadowsocksr-libev:reduce file size (#4467)
参数来源:c54a826086 (diff-517378957dd5ecc51358b1ae79836edb)
经测试,对于ssr也可以优化
测试平台:ar71xx ramips
2020-04-28 13:58:13 +08:00
coolsnowwolf
cbba577f6d Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-04-27 12:50:13 +08:00
coolsnowwolf
4787dbaf3c mac80211: ath10k: increase rx buffer size to 2048 2020-04-27 12:49:57 +08:00
Chuck
55e06fdb00 dropbear: only bind lan by default (#4456) 2020-04-27 12:31:07 +08:00
coolsnowwolf
a818d7e5da Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-04-27 12:30:33 +08:00
coolsnowwolf
404ec5fa84 ipq40xx: adjust pacakge 2020-04-27 12:30:22 +08:00
Mattraks
a561416254 v2ray-plugin:Add GOPROXY support (#4421) 2020-04-27 00:57:24 +08:00
coolsnowwolf
b0fd180162 Revert "mac80211 ath10k: increase rx buffer size to 2048"
This reverts commit 2c0a9d403e.
2020-04-26 16:37:04 +08:00
coolsnowwolf
9206d58b34 luci-app-ipsec-vpnd: fix outboud rules with some China android phones 2020-04-26 16:20:39 +08:00
coolsnowwolf
fcfde03578 UnblockNeteaseMusic: update search api 2020-04-26 16:09:40 +08:00
coolsnowwolf
4306c245cf generic: fix flow table hw offload 2020-04-26 15:36:41 +08:00
coolsnowwolf
f43d194449 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-04-26 15:28:01 +08:00
coolsnowwolf
2c0a9d403e mac80211 ath10k: increase rx buffer size to 2048 2020-04-26 15:27:50 +08:00
wybb
ceb6d06fd0 fix xlnetacc logout (#4422)
迅雷快鸟openwrt的原作者项目:https://github.com/sensec/luci-app-xlnetacc/blob/master/files/root/etc/init.d/xlnetacc
原项目并没有采用kill -9的强杀方式
lean项目中迁移后的版本使用kill -9会导致不能正确注销,从而产生如下问题。
1、luci 快鸟web界面中切换从“启用”切换为“不启用”后,短期内无法停止提速效果(因为只是强杀xlnetacc.sh)
2、强杀将导致未注销就丢失了最近一次的sessionid(该变量为xlnetacc.sh的临时变量,强杀后就丢失了)。根据迅雷快鸟的官方规则,在前一次未注销的情况下,假如ip变化,那么新ip在24小时内将无法再次加速。
所以导致了在
a.重启路由
b.重启光猫
c.重新插拔光猫网线
d.web界面中手工停用快鸟后又进行了重新拨号

这些操作都将导致24小时内无法再次提速

原始项目中采用不加-9的kill能够安全发送信号导致注销操作
2020-04-26 15:25:46 +08:00
R3pl4c3r
a7664194db README.md: Add dependent package for Ubuntu 20.04 (#4432) 2020-04-25 11:08:22 +08:00
AmadeusGhost
463b6ac050 mac80211: fixed slow wireless startup (#4420)
* hostapd: reduce to a single instance per service

* mac80211: sync upstream source code

* iw: bump to 5.4
2020-04-23 16:42:46 +08:00
CN_SZTL
fc7ff01576 openssl: bump to 1.1.1g (#4415)
Fixes NULL dereference in SSL_check_chain() for TLS 1.3, marked with
high severity, assigned CVE-2020-1967.

Ref: https://www.openssl.org/news/secadv/20200421.txt

Cherry-pick from openwrt/openwrt@3773ae1.
Also add mirror for mainland China user in this commit.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>

Co-authored-by: Petr Štetiar <ynezz@true.cz>
2020-04-23 10:47:31 +08:00
lunatickochiya
f1c10fda60 gcc:use the main make jobserver to install gcc (#3690)
This can speed up building toolchain
2020-04-21 15:36:07 +08:00
CN_SZTL
3bb1af32ad mbedtls: update to 2.16.6 (#4387)
Security fixes for:
* CVE-2020-10932
* a potentially remotely exploitable buffer overread in a DTLS client
* bug in DTLS handling of new associations with the same parameters

Full release announement:
https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.6-and-2.7.15-released

Cherry-pick from: openwrt/openwrt@02fcbe2.

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>

Co-authored-by: Magnus Kroken <mkroken@gmail.com>
2020-04-20 21:04:48 +08:00
CN_SZTL
b20f9a70dc luci-app-unblockmusic: drop outdated server (#4386) 2020-04-20 21:02:20 +08:00
AmadeusGhost
c33118190f bcm63xx: refresh patches (#4372) 2020-04-19 14:31:01 +08:00
Kui Wu
b7e9fc662c luci-app-frpc: add proxy_protocol_version option for proxy config (#4370) 2020-04-18 20:20:40 +08:00
ricksuzade-maker
b8f8afb7d0 Bump wireguard to 1.0.20200413 (#4361)
Bump to the newest version of wireguard
2020-04-18 11:20:24 +08:00
Xiaok
639f3631e8 n2n: update to v2.6.0-stable (#4349) 2020-04-17 11:51:15 +08:00
AmadeusGhost
9448672845 kernel: bump to 4.9.219, 4.14.176, 4.19.115 (#4350)
* kernel: bump 4.14 to 4.14.176

Refreshed all patches.

Remove upstreamed:
- 0001-net-thunderx-workaround-BGX-TX-Underflow-issue.patch
- 600-ipv6-addrconf-call-ipv6_mc_up-for-non-Ethernet-inter.patch
- 184-USB-serial-option-add-Wistron-Neweb-D19Q1.patch

Fixes:
- CVE-2020-8648 (potentially)
- CVE-2020-8647
- CVE-2020-8649

Compile-tested on: cns3xxx, octeontx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.19 to 4.19.115

Remove upstreamed:
- 600-ipv6-addrconf-call-ipv6_mc_up-for-non-Ethernet-inter.patch
- 184-USB-serial-option-add-Wistron-Neweb-D19Q1.patch

Fixes:
- CVE-2020-8647
- CVE-2020-8648 (potentially)
- CVE-2020-8649

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.9 to 4.9.219

Refreshed all patches.

Altered patches:
- 0026-NET-multi-phy-support.patch

Fixes:
- CVE-2020-8647
- CVE-2020-8648 (Potentially)
- CVE-2020-8649

Compile-tested on: ar71xx
Runtime-tested on: ar71xx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-04-17 11:50:34 +08:00
Chongnuo Ji
6b142baa3d Update README.md (#4290)
Correct the make download command: V should be in capital to work.
2020-04-17 00:45:25 +08:00
Chuck
5f3f4e3566 netdevices.mk: fix SFC9x00 config(#4271) (#4328) 2020-04-17 00:45:03 +08:00
Xiaok
a5570642c6 frp: bump version to v0.32.1 and dos2unix for Makefile (#4338) 2020-04-16 16:12:16 +08:00
coolsnowwolf
d16a020193 update openwrt-ci.yml 2020-04-16 13:23:45 +08:00
coolsnowwolf
036efba3c1 hostapd: backport usleep patch 2020-04-16 12:59:49 +08:00
coolsnowwolf
af803f2569 update feeds.conf.default 2020-04-16 12:40:07 +08:00
fw876@outlook.com
be87dd430a Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-04-16 12:27:33 +08:00
fw876@outlook.com
988acf9daa remove obsolete package 2020-04-16 12:27:11 +08:00
AmadeusGhost
cc689609d6 ipq806x: 4.19: correct dts for m520 (#4330)
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-04-16 11:28:05 +08:00
18976 changed files with 3239032 additions and 1737153 deletions

View File

@@ -1,53 +1,101 @@
#
# This is free software, lisence use MIT.
#
# Copyright (C) 2019 P3TERX <https://p3terx.com>
# Copyright (C) 2019 KFERMercer <KFER.Mercer@gmail.com>
#
# <https://github.com/KFERMercer/OpenWrt-CI>
#
# Copyright (C) 2019 P3TERX
#
# Copyright (C) 2020 KFERMercer
#
#
# <https://github.com/KFERMercer/OpenWrt-CI>
#
# Copyright (C) 2019 P3TERX
#
# Copyright (C) 2020 KFERMercer
#
name: OpenWrt-CI
on:
schedule:
- cron: 0 20 * * *
push:
tags:
- '*'
release:
types: [published]
repository_dispatch:
workflow_dispatch:
permissions:
contents: read
jobs:
build_openwrt:
name: Build OpenWrt and release
runs-on: ubuntu-18.04
permissions:
contents: write # for release creation
name: Build OpenWrt firmware
runs-on: ubuntu-latest
if: github.event.repository.owner.id == github.event.sender.id || ! github.event.sender.id
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: master
ref: stable
- name: Space cleanup
env:
DEBIAN_FRONTEND: noninteractive
run: |
docker rmi `docker images -q`
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d
sudo -E apt-get -y purge azure-cli ghc* zulu* hhvm llvm* firefox google* dotnet* powershell openjdk* mysql* php*
sudo -E apt-get update
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler antlr3 gperf
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d /usr/local/lib/android
sudo -E apt-get -y purge azure-cli ghc* zulu* hhvm llvm* firefox google* dotnet* powershell openjdk* adoptopenjdk* mysql* php* mongodb* dotnet* moby* snapd* || true
sudo -E apt-get update
sudo -E apt-mark hold grub-efi-amd64-signed
sudo -E apt-get -y install ack antlr3 aria2 asciidoc autoconf automake autopoint binutils bison build-essential bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pip libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
pip3 install pyelftools
sudo -E apt-get -y autoremove --purge
sudo -E apt-get clean
df -h
- name: Update feeds
run: |
./scripts/feeds update -a
./scripts/feeds install -a
./scripts/feeds install -a -f
echo '
CONFIG_TARGET_rockchip=y
CONFIG_TARGET_rockchip_armv8=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_embedfire_doornet1=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_embedfire_doornet2=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_embedfire_lubancat-1=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_embedfire_lubancat-1n=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_embedfire_lubancat-2=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_embedfire_lubancat-2n=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_embedfire_lubancat-4=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_embedfire_lubancat-5=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_friendlyarm_nanopc-t6=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_friendlyarm_nanopi-r2c=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_friendlyarm_nanopi-r2s=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_friendlyarm_nanopi-r4s=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_friendlyarm_nanopi-r4se=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_friendlyarm_nanopi-r5c=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_friendlyarm_nanopi-r5s=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_friendlyarm_nanopi-r6c=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_friendlyarm_nanopi-r6s=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_hinlink_h88k=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_hinlink_opc-h66k=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_hinlink_opc-h68k=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_hinlink_opc-h69k=y
CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_radxa_zero-3e=y
CONFIG_TARGET_KERNEL_PARTSIZE=64
CONFIG_TARGET_ROOTFS_PARTSIZE=512
CONFIG_TARGET_ROOTFS_TARGZ=y
CONFIG_TARGET_ROOTFS_EXT4FS=y
CONFIG_TARGET_ROOTFS_SQUASHFS=y
' >> .config
- name: Generate configuration file
run: make defconfig
@@ -67,34 +115,40 @@ jobs:
du -h --max-depth=1 ./ --exclude=build_dir --exclude=bin
du -h --max-depth=1 ./build_dir
du -h --max-depth=1 ./bin
- name: Prepare artifact
run: find ./bin/targets/ -type d -name "packages" | xargs rm -rf {}
run: |
mkdir -p ./artifact/firmware
mkdir -p ./artifact/package
mkdir -p ./artifact/buildinfo
rm -rf $(find ./bin/targets/ -type d -name "packages")
cp -rf $(find ./bin/targets/ -type f) ./artifact/firmware/
cp -rf $(find ./bin/packages/ -type f -name "*.ipk") ./artifact/package/
cp -rf $(find ./bin/targets/ -type f -name "*.buildinfo" -o -name "*.manifest") ./artifact/buildinfo/
- name: Deliver buildinfo
uses: actions/upload-artifact@v3
with:
name: OpenWrt_buildinfo
path: ./artifact/buildinfo/
- name: Upload artifact
uses: actions/upload-artifact@master
- name: Deliver package
uses: actions/upload-artifact@v3
with:
name: OpenWrt_package
path: ./artifact/package/
- name: Deliver firmware
uses: actions/upload-artifact@v3
with:
name: OpenWrt_firmware
path: ./bin/targets/
- name: Create release
if: github.event == 'push'
id: create_release
uses: actions/create-release@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false
- name: Upload release asset
if: github.event == 'push'
id: upload-release-asset
uses: actions/upload-release-asset@v1.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: github.event == 'release'
uses: svenstaro/upload-release-action@v2
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./bin/targets/*/*/
repo_token: ${{ secrets.YOURTOKEN }}
file: ./artifact/firmware/*
tag: ${{ github.ref }}
file_glob: true

60
.gitignore vendored
View File

@@ -1,28 +1,32 @@
*.o
.DS_Store
.*.swp
/env
/dl
/.config
/.config.old
/bin
/build_dir
/staging_dir
/tmp
/logs
/feeds
/feeds.conf
/files
/overlay
/package/feeds
/package/openwrt-packages
key-build*
*.orig
*.rej
*~
.#*
*#
.emacs.desktop*
TAGS*~
git-src
.git-credentials
*.o
.DS_Store
.*.swp
/env
/dl
/.config
/.config.old
/bin
/build_dir
/staging_dir
/tmp
/logs
/feeds
/feeds.conf
/files
/overlay
/package/feeds
/package/openwrt-packages
/*.patch
key-build*
*.orig
*.rej
*~
.#*
*#
.emacs.desktop*
TAGS*~
git-src
.project
.cproject
.ccache
.vscode*

View File

@@ -1,7 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
world ${.TARGETS}:
@gmake $@

12
COPYING Normal file
View File

@@ -0,0 +1,12 @@
OpenWrt is provided under:
SPDX-License-Identifier: GPL-2.0-only
Being under the terms of the GNU General Public License version 2 only,
according with:
LICENSES/GPL-2.0
In addition, other licenses may also apply.
All contributions to OpenWrt are subject to this COPYING file.

View File

@@ -1,13 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2013 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
mainmenu "OpenWrt Configuration"
config MODULES
option modules
modules
bool
default y
@@ -15,6 +13,14 @@ config HAVE_DOT_CONFIG
bool
default y
HOST_OS := $(shell, uname)
config HOST_OS_LINUX
def_bool $(shell, ./config/check-uname.sh Linux)
config HOST_OS_MACOS
def_bool $(shell, ./config/check-uname.sh Darwin)
source "target/Config.in"
source "config/Config-images.in"

340
LICENSE
View File

@@ -1,340 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

32
LICENSES/BSD-2-Clause Normal file
View File

@@ -0,0 +1,32 @@
Valid-License-Identifier: BSD-2-Clause
SPDX-URL: https://spdx.org/licenses/BSD-2-Clause.html
Usage-Guide:
To use the BSD 2-clause "Simplified" License put the following SPDX
tag/value pair into a comment according to the placement guidelines in
the licensing rules documentation:
SPDX-License-Identifier: BSD-2-Clause
License-Text:
Copyright (c) <year> <owner> . All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

36
LICENSES/BSD-3-Clause Normal file
View File

@@ -0,0 +1,36 @@
Valid-License-Identifier: BSD-3-Clause
SPDX-URL: https://spdx.org/licenses/BSD-3-Clause.html
Usage-Guide:
To use the BSD 3-clause "New" or "Revised" License put the following SPDX
tag/value pair into a comment according to the placement guidelines in
the licensing rules documentation:
SPDX-License-Identifier: BSD-3-Clause
License-Text:
Copyright (c) <year> <owner> . All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

261
LICENSES/GPL-1.0 Normal file
View File

@@ -0,0 +1,261 @@
Valid-License-Identifier: GPL-1.0-or-later
Valid-License-Identifier: GPL-1.0+
SPDX-URL: https://spdx.org/licenses/GPL-1.0.html
Usage-Guide:
The GNU General Public License (GPL) version 1 should not be used in new
code. For existing kernel code the 'or any later version' option is
required to be compatible with the general license of the project: GPLv2.
To use the license in source code, put the following SPDX tag/value pair
into a comment according to the placement guidelines in the licensing
rules documentation:
SPDX-License-Identifier: GPL-1.0-or-later
License-Text:
GNU GENERAL PUBLIC LICENSE
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The license agreements of most software companies try to keep users
at the mercy of those companies. By contrast, our General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. The
General Public License applies to the Free Software Foundation's
software and to any other program whose authors commit to using it.
You can use it for your programs, too.
When we speak of free software, we are referring to freedom, not
price. Specifically, the General Public License is designed to make
sure that you have the freedom to give away or sell copies of free
software, that you receive source code or can get it if you want it,
that you can change the software or use pieces of it in new free
programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of a such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must tell them their rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any program or other work which
contains a notice placed by the copyright holder saying it may be
distributed under the terms of this General Public License. The
"Program", below, refers to any such program or work, and a "work based
on the Program" means either the Program or any work containing the
Program or a portion of it, either verbatim or with modifications. Each
licensee is addressed as "you".
1. You may copy and distribute verbatim copies of the Program's source
code as you receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice and
disclaimer of warranty; keep intact all the notices that refer to this
General Public License and to the absence of any warranty; and give any
other recipients of the Program a copy of this General Public License
along with the Program. You may charge a fee for the physical act of
transferring a copy.
2. You may modify your copy or copies of the Program or any portion of
it, and copy and distribute such modifications under the terms of Paragraph
1 above, provided that you also do the following:
a) cause the modified files to carry prominent notices stating that
you changed the files and the date of any change; and
b) cause the whole of any work that you distribute or publish, that
in whole or in part contains the Program or any part thereof, either
with or without modifications, to be licensed at no charge to all
third parties under the terms of this General Public License (except
that you may choose to grant warranty protection to some or all
third parties, at your option).
c) If the modified program normally reads commands interactively when
run, you must cause it, when started running for such interactive use
in the simplest and most usual way, to print or display an
announcement including an appropriate copyright notice and a notice
that there is no warranty (or else, saying that you provide a
warranty) and that users may redistribute the program under these
conditions, and telling the user how to view a copy of this General
Public License.
d) You may charge a fee for the physical act of transferring a
copy, and you may at your option offer warranty protection in
exchange for a fee.
Mere aggregation of another independent work with the Program (or its
derivative) on a volume of a storage or distribution medium does not bring
the other work under the scope of these terms.
3. You may copy and distribute the Program (or a portion or derivative of
it, under Paragraph 2) in object code or executable form under the terms of
Paragraphs 1 and 2 above provided that you also do one of the following:
a) accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of
Paragraphs 1 and 2 above; or,
b) accompany it with a written offer, valid for at least three
years, to give any third party free (except for a nominal charge
for the cost of distribution) a complete machine-readable copy of the
corresponding source code, to be distributed under the terms of
Paragraphs 1 and 2 above; or,
c) accompany it with the information you received as to where the
corresponding source code may be obtained. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form alone.)
Source code for a work means the preferred form of the work for making
modifications to it. For an executable file, complete source code means
all the source code for all modules it contains; but, as a special
exception, it need not include source code for modules which are standard
libraries that accompany the operating system on which the executable
file runs, or for standard header files or definitions files that
accompany that operating system.
4. You may not copy, modify, sublicense, distribute or transfer the
Program except as expressly provided under this General Public License.
Any attempt otherwise to copy, modify, sublicense, distribute or transfer
the Program is void, and will automatically terminate your rights to use
the Program under this License. However, parties who have received
copies, or rights to use copies, from you under this General Public
License will not have their licenses terminated so long as such parties
remain in full compliance.
5. By copying, distributing or modifying the Program (or any work based
on the Program) you indicate your acceptance of this license to do so,
and all its terms and conditions.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the original
licensor to copy, distribute or modify the Program subject to these
terms and conditions. You may not impose any further restrictions on the
recipients' exercise of the rights granted herein.
7. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of the license which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
the license, you may choose any version ever published by the Free Software
Foundation.
8. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
free software which everyone can redistribute and change under these
terms.
To do so, attach the following notices to the program. It is safest to
attach them to the start of each source file to most effectively convey
the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19xx name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the
appropriate parts of the General Public License. Of course, the
commands you use may be called something other than `show w' and `show
c'; they could even be mouse-clicks or menu items--whatever suits your
program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
program `Gnomovision' (a program to direct compilers to make passes
at assemblers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
That's all there is to it!

355
LICENSES/GPL-2.0 Normal file
View File

@@ -0,0 +1,355 @@
Valid-License-Identifier: GPL-2.0-only
Valid-License-Identifier: GPL-2.0
Valid-License-Identifier: GPL-2.0-or-later
Valid-License-Identifier: GPL-2.0+
SPDX-URL: https://spdx.org/licenses/GPL-2.0.html
Usage-Guide:
To use this license in source code, put one of the following SPDX
tag/value pairs into a comment according to the placement
guidelines in the licensing rules documentation.
For 'GNU General Public License (GPL) version 2 only' use:
SPDX-License-Identifier: GPL-2.0-only
For 'GNU General Public License (GPL) version 2 or any later version' use:
SPDX-License-Identifier: GPL-2.0-or-later
License-Text:
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

24
LICENSES/ISC Normal file
View File

@@ -0,0 +1,24 @@
Valid-License-Identifier: ISC
SPDX-URL: https://spdx.org/licenses/ISC.html
Usage-Guide:
To use the ISC License put the following SPDX tag/value pair into a
comment according to the placement guidelines in the licensing rules
documentation:
SPDX-License-Identifier: ISC
License-Text:
ISC License
Copyright (c) <year> <copyright holders>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

View File

@@ -0,0 +1,25 @@
SPDX-Exception-Identifier: Linux-syscall-note
SPDX-URL: https://spdx.org/licenses/Linux-syscall-note.html
SPDX-Licenses: GPL-2.0-only, GPL-2.0, GPL-2.0-or-later, GPL-2.0+, GPL-1.0-or-later, GPL-1.0+, LGPL-2.0, LGPL-2.0+, LGPL-2.1, LGPL-2.1+
Usage-Guide:
This exception is used together with one of the above SPDX-Licenses
to mark user space API (uapi) header files so they can be included
into non GPL compliant user space application code.
To use this exception add it with the keyword WITH to one of the
identifiers in the SPDX-Licenses tag:
SPDX-License-Identifier: <SPDX-License> WITH Linux-syscall-note
License-Text:
NOTE! This copyright does *not* cover user programs that use kernel
services by normal system calls - this is merely considered normal use
of the kernel, and does *not* fall under the heading of "derived work".
Also note that the GPL below is copyrighted by the Free Software
Foundation, but the instance of code that it refers to (the Linux
kernel) is copyrighted by me and others who actually wrote it.
Also note that the only valid version of the GPL as far as the kernel
is concerned is _this_ particular version of the license (ie v2, not
v2.2 or v3.x or whatever), unless explicitly otherwise stated.
Linus Torvalds

30
LICENSES/MIT Normal file
View File

@@ -0,0 +1,30 @@
Valid-License-Identifier: MIT
SPDX-URL: https://spdx.org/licenses/MIT.html
Usage-Guide:
To use the MIT License put the following SPDX tag/value pair into a
comment according to the placement guidelines in the licensing rules
documentation:
SPDX-License-Identifier: MIT
License-Text:
MIT License
Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

View File

@@ -1,10 +1,6 @@
# Makefile for OpenWrt
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
TOPDIR:=${CURDIR}
LC_ALL:=C
@@ -18,7 +14,8 @@ $(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the OpenWrt dir
world:
export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH)
DISTRO_PKG_CONFIG:=$(shell $(TOPDIR)/scripts/command_all.sh pkg-config | grep '/usr' -m 1)
export PATH:=$(if $(STAGING_DIR),$(abspath $(STAGING_DIR)/../host/bin),$(TOPDIR)/staging_dir/host/bin):$(PATH)
ifneq ($(OPENWRT_BUILD),1)
_SINGLE=export MAKEFLAGS=$(space);
@@ -41,7 +38,7 @@ else
include tools/Makefile
include toolchain/Makefile
$(toolchain/stamp-compile): $(tools/stamp-compile)
$(toolchain/stamp-compile): $(tools/stamp-compile) $(if $(CONFIG_BUILDBOT),toolchain_rebuild_check)
$(target/stamp-compile): $(toolchain/stamp-compile) $(tools/stamp-compile) $(BUILD_DIR)/.prepared
$(package/stamp-compile): $(target/stamp-compile) $(package/stamp-cleanup)
$(package/stamp-install): $(package/stamp-compile)
@@ -53,12 +50,27 @@ printdb:
prepare: $(target/stamp-compile)
clean: FORCE
rm -rf $(BUILD_DIR) $(STAGING_DIR) $(BIN_DIR) $(OUTPUT_DIR)/packages/$(ARCH_PACKAGES) $(BUILD_LOG_DIR) $(TOPDIR)/staging_dir/packages
_clean: FORCE
rm -rf $(BUILD_DIR) $(STAGING_DIR) $(BIN_DIR) $(OUTPUT_DIR)/packages/$(ARCH_PACKAGES) $(TOPDIR)/staging_dir/packages
dirclean: clean
rm -rf $(STAGING_DIR_HOST) $(STAGING_DIR_HOSTPKG) $(TOOLCHAIN_DIR) $(BUILD_DIR_BASE)/host $(BUILD_DIR_BASE)/hostpkg $(BUILD_DIR_TOOLCHAIN)
clean: _clean
rm -rf $(BUILD_LOG_DIR)
targetclean: _clean
rm -rf $(TOOLCHAIN_DIR) $(BUILD_DIR_BASE)/hostpkg $(BUILD_DIR_TOOLCHAIN)
dirclean: targetclean clean
rm -rf $(STAGING_DIR_HOST) $(STAGING_DIR_HOSTPKG) $(BUILD_DIR_BASE)/host
rm -rf $(TMP_DIR)
$(MAKE) -C $(TOPDIR)/scripts/config clean
toolchain_rebuild_check:
$(SCRIPT_DIR)/check-toolchain-clean.sh
cacheclean:
ifneq ($(CONFIG_CCACHE),)
$(STAGING_DIR_HOST)/bin/ccache -C
endif
ifndef DUMP_TARGET_DB
$(BUILD_DIR)/.prepared: Makefile
@@ -86,19 +98,40 @@ prereq: $(target/stamp-prereq) tmp/.prereq_packages
exit 1; \
fi
$(BIN_DIR)/profiles.json: FORCE
$(if $(CONFIG_JSON_OVERVIEW_IMAGE_INFO), \
WORK_DIR=$(BUILD_DIR)/json_info_files \
$(SCRIPT_DIR)/json_overview_image_info.py $@ \
)
json_overview_image_info: $(BIN_DIR)/profiles.json
checksum: FORCE
$(call sha256sums,$(BIN_DIR),$(CONFIG_BUILDBOT))
buildversion: FORCE
$(SCRIPT_DIR)/getver.sh > $(BIN_DIR)/version.buildinfo
feedsversion: FORCE
$(SCRIPT_DIR)/feeds list -fs > $(BIN_DIR)/feeds.buildinfo
diffconfig: FORCE
mkdir -p $(BIN_DIR)
$(SCRIPT_DIR)/diffconfig.sh > $(BIN_DIR)/config.seed
$(SCRIPT_DIR)/diffconfig.sh > $(BIN_DIR)/config.buildinfo
buildinfo: FORCE
$(_SINGLE)$(SUBMAKE) -r diffconfig buildversion feedsversion
prepare: .config $(tools/stamp-compile) $(toolchain/stamp-compile)
$(_SINGLE)$(SUBMAKE) -r diffconfig
$(_SINGLE)$(SUBMAKE) -r buildinfo
world: prepare $(target/stamp-compile) $(package/stamp-compile) $(package/stamp-install) $(target/stamp-install) FORCE
$(_SINGLE)$(SUBMAKE) -r package/index
$(_SINGLE)$(SUBMAKE) -r json_overview_image_info
$(_SINGLE)$(SUBMAKE) -r checksum
ifneq ($(CONFIG_CCACHE),)
$(STAGING_DIR_HOST)/bin/ccache -s
endif
.PHONY: clean dirclean prereq prepare world package/symlinks package/symlinks-install package/symlinks-clean

65
README
View File

@@ -1,65 +0,0 @@
Welcome to Lean's git source of OpenWrt and packages
中文:如何编译自己需要的 OpenWrt 固件
注意:
1. 不要用 root 用户 git 和编译!!!
2. 国内用户编译前最好准备好梯子
3. 默认登陆IP 192.168.1.1, 密码 password
编译命令如下:
1. 首先装好 Ubuntu 64bit推荐 Ubuntu 14 LTS x64
2. 命令行输入 sudo apt-get update ,然后输入
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3.5 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib linux-libc-dev:i386
3. git clone https://github.com/coolsnowwolf/lede 命令下载好源代码,然后 cd lede 进入目录
4. ./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
5. 最后选好你要的路由,输入 make -j1 V=s -j1 后面是线程数。第一次编译推荐用单线程,国内请尽量全局科学上网)即可开始编译你要的固件了。
本套代码保证肯定可以编译成功。里面包括了 R9 所有源代码,包括 IPK 的。
你可以自由使用,但源码编译二次发布请注明我的 GitHub 仓库链接。谢谢合作!
特别提示:
1.源代码中绝不含任何后门和可以监控或者劫持你的 HTTPS 的闭源软件SSL 安全是互联网最后的壁垒。安全干净才是固件应该做到的;
2.如有技术问题需要讨论,欢迎加入 QQ 讨论群OP共享技术交流群 ,号码 297253733 ,加群链接: 点击链接加入群聊【OP共享技术交流群】https://jq.qq.com/?_wv=1027&k=5yCRuXL
3. 想学习OpenWrt开发但是摸不着门道自学没毅力基础太差怕太难学不会跟着佐大学OpenWrt开发入门培训班助你能学有所成
报名地址http://forgotfun.org/2018/04/openwrt-training-2018.html
去广告订阅地址默认内置来自以下源,如有去广告的误杀漏杀问题可以到这里报告:
https://github.com/privacy-protection-tools/anti-AD
Please use "make menuconfig" to choose your preferred
configuration for the toolchain and firmware.
You need gcc, binutils, bzip2, flex, python3.5+, perl, make, find, grep, diff, unzip, gawk, getopt, subversion, libz-dev and libc headers installed.
Run "./scripts/feeds update -a" to get all the latest package definitions
defined in feeds.conf / feeds.conf.default respectively
and "./scripts/feeds install -a" to install symlinks of all of them into
package/feeds/.
Use "make menuconfig" to configure your image.
Simply running "make" will build your firmware.
It will download all sources, build the cross-compile toolchain,
the kernel and all choosen applications.
To build your own firmware you need to have access to a Linux, BSD or MacOSX system
(case-sensitive filesystem required). Cygwin will not be supported because of
the lack of case sensitiveness in the file system.
Note: Addition Lean's private package source code in ./package/lean directory. Use it under GPL v3.
GPLv3 is compatible with more licenses than GPLv2: it allows you to make combinations with code that has specific kinds of additional requirements that are not in GPLv3 itself. Section 7 has more information about this, including the list of additional requirements that are permitted.

151
README.md
View File

@@ -1,43 +1,69 @@
欢迎来到Lean的Openwrt源码仓库!
=
Welcome to Lean's git source of OpenWrt and packages
=
中文:如何编译自己需要的 OpenWrt 固件
## The source code is suitable for Rockchip OpenWrt SDK
### Only supported devices:
```
embedfire_doornet1
embedfire_doornet2
embedfire_lubancat1
embedfire_lubancat1n
embedfire_lubancat2
embedfire_lubancat2n
friendlyarm_nanopi-r2c
friendlyarm_nanopi-r2s
friendlyarm_nanopi-r4s
friendlyarm_nanopi-r4se
friendlyarm_nanopi-r5s
friendlyarm_nanopi-r5c
friendlyarm_nanopi-r6c
friendlyarm_nanopi-r6s
friendlyarm_nanopc-t6
hinlink_opc-h66k
hinlink_opc-h68k
hinlink_opc-h69k
```
### Next plan to add equipment:
```
hinlink_h88k
```
How to compile the OpenWrt firmware you need
-
注意:
Notice:
-
1. **不**要用 **root** 用户 git 和编译!!!
2. 国内用户编译前最好准备好梯子
3. 默认登陆IP 192.168.1.1, 密码 password
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
编译命令如下:
-
1. 首先装好 Ubuntu 64bit推荐 Ubuntu 18 LTS x64
2. First install the Linux system, Debian 11 or Ubuntu LTS is recommended
3. Install compilation dependencies
2. 命令行输入 `sudo apt-get update` ,然后输入
`
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3.5 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf
`
```bash
sudo apt update -y
sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \
bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib \
git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libfuse-dev libglib2.0-dev libgmp3-dev \
libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libpython3-dev libreadline-dev \
libssl-dev libtool lrzsz mkisofs msmtp ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 \
python3-pyelftools python3-setuptools qemu-utils rsync scons squashfs-tools subversion swig texinfo \
uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
```
3. 使用 `git clone https://github.com/coolsnowwolf/lede` 命令下载好源代码,然后 `cd lede` 进入目录
3. Download source code, update feeds and choose configuration
4. ```bash
```bash
git clone https://github.com/DHDAXCW/lede-rockchip
cd lede-rockchip
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
```
5. `make -j8 download v=s` 下载dl库国内请尽量全局科学上网
5. `make -j8 download V=s` download dl library
6. Enter `make -j10 V=s` (-j1 is followed by the number of threads. It is recommended to use single thread for the first compilation) to start compiling the firmware you want.
6. 输入 `make -j1 V=s` -j1 后面是线程数。第一次编译推荐用单线程)即可开始编译你要的固件了。
This set of code is guaranteed to compile successfully. It includes all source codes of R24, including IPK.
本套代码保证肯定可以编译成功。里面包括了 R20 所有源代码,包括 IPK 的。
你可以自由使用,但源码编译二次发布请注明我的 GitHub 仓库链接。谢谢合作!
=
二次编译:
Second compilation:
```bash
cd lede
git pull
@@ -47,80 +73,13 @@ make -j8 download
make -j$(($(nproc) + 1)) V=s
```
如果需要重新配置:
If reconfiguration is required:
```bash
rm -rf ./tmp && rm -rf .config
make menuconfig
make -j$(($(nproc) + 1)) V=s
```
编译完成后输出路径:/lede/bin/targets
- Output path after compilation is completebin/targets
特别提示:
------
1.源代码中绝不含任何后门和可以监控或者劫持你的 HTTPS 的闭源软件SSL 安全是互联网最后的壁垒。安全干净才是固件应该做到的;
2.如有技术问题需要讨论,欢迎加入 QQ 讨论群OP共享技术交流群 ,号码 297253733 ,加群链接: 点击链接加入群聊【OP共享技术交流群】[点击加入](https://jq.qq.com/?_wv=1027&k=5yCRuXL "OP共享技术交流群")
3.想学习OpenWrt开发但是摸不着门道自学没毅力基础太差怕太难学不会跟着佐大学OpenWrt开发入门培训班助你能学有所成
报名地址:[点击报名](http://forgotfun.org/2018/04/openwrt-training-2018.html "报名")
## Donate
如果你觉得此项目对你有帮助,可以捐助我们,以鼓励项目能持续发展,更加完善
### Alipay 支付宝
![alipay](doc/alipay_donate.jpg)
### Wechat 微信
![wechat](doc/wechat_donate.jpg)
------
English Version: How to make your Openwrt firmware.
-
Note:
--
1. DO **NOT** USE **ROOT** USER TO CONFIGURE!!!
2. Login IP is 192.168.1.1 and login password is "password".
Let's start!
---
First, you need a computer with a linux system. It's better to use Ubuntu 18 LTS 64-bit.
Next you need gcc, binutils, bzip2, flex, python3.5+, perl, make, find, grep, diff, unzip, gawk, getopt, subversion, libz-dev and libc headers installed.
To install these program, please login root users and type
`
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3.5 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib
`
in terminal
Third, logout of root users. And type this `git clone https://github.com/coolsnowwolf/lede` in terminal to clone this source.
After these please type `cd lede` to cd into the source.
Please Run `./scripts/feeds update -a` to get all the latest package definitions
defined in `feeds.conf` / `feeds.conf.default` respectively
and `./scripts/feeds install -a` to install symlinks of all of them into
`package/feeds/` .
Please use `make menuconfig` to choose your preferred
configuration for the toolchain and firmware.
Use `make menuconfig` to configure your image.
Simply running `make` will build your firmware.
It will download all sources, build the cross-compile toolchain,
the kernel and all choosen applications.
To build your own firmware you need to have access to a Linux, BSD or MacOSX system
(case-sensitive filesystem required). Cygwin will not be supported because of
the lack of case sensitiveness in the file system.
## Note: Addition Lean's private package source code in `./package/lean` directory. Use it under GPL v3.
## GPLv3 is compatible with more licenses than GPLv2: it allows you to make combinations with code that has specific kinds of additional requirements that are not in GPLv3 itself. Section 7 has more information about this, including the list of additional requirements that are permitted.
- from upstream source code https://github.com/coolsnowwolf/lede

1
arm64-rely Normal file
View File

@@ -0,0 +1 @@
ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext git gperf haveged help2man intltool libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev vpnc libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz aria2 mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pip libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev libfuse-dev

View File

@@ -1,18 +1,31 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2013 OpenWrt.org
# Copyright (C) 2016 LEDE Project
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
config EXPERIMENTAL
bool "Enable experimental features by default"
default n
help
Set this option to build with latest bleeding edge features
which may or may not work as expected.
If you would like to help the development of OpenWrt, you are
encouraged to set this option and provide feedback (both
positive and negative). But do so only if you know how to
recover your device in case of flashing potentially non-working
firmware.
If you plan to use this build in production, say NO!
menu "Global build settings"
config JSON_ADD_IMAGE_INFO
bool "Create JSON info files per build image"
default BUILDBOT
config JSON_OVERVIEW_IMAGE_INFO
bool "Create JSON info file overview per target"
default y
help
The JSON info files contain information about the device and
build images, stored next to the firmware images.
Create a JSON info file called profiles.json in the target
directory containing machine readable list of built profiles
and resulting images.
config ALL_NONSHARED
bool "Select all target specific packages by default"
@@ -39,20 +52,33 @@ menu "Global build settings"
config SIGNED_PACKAGES
bool "Cryptographically signed package lists"
default n
default y
config SIGNATURE_CHECK
bool "Enable signature checking in opkg"
default SIGNED_PACKAGES
config DOWNLOAD_CHECK_CERTIFICATE
bool "Enable TLS certificate verification during package download"
default y
comment "General build options"
config TESTING_KERNEL
bool "Use the testing kernel version"
depends on HAS_TESTING_KERNEL
default EXPERIMENTAL
help
If the target supports a newer kernel version than the default,
you can use this config option to enable it
config DISPLAY_SUPPORT
bool "Show packages that require graphics support (local or remote)"
default n
config BUILD_PATENTED
default y
default n
bool "Compile with support for patented functionality"
help
When this option is disabled, software which provides patented functionality
@@ -79,11 +105,28 @@ menu "Global build settings"
This removes all ipkg/opkg status data files from the target directory
before building the root filesystem.
config IPK_FILES_CHECKSUMS
bool
prompt "Record files checksums in package metadata"
default n
help
This makes file checksums part of package metadata. It increases size
but provides you with pkg_check command to check for flash corruptions.
config INCLUDE_CONFIG
bool "Include build configuration in firmware" if DEVEL
default n
help
If enabled, config.seed will be stored in /etc/build.config of firmware.
If enabled, buildinfo files will be stored in /etc/build.* of firmware.
config REPRODUCIBLE_DEBUG_INFO
bool "Make debug information reproducible"
default BUILDBOT
help
This strips the local build path out of debug information. This has the
advantage of making it reproducible, but the disadvantage of making local
debugging using ./scripts/remote-gdb harder, since the debug data will
no longer point to the full path on the build host.
config COLLECT_KERNEL_DEBUG
bool
@@ -109,19 +152,29 @@ menu "Global build settings"
default n
help
Adds -g3 to the CFLAGS.
config USE_GC_SECTIONS
bool
prompt "Dead code and data elimination for all packages (EXPERIMENTAL)"
help
Places functions and data items into its own sections to use the linker's
garbage collection capabilites.
Packages can choose to opt-out via setting PKG_BUILD_FLAGS:=no-gc-sections
config USE_LTO
bool
prompt "Use the link-time optimizer for all packages (EXPERIMENTAL)"
help
Adds LTO flags to the CFLAGS and LDFLAGS.
Packages can choose to opt-out via setting PKG_BUILD_FLAGS:=no-lto
config IPV6
bool
prompt "Enable IPv6 support in packages"
default y
help
Enables IPv6 support in kernel (builtin) and packages.
def_bool y
comment "Stripping options"
choice
prompt "Binary stripping method"
default USE_STRIP if EXTERNAL_TOOLCHAIN
default USE_STRIP if USE_GLIBC
default USE_SSTRIP
help
@@ -155,6 +208,14 @@ menu "Global build settings"
help
Specifies arguments passed to the strip command when stripping binaries.
config SSTRIP_ARGS
string
prompt "Sstrip arguments"
depends on USE_SSTRIP
default "-z"
help
Specifies arguments passed to the sstrip command when stripping binaries.
config STRIP_KERNEL_EXPORTS
bool "Strip unnecessary exports from the kernel image"
help
@@ -170,23 +231,6 @@ menu "Global build settings"
make the system libraries incompatible with most of the packages that are
not selected during the build process.
choice
prompt "Preferred standard C++ library"
default USE_LIBSTDCXX if USE_GLIBC
default USE_UCLIBCXX
help
Select the preferred standard C++ library for all packages that support this.
config USE_UCLIBCXX
bool "uClibc++"
config USE_LIBCXX
bool "libc++"
config USE_LIBSTDCXX
bool "libstdc++"
endchoice
comment "Hardening build options"
config PKG_CHECK_FORMAT_SECURITY
@@ -230,7 +274,6 @@ menu "Global build settings"
choice
prompt "User space Stack-Smashing Protection"
depends on USE_MUSL
default PKG_CC_STACKPROTECTOR_REGULAR
help
Enable GCC Stack Smashing Protection (SSP) for userspace applications
@@ -238,19 +281,13 @@ menu "Global build settings"
bool "None"
config PKG_CC_STACKPROTECTOR_REGULAR
bool "Regular"
select GCC_LIBSSP if !USE_MUSL
depends on KERNEL_CC_STACKPROTECTOR_REGULAR
config PKG_CC_STACKPROTECTOR_STRONG
bool "Strong"
select GCC_LIBSSP if !USE_MUSL
depends on !GCC_VERSION_4_8
depends on KERNEL_CC_STACKPROTECTOR_STRONG
endchoice
choice
prompt "Kernel space Stack-Smashing Protection"
default KERNEL_CC_STACKPROTECTOR_REGULAR
depends on USE_MUSL || !(x86_64 || i386)
help
Enable GCC Stack-Smashing Protection (SSP) for the kernel
config KERNEL_CC_STACKPROTECTOR_NONE
@@ -258,15 +295,14 @@ menu "Global build settings"
config KERNEL_CC_STACKPROTECTOR_REGULAR
bool "Regular"
config KERNEL_CC_STACKPROTECTOR_STRONG
depends on !GCC_VERSION_4_8
bool "Strong"
endchoice
config KERNEL_STACKPROTECTOR
config KERNEL_STACKPROTECTOR
bool
default KERNEL_CC_STACKPROTECTOR_REGULAR || KERNEL_CC_STACKPROTECTOR_STRONG
config KERNEL_STACKPROTECTOR_STRONG
config KERNEL_STACKPROTECTOR_STRONG
bool
default KERNEL_CC_STACKPROTECTOR_STRONG
@@ -308,4 +344,58 @@ menu "Global build settings"
bool "Full"
endchoice
config TARGET_ROOTFS_SECURITY_LABELS
bool
select KERNEL_SQUASHFS_XATTR
select KERNEL_EXT4_FS_SECURITY
select KERNEL_F2FS_FS_SECURITY
select KERNEL_UBIFS_FS_SECURITY
select KERNEL_JFFS2_FS_SECURITY
config SELINUX
bool "Enable SELinux"
select KERNEL_SECURITY_SELINUX
select TARGET_ROOTFS_SECURITY_LABELS
select PACKAGE_procd-selinux
select PACKAGE_busybox-selinux
help
This option enables SELinux kernel features, applies security labels
in squashfs rootfs and selects the selinux-variants of busybox and procd.
Selecting this option results in about 0.5MiB of additional flash space
usage accounting for increased kernel and rootfs size.
choice
prompt "default SELinux type"
depends on TARGET_ROOTFS_SECURITY_LABELS
default SELINUXTYPE_dssp
help
Select SELinux policy to be installed and used for applying rootfs labels.
config SELINUXTYPE_targeted
bool "targeted"
select PACKAGE_refpolicy
help
SELinux Reference Policy (refpolicy)
config SELINUXTYPE_dssp
bool "dssp"
select PACKAGE_selinux-policy
help
Defensec SELinux Security Policy -- OpenWrt edition
endchoice
config SECCOMP
bool "Enable SECCOMP"
select KERNEL_SECCOMP
select PACKAGE_procd-seccomp
depends on (aarch64 || arm || armeb || mips || mipsel || mips64 || mips64el || i386 || powerpc || x86_64)
depends on !TARGET_uml
default y
help
This option enables seccomp kernel features to safely
execute untrusted bytecode and selects the seccomp-variants
of procd
endmenu

View File

@@ -1,15 +1,13 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2013 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
menuconfig DEVEL
bool "Advanced configuration options (for developers)"
default n
config BROKEN
bool "Show broken platforms / packages" if DEVEL
bool "Show broken platforms / packages / devices" if DEVEL
default n
config BINARY_FOLDER
@@ -19,6 +17,20 @@ menuconfig DEVEL
Store built firmware images and filesystem images in this directory.
If not set, uses './bin/$(BOARD)'
config DOWNLOAD_TOOL_CUSTOM
string "Use custom download tool" if DEVEL
default ""
help
Use and force custom download tool instead of relying on autoselection
between curl if available and wget as a fallback.
download.pl supports 3 tools officially aria2c, curl and wget.
If one of the tool is used in this config, download.pl will use the
default args to make use of them.
If the provided string is different than aria2c, curl or wget, the command
is used as is and the download url will be appended at the end of such command.
config DOWNLOAD_FOLDER
string "Download folder" if DEVEL
default ""
@@ -47,6 +59,13 @@ menuconfig DEVEL
This allows you to symlink build_dir into a scratch location, e.g. a ramdisk,
which does not have enough space to keep a complete build_dir.
config BUILD_ALL_HOST_TOOLS
bool "Compile all host tools" if DEVEL
default n
help
Compile all host host tools even if not needed. This is needed to prepare a
universal precompiled host tools archive to use in another buildroot.
config BUILD_SUFFIX
string "Build suffix to append to the target BUILD_DIR variable" if DEVEL
default ""
@@ -69,6 +88,18 @@ menuconfig DEVEL
help
Compiler cache; see https://ccache.samba.org/
config CCACHE_DIR
string "Set ccache directory" if CCACHE
default ""
help
Store ccache in this directory.
If not set, uses './.ccache'
config KERNEL_CFLAGS
string "Kernel extra CFLAGS" if DEVEL
default "-falign-functions=32" if TARGET_bcm53xx
default ""
config EXTERNAL_KERNEL_TREE
string "Use external kernel tree" if DEVEL
default ""
@@ -100,11 +131,23 @@ menuconfig DEVEL
It can be a git hash or a branch name.
If unused, the clone's repository HEAD will be checked-out.
config KERNEL_GIT_MIRROR_HASH
string "Enter hash of Git kernel tree source checkout tarball" if DEVEL
depends on (KERNEL_GIT_CLONE_URI != "")
default ""
config BUILD_LOG
bool "Enable log files during build process" if DEVEL
help
If enabled, log files will be written to the ./log directory.
config BUILD_LOG_DIR
string "Log folder" if DEVEL
default ""
help
Store build logs in this directory.
If not set, uses './logs'
config SRC_TREE_OVERRIDE
bool "Enable package source tree override" if DEVEL
help

View File

@@ -1,8 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2013 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
menu "Target Images"
@@ -15,11 +13,12 @@ menu "Target Images"
choice
prompt "Compression"
default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_apm821xx
default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ar71xx
default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ipq40xx
default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ath79_mikrotik
default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_lantiq
default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_mpc85xx
default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ramips
default TARGET_INITRAMFS_COMPRESSION_ZSTD if TARGET_qualcommax
default TARGET_INITRAMFS_COMPRESSION_XZ if USES_SEPARATE_INITRAMFS
default TARGET_INITRAMFS_COMPRESSION_NONE
depends on TARGET_ROOTFS_INITRAMFS
help
@@ -45,6 +44,10 @@ menu "Target Images"
config TARGET_INITRAMFS_COMPRESSION_XZ
bool "xz"
config TARGET_INITRAMFS_COMPRESSION_ZSTD
depends on !LINUX_5_4
bool "zstd"
endchoice
config EXTERNAL_CPIO
@@ -55,11 +58,20 @@ menu "Target Images"
Kernel uses specified external cpio as INITRAMFS_SOURCE.
config TARGET_INITRAMFS_FORCE
bool "Force"
depends on TARGET_ROOTFS_INITRAMFS
default n
help
Ignore the initramfs passed by the bootloader.
bool "Force"
depends on TARGET_ROOTFS_INITRAMFS
default n
help
Ignore the initramfs passed by the bootloader.
config TARGET_ROOTFS_INITRAMFS_SEPARATE
bool "separate ramdisk"
depends on USES_SEPARATE_INITRAMFS && TARGET_ROOTFS_INITRAMFS && !TARGET_INITRAMFS_FORCE
default y if USES_SEPARATE_INITRAMFS
help
Generate separate initrd.cpio instead of embedding it.
This is useful for generating images with a dedicated
ramdisk e.g. in U-Boot's uImage and uImage.FIT formats.
comment "Root filesystem archives"
@@ -79,7 +91,7 @@ menu "Target Images"
menuconfig TARGET_ROOTFS_EXT4FS
bool "ext4"
default n
default y if USES_EXT4
help
Build an ext4 root filesystem.
@@ -121,13 +133,6 @@ menu "Target Images"
help
Create an ext4 filesystem with a journal.
config TARGET_ROOTFS_ISO
bool "iso"
default n
depends on TARGET_x86_generic
help
Create a bootable ISO image.
config TARGET_ROOTFS_JFFS2
bool "jffs2"
depends on USES_JFFS2
@@ -145,14 +150,17 @@ menu "Target Images"
bool "squashfs"
default y if USES_SQUASHFS
help
Build a squashfs-lzma root filesystem.
Build a squashfs root filesystem.
config TARGET_SQUASHFS_BLOCK_SIZE
int "Block size (in KiB)"
depends on TARGET_ROOTFS_SQUASHFS
default 64 if LOW_MEMORY_FOOTPRINT
default 1024 if (SMALL_FLASH && !LOW_MEMORY_FOOTPRINT)
default 256
default 1024
help
Select squashfs block size, must be one of:
4, 8, 16, 32, 64, 128, 256, 512, 1024
menuconfig TARGET_ROOTFS_UBIFS
bool "ubifs"
@@ -190,35 +198,37 @@ menu "Target Images"
default ""
config GRUB_IMAGES
bool "Build GRUB images (Linux x86 or x86_64 host only)"
bool "Build GRUB images"
depends on TARGET_x86
depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
select PACKAGE_grub2
default y
config EFI_IMAGES
bool "Build EFI GRUB images (Linux x86 or x86_64 host only)"
depends on TARGET_x86
depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
select PACKAGE_grub2
select PACKAGE_grub2-efi
default n
config GRUB_EFI_IMAGES
bool "Build GRUB EFI images"
depends on TARGET_x86 || TARGET_armvirt || TARGET_loongarch64 || TARGET_phytium_armv8
depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
select PACKAGE_grub2 if TARGET_x86
select PACKAGE_grub2-efi if TARGET_x86
select PACKAGE_grub2-bios-setup if TARGET_x86
select PACKAGE_grub2-efi-arm if TARGET_armvirt
select PACKAGE_grub2-efi-arm if TARGET_phytium_armv8
select PACKAGE_kmod-fs-vfat
default y
config GRUB_CONSOLE
bool "Use Console Terminal (in addition to Serial)"
depends on GRUB_IMAGES || EFI_IMAGES
default n if (TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501 || TARGET_x86_geos || TARGET_x86_alix2)
depends on GRUB_IMAGES || GRUB_EFI_IMAGES
default y
config GRUB_SERIAL
string "Serial port device"
depends on GRUB_IMAGES || EFI_IMAGES
default "hvc0" if TARGET_x86_xen_domu
default "ttyS0" if ! TARGET_x86_xen_domu
depends on GRUB_IMAGES || GRUB_EFI_IMAGES
default "ttyS0"
config GRUB_BAUDRATE
int "Serial port baud rate"
depends on GRUB_IMAGES || EFI_IMAGES
depends on GRUB_IMAGES || GRUB_EFI_IMAGES
default 38400 if TARGET_x86_generic
default 115200
@@ -229,91 +239,96 @@ menu "Target Images"
config GRUB_BOOTOPTS
string "Extra kernel boot options"
depends on GRUB_IMAGES || EFI_IMAGES
default "xencons=hvc" if TARGET_x86_xen_domu
depends on GRUB_IMAGES || GRUB_EFI_IMAGES
help
If you don't know, just leave it blank.
config GRUB_TIMEOUT
string "Seconds to wait before booting the default entry"
depends on GRUB_IMAGES || EFI_IMAGES
depends on GRUB_IMAGES || GRUB_EFI_IMAGES
default "0"
help
If you don't know, 5 seconds is a reasonable default.
config GRUB_TITLE
string "Title for the menu entry in GRUB"
depends on GRUB_IMAGES || EFI_IMAGES
depends on GRUB_IMAGES || GRUB_EFI_IMAGES
default "OpenWrt"
help
This is the title of the GRUB menu entry.
If unspecified, it defaults to OpenWrt.
config ISO_IMAGES
bool "Build LiveCD image (ISO)"
depends on TARGET_x86
depends on GRUB_IMAGES || GRUB_EFI_IMAGES
config QCOW2_IMAGES
bool "Build PVE/KVM image files (QCOW2)"
depends on TARGET_x86
depends on GRUB_IMAGES || GRUB_EFI_IMAGES
select PACKAGE_kmod-e1000
config VDI_IMAGES
bool "Build VirtualBox image files (VDI)"
depends on TARGET_x86 || TARGET_x86_64
select GRUB_IMAGES
select TARGET_IMAGES_PAD
depends on TARGET_x86
depends on GRUB_IMAGES || GRUB_EFI_IMAGES
select PACKAGE_kmod-e1000
config VMDK_IMAGES
bool "Build VMware image files (VMDK)"
depends on TARGET_x86 || TARGET_x86_64
select GRUB_IMAGES
select TARGET_IMAGES_PAD
select PACKAGE_kmod-e1000
depends on TARGET_x86 || TARGET_armvirt || TARGET_loongarch64
depends on GRUB_IMAGES || GRUB_EFI_IMAGES
default y
config VHD_IMAGES
bool "Build Hyper-V image files (VHD)"
depends on TARGET_x86 || TARGET_x86_64
depends on GRUB_IMAGES || EFI_IMAGES
select TARGET_IMAGES_PAD
select PACKAGE_kmod-tulip
default n
config QCOW2_IMAGES
bool "Build PVE/KVM image files (QCOW2)"
depends on TARGET_x86 || TARGET_x86_64
depends on GRUB_IMAGES || EFI_IMAGES
select TARGET_IMAGES_PAD
select PACKAGE_kmod-e1000
default n
config TARGET_IMAGES_PAD
bool "Pad images to filesystem size (for JFFS2)"
depends on GRUB_IMAGES || EFI_IMAGES
default y
config VHDX_IMAGES
bool "Build Hyper-V image files (VHDX)"
depends on TARGET_x86
depends on GRUB_IMAGES || GRUB_EFI_IMAGES
select PACKAGE_kmod-e1000
config TARGET_IMAGES_GZIP
bool "GZip images"
depends on TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS || TARGET_x86
default n
depends on TARGET_ROOTFS_EXT4FS || TARGET_x86 || TARGET_armvirt || TARGET_loongarch64 || TARGET_malta
default y
comment "Image Options"
source "target/linux/*/image/Config.in"
config TARGET_KERNEL_PARTSIZE
int "Kernel partition size (in MB)"
depends on GRUB_IMAGES || EFI_IMAGES || USES_BOOT_PART
int "Kernel partition size (in MiB)"
depends on USES_BOOT_PART
default 8 if TARGET_apm821xx_sata
default 64 if TARGET_bcm27xx
default 16
default 32 if TARGET_rockchip
default 128 if TARGET_armvirt
default 32
config TARGET_ROOTFS_PARTSIZE
int "Root filesystem partition size (in MB)"
depends on GRUB_IMAGES || EFI_IMAGES || USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS || TARGET_mvebu || TARGET_rb532 || TARGET_sunxi || TARGET_uml
int "Root filesystem partition size (in MiB)"
depends on USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS
default 232 if TARGET_loongarch64
default 400 if TARGET_x86
default 160
help
Select the root filesystem partition size.
config TARGET_ROOTFS_PARTNAME
string "Root partition on target device"
depends on GRUB_IMAGES || EFI_IMAGES
depends on GRUB_IMAGES || GRUB_EFI_IMAGES
help
Override the root partition on the final device. If left empty,
it will be mounted by PARTUUID which makes the kernel find the
appropriate disk automatically.
config TARGET_ROOTFS_PERSIST_VAR
bool "Make /var persistent"
default n
help
Do not symlink /var to /tmp, so that its content will persist
across reboots. When enabled, /var/run will still be linked
to /tmp/run.
endmenu

View File

@@ -1,8 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
config KERNEL_BUILD_USER
string "Custom Kernel Build User Name"
@@ -26,15 +24,14 @@ config KERNEL_PRINTK
bool "Enable support for printk"
default y
config KERNEL_CRASHLOG
bool "Crash logging"
depends on !(arm || powerpc || sparc || TARGET_uml || i386 || x86_64)
default y
config KERNEL_SWAP
bool "Support for paging of anonymous memory (swap)"
default y if !SMALL_FLASH
config KERNEL_PROC_STRIPPED
bool "Strip non-essential /proc functionality to reduce code size"
default y if SMALL_FLASH
config KERNEL_DEBUG_FS
bool "Compile the kernel with debug filesystem enabled"
default y
@@ -44,16 +41,29 @@ config KERNEL_DEBUG_FS
write to these files. Many common debugging facilities, such as
ftrace, require the existence of debugfs.
config KERNEL_MIPS_FPU_EMULATOR
bool "Compile the kernel with MIPS FPU Emulator"
default y
depends on (mips || mipsel || mips64 || mips64el)
config KERNEL_MIPS_FP_SUPPORT
bool
default y if TARGET_pistachio
config KERNEL_ARM_PMU
bool
default n
depends on (arm || aarch64)
config KERNEL_ARM_PMUV3
bool
default y if TARGET_armsr_armv8
depends on (arm_v7 || aarch64) && LINUX_6_6
config KERNEL_RISCV_PMU
bool
select KERNEL_RISCV_PMU_SBI
depends on riscv64
config KERNEL_RISCV_PMU_SBI
bool
depends on riscv64
config KERNEL_X86_VSYSCALL_EMULATION
bool "Enable vsyscall emulation"
default n
@@ -76,6 +86,8 @@ config KERNEL_PERF_EVENTS
bool "Compile the kernel with performance events and counters"
default n
select KERNEL_ARM_PMU if (arm || aarch64)
select KERNEL_ARM_PMUV3 if (arm_v7 || aarch64) && LINUX_6_6
select KERNEL_RISCV_PMU if riscv64
config KERNEL_PROFILING
bool "Compile the kernel with profiling enabled"
@@ -85,6 +97,178 @@ config KERNEL_PROFILING
Enable the extended profiling support mechanisms used by profilers such
as OProfile.
config KERNEL_RPI_AXIPERF
bool "Compile the kernel with RaspberryPi AXI Performance monitors"
default y
depends on KERNEL_PERF_EVENTS && TARGET_bcm27xx
config KERNEL_UBSAN
bool "Compile the kernel with undefined behaviour sanity checker"
help
This option enables undefined behaviour sanity checker
Compile-time instrumentation is used to detect various undefined
behaviours in runtime. Various types of checks may be enabled
via boot parameter ubsan_handle
(see: Documentation/dev-tools/ubsan.rst).
config KERNEL_UBSAN_SANITIZE_ALL
bool "Enable instrumentation for the entire kernel"
depends on KERNEL_UBSAN
default y
help
This option activates instrumentation for the entire kernel.
If you don't enable this option, you have to explicitly specify
UBSAN_SANITIZE := y for the files/directories you want to check for UB.
Enabling this option will get kernel image size increased
significantly.
config KERNEL_UBSAN_ALIGNMENT
bool "Enable checking of pointers alignment"
depends on KERNEL_UBSAN
help
This option enables detection of unaligned memory accesses.
Enabling this option on architectures that support unaligned
accesses may produce a lot of false positives.
config KERNEL_UBSAN_BOUNDS
bool "Perform array index bounds checking"
depends on KERNEL_UBSAN
help
This option enables detection of directly indexed out of bounds array
accesses, where the array size is known at compile time. Note that
this does not protect array overflows via bad calls to the
{str,mem}*cpy() family of functions (that is addressed by
FORTIFY_SOURCE).
config KERNEL_UBSAN_NULL
bool "Enable checking of null pointers"
depends on KERNEL_UBSAN
help
This option enables detection of memory accesses via a
null pointer.
config KERNEL_UBSAN_TRAP
bool "On Sanitizer warnings, abort the running kernel code"
depends on KERNEL_UBSAN
help
Building kernels with Sanitizer features enabled tends to grow the
kernel size by around 5%, due to adding all the debugging text on
failure paths. To avoid this, Sanitizer instrumentation can just
issue a trap. This reduces the kernel size overhead but turns all
warnings (including potentially harmless conditions) into full
exceptions that abort the running kernel code (regardless of context,
locks held, etc), which may destabilize the system. For some system
builders this is an acceptable trade-off.
config KERNEL_KASAN
bool "Compile the kernel with KASan: runtime memory debugger"
select KERNEL_SLUB_DEBUG
depends on (x86_64 || aarch64)
help
Enables kernel address sanitizer - runtime memory debugger,
designed to find out-of-bounds accesses and use-after-free bugs.
This is strictly a debugging feature and it requires a gcc version
of 4.9.2 or later. Detection of out of bounds accesses to stack or
global variables requires gcc 5.0 or later.
This feature consumes about 1/8 of available memory and brings about
~x3 performance slowdown.
For better error detection enable CONFIG_STACKTRACE.
Currently CONFIG_KASAN doesn't work with CONFIG_DEBUG_SLAB
(the resulting kernel does not boot).
config KERNEL_KASAN_EXTRA
bool "KAsan: extra checks"
depends on KERNEL_KASAN && KERNEL_DEBUG_KERNEL
help
This enables further checks in the kernel address sanitizer, for now
it only includes the address-use-after-scope check that can lead
to excessive kernel stack usage, frame size warnings and longer
compile time.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 has more
config KERNEL_KASAN_VMALLOC
bool "Back mappings in vmalloc space with real shadow memory"
depends on KERNEL_KASAN
help
By default, the shadow region for vmalloc space is the read-only
zero page. This means that KASAN cannot detect errors involving
vmalloc space.
Enabling this option will hook in to vmap/vmalloc and back those
mappings with real shadow memory allocated on demand. This allows
for KASAN to detect more sorts of errors (and to support vmapped
stacks), but at the cost of higher memory usage.
This option depends on HAVE_ARCH_KASAN_VMALLOC, but we can't
depend on that in here, so it is possible that enabling this
will have no effect.
if KERNEL_KASAN
config KERNEL_KASAN_GENERIC
def_bool y
config KERNEL_KASAN_SW_TAGS
def_bool n
endif
choice
prompt "Instrumentation type"
depends on KERNEL_KASAN
default KERNEL_KASAN_OUTLINE
config KERNEL_KASAN_OUTLINE
bool "Outline instrumentation"
help
Before every memory access compiler insert function call
__asan_load*/__asan_store*. These functions performs check
of shadow memory. This is slower than inline instrumentation,
however it doesn't bloat size of kernel's .text section so
much as inline does.
config KERNEL_KASAN_INLINE
bool "Inline instrumentation"
help
Compiler directly inserts code checking shadow memory before
memory accesses. This is faster than outline (in some workloads
it gives about x2 boost over outline instrumentation), but
make kernel's .text size much bigger.
This requires a gcc version of 5.0 or later.
endchoice
config KERNEL_KCOV
bool "Compile the kernel with code coverage for fuzzing"
select KERNEL_DEBUG_FS
help
KCOV exposes kernel code coverage information in a form suitable
for coverage-guided fuzzing (randomized testing).
If RANDOMIZE_BASE is enabled, PC values will not be stable across
different machines and across reboots. If you need stable PC values,
disable RANDOMIZE_BASE.
For more details, see Documentation/kcov.txt.
config KERNEL_KCOV_ENABLE_COMPARISONS
bool "Enable comparison operands collection by KCOV"
depends on KERNEL_KCOV
help
KCOV also exposes operands of every comparison in the instrumented
code along with operand sizes and PCs of the comparison instructions.
These operands can be used by fuzzing engines to improve the quality
of fuzzing coverage.
config KERNEL_KCOV_INSTRUMENT_ALL
bool "Instrument all code by default"
depends on KERNEL_KCOV
default y if KERNEL_KCOV
help
If you are doing generic system call fuzzing (like e.g. syzkaller),
then you will want to instrument the whole kernel and you should
say y here. If you are doing more targeted fuzzing (like e.g.
filesystem fuzzing with AFL) then you will want to enable coverage
for more specific subsets of files, and should say n here.
config KERNEL_TASKSTATS
bool "Compile the kernel with task resource/io statistics and accounting"
default n
@@ -147,6 +331,53 @@ config KERNEL_FUNCTION_PROFILER
depends on KERNEL_FUNCTION_TRACER
default n
config KERNEL_IRQSOFF_TRACER
bool "Interrupts-off Latency Tracer"
depends on KERNEL_FTRACE
help
This option measures the time spent in irqs-off critical
sections, with microsecond accuracy.
The default measurement method is a maximum search, which is
disabled by default and can be runtime (re-)started
via:
echo 0 > /sys/kernel/debug/tracing/tracing_max_latency
(Note that kernel size and overhead increase with this option
enabled. This option and the preempt-off timing option can be
used together or separately.)
config KERNEL_PREEMPT_TRACER
bool "Preemption-off Latency Tracer"
depends on KERNEL_FTRACE
help
This option measures the time spent in preemption-off critical
sections, with microsecond accuracy.
The default measurement method is a maximum search, which is
disabled by default and can be runtime (re-)started
via:
echo 0 > /sys/kernel/debug/tracing/tracing_max_latency
(Note that kernel size and overhead increase with this option
enabled. This option and the irqs-off timing option can be
used together or separately.)
config KERNEL_HIST_TRIGGERS
bool "Histogram triggers"
depends on KERNEL_FTRACE
help
Hist triggers allow one or more arbitrary trace event fields to be
aggregated into hash tables and dumped to stdout by reading a
debugfs/tracefs file. They're useful for gathering quick and dirty
(though precise) summaries of event activity as an initial guide for
further investigation using more advanced tools.
Inter-event tracing of quantities such as latencies is also
supported using hist triggers under this option.
config KERNEL_DEBUG_KERNEL
bool
default n
@@ -158,6 +389,45 @@ config KERNEL_DEBUG_INFO
help
This will compile your kernel and modules with debug information.
config KERNEL_DEBUG_INFO_BTF
bool "Enable additional BTF type information"
default n
depends on !HOST_OS_MACOS
depends on KERNEL_DEBUG_INFO && !KERNEL_DEBUG_INFO_REDUCED
select DWARVES
help
Generate BPF Type Format (BTF) information from DWARF debug info.
Turning this on expects presence of pahole tool, which will convert
DWARF type info into equivalent deduplicated BTF type info.
Required to run BPF CO-RE applications.
config KERNEL_DEBUG_INFO_REDUCED
bool "Reduce debugging information"
default y
depends on KERNEL_DEBUG_INFO
help
If you say Y here gcc is instructed to generate less debugging
information for structure types. This means that tools that
need full debugging information (like kgdb or systemtap) won't
be happy. But if you merely need debugging information to
resolve line numbers there is no loss. Advantage is that
build directory object sizes shrink dramatically over a full
DEBUG_INFO build and compile times are reduced too.
Only works with newer gcc versions.
config KERNEL_FRAME_WARN
int
range 0 8192
default 1280 if KERNEL_KASAN && !ARCH_64BIT
default 1024 if !ARCH_64BIT
default 2048 if ARCH_64BIT
help
Tell the compiler to warn at build time for stack frames larger than this.
Setting this too low will cause a lot of warnings.
Setting it to 0 disables the warning.
config KERNEL_DEBUG_LL_UART_NONE
bool
default n
@@ -171,6 +441,14 @@ config KERNEL_DEBUG_LL
help
ARM low level debugging.
config KERNEL_DEBUG_VIRTUAL
bool "Compile the kernel with VM translations debugging"
select KERNEL_DEBUG_KERNEL
default n
help
Enable checks sanity checks to catch invalid uses of
virt_to_phys()/phys_to_virt() against the non-linear address space.
config KERNEL_DYNAMIC_DEBUG
bool "Compile the kernel with dynamic printk"
select KERNEL_DEBUG_FS
@@ -208,18 +486,33 @@ config KERNEL_KPROBES
instrumentation and testing.
If in doubt, say "N".
config KERNEL_KPROBE_EVENT
bool
default y if KERNEL_KPROBES
config KERNEL_KPROBE_EVENTS
bool
default y if KERNEL_KPROBES
config KERNEL_BPF_EVENTS
bool "Compile the kernel with BPF event support"
default n
select KERNEL_KPROBES
help
Allows to attach BPF programs to kprobe, uprobe and tracepoint events.
This is required to use BPF maps of type BPF_MAP_TYPE_PERF_EVENT_ARRAY
for sending data from BPF programs to user-space for post-processing
or logging.
config KERNEL_BPF_KPROBE_OVERRIDE
bool
default n
depends on KERNEL_KPROBES
config KERNEL_AIO
bool "Compile the kernel with asynchronous IO support"
default y if !SMALL_FLASH
config KERNEL_IO_URING
bool "Compile the kernel with io_uring support"
default y if !SMALL_FLASH
config KERNEL_FHANDLE
bool "Compile the kernel with support for fhandle syscalls"
default y if !SMALL_FLASH
@@ -232,6 +525,30 @@ config KERNEL_BLK_DEV_BSG
bool "Compile the kernel with SCSI generic v4 support for any block device"
default n
config KERNEL_TRANSPARENT_HUGEPAGE
bool
choice
prompt "Transparent Hugepage Support sysfs defaults"
depends on KERNEL_TRANSPARENT_HUGEPAGE
default KERNEL_TRANSPARENT_HUGEPAGE_ALWAYS
config KERNEL_TRANSPARENT_HUGEPAGE_ALWAYS
bool "always"
config KERNEL_TRANSPARENT_HUGEPAGE_MADVISE
bool "madvise"
endchoice
config KERNEL_HUGETLBFS
bool
config KERNEL_HUGETLB_PAGE
bool "Compile the kernel with HugeTLB support"
select KERNEL_TRANSPARENT_HUGEPAGE
select KERNEL_HUGETLBFS
default n
config KERNEL_MAGIC_SYSRQ
bool "Compile the kernel with SysRq support"
default y
@@ -244,21 +561,6 @@ config KERNEL_DEBUG_GPIO
bool "Compile the kernel with gpio debugging"
select KERNEL_DEBUG_KERNEL
choice
prompt "Algorithms enabled for QCE acceleration"
default KERNEL_CRYPTO_DEV_QCE_ENABLE_ALL
depends on TARGET_ipq40xx
config KERNEL_CRYPTO_DEV_QCE_ENABLE_ALL
bool "All supported algorithms"
config KERNEL_CRYPTO_DEV_QCE_ENABLE_BLKCIPHER
bool "Block ciphers only"
config KERNEL_CRYPTO_DEV_QCE_ENABLE_SHA
bool "Hash/HMAC only"
endchoice
config KERNEL_COREDUMP
bool
@@ -272,6 +574,62 @@ config KERNEL_PROVE_LOCKING
select KERNEL_DEBUG_KERNEL
default n
config KERNEL_SOFTLOCKUP_DETECTOR
bool "Compile the kernel with detect Soft Lockups"
depends on KERNEL_DEBUG_KERNEL
help
Say Y here to enable the kernel to act as a watchdog to detect
soft lockups.
Softlockups are bugs that cause the kernel to loop in kernel
mode for more than 20 seconds, without giving other tasks a
chance to run. The current stack trace is displayed upon
detection and the system will stay locked up.
config KERNEL_DETECT_HUNG_TASK
bool "Compile the kernel with detect Hung Tasks"
depends on KERNEL_DEBUG_KERNEL
default KERNEL_SOFTLOCKUP_DETECTOR
help
Say Y here to enable the kernel to detect "hung tasks",
which are bugs that cause the task to be stuck in
uninterruptible "D" state indefinitely.
When a hung task is detected, the kernel will print the
current stack trace (which you should report), but the
task will stay in uninterruptible state. If lockdep is
enabled then all held locks will also be reported. This
feature has negligible overhead.
config KERNEL_WQ_WATCHDOG
bool "Compile the kernel with detect Workqueue Stalls"
depends on KERNEL_DEBUG_KERNEL
help
Say Y here to enable stall detection on workqueues. If a
worker pool doesn't make forward progress on a pending work
item for over a given amount of time, 30s by default, a
warning message is printed along with dump of workqueue
state. This can be configured through kernel parameter
"workqueue.watchdog_thresh" and its sysfs counterpart.
config KERNEL_DEBUG_ATOMIC_SLEEP
bool "Compile the kernel with sleep inside atomic section checking"
depends on KERNEL_DEBUG_KERNEL
help
If you say Y here, various routines which may sleep will become very
noisy if they are called inside atomic sections: when a spinlock is
held, inside an rcu read side critical section, inside preempt disabled
sections, inside an interrupt, etc...
config KERNEL_DEBUG_VM
bool "Compile the kernel with debug VM"
depends on KERNEL_DEBUG_KERNEL
help
Enable this to turn on extended checks in the virtual-memory system
that may impact performance.
If unsure, say N.
config KERNEL_PRINTK_TIME
bool "Enable printk timestamps"
default y
@@ -299,15 +657,20 @@ config KERNEL_KEXEC
config KERNEL_PROC_VMCORE
bool
config KERNEL_PROC_KCORE
bool
config KERNEL_CRASH_DUMP
depends on i386 || x86_64 || arm || armeb
select KERNEL_KEXEC
select KERNEL_PROC_VMCORE
select KERNEL_PROC_KCORE
bool "Enable support for kexec crashdump"
default y
config USE_RFKILL
bool "Enable rfkill support"
default y if TARGET_rockchip
default RFKILL_SUPPORT
config USE_SPARSE
@@ -331,23 +694,23 @@ if KERNEL_DEVTMPFS
endif
config KERNEL_KEYS
bool "Enable kernel access key retention support"
default n
bool "Enable kernel access key retention support"
default !SMALL_FLASH
config KERNEL_PERSISTENT_KEYRINGS
bool "Enable kernel persistent keyrings"
depends on KERNEL_KEYS
default n
bool "Enable kernel persistent keyrings"
depends on KERNEL_KEYS
default n
config KERNEL_KEYS_REQUEST_CACHE
bool "Enable temporary caching of the last request_key() result"
depends on KERNEL_KEYS
default n
config KERNEL_BIG_KEYS
bool "Enable large payload keys on kernel keyrings"
depends on KERNEL_KEYS
default n
config KERNEL_ENCRYPTED_KEYS
tristate "Enable keys with encrypted payloads on kernel keyrings"
depends on KERNEL_KEYS
default n
bool "Enable large payload keys on kernel keyrings"
depends on KERNEL_KEYS
default n
#
# CGROUP support symbols
@@ -369,21 +732,29 @@ if KERNEL_CGROUPS
config KERNEL_FREEZER
bool
default y if KERNEL_CGROUP_FREEZER
config KERNEL_CGROUP_FREEZER
bool "Freezer cgroup subsystem"
default y
bool "legacy Freezer cgroup subsystem"
default n
select KERNEL_FREEZER
help
Provides a way to freeze and unfreeze all tasks in a
cgroup.
(legacy cgroup1-only controller, in cgroup2 freezer
is integrated in the Memory controller)
config KERNEL_CGROUP_DEVICE
bool "Device controller for cgroups"
default y
bool "legacy Device controller for cgroups"
default n
help
Provides a cgroup implementing whitelists for devices which
a process in the cgroup can mknod or open.
(legacy cgroup1-only controller)
config KERNEL_CGROUP_HUGETLB
bool "HugeTLB controller"
default n
select KERNEL_HUGETLB_PAGE
config KERNEL_CGROUP_PIDS
bool "PIDs cgroup subsystem"
@@ -392,9 +763,17 @@ if KERNEL_CGROUPS
Provides enforcement of process number limits in the scope of a
cgroup.
config KERNEL_CGROUP_RDMA
bool "RDMA controller for cgroups"
default y
config KERNEL_CGROUP_BPF
bool "Support for eBPF programs attached to cgroups"
default y
config KERNEL_CPUSETS
bool "Cpuset support"
default y if !SMALL_FLASH
default y
help
This option will let you create and manage CPUSETs which
allow dynamically partitioning a system into sets of CPUs and
@@ -408,14 +787,14 @@ if KERNEL_CGROUPS
config KERNEL_CGROUP_CPUACCT
bool "Simple CPU accounting cgroup subsystem"
default y if !SMALL_FLASH
default y
help
Provides a simple Resource Controller for monitoring the
total CPU consumed by the tasks in a cgroup.
config KERNEL_RESOURCE_COUNTERS
bool "Resource counters"
default y if !SMALL_FLASH
default y
help
This option enables controller independent resource accounting
infrastructure that works with cgroups.
@@ -426,8 +805,9 @@ if KERNEL_CGROUPS
config KERNEL_MEMCG
bool "Memory Resource Controller for Control Groups"
default y if !SMALL_FLASH
depends on KERNEL_RESOURCE_COUNTERS || !LINUX_3_18
default y
select KERNEL_FREEZER
depends on KERNEL_RESOURCE_COUNTERS
help
Provides a memory resource controller that manages both anonymous
memory and page cache. (See Documentation/cgroups/memory.txt)
@@ -449,7 +829,7 @@ if KERNEL_CGROUPS
config KERNEL_MEMCG_SWAP
bool "Memory Resource Controller Swap Extension"
default n
default y
depends on KERNEL_MEMCG
help
Add swap management feature to memory resource controller. When you
@@ -484,7 +864,7 @@ if KERNEL_CGROUPS
config KERNEL_MEMCG_KMEM
bool "Memory Resource Controller Kernel Memory accounting (EXPERIMENTAL)"
default y if !SMALL_FLASH
default y
depends on KERNEL_MEMCG
help
The Kernel Memory extension for Memory Resource Controller can limit
@@ -505,7 +885,7 @@ if KERNEL_CGROUPS
menuconfig KERNEL_CGROUP_SCHED
bool "Group CPU scheduler"
default y if !SMALL_FLASH
default y
help
This feature lets CPU scheduler recognize task groups and control CPU
bandwidth allocation to such task groups. It uses cgroups to group
@@ -515,11 +895,11 @@ if KERNEL_CGROUPS
config KERNEL_FAIR_GROUP_SCHED
bool "Group scheduling for SCHED_OTHER"
default y if !SMALL_FLASH
default y
config KERNEL_CFS_BANDWIDTH
bool "CPU bandwidth provisioning for FAIR_GROUP_SCHED"
default n
default y
depends on KERNEL_FAIR_GROUP_SCHED
help
This option allows users to define CPU bandwidth rates (limits) for
@@ -530,7 +910,7 @@ if KERNEL_CGROUPS
config KERNEL_RT_GROUP_SCHED
bool "Group scheduling for SCHED_RR/FIFO"
default y if !SMALL_FLASH
default y
help
This feature lets you explicitly allocate real CPU bandwidth
to task groups. If enabled, it will also make it impossible to
@@ -565,7 +945,7 @@ if KERNEL_CGROUPS
config KERNEL_BLK_DEV_THROTTLING
bool "Enable throttling policy"
default y if TARGET_bcm27xx
default y
config KERNEL_BLK_DEV_THROTTLING_LOW
bool "Block throttling .low limit interface support (EXPERIMENTAL)"
@@ -581,12 +961,16 @@ if KERNEL_CGROUPS
files in a cgroup which can be useful for debugging.
config KERNEL_NET_CLS_CGROUP
bool "Control Group Classifier"
default y
bool "legacy Control Group Classifier"
default n
config KERNEL_NETPRIO_CGROUP
bool "Network priority cgroup"
default y
config KERNEL_CGROUP_NET_CLASSID
bool "legacy Network classid cgroup"
default n
config KERNEL_CGROUP_NET_PRIO
bool "legacy Network priority cgroup"
default n
endif
@@ -596,7 +980,7 @@ endif
config KERNEL_NAMESPACES
bool "Enable kernel namespaces"
default n
default y if !SMALL_FLASH
if KERNEL_NAMESPACES
@@ -665,13 +1049,13 @@ config KERNEL_POSIX_MQUEUE
config KERNEL_SECCOMP_FILTER
bool
default n
default y if !SMALL_FLASH
config KERNEL_SECCOMP
bool "Enable seccomp support"
depends on !(TARGET_uml)
select KERNEL_SECCOMP_FILTER
default n
default y if !SMALL_FLASH
help
Build kernel with support for seccomp.
@@ -686,6 +1070,26 @@ config KERNEL_IP_MROUTE
Multicast routing requires a multicast routing daemon in
addition to kernel support.
if KERNEL_IP_MROUTE
config KERNEL_IP_MROUTE_MULTIPLE_TABLES
def_bool y
config KERNEL_IP_PIMSM_V1
def_bool y
config KERNEL_IP_PIMSM_V2
def_bool y
endif
config KERNEL_MPTCP
bool "Enable IPv4 MultiPath TCP support"
default y
depends on !(LINUX_4_4||LINUX_5_4)
help
IPv4 MultiPath TCP to kernel support.
#
# IPv6 configuration
#
@@ -708,11 +1112,60 @@ if KERNEL_IPV6
Multicast routing requires a multicast routing daemon in
addition to kernel support.
config KERNEL_IPV6_PIMSM_V2
if KERNEL_IPV6_MROUTE
config KERNEL_IPV6_MROUTE_MULTIPLE_TABLES
def_bool y
config KERNEL_IPV6_PIMSM_V2
def_bool y
endif
config KERNEL_IPV6_SEG6_LWTUNNEL
bool "Enable support for lightweight tunnels"
default y if !SMALL_FLASH
help
Using lwtunnel (needed for IPv6 segment routing) requires ip-full package.
config KERNEL_LWTUNNEL_BPF
def_bool n
config KERNEL_MPTCP_IPV6
bool "Enable IPv6 MultiPath TCP support"
default y
depends on KERNEL_MPTCP
depends on !(LINUX_4_4||LINUX_5_4)
help
IPv6 MultiPath TCP to kernel support.
endif
#
# Miscellaneous network configuration
#
config KERNEL_NET_L3_MASTER_DEV
bool "L3 Master device support"
help
This module provides glue between core networking code and device
drivers to support L3 master devices like VRF.
config KERNEL_XDP_SOCKETS
bool "XDP sockets support"
default y if KERNEL_DEBUG_INFO_BTF
help
XDP sockets allows a channel between XDP programs and
userspace applications.
config KERNEL_PAGE_POOL
def_bool n
config KERNEL_PAGE_POOL_STATS
bool "Page pool stats support"
depends on KERNEL_PAGE_POOL
depends on !(LINUX_5_4||LINUX_5_10)
#
# NFS related symbols
#
@@ -797,7 +1250,7 @@ menu "Filesystem ACL and attr support options"
select KERNEL_FS_POSIX_ACL
default y if USE_FS_ACL_ATTR
config KERNEL_HFSPLUG_FS_POSIX_ACL
config KERNEL_HFSPLUS_FS_POSIX_ACL
bool "Enable POSIX ACL for HFS+ Filesystems"
select KERNEL_FS_POSIX_ACL
default y if USE_FS_ACL_ATTR
@@ -854,8 +1307,11 @@ config KERNEL_SQUASHFS_FRAGMENT_CACHE_SIZE
default 2 if (SMALL_FLASH && !LOW_MEMORY_FOOTPRINT)
default 3
config KERNEL_SQUASHFS_XATTR
bool "Squashfs XATTR support"
#
# compile optimiziation setting
# compile optimization setting
#
choice
prompt "Compiler optimization level"
@@ -875,3 +1331,59 @@ config KERNEL_CC_OPTIMIZE_FOR_SIZE
your compiler resulting in a smaller kernel.
endchoice
config KERNEL_AUDIT
bool "Auditing support"
config KERNEL_SECURITY
bool "Enable different security models"
config KERNEL_SECURITY_NETWORK
bool "Socket and Networking Security Hooks"
select KERNEL_SECURITY
config KERNEL_SECURITY_SELINUX
bool "NSA SELinux Support"
select KERNEL_SECURITY_NETWORK
select KERNEL_AUDIT
config KERNEL_SECURITY_SELINUX_BOOTPARAM
bool "NSA SELinux boot parameter"
depends on KERNEL_SECURITY_SELINUX
default y
config KERNEL_SECURITY_SELINUX_DISABLE
bool "NSA SELinux runtime disable"
depends on KERNEL_SECURITY_SELINUX
config KERNEL_SECURITY_SELINUX_DEVELOP
bool "NSA SELinux Development Support"
depends on KERNEL_SECURITY_SELINUX
default y
config KERNEL_SECURITY_SELINUX_SIDTAB_HASH_BITS
int
depends on KERNEL_SECURITY_SELINUX
default 9
config KERNEL_SECURITY_SELINUX_SID2STR_CACHE_SIZE
int
depends on KERNEL_SECURITY_SELINUX
default 256
config KERNEL_LSM
string
default "lockdown,yama,loadpin,safesetid,integrity,selinux"
depends on KERNEL_SECURITY_SELINUX
config KERNEL_EXT4_FS_SECURITY
bool "Ext4 Security Labels"
config KERNEL_F2FS_FS_SECURITY
bool "F2FS Security Labels"
config KERNEL_UBIFS_FS_SECURITY
bool "UBIFS Security Labels"
config KERNEL_JFFS2_FS_SECURITY
bool "JFFS2 Security Labels"

1
config/check-uname.sh Executable file
View File

@@ -0,0 +1 @@
[ "$(uname)" = "$1" ] && echo y || echo n

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

View File

@@ -1,4 +1,5 @@
src-git packages https://github.com/coolsnowwolf/packages
src-git luci https://github.com/coolsnowwolf/luci
src-git routing https://git.openwrt.org/feed/routing.git;openwrt-19.07
#src-git telephony https://git.openwrt.org/feed/telephony.git;openwrt-19.07
src-git packages https://github.com/DHDAXCW/packages
src-git luci https://github.com/DHDAXCW/luci
src-git routing https://github.com/coolsnowwolf/routing
src-git telephony https://git.openwrt.org/feed/telephony.git
src-git istore https://github.com/linkease/istore;main

View File

@@ -1,9 +1,9 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2007-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2007-2020 OpenWrt.org
ifneq ($(__autotools_inc),1)
__autotools_inc=1
autoconf_bool = $(patsubst %,$(if $($(1)),--enable,--disable)-%,$(2))
@@ -35,7 +35,7 @@ define autoreconf
$(patsubst %,rm -f %;,$(2)) \
$(foreach p,$(3), \
if [ -f $(p)/configure.ac ] || [ -f $(p)/configure.in ]; then \
[ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \
[ -d $(p)/autom4te.cache ] && rm -rf $(p)/autom4te.cache; \
[ -e $(p)/config.rpath ] || \
ln -s $(SCRIPT_DIR)/config.rpath $(p)/config.rpath; \
touch NEWS AUTHORS COPYING ABOUT-NLS ChangeLog; \
@@ -65,6 +65,12 @@ define patch_libtool
);
endef
define set_libtool_abiver
sed -i \
-e 's,^soname_spec=.*,soname_spec="\\$$$${libname}\\$$$${shared_ext}.$(PKG_ABI_VERSION)",' \
-e 's,^library_names_spec=.*,library_names_spec="\\$$$${libname}\\$$$${shared_ext}.$(PKG_ABI_VERSION) \\$$$${libname}\\$$$${shared_ext}",' \
$(PKG_BUILD_DIR)/libtool
endef
PKG_LIBTOOL_PATHS?=$(CONFIGURE_PATH)
PKG_AUTOMAKE_PATHS?=$(CONFIGURE_PATH)
@@ -87,7 +93,7 @@ endef
define gettext_version_target
(cd $(PKG_BUILD_DIR) && \
GETTEXT_VERSION=$(shell $(STAGING_DIR_HOSTPKG)/bin/gettext -V | $(STAGING_DIR_HOST)/bin/sed -ne '1s/.*\([0-9]\.[0-9]\{2\}\.[0-9]\).*/\1/p' ) && \
GETTEXT_VERSION=$(shell $(STAGING_DIR_HOSTPKG)/bin/gettext -V | $(STAGING_DIR_HOST)/bin/sed -rne '1s/.*\b([0-9]\.[0-9]+(\.[0-9]+)?)\b.*/\1/p' ) && \
$(STAGING_DIR_HOST)/bin/sed \
-i $(PKG_BUILD_DIR)/configure.ac \
-e "s/AM_GNU_GETTEXT_VERSION(.*)/AM_GNU_GETTEXT_VERSION(\[$$$$GETTEXT_VERSION\])/g" && \
@@ -107,14 +113,18 @@ ifneq ($(filter patch-libtool,$(PKG_FIXUP)),)
endif
ifneq ($(filter libtool,$(PKG_FIXUP)),)
PKG_BUILD_DEPENDS += libtool gettext libiconv
PKG_BUILD_DEPENDS += libtool
ifeq ($(filter no-autoreconf,$(PKG_FIXUP)),)
Hooks/Configure/Pre += autoreconf_target
endif
endif
ifneq ($(filter libtool-abiver,$(PKG_FIXUP)),)
Hooks/Configure/Post += set_libtool_abiver
endif
ifneq ($(filter libtool-ucxx,$(PKG_FIXUP)),)
PKG_BUILD_DEPENDS += libtool gettext libiconv
PKG_BUILD_DEPENDS += libtool
ifeq ($(filter no-autoreconf,$(PKG_FIXUP)),)
Hooks/Configure/Pre += autoreconf_target
endif
@@ -145,12 +155,8 @@ define patch_libtool_host
$(HOST_BUILD_DIR)))
endef
ifneq ($(filter patch-libtool,$(PKG_FIXUP)),)
Hooks/HostConfigure/Pre += patch_libtool_host
endif
ifneq ($(filter patch-libtool,$(HOST_FIXUP)),)
Hooks/HostConfigure/Pre += $(strip $(call patch_libtool,$(HOST_BUILD_DIR)))
Hooks/HostConfigure/Pre += patch_libtool_host
endif
ifneq ($(filter libtool,$(HOST_FIXUP)),)
@@ -170,3 +176,5 @@ ifneq ($(filter autoreconf,$(HOST_FIXUP)),)
Hooks/HostConfigure/Pre += autoreconf_host
endif
endif
endif #__autotools_inc

85
include/bpf.mk Normal file
View File

@@ -0,0 +1,85 @@
BPF_DEPENDS := @HAS_BPF_TOOLCHAIN
LLVM_VER:=
CLANG_MIN_VER:=12
ifneq ($(CONFIG_USE_LLVM_HOST),)
BPF_TOOLCHAIN_HOST_PATH:=$(call qstrip,$(CONFIG_BPF_TOOLCHAIN_HOST_PATH))
ifneq ($(BPF_TOOLCHAIN_HOST_PATH),)
BPF_PATH:=$(BPF_TOOLCHAIN_HOST_PATH)/bin:$(PATH)
else
BPF_PATH:=$(PATH)
endif
CLANG:=$(firstword $(shell PATH='$(BPF_PATH)' command -v clang clang-13 clang-12 clang-11))
LLVM_VER:=$(subst clang,,$(notdir $(CLANG)))
endif
ifneq ($(CONFIG_USE_LLVM_PREBUILT),)
CLANG:=$(TOPDIR)/llvm-bpf/bin/clang
endif
ifneq ($(CONFIG_USE_LLVM_BUILD),)
CLANG:=$(STAGING_DIR_HOST)/llvm-bpf/bin/clang
endif
LLVM_PATH:=$(dir $(CLANG))
LLVM_LLC:=$(LLVM_PATH)/llc$(LLVM_VER)
LLVM_DIS:=$(LLVM_PATH)/llvm-dis$(LLVM_VER)
LLVM_OPT:=$(LLVM_PATH)/opt$(LLVM_VER)
LLVM_STRIP:=$(LLVM_PATH)/llvm-strip$(LLVM_VER)
BPF_KARCH:=mips
BPF_ARCH:=mips$(if $(CONFIG_ARCH_64BIT),64)$(if $(CONFIG_BIG_ENDIAN),,el)
BPF_TARGET:=bpf$(if $(CONFIG_BIG_ENDIAN),eb,el)
BPF_HEADERS_DIR:=$(STAGING_DIR)/bpf-headers
BPF_KERNEL_INCLUDE := \
-nostdinc -isystem $(TOOLCHAIN_DIR)/include \
-I$(BPF_HEADERS_DIR)/arch/$(BPF_KARCH)/include \
-I$(BPF_HEADERS_DIR)/arch/$(BPF_KARCH)/include/asm/mach-generic \
-I$(BPF_HEADERS_DIR)/arch/$(BPF_KARCH)/include/generated \
-I$(BPF_HEADERS_DIR)/include \
-I$(BPF_HEADERS_DIR)/arch/$(BPF_KARCH)/include/uapi \
-I$(BPF_HEADERS_DIR)/arch/$(BPF_KARCH)/include/generated/uapi \
-I$(BPF_HEADERS_DIR)/include/uapi \
-I$(BPF_HEADERS_DIR)/include/generated/uapi \
-I$(BPF_HEADERS_DIR)/tools/lib \
-I$(BPF_HEADERS_DIR)/tools/testing/selftests \
-I$(BPF_HEADERS_DIR)/samples/bpf \
-include linux/kconfig.h -include asm_goto_workaround.h
BPF_CFLAGS := \
$(BPF_KERNEL_INCLUDE) -I$(PKG_BUILD_DIR) \
-D__KERNEL__ -D__BPF_TRACING__ -DCONFIG_GENERIC_CSUM \
-D__TARGET_ARCH_${BPF_KARCH} \
-m$(if $(CONFIG_BIG_ENDIAN),big,little)-endian \
-fno-stack-protector -Wall \
-Wno-unused-value -Wno-pointer-sign \
-Wno-compare-distinct-pointer-types \
-Wno-gnu-variable-sized-type-not-at-end \
-Wno-address-of-packed-member -Wno-tautological-compare \
-Wno-unknown-warning-option \
-fno-asynchronous-unwind-tables \
-Wno-uninitialized -Wno-unused-variable \
-Wno-unused-label \
-O2 -emit-llvm -Xclang -disable-llvm-passes
ifneq ($(CONFIG_HAS_BPF_TOOLCHAIN),)
ifeq ($(DUMP)$(filter download refresh,$(MAKECMDGOALS)),)
CLANG_VER:=$(shell $(CLANG) -dM -E - < /dev/null | grep __clang_major__ | cut -d' ' -f3)
CLANG_VER_VALID:=$(shell [ "$(CLANG_VER)" -ge "$(CLANG_MIN_VER)" ] && echo 1 )
ifeq ($(CLANG_VER_VALID),)
$(error ERROR: LLVM/clang version too old. Minimum required: $(CLANG_MIN_VER), found: $(CLANG_VER))
endif
endif
endif
define CompileBPF
$(CLANG) -g -target $(BPF_ARCH)-linux-gnu $(BPF_CFLAGS) $(2) \
-c $(1) -o $(patsubst %.c,%.bc,$(1))
$(LLVM_OPT) -O2 -mtriple=$(BPF_TARGET) < $(patsubst %.c,%.bc,$(1)) > $(patsubst %.c,%.opt,$(1))
$(LLVM_DIS) < $(patsubst %.c,%.opt,$(1)) > $(patsubst %.c,%.S,$(1))
$(LLVM_LLC) -march=$(BPF_TARGET) -mcpu=v3 -filetype=obj -o $(patsubst %.c,%.o,$(1)) < $(patsubst %.c,%.S,$(1))
$(CP) $(patsubst %.c,%.o,$(1)) $(patsubst %.c,%.debug.o,$(1))
$(LLVM_STRIP) --strip-debug $(patsubst %.c,%.o,$(1))
endef

View File

@@ -1,33 +1,49 @@
cmake_bool = $(patsubst %,-D%:BOOL=$(if $($(1)),ON,OFF),$(2))
PKG_USE_NINJA ?= 1
HOST_USE_NINJA ?= 1
ifeq ($(PKG_USE_NINJA),1)
PKG_BUILD_PARALLEL ?= 1
endif
ifeq ($(HOST_USE_NINJA),1)
HOST_BUILD_PARALLEL ?= 1
endif
PKG_INSTALL:=1
ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
MAKE_FLAGS+=VERBOSE=1
HOST_MAKE_FLAGS+=VERBOSE=1
endif
CMAKE_BINARY_DIR = $(PKG_BUILD_DIR)$(if $(CMAKE_BINARY_SUBDIR),/$(CMAKE_BINARY_SUBDIR))
CMAKE_SOURCE_DIR = $(PKG_BUILD_DIR)$(if $(CMAKE_SOURCE_SUBDIR),/$(CMAKE_SOURCE_SUBDIR))
HOST_CMAKE_SOURCE_DIR = $(HOST_BUILD_DIR)$(if $(CMAKE_SOURCE_SUBDIR),/$(CMAKE_SOURCE_SUBDIR))
HOST_CMAKE_BINARY_DIR = $(HOST_BUILD_DIR)$(if $(CMAKE_BINARY_SUBDIR),/$(CMAKE_BINARY_SUBDIR))
MAKE_PATH = $(firstword $(CMAKE_BINARY_SUBDIR) .)
ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
cmake_tool=$(TOOLCHAIN_DIR)/bin/$(1)
else
cmake_tool=$(shell which $(1))
cmake_tool=$(shell command -v $(1))
endif
ifeq ($(CONFIG_CCACHE),)
CMAKE_C_COMPILER_LAUNCHER:=
CMAKE_CXX_COMPILER_LAUNCHER:=
CMAKE_C_COMPILER:=$(call cmake_tool,$(TARGET_CC))
CMAKE_CXX_COMPILER:=$(call cmake_tool,$(TARGET_CXX))
CMAKE_C_COMPILER_ARG1:=
CMAKE_CXX_COMPILER_ARG1:=
CMAKE_HOST_C_COMPILER:=$(HOSTCC)
CMAKE_HOST_CXX_COMPILER:=$(HOSTCXX)
else
CCACHE:=$(STAGING_DIR_HOST)/bin/ccache
CMAKE_C_COMPILER:=$(CCACHE)
CMAKE_C_COMPILER_ARG1:=$(TARGET_CC_NOCACHE)
CMAKE_CXX_COMPILER:=$(CCACHE)
CMAKE_CXX_COMPILER_ARG1:=$(TARGET_CXX_NOCACHE)
CMAKE_C_COMPILER_LAUNCHER:=$(CCACHE)
CMAKE_CXX_COMPILER_LAUNCHER:=$(CCACHE)
CMAKE_C_COMPILER:=$(TARGET_CC_NOCACHE)
CMAKE_CXX_COMPILER:=$(TARGET_CXX_NOCACHE)
CMAKE_HOST_C_COMPILER:=$(HOSTCC_NOCACHE)
CMAKE_HOST_CXX_COMPILER:=$(HOSTCXX_NOCACHE)
endif
CMAKE_AR:=$(call cmake_tool,$(TARGET_AR))
CMAKE_NM:=$(call cmake_tool,$(TARGET_NM))
@@ -36,6 +52,35 @@ CMAKE_RANLIB:=$(call cmake_tool,$(TARGET_RANLIB))
CMAKE_FIND_ROOT_PATH:=$(STAGING_DIR)/usr;$(TOOLCHAIN_DIR)$(if $(CONFIG_EXTERNAL_TOOLCHAIN),;$(CONFIG_TOOLCHAIN_ROOT))
CMAKE_HOST_FIND_ROOT_PATH:=$(STAGING_DIR)/host;$(STAGING_DIR_HOSTPKG);$(STAGING_DIR_HOST)
CMAKE_SHARED_LDFLAGS:=-Wl,-Bsymbolic-functions
CMAKE_HOST_INSTALL_PREFIX = $(HOST_BUILD_PREFIX)
ifeq ($(HOST_USE_NINJA),1)
CMAKE_HOST_OPTIONS += -DCMAKE_GENERATOR="Ninja"
define Host/Compile/Default
+$(NINJA) -C $(HOST_CMAKE_BINARY_DIR) $(1)
endef
define Host/Install/Default
+$(NINJA) -C $(HOST_CMAKE_BINARY_DIR) install
endef
define Host/Uninstall/Default
+$(NINJA) -C $(HOST_CMAKE_BINARY_DIR) uninstall
endef
endif
ifeq ($(PKG_USE_NINJA),1)
CMAKE_OPTIONS += -DCMAKE_GENERATOR="Ninja"
define Build/Compile/Default
+$(NINJA) -C $(CMAKE_BINARY_DIR) $(1)
endef
define Build/Install/Default
+DESTDIR="$(PKG_INSTALL_DIR)" $(NINJA) -C $(CMAKE_BINARY_DIR) install
endef
endif
define Build/Configure/Default
mkdir -p $(CMAKE_BINARY_DIR)
@@ -50,12 +95,12 @@ define Build/Configure/Default
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
-DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
-DCMAKE_C_COMPILER_LAUNCHER="$(CMAKE_C_COMPILER_LAUNCHER)" \
-DCMAKE_C_COMPILER="$(CMAKE_C_COMPILER)" \
-DCMAKE_C_COMPILER_ARG1="$(CMAKE_C_COMPILER_ARG1)" \
-DCMAKE_CXX_COMPILER_LAUNCHER="$(CMAKE_CXX_COMPILER_LAUNCHER)" \
-DCMAKE_CXX_COMPILER="$(CMAKE_CXX_COMPILER)" \
-DCMAKE_CXX_COMPILER_ARG1="$(CMAKE_CXX_COMPILER_ARG1)" \
-DCMAKE_ASM_COMPILER_LAUNCHER="$(CMAKE_C_COMPILER_LAUNCHER)" \
-DCMAKE_ASM_COMPILER="$(CMAKE_C_COMPILER)" \
-DCMAKE_ASM_COMPILER_ARG1="$(CMAKE_C_COMPILER_ARG1)" \
-DCMAKE_EXE_LINKER_FLAGS:STRING="$(TARGET_LDFLAGS)" \
-DCMAKE_MODULE_LINKER_FLAGS:STRING="$(TARGET_LDFLAGS) $(CMAKE_SHARED_LDFLAGS)" \
-DCMAKE_SHARED_LINKER_FLAGS:STRING="$(TARGET_LDFLAGS) $(CMAKE_SHARED_LDFLAGS)" \
@@ -71,6 +116,12 @@ define Build/Configure/Default
-DDL_LIBRARY=$(STAGING_DIR) \
-DCMAKE_PREFIX_PATH=$(STAGING_DIR) \
-DCMAKE_SKIP_RPATH=TRUE \
-DCMAKE_EXPORT_PACKAGE_REGISTRY=FALSE \
-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=TRUE \
-DCMAKE_FIND_USE_PACKAGE_REGISTRY=FALSE \
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=TRUE \
-DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=FALSE \
-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=TRUE \
$(CMAKE_OPTIONS) \
$(CMAKE_SOURCE_DIR) \
)
@@ -84,12 +135,19 @@ endef
Build/InstallDev = $(if $(CMAKE_INSTALL),$(Build/InstallDev/cmake))
define Host/Configure/Default
(cd $(HOST_BUILD_DIR); \
mkdir -p "$(HOST_CMAKE_BINARY_DIR)"
(cd $(HOST_CMAKE_BINARY_DIR); \
CFLAGS="$(HOST_CFLAGS)" \
CXXFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER_LAUNCHER="$(CMAKE_C_COMPILER_LAUNCHER)" \
-DCMAKE_C_COMPILER="$(CMAKE_HOST_C_COMPILER)" \
-DCMAKE_CXX_COMPILER_LAUNCHER="$(CMAKE_CXX_COMPILER_LAUNCHER)" \
-DCMAKE_CXX_COMPILER="$(CMAKE_HOST_CXX_COMPILER)" \
-DCMAKE_ASM_COMPILER_LAUNCHER="$(CMAKE_C_COMPILER_LAUNCHER)" \
-DCMAKE_ASM_COMPILER="$(CMAKE_HOST_C_COMPILER)" \
-DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
-DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
-DCMAKE_EXE_LINKER_FLAGS:STRING="$(HOST_LDFLAGS)" \
@@ -100,10 +158,16 @@ define Host/Configure/Default
-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \
-DCMAKE_STRIP=: \
-DCMAKE_INSTALL_PREFIX=$(HOST_BUILD_PREFIX) \
-DCMAKE_INSTALL_PREFIX=$(CMAKE_HOST_INSTALL_PREFIX) \
-DCMAKE_PREFIX_PATH=$(HOST_BUILD_PREFIX) \
-DCMAKE_SKIP_RPATH=TRUE \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_EXPORT_PACKAGE_REGISTRY=FALSE \
-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=TRUE \
-DCMAKE_FIND_USE_PACKAGE_REGISTRY=FALSE \
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=TRUE \
-DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=FALSE \
-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=TRUE \
$(CMAKE_HOST_OPTIONS) \
$(HOST_CMAKE_SOURCE_DIR) \
)

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2007-2020 OpenWrt.org
# debug flags:
#

View File

@@ -1,9 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2007-2020 OpenWrt.org
# define a dependency on a subtree
# parameters:
# 1: directories/files
@@ -13,7 +11,8 @@
DEP_FINDPARAMS := -x "*/.svn*" -x ".*" -x "*:*" -x "*\!*" -x "* *" -x "*\\\#*" -x "*/.*_check" -x "*/.*.swp" -x "*/.pkgdir*"
find_md5=find $(wildcard $(1)) -type f $(patsubst -x,-and -not -path,$(DEP_FINDPARAMS) $(2)) | mkhash md5
find_md5=find $(wildcard $(1)) -type f $(patsubst -x,-and -not -path,$(DEP_FINDPARAMS) $(2)) -printf "%p%T@\n" | sort | $(MKHASH) md5
find_md5_reproducible=find $(wildcard $(1)) -type f $(patsubst -x,-and -not -path,$(DEP_FINDPARAMS) $(2)) -print0 | xargs -0 $(MKHASH) md5 | sort | $(MKHASH) md5
define rdep
.PRECIOUS: $(2)
@@ -29,7 +28,7 @@ ifneq ($(wildcard $(2)),)
{ [ \! -f "$(3)" ] || diff $(3) $(3).1 >/dev/null; } && \
) \
{ \
[ -f "$(2)_check.1" ] && mv "$(2)_check.1"; \
[ -f "$(2)_check.1" ] && mv "$(2)_check.1" "$(2)_check"; \
$(TOPDIR)/scripts/timestamp.pl $(DEP_FINDPARAMS) $(4) -n $(2) $(1) && { \
$(call debug_eval,$(SUBDIR),r,echo "No need to rebuild $(2)";) \
touch -r "$(2)" "$(2)_check"; \

View File

@@ -1,10 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2012 OpenWrt.org
# Copyright (C) 2016 LEDE project
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
PROJECT_GIT = https://git.openwrt.org
@@ -12,13 +9,19 @@ OPENWRT_GIT = $(PROJECT_GIT)
LEDE_GIT = $(PROJECT_GIT)
ifdef PKG_SOURCE_VERSION
PKG_VERSION ?= $(if $(PKG_SOURCE_DATE),$(PKG_SOURCE_DATE)-)$(call version_abbrev,$(PKG_SOURCE_VERSION))
PKG_SOURCE_SUBDIR ?= $(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE ?= $(PKG_SOURCE_SUBDIR).tar.xz
ifndef PKG_VERSION
PKG_VERSION := $(if $(PKG_SOURCE_DATE),$(PKG_SOURCE_DATE)-)$(call version_abbrev,$(PKG_SOURCE_VERSION))
endif
PKG_SOURCE_SUBDIR ?= $(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE ?= $(PKG_SOURCE_SUBDIR).tar.xz
endif
DOWNLOAD_RDEP=$(STAMP_PREPARED) $(HOST_STAMP_PREPARED)
# Export options for download.pl
export DOWNLOAD_CHECK_CERTIFICATE:=$(CONFIG_DOWNLOAD_CHECK_CERTIFICATE)
export DOWNLOAD_TOOL_CUSTOM:=$(CONFIG_DOWNLOAD_TOOL_CUSTOM)
define dl_method_git
$(if $(filter https://github.com/% git://github.com/%,$(1)),github_archive,git)
endef
@@ -28,7 +31,7 @@ define dl_method
$(strip \
$(if $(filter git,$(2)),$(call dl_method_git,$(1),$(2)),
$(if $(2),$(2), \
$(if $(filter @APACHE/% @GITHUB/% @GNOME/% @GNU/% @KERNEL/% @SF/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \
$(if $(filter @OPENWRT @APACHE/% @DEBIAN/% @GITHUB/% @GNOME/% @GNU/% @KERNEL/% @SF/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \
$(if $(filter git://%,$(1)),$(call dl_method_git,$(1),$(2)), \
$(if $(filter svn://%,$(1)),svn, \
$(if $(filter cvs://%,$(1)),cvs, \
@@ -50,6 +53,7 @@ endef
dl_pack/bz2=bzip2 -c > $(1)
dl_pack/gz=gzip -nc > $(1)
dl_pack/xz=xz -zc -7e > $(1)
dl_pack/zst=zstd -T0 --ultra -20 -c > $(1)
dl_pack/unknown=$(error ERROR: Unknown pack format for file $(1))
define dl_pack
$(if $(dl_pack/$(call ext,$(1))),$(dl_pack/$(call ext,$(1))),$(dl_pack/unknown))
@@ -59,6 +63,21 @@ define dl_tar_pack
$$$${TAR_TIMESTAMP:+--mtime="$$$$TAR_TIMESTAMP"} -c $(2) | $(call dl_pack,$(1))
endef
gen_sha256sum = $(shell $(MKHASH) sha256 $(DL_DIR)/$(1))
# Used in Build/CoreTargets and HostBuild/Core as an integrity check for
# downloaded files. It will add a FORCE rule if the sha256 hash does not
# match, so that the download can be more thoroughly handled by download.pl.
define check_download_integrity
expected_hash:=$(strip $(if $(filter-out x,$(HASH)),$(HASH),$(MIRROR_HASH)))
$$(if $$(and $(FILE),$$(wildcard $(DL_DIR)/$(FILE)), \
$$(filter undefined,$$(flavor DownloadChecked/$(FILE)))), \
$$(eval DownloadChecked/$(FILE):=1) \
$$(if $$(filter-out $$(call gen_sha256sum,$(FILE)),$$(expected_hash)), \
$(DL_DIR)/$(FILE): FORCE) \
)
endef
ifdef CHECK
check_escape=$(subst ','\'',$(1))
#')
@@ -74,8 +93,6 @@ else
check_warn = $(if $(filter-out undefined,$(origin F_$(1))),$(filter ,$(shell $(call F_$(1),$(2),$(3),$(4)) >&2)),$(check_warn_nofix))
endif
gen_sha256sum = $(shell mkhash sha256 $(DL_DIR)/$(1))
ifdef FIXUP
F_hash_deprecated = $(SCRIPT_DIR)/fixup-makefile.pl $(CURDIR)/Makefile fix-hash $(3) $(call gen_sha256sum,$(1)) $(2)
F_hash_mismatch = $(F_hash_deprecated)

View File

@@ -1,10 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2014 OpenWrt.org
# Copyright (C) 2016 LEDE Project
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-include $(TMP_DIR)/.packageauxvars
@@ -36,6 +33,8 @@ define FeedSourcesAppend
echo 'src/gz %d_core %U/targets/%S/packages'; \
$(strip $(if $(CONFIG_PER_FEED_REPO), \
echo 'src/gz %d_base %U/packages/%A/base'; \
$(if $(filter %SNAPSHOT-y,$(VERSION_NUMBER)-$(CONFIG_BUILDBOT)), \
echo 'src/gz %d_kmods %U/targets/%S/kmods/$(LINUX_VERSION)-$(LINUX_RELEASE)-$(LINUX_VERMAGIC)';) \
$(foreach feed,$(FEEDS_AVAILABLE), \
$(if $(CONFIG_FEED_$(feed)), \
echo '$(if $(filter m,$(CONFIG_FEED_$(feed))),# )src/gz %d_$(feed) %U/packages/%A/$(feed)';)))) \
@@ -44,5 +43,11 @@ endef
# 1: package name
define GetABISuffix
$(if $(filter-out kmod-%,$(1)),$(if $(Package/$(1)/abiversion),$(if $(filter %0 %1 %2 %3 %4 %5 %6 %7 %8 %9,$(1)),-)$(Package/$(1)/abiversion)))
$(if $(ABIV_$(1)),$(ABIV_$(1)),$(call FormatABISuffix,$(1),$(foreach v,$(wildcard $(STAGING_DIR)/pkginfo/$(1).version),$(shell cat $(v)))))
endef
# 1: package name
# 2: abi version
define FormatABISuffix
$(if $(filter-out kmod-%,$(1)),$(if $(2),$(if $(filter %0 %1 %2 %3 %4 %5 %6 %7 %8 %9,$(1)),-)$(2)))
endef

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2015-2020 OpenWrt.org
PKG_CHECK_FORMAT_SECURITY ?= 1
PKG_ASLR_PIE ?= 1

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2006-2020 OpenWrt.org
include $(INCLUDE_DIR)/download.mk
@@ -24,7 +21,7 @@ include $(INCLUDE_DIR)/depends.mk
include $(INCLUDE_DIR)/quilt.mk
BUILD_TYPES += host
HOST_STAMP_PREPARED=$(HOST_BUILD_DIR)/.prepared$(if $(HOST_QUILT)$(DUMP),,$(shell $(call find_md5,${CURDIR} $(PKG_FILE_DEPENDS),))_$(call confvar,CONFIG_AUTOREMOVE $(HOST_PREPARED_DEPENDS)))
HOST_STAMP_PREPARED=$(HOST_BUILD_DIR)/.prepared$(if $(HOST_QUILT)$(DUMP),,$(shell $(call $(if $(CONFIG_AUTOREMOVE),find_md5_reproducible,find_md5),${CURDIR} $(PKG_FILE_DEPENDS),))_$(call confvar,CONFIG_AUTOREMOVE $(HOST_PREPARED_DEPENDS)))
HOST_STAMP_CONFIGURED:=$(HOST_BUILD_DIR)/.configured
HOST_STAMP_BUILT:=$(HOST_BUILD_DIR)/.built
HOST_BUILD_PREFIX?=$(if $(IS_PACKAGE_BUILD),$(STAGING_DIR_HOSTPKG),$(STAGING_DIR_HOST))
@@ -54,6 +51,7 @@ HOST_CONFIGURE_VARS = \
CFLAGS="$(HOST_CFLAGS)" \
CXX="$(HOSTCXX)" \
CPPFLAGS="$(HOST_CPPFLAGS)" \
CXXFLAGS="$(HOST_CXXFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
CONFIG_SHELL="$(SHELL)"
@@ -132,7 +130,6 @@ define Host/Exports/Default
$(1) : export STAGING_PREFIX=$$(HOST_BUILD_PREFIX)
$(1) : export PKG_CONFIG_PATH=$$(STAGING_DIR_HOST)/lib/pkgconfig:$$(HOST_BUILD_PREFIX)/lib/pkgconfig
$(1) : export PKG_CONFIG_LIBDIR=$$(HOST_BUILD_PREFIX)/lib/pkgconfig
$(if $(CONFIG_CCACHE),$(1) : export CCACHE_DIR:=$(STAGING_DIR_HOST)/ccache)
$(if $(HOST_CONFIG_SITE),$(1) : export CONFIG_SITE:=$(HOST_CONFIG_SITE))
$(if $(IS_PACKAGE_BUILD),$(1) : export PATH=$$(TARGET_PATH_PKG))
endef
@@ -184,6 +181,8 @@ ifndef DUMP
clean-build: host-clean-build
endif
$(call check_download_integrity)
$(_host_target)host-prepare: $(HOST_STAMP_PREPARED)
$(_host_target)host-configure: $(HOST_STAMP_CONFIGURED)
$(_host_target)host-compile: $(HOST_STAMP_BUILT) $(HOST_STAMP_INSTALLED)
@@ -199,13 +198,17 @@ ifndef DUMP
ifneq ($(CONFIG_AUTOREMOVE),)
host-compile:
$(FIND) $(HOST_BUILD_DIR) -mindepth 1 -maxdepth 1 -not '(' -type f -and -name '.*' -and -size 0 ')' | \
$(XARGS) rm -rf
$(FIND) $(HOST_BUILD_DIR) -mindepth 1 -maxdepth 1 -not '(' -type f -and -name '.*' -and -size 0 ')' -print0 | \
$(XARGS) -0 rm -rf
endif
endef
endif
define HostBuild
$(HostBuild/Core)
$(if $(if $(PKG_HOST_ONLY),,$(STAMP_PREPARED)),,$(if $(strip $(PKG_SOURCE_URL)),$(call Download,default)))
$(if $(if $(PKG_HOST_ONLY),,$(if $(and $(filter host-%,$(MAKECMDGOALS)),$(PKG_SKIP_DOWNLOAD)),,$(STAMP_PREPARED))),,
$(if $(and $(CONFIG_AUTOREMOVE), $(wildcard $(HOST_STAMP_INSTALLED), $(wildcard $(HOST_STAMP_BUILT)))),,
$(if $(strip $(PKG_SOURCE_URL)),$(call Download,default))
)
)
endef

View File

@@ -3,15 +3,178 @@
IMAGE_KERNEL = $(word 1,$^)
IMAGE_ROOTFS = $(word 2,$^)
define ModelNameLimit16
$(shell printf %.16s "$(word 2, $(subst _, ,$(1)))")
endef
define rootfs_align
$(patsubst %-256k,0x40000,$(patsubst %-128k,0x20000,$(patsubst %-64k,0x10000,$(patsubst squashfs%,0x4,$(patsubst root.%,%,$(1))))))
endef
define Build/uImage
mkimage -A $(LINUX_KARCH) \
-O linux -T kernel \
-C $(1) -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
-n '$(if $(UIMAGE_NAME),$(UIMAGE_NAME),$(call toupper,$(LINUX_KARCH)) $(VERSION_DIST) Linux-$(LINUX_VERSION))' -d $@ $@.new
define Build/append-dtb
cat $(KDIR)/image-$(firstword $(DEVICE_DTS)).dtb >> $@
endef
define Build/append-dtb-elf
$(TARGET_CROSS)objcopy \
--set-section-flags=.appended_dtb=alloc,contents \
--update-section \
.appended_dtb=$(KDIR)/image-$(firstword $(DEVICE_DTS)).dtb $@
endef
define Build/append-kernel
dd if=$(IMAGE_KERNEL) >> $@
endef
define Build/package-kernel-ubifs
mkdir $@.kernelubifs
cp $@ $@.kernelubifs/kernel
$(STAGING_DIR_HOST)/bin/mkfs.ubifs \
$(KERNEL_UBIFS_OPTS) \
-r $@.kernelubifs $@
rm -r $@.kernelubifs
endef
define Build/append-image
cp "$(BIN_DIR)/$(DEVICE_IMG_PREFIX)-$(1)" "$@.stripmeta"
fwtool -s /dev/null -t "$@.stripmeta" || :
fwtool -i /dev/null -t "$@.stripmeta" || :
dd if="$@.stripmeta" >> "$@"
rm "$@.stripmeta"
endef
ifdef IB
define Build/append-image-stage
dd if=$(STAGING_DIR_IMAGE)/$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))-$(DEVICE_NAME)-$(1) >> $@
endef
else
define Build/append-image-stage
cp "$(BIN_DIR)/$(DEVICE_IMG_PREFIX)-$(1)" "$@.stripmeta"
fwtool -s /dev/null -t "$@.stripmeta" || :
fwtool -i /dev/null -t "$@.stripmeta" || :
mkdir -p "$(STAGING_DIR_IMAGE)"
dd if="$@.stripmeta" of="$(STAGING_DIR_IMAGE)/$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))-$(DEVICE_NAME)-$(1)"
dd if="$@.stripmeta" >> "$@"
rm "$@.stripmeta"
endef
endif
compat_version=$(if $(DEVICE_COMPAT_VERSION),$(DEVICE_COMPAT_VERSION),1.0)
json_quote=$(subst ','\'',$(subst ",\",$(1)))
#")')
legacy_supported_message=$(SUPPORTED_DEVICES) - Image version mismatch: image $(compat_version), \
device 1.0. Please wipe config during upgrade (force required) or reinstall. \
$(if $(DEVICE_COMPAT_MESSAGE),Reason: $(DEVICE_COMPAT_MESSAGE),Please check documentation ...)
metadata_devices=$(if $(1),$(subst "$(space)","$(comma)",$(strip $(foreach v,$(1),"$(call json_quote,$(v))"))))
metadata_json = \
'{ $(if $(IMAGE_METADATA),$(IMAGE_METADATA)$(comma)) \
"metadata_version": "1.1", \
"compat_version": "$(call json_quote,$(compat_version))", \
$(if $(DEVICE_COMPAT_MESSAGE),"compat_message": "$(call json_quote,$(DEVICE_COMPAT_MESSAGE))"$(comma)) \
$(if $(filter-out 1.0,$(compat_version)),"new_supported_devices": \
[$(call metadata_devices,$(SUPPORTED_DEVICES))]$(comma) \
"supported_devices": ["$(call json_quote,$(legacy_supported_message))"]$(comma)) \
$(if $(filter 1.0,$(compat_version)),"supported_devices":[$(call metadata_devices,$(SUPPORTED_DEVICES))]$(comma)) \
"version": { \
"dist": "$(call json_quote,$(VERSION_DIST))", \
"version": "$(call json_quote,$(VERSION_NUMBER))", \
"revision": "$(call json_quote,$(REVISION))", \
"target": "$(call json_quote,$(TARGETID))", \
"board": "$(call json_quote,$(if $(BOARD_NAME),$(BOARD_NAME),$(DEVICE_NAME)))" \
} \
}'
define Build/append-metadata
$(if $(SUPPORTED_DEVICES),-echo $(call metadata_json) | fwtool -I - $@)
sha256sum "$@" | cut -d" " -f1 > "$@.sha256sum"
[ ! -s "$(BUILD_KEY)" -o ! -s "$(BUILD_KEY).ucert" -o ! -s "$@" ] || { \
cp "$(BUILD_KEY).ucert" "$@.ucert" ;\
usign -S -m "$@" -s "$(BUILD_KEY)" -x "$@.sig" ;\
ucert -A -c "$@.ucert" -x "$@.sig" ;\
fwtool -S "$@.ucert" "$@" ;\
}
endef
define Build/append-rootfs
dd if=$(IMAGE_ROOTFS) >> $@
endef
define Build/append-squashfs-fakeroot-be
rm -rf $@.fakefs $@.fakesquashfs
mkdir $@.fakefs
$(STAGING_DIR_HOST)/bin/mksquashfs-lzma \
$@.fakefs $@.fakesquashfs \
-noappend -root-owned -be -nopad -b 65536 \
$(if $(SOURCE_DATE_EPOCH),-fixed-time $(SOURCE_DATE_EPOCH))
cat $@.fakesquashfs >> $@
endef
define Build/append-squashfs4-fakeroot
rm -rf $@.fakefs $@.fakesquashfs
mkdir $@.fakefs
$(STAGING_DIR_HOST)/bin/mksquashfs4 \
$@.fakefs $@.fakesquashfs \
-nopad -noappend -root-owned
cat $@.fakesquashfs >> $@
endef
define Build/append-string
echo -n $(1) >> $@
endef
define Build/append-ubi
sh $(TOPDIR)/scripts/ubinize-image.sh \
$(if $(UBOOTENV_IN_UBI),--uboot-env) \
$(if $(KERNEL_IN_UBI),--kernel $(IMAGE_KERNEL)) \
$(foreach part,$(UBINIZE_PARTS),--part $(part)) \
--rootfs $(IMAGE_ROOTFS) \
$@.tmp \
-p $(BLOCKSIZE:%k=%KiB) -m $(PAGESIZE) \
$(if $(SUBPAGESIZE),-s $(SUBPAGESIZE)) \
$(if $(VID_HDR_OFFSET),-O $(VID_HDR_OFFSET)) \
$(UBINIZE_OPTS)
cat $@.tmp >> $@
rm $@.tmp
endef
define Build/ubinize-kernel
cp $@ $@.tmp
sh $(TOPDIR)/scripts/ubinize-image.sh \
--kernel $@.tmp \
$@ \
-p $(BLOCKSIZE:%k=%KiB) -m $(PAGESIZE) \
$(if $(SUBPAGESIZE),-s $(SUBPAGESIZE)) \
$(if $(VID_HDR_OFFSET),-O $(VID_HDR_OFFSET)) \
$(UBINIZE_OPTS)
rm $@.tmp
endef
define Build/append-uboot
dd if=$(UBOOT_PATH) >> $@
endef
# append a fake/empty uImage header, to fool bootloaders rootfs integrity check
# for example
define Build/append-uImage-fakehdr
$(eval type=$(word 1,$(1)))
$(eval magic=$(word 2,$(1)))
touch $@.fakehdr
$(STAGING_DIR_HOST)/bin/mkimage \
-A $(LINUX_KARCH) -O linux -T $(type) -C none \
-n '$(VERSION_DIST) fake $(type)' \
$(if $(magic),-M $(magic)) \
-d $@.fakehdr \
-s \
$@.fakehdr
cat $@.fakehdr >> $@
endef
define Build/buffalo-dhp-image
$(STAGING_DIR_HOST)/bin/mkdhpimg $@ $@.new
mv $@.new $@
endef
@@ -43,39 +206,190 @@ define Build/buffalo-tag-dhp
mv $@.new $@
endef
define Build/buffalo-dhp-image
$(STAGING_DIR_HOST)/bin/mkdhpimg $@ $@.new
define Build/check-size
@imagesize="$$(stat -c%s $@)"; \
limitsize="$$(($(subst k,* 1024,$(subst m, * 1024k,$(if $(1),$(1),$(IMAGE_SIZE))))))"; \
[ $$limitsize -ge $$imagesize ] || { \
$(call ERROR_MESSAGE, WARNING: Image file $@ is too big: $$imagesize > $$limitsize); \
rm -f $@; \
}
endef
define Build/copy-file
cat "$(1)" > "$@"
endef
define Build/edimax-header
$(STAGING_DIR_HOST)/bin/mkedimaximg -i $@ -o $@.new $(1)
@mv $@.new $@
endef
define Build/elecom-product-header
$(eval product=$(word 1,$(1)))
$(eval fw=$(if $(word 2,$(1)),$(word 2,$(1)),$@))
( \
echo -n -e "ELECOM\x00\x00$(product)" | dd bs=40 count=1 conv=sync; \
echo -n "0.00" | dd bs=16 count=1 conv=sync; \
dd if=$(fw); \
) > $(fw).new
mv $(fw).new $(fw)
endef
define Build/elecom-wrc-gs-factory
$(eval product=$(word 1,$(1)))
$(eval version=$(word 2,$(1)))
$(eval hash_opt=$(word 3,$(1)))
$(MKHASH) md5 $(hash_opt) $@ >> $@
( \
echo -n "ELECOM $(product) v$(version)" | \
dd bs=32 count=1 conv=sync; \
dd if=$@; \
) > $@.new
mv $@.new $@
endef
define Build/elx-header
$(eval hw_id=$(word 1,$(1)))
$(eval xor_pattern=$(word 2,$(1)))
( \
echo -ne "\x00\x00\x00\x00\x00\x00\x00\x03" | \
dd bs=42 count=1 conv=sync; \
hw_id="$(hw_id)"; \
echo -ne "\x$${hw_id:0:2}\x$${hw_id:2:2}\x$${hw_id:4:2}\x$${hw_id:6:2}" | \
dd bs=20 count=1 conv=sync; \
echo -ne "$$(printf '%08x' $$(stat -c%s $@) | fold -s2 | xargs -I {} echo \\x{} | tr -d '\n')" | \
dd bs=8 count=1 conv=sync; \
echo -ne "$$($(MKHASH) md5 $@ | fold -s2 | xargs -I {} echo \\x{} | tr -d '\n')" | \
dd bs=58 count=1 conv=sync; \
) > $(KDIR)/tmp/$(DEVICE_NAME).header
$(call Build/xor-image,-p $(xor_pattern) -x)
cat $(KDIR)/tmp/$(DEVICE_NAME).header $@ > $@.new
mv $@.new $@
rm -rf $(KDIR)/tmp/$(DEVICE_NAME).header
endef
define Build/eva-image
$(STAGING_DIR_HOST)/bin/lzma2eva $(KERNEL_LOADADDR) $(KERNEL_LOADADDR) $@ $@.new
mv $@.new $@
endef
define Build/seama
$(STAGING_DIR_HOST)/bin/seama -i $@ \
-m "dev=/dev/mtdblock/$(SEAMA_MTDBLOCK)" -m "type=firmware"
mv $@.seama $@
define Build/initrd_compression
$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_BZIP2),.bzip2) \
$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_GZIP),.gzip) \
$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZ4),.lz4) \
$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZMA),.lzma) \
$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZO),.lzo) \
$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_XZ),.xz) \
$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_ZSTD),.zstd)
endef
define Build/seama-seal
$(STAGING_DIR_HOST)/bin/seama -i $@ -s $@.seama \
-m "signature=$(SEAMA_SIGNATURE)"
mv $@.seama $@
define Build/fit
$(TOPDIR)/scripts/mkits.sh \
-D $(DEVICE_NAME) -o $@.its -k $@ \
-C $(word 1,$(1)) \
$(if $(word 2,$(1)),\
$(if $(findstring 11,$(if $(DEVICE_DTS_OVERLAY),1)$(if $(findstring $(KERNEL_BUILD_DIR)/image-,$(word 2,$(1))),,1)), \
-d $(KERNEL_BUILD_DIR)/image-$$(basename $(word 2,$(1))), \
-d $(word 2,$(1)))) \
$(if $(findstring with-rootfs,$(word 3,$(1))),-r $(IMAGE_ROOTFS)) \
$(if $(findstring with-initrd,$(word 3,$(1))), \
$(if $(CONFIG_TARGET_ROOTFS_INITRAMFS_SEPARATE), \
-i $(KERNEL_BUILD_DIR)/initrd.cpio$(strip $(call Build/initrd_compression)))) \
-a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
$(if $(DEVICE_FDT_NUM),-n $(DEVICE_FDT_NUM)) \
$(if $(DEVICE_DTS_DELIMITER),-l $(DEVICE_DTS_DELIMITER)) \
$(if $(DEVICE_DTS_LOADADDR),-s $(DEVICE_DTS_LOADADDR)) \
$(if $(DEVICE_DTS_OVERLAY),$(foreach dtso,$(DEVICE_DTS_OVERLAY), -O $(dtso):$(KERNEL_BUILD_DIR)/image-$(dtso).dtbo)) \
-c $(if $(DEVICE_DTS_CONFIG),$(DEVICE_DTS_CONFIG),"config-1") \
-A $(LINUX_KARCH) -v $(LINUX_VERSION)
PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage $(if $(findstring external,$(word 3,$(1))),\
-E -B 0x1000 $(if $(findstring static,$(word 3,$(1))),-p 0x1000)) -f $@.its $@.new
@mv $@.new $@
endef
define Build/zyxel-ras-image
let \
newsize="$(subst k,* 1024,$(RAS_ROOTFS_SIZE))"; \
$(STAGING_DIR_HOST)/bin/mkrasimage \
-b $(RAS_BOARD) \
-v $(RAS_VERSION) \
-r $@ \
-s $$newsize \
define Build/libdeflate-gzip
$(STAGING_DIR_HOST)/bin/libdeflate-gzip -f -12 -c $@ $(1) > $@.new
@mv $@.new $@
endef
define Build/gzip
$(STAGING_DIR_HOST)/bin/gzip -f -9n -c $@ $(1) > $@.new
@mv $@.new $@
endef
define Build/gzip-filename
@mkdir -p $@.tmp
@cp $@ $@.tmp/$(word 1,$(1))
$(if $(SOURCE_DATE_EPOCH),touch -hcd "@$(SOURCE_DATE_EPOCH)" $@.tmp/$(word 1,$(1)) $(word 2,$(1)))
$(STAGING_DIR_HOST)/bin/gzip -f -9 -N -c $@.tmp/$(word 1,$(1)) $(word 2,$(1)) > $@.new
@mv $@.new $@
@rm -rf $@.tmp
endef
define Build/install-dtb
$(call locked, \
$(foreach dts,$(DEVICE_DTS), \
$(CP) \
$(DTS_DIR)/$(dts).dtb \
$(BIN_DIR)/$(IMG_PREFIX)-$(dts).dtb; \
), \
install-dtb-$(IMG_PREFIX) \
)
endef
define Build/iptime-crc32
$(STAGING_DIR_HOST)/bin/iptime-crc32 $(1) $@ $@.new
mv $@.new $@
endef
define Build/iptime-naspkg
$(STAGING_DIR_HOST)/bin/iptime-naspkg $(1) $@ $@.new
mv $@.new $@
endef
define Build/jffs2
rm -rf $(KDIR_TMP)/$(DEVICE_NAME)/jffs2 && \
mkdir -p $(KDIR_TMP)/$(DEVICE_NAME)/jffs2/$$(dirname $(1)) && \
cp $@ $(KDIR_TMP)/$(DEVICE_NAME)/jffs2/$(1) && \
$(STAGING_DIR_HOST)/bin/mkfs.jffs2 --pad \
$(if $(CONFIG_BIG_ENDIAN),--big-endian,--little-endian) \
--squash-uids -v -e $(patsubst %k,%KiB,$(BLOCKSIZE)) \
-o $@.new \
$(if $(findstring separate-kernel,$(word 1,$(1))),-k $(IMAGE_KERNEL)) \
&& mv $@.new $@
-d $(KDIR_TMP)/$(DEVICE_NAME)/jffs2 \
2>&1 1>/dev/null | awk '/^.+$$$$/' && \
$(STAGING_DIR_HOST)/bin/padjffs2 $@.new -J $(patsubst %k,,$(BLOCKSIZE))
-rm -rf $(KDIR_TMP)/$(DEVICE_NAME)/jffs2/
@mv $@.new $@
endef
define Build/kernel2minor
$(eval temp_file := $(shell mktemp))
cp $@ $(temp_file)
kernel2minor -k $(temp_file) -r $(temp_file).new $(1)
mv $(temp_file).new $@
rm -f $(temp_file)
endef
define Build/kernel-bin
rm -f $@
cp $< $@
endef
define Build/linksys-image
$(TOPDIR)/scripts/linksys-image.sh \
"$(call param_get_default,type,$(1),$(DEVICE_NAME))" \
$@ $@.new
mv $@.new $@
endef
define Build/lzma
$(call Build/lzma-no-dict,-lc1 -lp2 -pb2 $(1))
endef
define Build/lzma-no-dict
$(STAGING_DIR_HOST)/bin/lzma e $@ $(1) $@.new
@mv $@.new $@
endef
define Build/netgear-chk
@@ -96,205 +410,17 @@ define Build/netgear-dni
mv $@.new $@
endef
define Build/append-squashfs-fakeroot-be
rm -rf $@.fakefs $@.fakesquashfs
mkdir $@.fakefs
$(STAGING_DIR_HOST)/bin/mksquashfs-lzma \
$@.fakefs $@.fakesquashfs \
-noappend -root-owned -be -nopad -b 65536 \
$(if $(SOURCE_DATE_EPOCH),-fixed-time $(SOURCE_DATE_EPOCH))
cat $@.fakesquashfs >> $@
endef
define Build/append-string
echo -n $(1) >> $@
endef
# append a fake/empty uImage header, to fool bootloaders rootfs integrity check
# for example
define Build/append-uImage-fakehdr
$(eval type=$(word 1,$(1)))
$(eval magic=$(word 2,$(1)))
touch $@.fakehdr
$(STAGING_DIR_HOST)/bin/mkimage \
-A $(LINUX_KARCH) -O linux -T $(type) -C none \
-n '$(VERSION_DIST) fake $(type)' \
$(if $(magic),-M $(magic)) \
-d $@.fakehdr \
-s \
$@.fakehdr
cat $@.fakehdr >> $@
endef
define Build/tplink-safeloader
-$(STAGING_DIR_HOST)/bin/tplink-safeloader \
-B $(TPLINK_BOARD_ID) \
-V $(REVISION) \
-k $(IMAGE_KERNEL) \
-r $@ \
-o $@.new \
-j \
$(wordlist 2,$(words $(1)),$(1)) \
$(if $(findstring sysupgrade,$(word 1,$(1))),-S) && mv $@.new $@ || rm -f $@
endef
define Build/append-dtb
cat $(KDIR)/image-$(firstword $(DEVICE_DTS)).dtb >> $@
endef
define Build/install-dtb
$(call locked, \
$(foreach dts,$(DEVICE_DTS), \
$(CP) \
$(DTS_DIR)/$(dts).dtb \
$(BIN_DIR)/$(IMG_PREFIX)-$(dts).dtb; \
), \
install-dtb-$(IMG_PREFIX) \
)
endef
define Build/fit
$(TOPDIR)/scripts/mkits.sh \
-D $(DEVICE_NAME) -o $@.its -k $@ \
$(if $(word 2,$(1)),-d $(word 2,$(1))) -C $(word 1,$(1)) \
-a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
-c $(if $(DEVICE_DTS_CONFIG),$(DEVICE_DTS_CONFIG),"config@1") \
-A $(LINUX_KARCH) -v $(LINUX_VERSION)
PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $@.its $@.new
@mv $@.new $@
endef
define Build/lzma
$(call Build/lzma-no-dict,-lc1 -lp2 -pb2 $(1))
endef
define Build/lzma-no-dict
$(STAGING_DIR_HOST)/bin/lzma e $@ $(1) $@.new
@mv $@.new $@
endef
define Build/gzip
gzip -f -9n -c $@ $(1) > $@.new
@mv $@.new $@
endef
define Build/zip
mkdir $@.tmp
mv $@ $@.tmp/$(1)
zip -j -X \
$(if $(SOURCE_DATE_EPOCH),--mtime="$(SOURCE_DATE_EPOCH)") \
$@ $@.tmp/$(if $(1),$(1),$@)
rm -rf $@.tmp
endef
define Build/jffs2
rm -rf $(KDIR_TMP)/$(DEVICE_NAME)/jffs2 && \
mkdir -p $(KDIR_TMP)/$(DEVICE_NAME)/jffs2/$$(dirname $(1)) && \
cp $@ $(KDIR_TMP)/$(DEVICE_NAME)/jffs2/$(1) && \
$(STAGING_DIR_HOST)/bin/mkfs.jffs2 --pad \
$(if $(CONFIG_BIG_ENDIAN),--big-endian,--little-endian) \
--squash-uids -v -e $(patsubst %k,%KiB,$(BLOCKSIZE)) \
-o $@.new \
-d $(KDIR_TMP)/$(DEVICE_NAME)/jffs2 \
2>&1 1>/dev/null | awk '/^.+$$$$/' && \
$(STAGING_DIR_HOST)/bin/padjffs2 $@.new -J $(patsubst %k,,$(BLOCKSIZE))
-rm -rf $(KDIR_TMP)/$(DEVICE_NAME)/jffs2/
@mv $@.new $@
endef
define Build/kernel-bin
rm -f $@
cp $< $@
endef
define Build/patch-cmdline
$(STAGING_DIR_HOST)/bin/patch-cmdline $@ '$(CMDLINE)'
endef
define Build/append-kernel
dd if=$(IMAGE_KERNEL) >> $@
endef
define Build/append-rootfs
dd if=$(IMAGE_ROOTFS) >> $@
endef
define Build/append-ubi
sh $(TOPDIR)/scripts/ubinize-image.sh \
$(if $(UBOOTENV_IN_UBI),--uboot-env) \
$(if $(KERNEL_IN_UBI),--kernel $(IMAGE_KERNEL)) \
$(foreach part,$(UBINIZE_PARTS),--part $(part)) \
$(IMAGE_ROOTFS) \
$@.tmp \
-p $(BLOCKSIZE:%k=%KiB) -m $(PAGESIZE) \
$(if $(SUBPAGESIZE),-s $(SUBPAGESIZE)) \
$(if $(VID_HDR_OFFSET),-O $(VID_HDR_OFFSET)) \
$(UBINIZE_OPTS)
cat $@.tmp >> $@
rm $@.tmp
endef
define Build/append-uboot
dd if=$(UBOOT_PATH) >> $@
endef
define Build/pad-to
$(call Image/pad-to,$@,$(1))
endef
define Build/pad-extra
dd if=/dev/zero bs=$(1) count=1 >> $@
endef
define Build/pad-rootfs
$(STAGING_DIR_HOST)/bin/padjffs2 $@ $(1) \
$(if $(BLOCKSIZE),$(BLOCKSIZE:%k=%),4 8 16 64 128 256)
endef
define Build/pad-offset
let \
size="$$(stat -c%s $@)" \
pad="$(subst k,* 1024,$(word 1, $(1)))" \
offset="$(subst k,* 1024,$(word 2, $(1)))" \
pad="(pad - ((size + offset) % pad)) % pad" \
newsize='size + pad'; \
dd if=$@ of=$@.new bs=$$newsize count=1 conv=sync
mv $@.new $@
endef
define Build/xor-image
$(STAGING_DIR_HOST)/bin/xorimage -i $@ -o $@.xor $(1)
mv $@.xor $@
endef
define Build/check-size
@[ $$(($(subst k,* 1024,$(subst m, * 1024k,$(1))))) -ge "$$(stat -c%s $@)" ] || { \
echo "WARNING: Image file $@ is too big" >&2; \
rm -f $@; \
}
endef
define Build/check-kernel-size
@[ $$(($(subst k,* 1024,$(subst m, * 1024k,$(1))))) -ge "$$(stat -c%s $(IMAGE_KERNEL))" ] || { \
echo "WARNING: Kernel for $@ is too big > $(1)" >&2; \
rm -f $@; \
}
endef
define Build/combined-image
-sh $(TOPDIR)/scripts/combined-image.sh \
"$(IMAGE_KERNEL)" \
"$@" \
"$@.new"
@mv $@.new $@
endef
define Build/linksys-image
$(TOPDIR)/scripts/linksys-image.sh \
"$(call param_get_default,type,$(1),$(DEVICE_NAME))" \
$@ $@.new
mv $@.new $@
define Build/netgear-encrypted-factory
$(TOPDIR)/scripts/netgear-encrypted-factory.py \
--input-file $@ \
--output-file $@ \
--model $(NETGEAR_ENC_MODEL) \
--region $(NETGEAR_ENC_REGION) \
--version V1.0.0.0.$(VERSION_DIST).$(firstword $(subst -, ,$(REVISION))) \
--encryption-block-size 0x20000 \
--openssl-bin "$(STAGING_DIR_HOST)/bin/openssl" \
--key 6865392d342b4d212964363d6d7e7765312c7132613364316e26322a5a5e2538 \
--iv 4a253169516c38243d6c6d2d3b384145
endef
define Build/openmesh-image
@@ -310,6 +436,45 @@ define Build/openmesh-image
"$(call param_get_default,rootfs,$(1),$@)" "rootfs"
endef
define Build/pad-extra
dd if=/dev/zero bs=$(1) count=1 >> $@
endef
define Build/pad-offset
let \
size="$$(stat -c%s $@)" \
pad="$(subst k,* 1024,$(word 1, $(1)))" \
offset="$(subst k,* 1024,$(word 2, $(1)))" \
pad="(pad - ((size + offset) % pad)) % pad" \
newsize='size + pad'; \
dd if=$@ of=$@.new bs=$$newsize count=1 conv=sync
mv $@.new $@
endef
define Build/pad-rootfs
$(STAGING_DIR_HOST)/bin/padjffs2 $@ $(1) \
$(if $(BLOCKSIZE),$(BLOCKSIZE:%k=%),4 8 16 64 128 256)
endef
define Build/pad-to
$(call Image/pad-to,$@,$(1))
endef
define Build/patch-cmdline
$(STAGING_DIR_HOST)/bin/patch-cmdline $@ '$(CMDLINE)'
endef
# Convert a raw image into a $1 type image.
# E.g. | qemu-image vdi <optional extra arguments to qemu-img binary>
define Build/qemu-image
if command -v qemu-img; then \
qemu-img convert -f raw -O $1 $@ $@.new; \
mv $@.new $@; \
else \
echo "WARNING: Install qemu-img to create VDI/VMDK images" >&2; exit 1; \
fi
endef
define Build/qsdk-ipq-factory-nand
$(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \
$@.its ubi $@
@@ -317,13 +482,32 @@ define Build/qsdk-ipq-factory-nand
@mv $@.new $@
endef
define Build/qsdk-ipq-factory-nor
define Build/qsdk-ipq-factory-mmc
$(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \
$@.its kernel $(IMAGE_KERNEL) rootfs $(IMAGE_ROOTFS)
PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $@.its $@.new
@mv $@.new $@
endef
define Build/qsdk-ipq-factory-nor
$(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \
$@.its hlos $(IMAGE_KERNEL) rootfs $(IMAGE_ROOTFS)
PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $@.its $@.new
@mv $@.new $@
endef
define Build/seama
$(STAGING_DIR_HOST)/bin/seama -i $@ \
-m "dev=/dev/mtdblock/$(SEAMA_MTDBLOCK)" -m "type=firmware"
mv $@.seama $@
endef
define Build/seama-seal
$(STAGING_DIR_HOST)/bin/seama -i $@ -s $@.seama \
-m "signature=$(SEAMA_SIGNATURE)"
mv $@.seama $@
endef
define Build/senao-header
$(STAGING_DIR_HOST)/bin/mksenaofw $(1) -e $@ -o $@.new
mv $@.new $@
@@ -337,6 +521,18 @@ define Build/sysupgrade-tar
$@
endef
define Build/tplink-safeloader
-$(STAGING_DIR_HOST)/bin/tplink-safeloader \
-B $(TPLINK_BOARD_ID) \
-V $(REVISION) \
-k $(IMAGE_KERNEL) \
-r $@ \
-o $@.new \
-j \
$(wordlist 2,$(words $(1)),$(1)) \
$(if $(findstring sysupgrade,$(word 1,$(1))),-S) && mv $@.new $@ || rm -f $@
endef
define Build/tplink-v1-header
$(STAGING_DIR_HOST)/bin/mktplinkfw \
-c -H $(TPLINK_HWID) -W $(TPLINK_HWREV) -L $(KERNEL_LOADADDR) \
@@ -384,33 +580,46 @@ define Build/tplink-v2-image
rm -rf $@.new
endef
json_quote=$(subst ','\'',$(subst ",\",$(1)))
#")')
metadata_devices=$(if $(1),$(subst "$(space)","$(comma)",$(strip $(foreach v,$(1),"$(call json_quote,$(v))"))))
metadata_json = \
'{ $(if $(IMAGE_METADATA),$(IMAGE_METADATA)$(comma)) \
"metadata_version": "1.0", \
"supported_devices":[$(call metadata_devices,$(1))], \
"version": { \
"dist": "$(call json_quote,$(VERSION_DIST))", \
"version": "$(call json_quote,$(VERSION_NUMBER))", \
"revision": "$(call json_quote,$(REVISION))", \
"target": "$(call json_quote,$(TARGETID))", \
"board": "$(call json_quote,$(if $(BOARD_NAME),$(BOARD_NAME),$(DEVICE_NAME)))" \
} \
}'
define Build/append-metadata
$(if $(SUPPORTED_DEVICES),-echo $(call metadata_json,$(SUPPORTED_DEVICES)) | fwtool -I - $@)
[ ! -s "$(BUILD_KEY)" -o ! -s "$(BUILD_KEY).ucert" -o ! -s "$@" ] || { \
cp "$(BUILD_KEY).ucert" "$@.ucert" ;\
usign -S -m "$@" -s "$(BUILD_KEY)" -x "$@.sig" ;\
ucert -A -c "$@.ucert" -x "$@.sig" ;\
fwtool -S "$@.ucert" "$@" ;\
}
endef
define Build/kernel2minor
kernel2minor -k $@ -r $@.new $(1)
define Build/uImage
$(if $(UIMAGE_TIME),SOURCE_DATE_EPOCH="$(UIMAGE_TIME)") \
mkimage \
-A $(LINUX_KARCH) \
-O linux \
-T kernel \
-C $(word 1,$(1)) \
-a $(KERNEL_LOADADDR) \
-e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
-n '$(if $(UIMAGE_NAME),$(UIMAGE_NAME),$(call toupper,$(LINUX_KARCH)) $(VERSION_DIST) Linux-$(LINUX_VERSION))' \
$(if $(UIMAGE_MAGIC),-M $(UIMAGE_MAGIC)) \
$(wordlist 2,$(words $(1)),$(1)) \
-d $@ $@.new
mv $@.new $@
endef
define Build/xor-image
$(STAGING_DIR_HOST)/bin/xorimage -i $@ -o $@.xor $(1)
mv $@.xor $@
endef
define Build/zip
rm -rf $@.tmp
mkdir $@.tmp
mv $@ $@.tmp/$(word 1,$(1))
TZ=UTC $(STAGING_DIR_HOST)/bin/zip -j -X \
$(wordlist 2,$(words $(1)),$(1)) \
$@ $@.tmp/$(if $(word 1,$(1)),$(word 1,$(1)),$$(basename $@))
rm -rf $@.tmp
endef
define Build/zyxel-ras-image
let \
newsize="$(subst k,* 1024,$(RAS_ROOTFS_SIZE))"; \
$(STAGING_DIR_HOST)/bin/mkrasimage \
-b $(RAS_BOARD) \
-v $(RAS_VERSION) \
-r $@ \
-s $$newsize \
-o $@.new \
$(if $(findstring separate-kernel,$(word 1,$(1))),-k $(IMAGE_KERNEL)) \
&& mv $@.new $@
endef

View File

@@ -1,93 +0,0 @@
ifneq ($(CONFIG_TARGET_ROOTFS_UBIFS),)
define Image/mkfs/ubifs/generate
$(CP) ./ubinize$(1).cfg $(KDIR)
( cd $(KDIR); \
$(STAGING_DIR_HOST)/bin/ubinize \
$(if $($(PROFILE)_UBI_OPTS),$($(PROFILE)_UBI_OPTS),$(shell echo $(UBI_OPTS))) \
-o $(KDIR)/root$(1).ubi \
ubinize$(1).cfg \
)
endef
define Image/mkfs/ubifs/legacy
$(if $($(PROFILE)_UBIFS_OPTS)$(UBIFS_OPTS),
$(STAGING_DIR_HOST)/bin/mkfs.ubifs \
$(if $($(PROFILE)_UBIFS_OPTS),$($(PROFILE)_UBIFS_OPTS),$(UBIFS_OPTS)) \
$(if $(CONFIG_TARGET_UBIFS_FREE_SPACE_FIXUP),--space-fixup) \
$(if $(CONFIG_TARGET_UBIFS_COMPRESSION_NONE),--compr=none) \
$(if $(CONFIG_TARGET_UBIFS_COMPRESSION_LZO),--compr=lzo) \
$(if $(CONFIG_TARGET_UBIFS_COMPRESSION_ZLIB),--compr=zlib) \
$(if $(shell echo $(CONFIG_TARGET_UBIFS_JOURNAL_SIZE)),--jrn-size=$(CONFIG_TARGET_UBIFS_JOURNAL_SIZE)) \
--squash-uids \
-o $(KDIR)/root.ubifs \
-d $(TARGET_DIR)
)
$(call Image/Build,ubifs)
$(if $($(PROFILE)_UBI_OPTS)$(UBI_OPTS),
$(if $(wildcard ./ubinize.cfg),$(call Image/mkfs/ubifs/generate,))
$(if $(wildcard ./ubinize-overlay.cfg),$(call Image/mkfs/ubifs/generate,-overlay))
)
$(if $(wildcard ./ubinize.cfg),$(call Image/Build,ubi))
endef
endif
LegacyDevice/Dump = $(Device/Dump)
define LegacyDevice/Check
$(Device/Check/Common)
_TARGET_PREPARE := $$(if $$(_PROFILE_SET),legacy-images-prepare,prepare-disabled)
_TARGET := $$(if $$(_PROFILE_SET),legacy-images,install-disabled)
$$(if $$(_PROFILE_SET),install: legacy-images-make)
ifndef IB
$$(if $$(_PROFILE_SET),kernel_prepare: legacy-images-prepare-make)
endif
endef
ifdef TARGET_PER_DEVICE_ROOTFS
define Image/Build/Profile/Filesystem
cp $(KDIR)/root.$(2)+pkg=$(3) $(KDIR)/root.$(2)
$(call Image/Build/$(2),$(2))
$(call Image/Build/Profile,$(1),$(2))
endef
else
Image/Build/Profile/Filesystem = $(Image/Build/Profile)
endif
define LegacyDevice/Build
$$(_TARGET): legacy-image-$(1)
$$(_TARGET_PREPARE): legacy-image-prepare-$(1)
.PHONY: legacy-image-prepare-$(1) legacy-image-$(1)
legacy-image-prepare-$(1):
$$(call Image/Prepare/Profile,$(1))
ifndef IB
ifdef CONFIG_TARGET_PER_DEVICE_ROOTFS
ROOTFS/$(1) := $(foreach fs,$(TARGET_FILESYSTEMS), \
$(KDIR)/root.$(fs)$$(strip $(if $(CONFIG_TARGET_PER_DEVICE_ROOTFS),+pkg=$$(ROOTFS_ID/$(1)))) \
)
$$(ROOTFS/$(1)): target-dir-$$(ROOTFS_ID/$(1))
legacy-images-make: $$(if $$(_PROFILE_SET),$$(ROOTFS/$(1)))
endif
endif
legacy-image-$(1):
$$(call Image/BuildKernel/Profile,$(1))
$(foreach fs,$(TARGET_FILESYSTEMS),
$$(call Image/Build/Profile/Filesystem,$(1),$(fs),$$(ROOTFS_ID/$(1)))
)
endef
define LegacyDevice
$(call Device/InitProfile,$(1))
$(call Device/Default,$(1))
$(call LegacyDevice/Default,$(1))
$(call LegacyDevice/$(1),$(1))
$(call LegacyDevice/Check,$(1))
$(call LegacyDevice/$(if $(DUMP),Dump,Build),$(1))
endef

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2006-2020 OpenWrt.org
override TARGET_BUILD=
include $(INCLUDE_DIR)/prereq.mk
@@ -17,7 +14,6 @@ ifndef IB
endif
endif
include $(INCLUDE_DIR)/image-legacy.mk
include $(INCLUDE_DIR)/feeds.mk
include $(INCLUDE_DIR)/rootfs.mk
@@ -30,7 +26,7 @@ param_get_default = $(firstword $(call param_get,$(1),$(2)) $(3))
param_mangle = $(subst $(space),_,$(strip $(1)))
param_unmangle = $(subst _,$(space),$(1))
mkfs_packages_id = $(shell echo $(sort $(1)) | mkhash md5 | cut -b1-8)
mkfs_packages_id = $(shell echo $(sort $(1)) | $(MKHASH) md5 | cut -b1-8)
mkfs_target_dir = $(if $(call param_get,pkg,$(1)),$(KDIR)/target-dir-$(call param_get,pkg,$(1)),$(TARGET_DIR))
KDIR=$(KERNEL_BUILD_DIR)
@@ -44,7 +40,8 @@ IMG_PREFIX_VERCODE:=$(if $(CONFIG_VERSION_CODE_FILENAMES),$(call sanitize,$(VERS
IMG_PREFIX:=$(VERSION_DIST_SANITIZED)-$(IMG_PREFIX_VERNUM)$(IMG_PREFIX_VERCODE)$(IMG_PREFIX_EXTRA)$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))
IMG_ROOTFS:=$(IMG_PREFIX)-rootfs
IMG_COMBINED:=$(IMG_PREFIX)-combined
IMG_PART_SIGNATURE:=$(shell echo $(SOURCE_DATE_EPOCH)$(LINUX_VERMAGIC) | mkhash md5 | cut -b1-8)
IMG_PART_SIGNATURE:=$(shell echo $(SOURCE_DATE_EPOCH)$(LINUX_VERMAGIC) | $(MKHASH) md5 | cut -b1-8)
IMG_PART_DISKGUID:=$(shell echo $(SOURCE_DATE_EPOCH)$(LINUX_VERMAGIC) | $(MKHASH) md5 | sed -E 's/(.{8})(.{4})(.{4})(.{4})(.{10})../\1-\2-\3-\4-\500/')
MKFS_DEVTABLE_OPT := -D $(INCLUDE_DIR)/device_table.txt
@@ -78,6 +75,7 @@ JFFS2OPTS += $(MKFS_DEVTABLE_OPT)
SQUASHFS_BLOCKSIZE := $(CONFIG_TARGET_SQUASHFS_BLOCK_SIZE)k
SQUASHFSOPT := -b $(SQUASHFS_BLOCKSIZE)
SQUASHFSOPT += -p '/dev d 755 0 0' -p '/dev/console c 600 0 0 5 1'
SQUASHFSOPT += $(if $(CONFIG_SELINUX),-xattrs,-no-xattrs)
SQUASHFSCOMP := gzip
LZMA_XZ_OPTIONS := -Xpreset 9 -Xe -Xlc 0 -Xlp 2 -Xpb 2
ifeq ($(CONFIG_SQUASHFS_XZ),y)
@@ -93,7 +91,6 @@ fs-types-$(CONFIG_TARGET_ROOTFS_SQUASHFS) += squashfs
fs-types-$(CONFIG_TARGET_ROOTFS_JFFS2) += $(addprefix jffs2-,$(JFFS2_BLOCKSIZE))
fs-types-$(CONFIG_TARGET_ROOTFS_JFFS2_NAND) += $(addprefix jffs2-nand-,$(NAND_BLOCKSIZE))
fs-types-$(CONFIG_TARGET_ROOTFS_EXT4FS) += ext4
fs-types-$(CONFIG_TARGET_ROOTFS_ISO) += iso
fs-types-$(CONFIG_TARGET_ROOTFS_UBIFS) += ubifs
fs-subtypes-$(CONFIG_TARGET_ROOTFS_JFFS2) += $(addsuffix -raw,$(addprefix jffs2-,$(JFFS2_BLOCKSIZE)))
@@ -140,14 +137,6 @@ define Image/BuildKernel/MkuImage
-n '$(call toupper,$(ARCH)) $(VERSION_DIST) Linux-$(LINUX_VERSION)' -d $(4) $(5)
endef
define Image/BuildKernel/MkFIT
$(TOPDIR)/scripts/mkits.sh \
-D $(1) -o $(KDIR)/fit-$(1).its -k $(2) $(if $(3),-d $(3)) -C $(4) -a $(5) -e $(6) \
-c $(if $(DEVICE_DTS_CONFIG),$(DEVICE_DTS_CONFIG),"config@1") \
-A $(LINUX_KARCH) -v $(LINUX_VERSION)
PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $(KDIR)/fit-$(1).its $(KDIR)/fit-$(1)$(7).itb
endef
ifdef CONFIG_TARGET_IMAGES_GZIP
define Image/Gzip
rm -f $(1).gz
@@ -157,24 +146,21 @@ endif
# Disable noisy checks by default as in upstream
DTC_FLAGS += \
DTC_WARN_FLAGS := \
-Wno-unit_address_vs_reg \
-Wno-simple_bus_reg \
-Wno-unit_address_format \
-Wno-pci_bridge \
-Wno-pci_device_bus_num \
-Wno-pci_device_reg
ifeq ($(strip $(call kernel_patchver_ge,4.17.0)),1)
DTC_FLAGS += \
-Wno-avoid_unnecessary_addr_size \
-Wno-alias_paths
endif
ifeq ($(strip $(call kernel_patchver_ge,4.18.0)),1)
DTC_FLAGS += \
-Wno-graph_child_address \
-Wno-graph_port \
-Wno-unique_unit_address
endif
-Wno-pci_device_reg \
-Wno-avoid_unnecessary_addr_size \
-Wno-alias_paths \
-Wno-graph_child_address \
-Wno-graph_port \
-Wno-unique_unit_address
DTC_FLAGS += $(DTC_WARN_FLAGS)
DTCO_FLAGS += $(DTC_WARN_FLAGS)
define Image/pad-to
dd if=$(1) of=$(1).new bs=$(2) conv=sync
@@ -191,19 +177,30 @@ endef
# $(2) target dtb file
# $(3) extra CPP flags
# $(4) extra DTC flags
define Image/BuildDTB
define Image/BuildDTB/sub
$(TARGET_CROSS)cpp -nostdinc -x assembler-with-cpp \
$(DTS_CPPFLAGS) \
-I$(DTS_DIR) \
-I$(DTS_DIR)/include \
-I$(LINUX_DIR)/include/ \
-I$(LINUX_DIR)/scripts/dtc/include-prefixes \
-undef -D__DTS__ $(3) \
-o $(2).tmp $(1)
$(LINUX_DIR)/scripts/dtc/dtc -O dtb \
-i$(dir $(1)) $(DTC_FLAGS) $(4) \
-i$(dir $(1)) $(4) \
$(if $(CONFIG_HAS_DT_OVERLAY_SUPPORT),-@) \
-o $(2) $(2).tmp
$(RM) $(2).tmp
endef
define Image/BuildDTB
$(call Image/BuildDTB/sub,$(1),$(2),$(3),$(DTC_FLAGS) $(DEVICE_DTC_FLAGS) $(4))
endef
define Image/BuildDTBO
$(call Image/BuildDTB/sub,$(1),$(2),$(3),$(DTCO_FLAGS) $(DEVICE_DTCO_FLAGS) $(4))
endef
define Image/mkfs/jffs2/sub-raw
$(STAGING_DIR_HOST)/bin/mkfs.jffs2 \
$(2) \
@@ -234,40 +231,27 @@ endef
$(eval $(foreach S,$(JFFS2_BLOCKSIZE),$(call Image/mkfs/jffs2/template,$(S))))
$(eval $(foreach S,$(NAND_BLOCKSIZE),$(call Image/mkfs/jffs2-nand/template,$(S))))
define Image/mkfs/squashfs
define Image/mkfs/squashfs-common
$(STAGING_DIR_HOST)/bin/mksquashfs4 $(call mkfs_target_dir,$(1)) $@ \
-nopad -noappend -root-owned \
-comp $(SQUASHFSCOMP) $(SQUASHFSOPT) \
-processors 1
-comp $(SQUASHFSCOMP) $(SQUASHFSOPT)
endef
# $(1): board name
# $(2): rootfs type
# $(3): kernel image
# $(4): compat string
ifneq ($(CONFIG_NAND_SUPPORT),)
define Image/Build/SysupgradeNAND
mkdir -p "$(KDIR_TMP)/sysupgrade-$(if $(4),$(4),$(1))/"
echo "BOARD=$(if $(4),$(4),$(1))" > "$(KDIR_TMP)/sysupgrade-$(if $(4),$(4),$(1))/CONTROL"
[ -z "$(2)" ] || $(CP) "$(KDIR)/root.$(2)" "$(KDIR_TMP)/sysupgrade-$(if $(4),$(4),$(1))/root"
[ -z "$(3)" ] || $(CP) "$(3)" "$(KDIR_TMP)/sysupgrade-$(if $(4),$(4),$(1))/kernel"
(cd "$(KDIR_TMP)"; $(TAR) cvf \
"$(BIN_DIR)/$(IMG_PREFIX)-$(1)-$(2)-sysupgrade.tar" sysupgrade-$(if $(4),$(4),$(1)) \
$(if $(SOURCE_DATE_EPOCH),--mtime="@$(SOURCE_DATE_EPOCH)") \
)
endef
# $(1) board name
# $(2) ubinize-image options (e.g. --uboot-env and/or --kernel kernelimage)
# $(3) rootfstype (e.g. squashfs or ubifs)
# $(4) options to pass-through to ubinize (i.e. $($(PROFILE)_UBI_OPTS)))
define Image/Build/UbinizeImage
sh $(TOPDIR)/scripts/ubinize-image.sh $(2) \
"$(KDIR)/root.$(3)" \
"$(KDIR)/$(IMG_PREFIX)-$(1)-$(3)-ubinized.bin" \
$(4)
endef
ifeq ($(CONFIG_TARGET_ROOTFS_SECURITY_LABELS),y)
define Image/mkfs/squashfs
echo ". $(call mkfs_target_dir,$(1))/etc/selinux/config" > $@.fakeroot-script
echo "$(STAGING_DIR_HOST)/bin/setfiles -r" \
"$(call mkfs_target_dir,$(1))" \
"$(call mkfs_target_dir,$(1))/etc/selinux/\$${SELINUXTYPE}/contexts/files/file_contexts " \
"$(call mkfs_target_dir,$(1))" >> $@.fakeroot-script
echo "$(Image/mkfs/squashfs-common)" >> $@.fakeroot-script
chmod +x $@.fakeroot-script
$(FAKEROOT) "$@.fakeroot-script"
endef
else
define Image/mkfs/squashfs
$(call Image/mkfs/squashfs-common,$(1))
endef
endif
define Image/mkfs/ubifs
@@ -323,7 +307,7 @@ endif
ifdef CONFIG_TARGET_ROOTFS_CPIOGZ
define Image/Build/cpiogz
( cd $(TARGET_DIR); find . | cpio -o -H newc -R root:root | gzip -9n >$(BIN_DIR)/$(IMG_ROOTFS).cpio.gz )
( cd $(TARGET_DIR); find . | $(STAGING_DIR_HOST)/bin/cpio -o -H newc -R 0:0 | gzip -9n >$(BIN_DIR)/$(IMG_ROOTFS).cpio.gz )
endef
endif
@@ -361,6 +345,8 @@ define Device/InitProfile
DEVICE_ALT0_TITLE = $$(DEVICE_ALT0_VENDOR) $$(DEVICE_ALT0_MODEL)$$(if $$(DEVICE_ALT0_VARIANT), $$(DEVICE_ALT0_VARIANT))
DEVICE_ALT1_TITLE = $$(DEVICE_ALT1_VENDOR) $$(DEVICE_ALT1_MODEL)$$(if $$(DEVICE_ALT1_VARIANT), $$(DEVICE_ALT1_VARIANT))
DEVICE_ALT2_TITLE = $$(DEVICE_ALT2_VENDOR) $$(DEVICE_ALT2_MODEL)$$(if $$(DEVICE_ALT2_VARIANT), $$(DEVICE_ALT2_VARIANT))
DEVICE_ALT3_TITLE = $$(DEVICE_ALT3_VENDOR) $$(DEVICE_ALT3_MODEL)$$(if $$(DEVICE_ALT3_VARIANT), $$(DEVICE_ALT3_VARIANT))
DEVICE_ALT4_TITLE = $$(DEVICE_ALT4_VENDOR) $$(DEVICE_ALT4_MODEL)$$(if $$(DEVICE_ALT4_VARIANT), $$(DEVICE_ALT4_VARIANT))
DEVICE_VENDOR :=
DEVICE_MODEL :=
DEVICE_VARIANT :=
@@ -373,6 +359,12 @@ define Device/InitProfile
DEVICE_ALT2_VENDOR :=
DEVICE_ALT2_MODEL :=
DEVICE_ALT2_VARIANT :=
DEVICE_ALT3_VENDOR :=
DEVICE_ALT3_MODEL :=
DEVICE_ALT3_VARIANT :=
DEVICE_ALT4_VENDOR :=
DEVICE_ALT4_MODEL :=
DEVICE_ALT4_VARIANT :=
DEVICE_PACKAGES :=
DEVICE_DESCRIPTION = Build firmware images for $$(DEVICE_TITLE)
endef
@@ -381,18 +373,19 @@ define Device/Init
DEVICE_NAME := $(1)
KERNEL:=
KERNEL_INITRAMFS = $$(KERNEL)
KERNEL_SIZE:=
CMDLINE:=
IMAGES :=
ARTIFACTS :=
IMAGE_PREFIX := $(IMG_PREFIX)-$(1)
IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1)-$$(2)
KERNEL_PREFIX = $$(IMAGE_PREFIX)
DEVICE_IMG_PREFIX := $(IMG_PREFIX)-$(1)
DEVICE_IMG_NAME = $$(DEVICE_IMG_PREFIX)-$$(1)-$$(2)
FACTORY_IMG_NAME :=
IMAGE_SIZE :=
KERNEL_PREFIX = $$(DEVICE_IMG_PREFIX)
KERNEL_SUFFIX := -kernel.bin
KERNEL_INITRAMFS_SUFFIX = $$(KERNEL_SUFFIX)
KERNEL_IMAGE = $$(KERNEL_PREFIX)$$(KERNEL_SUFFIX)
KERNEL_INITRAMFS_PREFIX = $$(IMAGE_PREFIX)-initramfs
KERNEL_INITRAMFS_PREFIX = $$(DEVICE_IMG_PREFIX)-initramfs
KERNEL_INITRAMFS_IMAGE = $$(KERNEL_INITRAMFS_PREFIX)$$(KERNEL_INITRAMFS_SUFFIX)
KERNEL_INITRAMFS_NAME = $$(KERNEL_NAME)-initramfs
KERNEL_INSTALL :=
@@ -414,31 +407,49 @@ define Device/Init
DEVICE_DTS :=
DEVICE_DTS_CONFIG :=
DEVICE_DTS_DELIMITER :=
DEVICE_DTS_DIR :=
DEVICE_DTS_LOADADDR :=
DEVICE_DTS_OVERLAY :=
DEVICE_FDT_NUM :=
DEVICE_DTC_FLAGS :=
DEVICE_DTCO_FLAGS :=
SOC :=
BOARD_NAME :=
UIMAGE_MAGIC :=
UIMAGE_NAME :=
SUPPORTED_DEVICES :=
UIMAGE_TIME :=
DEVICE_COMPAT_VERSION := 1.0
DEVICE_COMPAT_MESSAGE :=
SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
IMAGE_METADATA :=
FILESYSTEMS := $(TARGET_FILESYSTEMS)
UBOOT_PATH := $(STAGING_DIR_IMAGE)/uboot-$(1)
BROKEN :=
DEFAULT :=
endef
DEFAULT_DEVICE_VARS := \
DEVICE_NAME KERNEL KERNEL_INITRAMFS KERNEL_INITRAMFS_IMAGE KERNEL_SIZE \
CMDLINE UBOOTENV_IN_UBI KERNEL_IN_UBI BLOCKSIZE PAGESIZE SUBPAGESIZE \
VID_HDR_OFFSET UBINIZE_OPTS UBINIZE_PARTS MKUBIFS_OPTS DEVICE_DTS \
DEVICE_DTS_CONFIG DEVICE_DTS_DIR SOC BOARD_NAME UIMAGE_NAME SUPPORTED_DEVICES \
IMAGE_METADATA KERNEL_ENTRY KERNEL_LOADADDR UBOOT_PATH DEVICE_VENDOR \
DEVICE_MODEL DEVICE_VARIANT \
VID_HDR_OFFSET UBINIZE_OPTS UBINIZE_PARTS MKUBIFS_OPTS DEVICE_DTC_FLAGS \
DEVICE_DTCO_FLAGS DEVICE_DTS DEVICE_DTS_CONFIG DEVICE_DTS_DELIMITER \
DEVICE_DTS_DIR DEVICE_DTS_OVERLAY DEVICE_DTS_LOADADDR \
DEVICE_FDT_NUM DEVICE_IMG_PREFIX SOC BOARD_NAME UIMAGE_MAGIC UIMAGE_NAME \
UIMAGE_TIME SUPPORTED_DEVICES IMAGE_METADATA KERNEL_ENTRY KERNEL_LOADADDR \
UBOOT_PATH IMAGE_SIZE \
FACTORY_IMG_NAME FACTORY_SIZE \
DEVICE_PACKAGES DEVICE_COMPAT_VERSION DEVICE_COMPAT_MESSAGE \
DEVICE_VENDOR DEVICE_MODEL DEVICE_VARIANT \
DEVICE_ALT0_VENDOR DEVICE_ALT0_MODEL DEVICE_ALT0_VARIANT \
DEVICE_ALT1_VENDOR DEVICE_ALT1_MODEL DEVICE_ALT1_VARIANT \
DEVICE_ALT2_VENDOR DEVICE_ALT2_MODEL DEVICE_ALT2_VARIANT
DEVICE_ALT2_VENDOR DEVICE_ALT2_MODEL DEVICE_ALT2_VARIANT \
DEVICE_ALT3_VENDOR DEVICE_ALT3_MODEL DEVICE_ALT3_VARIANT \
DEVICE_ALT4_VENDOR DEVICE_ALT4_MODEL DEVICE_ALT4_VARIANT
define Device/ExportVar
$(1) : $(2):=$$($(2))
@@ -486,22 +497,63 @@ endef
ifndef IB
define Device/Build/initramfs
$(call Device/Export,$(KDIR)/tmp/$$(KERNEL_INITRAMFS_IMAGE),$(1))
$$(_TARGET): $$(if $$(KERNEL_INITRAMFS),$(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE))
$$(_TARGET): $$(if $$(KERNEL_INITRAMFS),$(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE) \
$$(if $$(CONFIG_JSON_OVERVIEW_IMAGE_INFO), $(BUILD_DIR)/json_info_files/$$(KERNEL_INITRAMFS_IMAGE).json,))
$(KDIR)/$$(KERNEL_INITRAMFS_NAME):: image_prepare
$(1)-images: $$(if $$(KERNEL_INITRAMFS),$(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE))
$(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE): $(KDIR)/tmp/$$(KERNEL_INITRAMFS_IMAGE)
cp $$^ $$@
$(KDIR)/tmp/$$(KERNEL_INITRAMFS_IMAGE): $(KDIR)/$$(KERNEL_INITRAMFS_NAME) $(CURDIR)/Makefile $$(KERNEL_DEPENDS) image_prepare
@rm -f $$@
$$(call concat_cmd,$$(KERNEL_INITRAMFS))
$(call Device/Export,$(BUILD_DIR)/json_info_files/$$(KERNEL_INITRAMFS_IMAGE).json,$(1))
$(BUILD_DIR)/json_info_files/$$(KERNEL_INITRAMFS_IMAGE).json: $(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE)
@mkdir -p $$(shell dirname $$@)
DEVICE_ID="$(1)" \
SOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH) \
FILE_NAME="$$(notdir $$^)" \
FILE_DIR="$(KDIR)/tmp" \
FILE_TYPE="kernel" \
FILE_FILESYSTEM="initramfs" \
DEVICE_IMG_PREFIX="$$(DEVICE_IMG_PREFIX)" \
DEVICE_VENDOR="$$(DEVICE_VENDOR)" \
DEVICE_MODEL="$$(DEVICE_MODEL)" \
DEVICE_VARIANT="$$(DEVICE_VARIANT)" \
DEVICE_ALT0_VENDOR="$$(DEVICE_ALT0_VENDOR)" \
DEVICE_ALT0_MODEL="$$(DEVICE_ALT0_MODEL)" \
DEVICE_ALT0_VARIANT="$$(DEVICE_ALT0_VARIANT)" \
DEVICE_ALT1_VENDOR="$$(DEVICE_ALT1_VENDOR)" \
DEVICE_ALT1_MODEL="$$(DEVICE_ALT1_MODEL)" \
DEVICE_ALT1_VARIANT="$$(DEVICE_ALT1_VARIANT)" \
DEVICE_ALT2_VENDOR="$$(DEVICE_ALT2_VENDOR)" \
DEVICE_ALT2_MODEL="$$(DEVICE_ALT2_MODEL)" \
DEVICE_ALT2_VARIANT="$$(DEVICE_ALT2_VARIANT)" \
DEVICE_ALT3_VENDOR="$$(DEVICE_ALT3_VENDOR)" \
DEVICE_ALT3_MODEL="$$(DEVICE_ALT3_MODEL)" \
DEVICE_ALT3_VARIANT="$$(DEVICE_ALT3_VARIANT)" \
DEVICE_ALT4_VENDOR="$$(DEVICE_ALT4_VENDOR)" \
DEVICE_ALT4_MODEL="$$(DEVICE_ALT4_MODEL)" \
DEVICE_ALT4_VARIANT="$$(DEVICE_ALT4_VARIANT)" \
DEVICE_TITLE="$$(DEVICE_TITLE)" \
DEVICE_PACKAGES="$$(DEVICE_PACKAGES)" \
TARGET="$(BOARD)" \
SUBTARGET="$(if $(SUBTARGET),$(SUBTARGET),generic)" \
VERSION_NUMBER="$(VERSION_NUMBER)" \
VERSION_CODE="$(VERSION_CODE)" \
SUPPORTED_DEVICES="$$(SUPPORTED_DEVICES)" \
$(TOPDIR)/scripts/json_add_image_info.py $$@
endef
endif
define Device/Build/compile
$$(_COMPILE_TARGET): $(KDIR)/$(1)
$(eval $(call Device/Export,$(KDIR)/$(1)))
$(KDIR)/$(1):
$(KDIR)/$(1): FORCE
rm -f $(KDIR)/$(1)
$$(call concat_cmd,$(COMPILE/$(1)))
endef
@@ -513,7 +565,18 @@ define Device/Build/dtb
$(KDIR)/image-$(1).dtb: FORCE
$(call Image/BuildDTB,$(strip $(2))/$(strip $(3)).dts,$$@)
image_prepare: $(KDIR)/image-$(1).dtb
compile-dtb: $(KDIR)/image-$(1).dtb
endif
endef
define Device/Build/dtbo
ifndef BUILD_DTSO_$(1)
BUILD_DTSO_$(1) := 1
$(KDIR)/image-$(1).dtbo: FORCE
$(call Image/BuildDTBO,$(strip $(2))/$(strip $(3)).dtso,$$@)
compile-dtb: $(KDIR)/image-$(1).dtbo
endif
endef
@@ -526,6 +589,12 @@ define Device/Build/kernel
$$(dts) \
) \
))
$$(eval $$(foreach dtso,$$(DEVICE_DTS_OVERLAY), \
$$(call Device/Build/dtbo,$$(notdir $$(dtso)), \
$$(if $$(DEVICE_DTS_DIR),$$(DEVICE_DTS_DIR),$$(DTS_DIR)), \
$$(dtso) \
) \
))
$(KDIR)/$$(KERNEL_NAME):: image_prepare
$$(_TARGET): $$(if $$(KERNEL_INSTALL),$(BIN_DIR)/$$(KERNEL_IMAGE))
@@ -545,8 +614,12 @@ endef
define Device/Build/image
GZ_SUFFIX := $(if $(filter %dtb %gz,$(2)),,$(if $(and $(findstring ext4,$(1)),$(CONFIG_TARGET_IMAGES_GZIP)),.gz))
$$(_TARGET): $(BIN_DIR)/$(call IMAGE_NAME,$(1),$(2))$$(GZ_SUFFIX)
$(eval $(call Device/Export,$(KDIR)/tmp/$(call IMAGE_NAME,$(1),$(2)),$(1)))
$$(_TARGET): $(if $(CONFIG_JSON_OVERVIEW_IMAGE_INFO), \
$(BUILD_DIR)/json_info_files/$(call DEVICE_IMG_NAME,$(1),$(2)).json, \
$(BIN_DIR)/$(call DEVICE_IMG_NAME,$(1),$(2))$$(GZ_SUFFIX))
$(eval $(call Device/Export,$(KDIR)/tmp/$(call DEVICE_IMG_NAME,$(1),$(2)),$(1)))
$(3)-images: $(BIN_DIR)/$(call DEVICE_IMG_NAME,$(1),$(2))$$(GZ_SUFFIX)
ROOTFS/$(1)/$(3) := \
$(KDIR)/root.$(1)$$(strip \
$$(if $$(FS_OPTIONS/$(1)),+fs=$$(call param_mangle,$$(FS_OPTIONS/$(1)))) \
@@ -556,64 +629,109 @@ define Device/Build/image
ifndef IB
$$(ROOTFS/$(1)/$(3)): $(if $(TARGET_PER_DEVICE_ROOTFS),target-dir-$$(ROOTFS_ID/$(3)))
endif
$(KDIR)/tmp/$(call IMAGE_NAME,$(1),$(2)): $$(KDIR_KERNEL_IMAGE) $$(ROOTFS/$(1)/$(3))
$(KDIR)/tmp/$(call DEVICE_IMG_NAME,$(1),$(2)): $$(KDIR_KERNEL_IMAGE) $$(ROOTFS/$(1)/$(3))
@rm -f $$@
[ -f $$(word 1,$$^) -a -f $$(word 2,$$^) ]
$$(call concat_cmd,$(if $(IMAGE/$(2)/$(1)),$(IMAGE/$(2)/$(1)),$(IMAGE/$(2))))
.IGNORE: $(BIN_DIR)/$(call IMAGE_NAME,$(1),$(2))
.IGNORE: $(BIN_DIR)/$(call DEVICE_IMG_NAME,$(1),$(2))
$(BIN_DIR)/$(call IMAGE_NAME,$(1),$(2)).gz: $(KDIR)/tmp/$(call IMAGE_NAME,$(1),$(2))
$(BIN_DIR)/$(call DEVICE_IMG_NAME,$(1),$(2)).gz: $(KDIR)/tmp/$(call DEVICE_IMG_NAME,$(1),$(2))
gzip -c -9n $$^ > $$@
$(BIN_DIR)/$(call IMAGE_NAME,$(1),$(2)): $(KDIR)/tmp/$(call IMAGE_NAME,$(1),$(2))
$(BIN_DIR)/$(call DEVICE_IMG_NAME,$(1),$(2)): $(KDIR)/tmp/$(call DEVICE_IMG_NAME,$(1),$(2))
cp $$^ $$@
$(if $(CONFIG_JSON_ADD_IMAGE_INFO), \
DEVICE_ID="$(DEVICE_NAME)" \
BIN_DIR="$(BIN_DIR)" \
IMAGE_NAME="$(IMAGE_NAME)" \
IMAGE_TYPE=$(word 1,$(subst ., ,$(2))) \
IMAGE_PREFIX="$(IMAGE_PREFIX)" \
DEVICE_VENDOR="$(DEVICE_VENDOR)" \
DEVICE_MODEL="$(DEVICE_MODEL)" \
DEVICE_VARIANT="$(DEVICE_VARIANT)" \
DEVICE_ALT0_VENDOR="$(DEVICE_ALT0_VENDOR)" \
DEVICE_ALT0_MODEL="$(DEVICE_ALT0_MODEL)" \
DEVICE_ALT0_VARIANT="$(DEVICE_ALT0_VARIANT)" \
DEVICE_ALT1_VENDOR="$(DEVICE_ALT1_VENDOR)" \
DEVICE_ALT1_MODEL="$(DEVICE_ALT1_MODEL)" \
DEVICE_ALT1_VARIANT="$(DEVICE_ALT1_VARIANT)" \
DEVICE_ALT2_VENDOR="$(DEVICE_ALT2_VENDOR)" \
DEVICE_ALT2_MODEL="$(DEVICE_ALT2_MODEL)" \
DEVICE_ALT2_VARIANT="$(DEVICE_ALT2_VARIANT)" \
DEVICE_TITLE="$(DEVICE_TITLE)" \
TARGET="$(BOARD)" \
SUBTARGET="$(if $(SUBTARGET),$(SUBTARGET),generic)" \
VERSION_NUMBER="$(VERSION_NUMBER)" \
VERSION_CODE="$(VERSION_CODE)" \
SUPPORTED_DEVICES="$(SUPPORTED_DEVICES)" \
$(TOPDIR)/scripts/json_add_image_info.py \
)
$(BUILD_DIR)/json_info_files/$(call DEVICE_IMG_NAME,$(1),$(2)).json: $(BIN_DIR)/$(call DEVICE_IMG_NAME,$(1),$(2))$$(GZ_SUFFIX)
@mkdir -p $$(shell dirname $$@)
DEVICE_ID="$(DEVICE_NAME)" \
SOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH) \
FILE_NAME="$(DEVICE_IMG_NAME)" \
FILE_DIR="$(KDIR)/tmp" \
FILE_TYPE=$(word 1,$(subst ., ,$(2))) \
FILE_FILESYSTEM="$(1)" \
DEVICE_IMG_PREFIX="$(DEVICE_IMG_PREFIX)" \
DEVICE_VENDOR="$(DEVICE_VENDOR)" \
DEVICE_MODEL="$(DEVICE_MODEL)" \
DEVICE_VARIANT="$(DEVICE_VARIANT)" \
DEVICE_ALT0_VENDOR="$(DEVICE_ALT0_VENDOR)" \
DEVICE_ALT0_MODEL="$(DEVICE_ALT0_MODEL)" \
DEVICE_ALT0_VARIANT="$(DEVICE_ALT0_VARIANT)" \
DEVICE_ALT1_VENDOR="$(DEVICE_ALT1_VENDOR)" \
DEVICE_ALT1_MODEL="$(DEVICE_ALT1_MODEL)" \
DEVICE_ALT1_VARIANT="$(DEVICE_ALT1_VARIANT)" \
DEVICE_ALT2_VENDOR="$(DEVICE_ALT2_VENDOR)" \
DEVICE_ALT2_MODEL="$(DEVICE_ALT2_MODEL)" \
DEVICE_ALT2_VARIANT="$(DEVICE_ALT2_VARIANT)" \
DEVICE_ALT3_VENDOR="$(DEVICE_ALT3_VENDOR)" \
DEVICE_ALT3_MODEL="$(DEVICE_ALT3_MODEL)" \
DEVICE_ALT3_VARIANT="$(DEVICE_ALT3_VARIANT)" \
DEVICE_ALT4_VENDOR="$(DEVICE_ALT4_VENDOR)" \
DEVICE_ALT4_MODEL="$(DEVICE_ALT4_MODEL)" \
DEVICE_ALT4_VARIANT="$(DEVICE_ALT4_VARIANT)" \
DEVICE_TITLE="$(DEVICE_TITLE)" \
DEVICE_PACKAGES="$(DEVICE_PACKAGES)" \
TARGET="$(BOARD)" \
SUBTARGET="$(if $(SUBTARGET),$(SUBTARGET),generic)" \
VERSION_NUMBER="$(VERSION_NUMBER)" \
VERSION_CODE="$(VERSION_CODE)" \
SUPPORTED_DEVICES="$(SUPPORTED_DEVICES)" \
$(TOPDIR)/scripts/json_add_image_info.py $$@
endef
define Device/Build/artifact
$$(_TARGET): $(BIN_DIR)/$(IMAGE_PREFIX)-$(1)
$(eval $(call Device/Export,$(KDIR)/tmp/$(IMAGE_PREFIX)-$(1)))
$(KDIR)/tmp/$(IMAGE_PREFIX)-$(1): $$(KDIR_KERNEL_IMAGE)
$$(_TARGET): $(if $(CONFIG_JSON_OVERVIEW_IMAGE_INFO), \
$(BUILD_DIR)/json_info_files/$(DEVICE_IMG_PREFIX)-$(1).json, \
$(BIN_DIR)/$(DEVICE_IMG_PREFIX)-$(1))
$(eval $(call Device/Export,$(KDIR)/tmp/$(DEVICE_IMG_PREFIX)-$(1)))
$(KDIR)/tmp/$(DEVICE_IMG_PREFIX)-$(1): $$(KDIR_KERNEL_IMAGE) $(2)-images
@rm -f $$@
$$(call concat_cmd,$(ARTIFACT/$(1)))
.IGNORE: $(BIN_DIR)/$(IMAGE_PREFIX)-$(1)
.IGNORE: $(BIN_DIR)/$(DEVICE_IMG_PREFIX)-$(1)
$(BIN_DIR)/$(IMAGE_PREFIX)-$(1): $(KDIR)/tmp/$(IMAGE_PREFIX)-$(1)
$(BIN_DIR)/$(DEVICE_IMG_PREFIX)-$(1): $(KDIR)/tmp/$(DEVICE_IMG_PREFIX)-$(1)
cp $$^ $$@
$(BUILD_DIR)/json_info_files/$(DEVICE_IMG_PREFIX)-$(1).json: $(BIN_DIR)/$(DEVICE_IMG_PREFIX)-$(1)
@mkdir -p $$(shell dirname $$@)
DEVICE_ID="$(DEVICE_NAME)" \
SOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH) \
FILE_NAME="$(DEVICE_IMG_PREFIX)-$(1)" \
FILE_DIR="$(KDIR)/tmp" \
FILE_TYPE="$(1)" \
DEVICE_IMG_PREFIX="$(DEVICE_IMG_PREFIX)" \
DEVICE_VENDOR="$(DEVICE_VENDOR)" \
DEVICE_MODEL="$(DEVICE_MODEL)" \
DEVICE_VARIANT="$(DEVICE_VARIANT)" \
DEVICE_ALT0_VENDOR="$(DEVICE_ALT0_VENDOR)" \
DEVICE_ALT0_MODEL="$(DEVICE_ALT0_MODEL)" \
DEVICE_ALT0_VARIANT="$(DEVICE_ALT0_VARIANT)" \
DEVICE_ALT1_VENDOR="$(DEVICE_ALT1_VENDOR)" \
DEVICE_ALT1_MODEL="$(DEVICE_ALT1_MODEL)" \
DEVICE_ALT1_VARIANT="$(DEVICE_ALT1_VARIANT)" \
DEVICE_ALT2_VENDOR="$(DEVICE_ALT2_VENDOR)" \
DEVICE_ALT2_MODEL="$(DEVICE_ALT2_MODEL)" \
DEVICE_ALT2_VARIANT="$(DEVICE_ALT2_VARIANT)" \
DEVICE_ALT3_VENDOR="$(DEVICE_ALT3_VENDOR)" \
DEVICE_ALT3_MODEL="$(DEVICE_ALT3_MODEL)" \
DEVICE_ALT3_VARIANT="$(DEVICE_ALT3_VARIANT)" \
DEVICE_ALT4_VENDOR="$(DEVICE_ALT4_VENDOR)" \
DEVICE_ALT4_MODEL="$(DEVICE_ALT4_MODEL)" \
DEVICE_ALT4_VARIANT="$(DEVICE_ALT4_VARIANT)" \
DEVICE_TITLE="$(DEVICE_TITLE)" \
DEVICE_PACKAGES="$(DEVICE_PACKAGES)" \
TARGET="$(BOARD)" \
SUBTARGET="$(if $(SUBTARGET),$(SUBTARGET),generic)" \
VERSION_NUMBER="$(VERSION_NUMBER)" \
VERSION_CODE="$(VERSION_CODE)" \
SUPPORTED_DEVICES="$(SUPPORTED_DEVICES)" \
$(TOPDIR)/scripts/json_add_image_info.py $$@
endef
define Device/Build
$(shell rm -f $(BIN_DIR)/$(IMG_PREFIX)-$(1).json)
$(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),$(call Device/Build/initramfs,$(1)))
$(call Device/Build/kernel,$(1))
@@ -625,7 +743,7 @@ define Device/Build
$$(call Device/Build/image,$$(fs),$$(image),$(1)))))
$$(eval $$(foreach artifact,$$(ARTIFACTS), \
$$(call Device/Build/artifact,$$(artifact))))
$$(call Device/Build/artifact,$$(artifact),$(1))))
endef
@@ -635,6 +753,7 @@ Target-Profile-Name: $(DEVICE_DISPLAY)
Target-Profile-Packages: $(DEVICE_PACKAGES)
Target-Profile-hasImageMetadata: $(if $(foreach image,$(IMAGES),$(findstring append-metadata,$(IMAGE/$(image)))),1,0)
Target-Profile-SupportedDevices: $(SUPPORTED_DEVICES)
$(if $(BROKEN),Target-Profile-Broken: $(BROKEN))
$(if $(DEFAULT),Target-Profile-Default: $(DEFAULT))
Target-Profile-Description:
$(DEVICE_DESCRIPTION)
@@ -642,6 +761,8 @@ $(if $(strip $(DEVICE_ALT0_TITLE)),Alternative device titles:
- $(DEVICE_ALT0_TITLE))
$(if $(strip $(DEVICE_ALT1_TITLE)),- $(DEVICE_ALT1_TITLE))
$(if $(strip $(DEVICE_ALT2_TITLE)),- $(DEVICE_ALT2_TITLE))
$(if $(strip $(DEVICE_ALT3_TITLE)),- $(DEVICE_ALT3_TITLE))
$(if $(strip $(DEVICE_ALT4_TITLE)),- $(DEVICE_ALT4_TITLE))
@@
endef
@@ -659,6 +780,14 @@ ifneq ($$(strip $$(DEVICE_ALT2_TITLE)),)
DEVICE_DISPLAY = $$(DEVICE_ALT2_TITLE) ($$(DEVICE_TITLE))
$$(info $$(call Device/DumpInfo,$(1)))
endif
ifneq ($$(strip $$(DEVICE_ALT3_TITLE)),)
DEVICE_DISPLAY = $$(DEVICE_ALT3_TITLE) ($$(DEVICE_TITLE))
$$(info $$(call Device/DumpInfo,$(1)))
endif
ifneq ($$(strip $$(DEVICE_ALT4_TITLE)),)
DEVICE_DISPLAY = $$(DEVICE_ALT4_TITLE) ($$(DEVICE_TITLE))
$$(info $$(call Device/DumpInfo,$(1)))
endif
DEVICE_DISPLAY = $$(DEVICE_TITLE)
$$(eval $$(if $$(DEVICE_TITLE),$$(info $$(call Device/DumpInfo,$(1)))))
endef
@@ -684,28 +813,27 @@ define BuildImage
download:
prepare:
compile:
compile-dtb:
clean:
legacy-images-prepare:
legacy-images:
image_prepare:
ifeq ($(IB),)
.PHONY: download prepare compile clean image_prepare kernel_prepare install install-images
.PHONY: download prepare compile compile-dtb clean image_prepare kernel_prepare install install-images
compile:
$(call Build/Compile)
clean:
$(call Build/Clean)
image_prepare: compile
compile-dtb:
image_prepare: compile compile-dtb
mkdir -p $(BIN_DIR) $(KDIR)/tmp
rm -rf $(BUILD_DIR)/json_info_files
$(call Image/Prepare)
legacy-images-prepare-make: image_prepare
$(MAKE) legacy-images-prepare BIN_DIR="$(BIN_DIR)"
else
image_prepare:
rm -rf $(KDIR)/tmp
mkdir -p $(BIN_DIR) $(KDIR)/tmp
endif
@@ -717,17 +845,12 @@ define BuildImage
$(call Image/InstallKernel)
$(foreach device,$(TARGET_DEVICES),$(call Device,$(device)))
$(foreach device,$(LEGACY_DEVICES),$(call LegacyDevice,$(device)))
install-images: kernel_prepare $(foreach fs,$(filter-out $(if $(UBIFS_OPTS),,ubifs),$(TARGET_FILESYSTEMS) $(fs-subtypes-y)),$(KDIR)/root.$(fs))
$(foreach fs,$(TARGET_FILESYSTEMS),
$(call Image/Build,$(fs))
)
legacy-images-make: install-images
$(call Image/mkfs/ubifs/legacy)
$(MAKE) legacy-images BIN_DIR="$(BIN_DIR)"
install: install-images
$(call Image/Manifest)

2
include/kernel-5.10 Normal file
View File

@@ -0,0 +1,2 @@
LINUX_VERSION-5.10 = .220
LINUX_KERNEL_HASH-5.10.220 = 7cc3aff924e9707a5dbf1200c79a7f01617e097b9b175d02bda8ca762aeee19b

2
include/kernel-5.15 Normal file
View File

@@ -0,0 +1,2 @@
LINUX_VERSION-5.15 = .162
LINUX_KERNEL_HASH-5.15.162 = 91bfc0ea152ce7b102a0b79d35a7c92843874ebf085c99d2ba8b4d85e62b1a7c

2
include/kernel-5.4 Normal file
View File

@@ -0,0 +1,2 @@
LINUX_VERSION-5.4 = .278
LINUX_KERNEL_HASH-5.4.278 = e5a00606115545f444ef2766af5652f5539e3c96f46a9778bede89b98ffb8588

2
include/kernel-6.1 Normal file
View File

@@ -0,0 +1,2 @@
LINUX_VERSION-6.1 = .98
LINUX_KERNEL_HASH-6.1.98 = 97cdc9127c7700556ea0891267a0c24cf372f4b81636fb8203a914f3a69f3406

2
include/kernel-6.6 Normal file
View File

@@ -0,0 +1,2 @@
LINUX_VERSION-6.6 = .62
LINUX_KERNEL_HASH-6.6.62 = e2c35611775534941b9d4dd871f3ae5b988b6594dc9033b5ca784366e07d9336

View File

@@ -1,9 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2006-2020 OpenWrt.org
include $(INCLUDE_DIR)/prereq.mk
include $(INCLUDE_DIR)/depends.mk
@@ -12,7 +10,7 @@ ifneq ($(DUMP),1)
endif
KERNEL_FILE_DEPENDS=$(GENERIC_BACKPORT_DIR) $(GENERIC_PATCH_DIR) $(GENERIC_HACK_DIR) $(PATCH_DIR) $(GENERIC_FILES_DIR) $(FILES_DIR)
STAMP_PREPARED=$(LINUX_DIR)/.prepared$(if $(QUILT)$(DUMP),,_$(shell $(call find_md5,$(KERNEL_FILE_DEPENDS),)))
STAMP_PREPARED=$(LINUX_DIR)/.prepared$(if $(QUILT)$(DUMP),,_$(shell $(call $(if $(CONFIG_AUTOREMOVE),find_md5_reproducible,find_md5),$(KERNEL_FILE_DEPENDS),)))
STAMP_CONFIGURED:=$(LINUX_DIR)/.configured
include $(INCLUDE_DIR)/download.mk
include $(INCLUDE_DIR)/quilt.mk
@@ -70,7 +68,7 @@ ifdef CONFIG_COLLECT_KERNEL_DEBUG
$(FIND) $(KERNEL_BUILD_DIR)/debug -type f | $(XARGS) $(KERNEL_CROSS)strip --only-keep-debug
$(TAR) c -C $(KERNEL_BUILD_DIR) debug \
$(if $(SOURCE_DATE_EPOCH),--mtime="@$(SOURCE_DATE_EPOCH)") \
| bzip2 -c -9 > $(BIN_DIR)/kernel-debug.tar.bz2
| zstd -T0 -f -o $(BIN_DIR)/kernel-debug.tar.zst
endef
endif
@@ -105,7 +103,7 @@ define BuildKernel
xargs $(TARGET_CROSS)nm | \
awk '$$$$1 == "U" { print $$$$2 } ' | \
sort -u > $(KERNEL_BUILD_DIR)/mod_symtab.txt
$(TARGET_CROSS)nm -n $(LINUX_DIR)/vmlinux.o | grep ' [rR] __ksymtab' | sed -e 's,........ [rR] __ksymtab_,,' > $(KERNEL_BUILD_DIR)/kernel_symtab.txt
$(TARGET_CROSS)nm -n $(LINUX_DIR)/vmlinux.o | awk '/^[0-9a-f]+ [rR] __ksymtab_/ {print substr($$$$3,11)}' > $(KERNEL_BUILD_DIR)/kernel_symtab.txt
grep -Ff $(KERNEL_BUILD_DIR)/mod_symtab.txt $(KERNEL_BUILD_DIR)/kernel_symtab.txt > $(KERNEL_BUILD_DIR)/sym_include.txt
grep -Fvf $(KERNEL_BUILD_DIR)/mod_symtab.txt $(KERNEL_BUILD_DIR)/kernel_symtab.txt > $(KERNEL_BUILD_DIR)/sym_exclude.txt
( \
@@ -134,6 +132,7 @@ define BuildKernel
$(LINUX_DIR)/.modules: export STAGING_PREFIX=$$(STAGING_DIR_HOST)
$(LINUX_DIR)/.modules: export PKG_CONFIG_PATH=$$(STAGING_DIR_HOST)/lib/pkgconfig
$(LINUX_DIR)/.modules: export PKG_CONFIG_LIBDIR=$$(STAGING_DIR_HOST)/lib/pkgconfig
$(LINUX_DIR)/.modules: export FAIL_ON_UNCONFIGURED=1
$(LINUX_DIR)/.modules: $(STAMP_CONFIGURED) $(LINUX_DIR)/.config FORCE
$(Kernel/CompileModules)
touch $$@
@@ -157,17 +156,22 @@ define BuildKernel
compile: $(LINUX_DIR)/.modules
$(MAKE) -C image compile TARGET_BUILD=
oldconfig menuconfig nconfig: $(STAMP_PREPARED) $(STAMP_CHECKED) FORCE
dtb: $(STAMP_CONFIGURED)
$(_SINGLE)$(KERNEL_MAKE) scripts_dtc
$(MAKE) -C image compile-dtb TARGET_BUILD=
oldconfig menuconfig nconfig xconfig: $(STAMP_PREPARED) $(STAMP_CHECKED) FORCE
rm -f $(LINUX_DIR)/.config.prev
rm -f $(STAMP_CONFIGURED)
$(LINUX_RECONF_CMD) > $(LINUX_DIR)/.config
$(_SINGLE)$(KERNEL_MAKE) \
$(if $(findstring Darwin,$(HOST_OS)),HOST_LOADLIBES="-L$(STAGING_DIR_HOST)/lib -lncurses") \
$(if $(findstring Darwin,$(HOST_OS)), \
HOSTLDLIBS_mconf="-L$(STAGING_DIR_HOST)/lib -lncurses" \
filechk_conf_cfg=" :" \
) \
YACC=$(STAGING_DIR_HOST)/bin/bison \
$$@
$(LINUX_RECONF_DIFF) $(LINUX_DIR)/.config | \
grep -vE '(CONFIG_CC_(HAS_ASM_GOTO|IS_GCC|IS_CLANG)|GCC_VERSION)=' \
> $(LINUX_RECONFIG_TARGET)
$(call LINUX_RECONF_DIFF,$(LINUX_DIR)/.config) > $(LINUX_RECONFIG_TARGET)
install: $(LINUX_DIR)/.image
+$(MAKE) -C image compile install TARGET_BUILD=

View File

@@ -1,12 +1,9 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2006-2020 OpenWrt.org
ifdef CONFIG_STRIP_KERNEL_EXPORTS
KERNEL_MAKEOPTS += \
KERNEL_MAKEOPTS_IMAGE += \
EXTRA_LDSFLAGS="-I$(KERNEL_BUILD_DIR) -include symtab.h"
endif
@@ -24,7 +21,7 @@ Kernel/Patch:=$(Kernel/Patch/Default)
ifneq (,$(findstring .xz,$(LINUX_SOURCE)))
LINUX_CAT:=xzcat
else
LINUX_CAT:=zcat
LINUX_CAT:=$(STAGING_DIR_HOST)/bin/libdeflate-gzip -dc
endif
ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
@@ -46,10 +43,20 @@ else
rmdir $(LINUX_DIR); \
fi
ln -s $(CONFIG_EXTERNAL_KERNEL_TREE) $(LINUX_DIR)
if [ -d $(LINUX_DIR)/user_headers ]; then \
rm -rf $(LINUX_DIR)/user_headers; \
fi
endef
endif
ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS_SEPARATE),y)
define Kernel/SetInitramfs/PreConfigure
grep -v -e CONFIG_BLK_DEV_INITRD $(LINUX_DIR)/.config.old > $(LINUX_DIR)/.config
echo 'CONFIG_BLK_DEV_INITRD=y' >> $(LINUX_DIR)/.config
echo 'CONFIG_INITRAMFS_SOURCE=""' >> $(LINUX_DIR)/.config
endef
else
ifeq ($(strip $(CONFIG_EXTERNAL_CPIO)),"")
define Kernel/SetInitramfs/PreConfigure
grep -v -e INITRAMFS -e CONFIG_RD_ -e CONFIG_BLK_DEV_INITRD $(LINUX_DIR)/.config.old > $(LINUX_DIR)/.config
@@ -62,14 +69,20 @@ ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
echo 'CONFIG_INITRAMFS_SOURCE="$(call qstrip,$(CONFIG_EXTERNAL_CPIO))"' >> $(LINUX_DIR)/.config
endef
endif
endif
define Kernel/SetInitramfs
rm -f $(LINUX_DIR)/.config.prev
mv $(LINUX_DIR)/.config $(LINUX_DIR)/.config.old
$(call Kernel/SetInitramfs/PreConfigure)
echo "# CONFIG_INITRAMFS_PRESERVE_MTIME is not set" >> $(LINUX_DIR)/.config
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS_SEPARATE),y)
echo 'CONFIG_INITRAMFS_ROOT_UID=$(shell id -u)' >> $(LINUX_DIR)/.config
echo 'CONFIG_INITRAMFS_ROOT_GID=$(shell id -g)' >> $(LINUX_DIR)/.config
echo "$(if $(CONFIG_TARGET_INITRAMFS_FORCE),CONFIG_INITRAMFS_FORCE=y,# CONFIG_INITRAMFS_FORCE is not set)" >> $(LINUX_DIR)/.config
else
echo "# CONFIG_INITRAMFS_FORCE is not set" >> $(LINUX_DIR)/.config
endif
echo "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_NONE),CONFIG_INITRAMFS_COMPRESSION_NONE=y,# CONFIG_INITRAMFS_COMPRESSION_NONE is not set)" >> $(LINUX_DIR)/.config
echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_GZIP),CONFIG_INITRAMFS_COMPRESSION_GZIP=y\nCONFIG_RD_GZIP=y,# CONFIG_INITRAMFS_COMPRESSION_GZIP is not set\n# CONFIG_RD_GZIP is not set)" >> $(LINUX_DIR)/.config
echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_BZIP2),CONFIG_INITRAMFS_COMPRESSION_BZIP2=y\nCONFIG_RD_BZIP2=y,# CONFIG_INITRAMFS_COMPRESSION_BZIP2 is not set\n# CONFIG_RD_BZIP2 is not set)" >> $(LINUX_DIR)/.config
@@ -77,6 +90,7 @@ ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZO),CONFIG_INITRAMFS_COMPRESSION_LZO=y\nCONFIG_RD_LZO=y,# CONFIG_INITRAMFS_COMPRESSION_LZO is not set\n# CONFIG_RD_LZO is not set)" >> $(LINUX_DIR)/.config
echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_XZ),CONFIG_INITRAMFS_COMPRESSION_XZ=y\nCONFIG_RD_XZ=y,# CONFIG_INITRAMFS_COMPRESSION_XZ is not set\n# CONFIG_RD_XZ is not set)" >> $(LINUX_DIR)/.config
echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZ4),CONFIG_INITRAMFS_COMPRESSION_LZ4=y\nCONFIG_RD_LZ4=y,# CONFIG_INITRAMFS_COMPRESSION_LZ4 is not set\n# CONFIG_RD_LZ4 is not set)" >> $(LINUX_DIR)/.config
echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_ZSTD),CONFIG_INITRAMFS_COMPRESSION_ZSTD=y\nCONFIG_RD_ZSTD=y,# CONFIG_INITRAMFS_COMPRESSION_ZSTD is not set\n# CONFIG_RD_ZSTD is not set)" >> $(LINUX_DIR)/.config
endef
else
endif
@@ -86,6 +100,7 @@ define Kernel/SetNoInitramfs
grep -v INITRAMFS $(LINUX_DIR)/.config.old > $(LINUX_DIR)/.config.set
echo 'CONFIG_INITRAMFS_SOURCE=""' >> $(LINUX_DIR)/.config.set
echo '# CONFIG_INITRAMFS_FORCE is not set' >> $(LINUX_DIR)/.config.set
echo "# CONFIG_INITRAMFS_PRESERVE_MTIME is not set" >> $(LINUX_DIR)/.config.set
endef
define Kernel/Configure/Default
@@ -104,8 +119,8 @@ define Kernel/Configure/Default
cp $(LINUX_DIR)/.config.set $(LINUX_DIR)/.config; \
cp $(LINUX_DIR)/.config.set $(LINUX_DIR)/.config.prev; \
}
$(_SINGLE) [ -d $(LINUX_DIR)/user_headers ] || $(KERNEL_MAKE) INSTALL_HDR_PATH=$(LINUX_DIR)/user_headers headers_install
grep '=[ym]' $(LINUX_DIR)/.config.set | LC_ALL=C sort | mkhash md5 > $(LINUX_DIR)/.vermagic
$(_SINGLE) [ -d $(LINUX_DIR)/user_headers ] || $(KERNEL_MAKE) $(if $(findstring uml,$(BOARD)),ARCH=$(ARCH)) INSTALL_HDR_PATH=$(LINUX_DIR)/user_headers headers_install
grep '=[ym]' $(LINUX_DIR)/.config.set | LC_ALL=C sort | $(MKHASH) md5 > $(LINUX_DIR)/.vermagic
endef
define Kernel/Configure/Initramfs
@@ -114,7 +129,12 @@ endef
define Kernel/CompileModules/Default
rm -f $(LINUX_DIR)/vmlinux $(LINUX_DIR)/System.map
+$(KERNEL_MAKE) modules
+$(KERNEL_MAKE) olddefconfig
+$(KERNEL_MAKE) $(if $(KERNELNAME),$(KERNELNAME),all) modules
# If .config did not change, use the previous timestamp to avoid package rebuilds
cmp -s $(LINUX_DIR)/.config $(LINUX_DIR)/.config.modules.save && \
mv $(LINUX_DIR)/.config.modules.save $(LINUX_DIR)/.config; \
$(CP) $(LINUX_DIR)/.config $(LINUX_DIR)/.config.modules.save
endef
OBJCOPY_STRIP = -R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
@@ -136,19 +156,39 @@ define Kernel/CopyImage
}
endef
# Always add "modules" so a proper Module.symvers file is written that
# also contains symbols from the kernel modules. Without these symbols
# external packages that depend on exported symbols from kernel modules
# will fail to build.
define Kernel/CompileImage/Default
rm -f $(TARGET_DIR)/init
+$(KERNEL_MAKE) $(if $(KERNELNAME),$(KERNELNAME),all) modules
+$(KERNEL_MAKE) $(KERNEL_MAKEOPTS_IMAGE) $(if $(KERNELNAME),$(KERNELNAME),all) modules
$(call Kernel/CopyImage)
endef
# Here as well, always add "modules", see comment above.
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
define Kernel/CompileImage/Initramfs
$(call Kernel/Configure/Initramfs)
$(CP) $(GENERIC_PLATFORM_DIR)/other-files/init $(TARGET_DIR)/init
$(if $(SOURCE_DATE_EPOCH),touch -hcd "@$(SOURCE_DATE_EPOCH)" $(TARGET_DIR)/init)
$(if $(SOURCE_DATE_EPOCH),touch -hcd "@$(SOURCE_DATE_EPOCH)" $(TARGET_DIR) $(TARGET_DIR)/init)
rm -rf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)/usr/initramfs_data.cpio*
+$(KERNEL_MAKE) $(if $(KERNELNAME),$(KERNELNAME),all) modules
ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS_SEPARATE),y)
ifneq ($(qstrip $(CONFIG_EXTERNAL_CPIO)),)
$(CP) $(CONFIG_EXTERNAL_CPIO) $(KERNEL_BUILD_DIR)/initrd.cpio
else
( cd $(TARGET_DIR); find . | LC_ALL=C sort | $(STAGING_DIR_HOST)/bin/cpio --reproducible -o -H newc -R 0:0 > $(KERNEL_BUILD_DIR)/initrd.cpio )
endif
$(if $(SOURCE_DATE_EPOCH),touch -hcd "@$(SOURCE_DATE_EPOCH)" $(KERNEL_BUILD_DIR)/initrd.cpio)
$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_BZIP2),bzip2 -9 -c < $(KERNEL_BUILD_DIR)/initrd.cpio > $(KERNEL_BUILD_DIR)/initrd.cpio.bzip2)
$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_GZIP),gzip -n -f -S .gzip -9n $(KERNEL_BUILD_DIR)/initrd.cpio)
$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZ4),$(STAGING_DIR_HOST)/bin/lz4c -l -c1 -fz --favor-decSpeed $(KERNEL_BUILD_DIR)/initrd.cpio)
$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZMA),$(STAGING_DIR_HOST)/bin/lzma e -lc1 -lp2 -pb2 $(KERNEL_BUILD_DIR)/initrd.cpio $(KERNEL_BUILD_DIR)/initrd.cpio.lzma)
$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZO),$(STAGING_DIR_HOST)/bin/lzop -9 -f $(KERNEL_BUILD_DIR)/initrd.cpio)
$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_XZ),$(STAGING_DIR_HOST)/bin/xz -T$(if $(filter 1,$(NPROC)),2,0) -9 -fz --check=crc32 $(KERNEL_BUILD_DIR)/initrd.cpio)
$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_ZSTD),$(STAGING_DIR_HOST)/bin/zstd -T0 -f -o $(KERNEL_BUILD_DIR)/initrd.cpio.zstd $(KERNEL_BUILD_DIR)/initrd.cpio)
endif
+$(KERNEL_MAKE) $(KERNEL_MAKEOPTS_IMAGE) $(if $(KERNELNAME),$(KERNELNAME),all) modules
$(call Kernel/CopyImage,-initramfs)
endef
else
@@ -161,5 +201,3 @@ define Kernel/Clean/Default
rm -f $(LINUX_KERNEL)
$(_SINGLE)$(MAKE) -C $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) clean
endef

View File

@@ -1,18 +1,26 @@
# Use the default kernel version if the Makefile doesn't override it
# Use the default kernel version if the Makefile doesn't override it
LINUX_RELEASE?=1
ifdef CONFIG_TESTING_KERNEL
KERNEL_PATCHVER:=$(KERNEL_TESTING_PATCHVER)
endif
LINUX_VERSION-4.9 = .215
LINUX_VERSION-4.14 = .172
LINUX_VERSION-4.19 = .108
KERNEL_DETAILS_FILE=$(INCLUDE_DIR)/kernel-$(KERNEL_PATCHVER)
ifeq ($(wildcard $(KERNEL_DETAILS_FILE)),)
$(error Missing kernel version/hash file for $(KERNEL_PATCHVER). Please create $(KERNEL_DETAILS_FILE))
endif
LINUX_KERNEL_HASH-4.9.215 = 236f2f47853700f22b9925cb17917d97ff7120fcc8110ec827c5a030a8129f48
LINUX_KERNEL_HASH-4.14.172 = 2318a1ab937580a079351ed20557c336a3d95b664f667b14e3ba49e3271b217a
LINUX_KERNEL_HASH-4.19.108 = 09aeeca5b08efea2f54b977b2999afb60d42f93b9f65b2b0111969f183f750a3
include $(KERNEL_DETAILS_FILE)
ifdef KERNEL_TESTING_PATCHVER
KERNEL_TESTING_DETAILS_FILE=$(INCLUDE_DIR)/kernel-$(KERNEL_TESTING_PATCHVER)
ifeq ($(wildcard $(KERNEL_TESTING_DETAILS_FILE)),)
$(error Missing kernel version/hash file for $(KERNEL_TESTING_PATCHVER). Please create $(KERNEL_TESTING_DETAILS_FILE))
endif
include $(KERNEL_TESTING_DETAILS_FILE)
endif
remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1))))
sanitize_uri=$(call qstrip,$(subst @,_,$(subst :,_,$(subst .,_,$(subst -,_,$(subst /,_,$(1)))))))
@@ -40,4 +48,4 @@ KERNEL_PATCHVER ?= $(KERNEL)
# disable the md5sum check for unknown kernel versions
LINUX_KERNEL_HASH:=$(LINUX_KERNEL_HASH-$(strip $(LINUX_VERSION)))
LINUX_KERNEL_HASH?=x
LINUX_KERNEL_HASH?=x

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2006-2020 OpenWrt.org
ifneq ($(filter check,$(MAKECMDGOALS)),)
CHECK:=1
@@ -89,10 +86,14 @@ else ifneq (,$(findstring $(ARCH) , arceb ))
LINUX_KARCH := arc
else ifneq (,$(findstring $(ARCH) , armeb ))
LINUX_KARCH := arm
else ifneq (,$(findstring $(ARCH) , loongarch64 ))
LINUX_KARCH := loongarch
else ifneq (,$(findstring $(ARCH) , mipsel mips64 mips64el ))
LINUX_KARCH := mips
else ifneq (,$(findstring $(ARCH) , powerpc64 ))
LINUX_KARCH := powerpc
else ifneq (,$(findstring $(ARCH) , riscv64 ))
LINUX_KARCH := riscv
else ifneq (,$(findstring $(ARCH) , sh2 sh3 sh4 ))
LINUX_KARCH := sh
else ifneq (,$(findstring $(ARCH) , i386 x86_64 ))
@@ -104,7 +105,7 @@ endif
KERNEL_MAKE = $(MAKE) $(KERNEL_MAKEOPTS)
KERNEL_MAKE_FLAGS = \
KCFLAGS="$(call iremap,$(BUILD_DIR),$(notdir $(BUILD_DIR)))" \
KCFLAGS="$(call iremap,$(BUILD_DIR),$(notdir $(BUILD_DIR))) $(filter-out -fno-plt,$(call qstrip,$(CONFIG_EXTRA_OPTIMIZATION))) $(call qstrip,$(CONFIG_KERNEL_CFLAGS))" \
HOSTCFLAGS="$(HOST_CFLAGS) -Wall -Wmissing-prototypes -Wstrict-prototypes" \
CROSS_COMPILE="$(KERNEL_CROSS)" \
ARCH="$(LINUX_KARCH)" \
@@ -113,38 +114,35 @@ KERNEL_MAKE_FLAGS = \
KBUILD_BUILD_HOST="$(call qstrip,$(CONFIG_KERNEL_BUILD_DOMAIN))" \
KBUILD_BUILD_TIMESTAMP="$(KBUILD_BUILD_TIMESTAMP)" \
KBUILD_BUILD_VERSION="0" \
HOST_LOADLIBES="-L$(STAGING_DIR_HOST)/lib" \
KBUILD_HOSTLDLIBS="-L$(STAGING_DIR_HOST)/lib" \
KBUILD_HOSTLDFLAGS="-L$(STAGING_DIR_HOST)/lib" \
CONFIG_SHELL="$(BASH)" \
$(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='') \
$(if $(PKG_BUILD_ID),LDFLAGS_MODULE=--build-id=0x$(PKG_BUILD_ID)) \
cmd_syscalls=
cmd_syscalls= \
$(if $(__package_mk),KBUILD_EXTRA_SYMBOLS="$(wildcard $(PKG_SYMVERS_DIR)/*.symvers)")
KERNEL_NOSTDINC_FLAGS = \
-nostdinc $(if $(DUMP),, -isystem $(shell $(TARGET_CC) -print-file-name=include))
ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE))$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),)
KERNEL_MAKE_FLAGS += \
KERNELRELEASE=$(LINUX_VERSION)
endif
KERNEL_MAKEOPTS := -C $(LINUX_DIR) $(KERNEL_MAKE_FLAGS)
ifneq ($(HOST_OS),Linux)
KERNEL_MAKE_FLAGS += CONFIG_STACK_VALIDATION=
export SKIP_STACK_VALIDATION:=1
endif
KERNEL_MAKEOPTS = -C $(LINUX_DIR) $(KERNEL_MAKE_FLAGS)
ifdef CONFIG_USE_SPARSE
KERNEL_MAKEOPTS += C=1 CHECK=$(STAGING_DIR_HOST)/bin/sparse
endif
ifneq ($(HOST_OS),Linux)
KERNEL_MAKEOPTS += CONFIG_STACK_VALIDATION=
export SKIP_STACK_VALIDATION:=1
endif
PKG_EXTMOD_SUBDIRS ?= .
define populate_module_symvers
@mkdir -p $(PKG_INFO_DIR)
cat /dev/null > $(PKG_INFO_DIR)/$(PKG_NAME).symvers; \
for subdir in $(PKG_EXTMOD_SUBDIRS); do \
cat $(PKG_INFO_DIR)/*.symvers 2>/dev/null > $(PKG_BUILD_DIR)/$$$$subdir/Module.symvers; \
done
endef
PKG_SYMVERS_DIR = $(KERNEL_BUILD_DIR)/symvers
define collect_module_symvers
for subdir in $(PKG_EXTMOD_SUBDIRS); do \
@@ -154,12 +152,12 @@ define collect_module_symvers
grep -F $$$$realdir $(PKG_BUILD_DIR)/$$$$subdir/Module.symvers >> $(PKG_BUILD_DIR)/Module.symvers.tmp; \
done; \
sort -u $(PKG_BUILD_DIR)/Module.symvers.tmp > $(PKG_BUILD_DIR)/Module.symvers; \
mv $(PKG_BUILD_DIR)/Module.symvers $(PKG_INFO_DIR)/$(PKG_NAME).symvers
mkdir -p $(PKG_SYMVERS_DIR); \
mv $(PKG_BUILD_DIR)/Module.symvers $(PKG_SYMVERS_DIR)/$(PKG_NAME).symvers
endef
define KernelPackage/hooks
ifneq ($(PKG_NAME),kernel)
Hooks/Compile/Pre += populate_module_symvers
Hooks/Compile/Post += collect_module_symvers
endif
define KernelPackage/hooks
@@ -240,7 +238,7 @@ $(call KernelPackage/$(1)/config)
$(call KernelPackage/depends)
$(call KernelPackage/hooks)
ifneq ($(if $(filter-out %=y %=n %=m,$(KCONFIG)),$(filter m y,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),.),)
ifneq ($(if $(filter-out %=y %=n %=m,$(KCONFIG)),$(filter m y,$(foreach c,$(call version_filter,$(filter-out %=y %=n %=m,$(KCONFIG))),$($(c)))),.),)
define Package/kmod-$(1)/install
@for mod in $$(call version_filter,$$(FILES)); do \
if grep -q "$$$$$$$${mod##$(LINUX_DIR)/}" "$(LINUX_DIR)/modules.builtin"; then \

BIN
include/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

398
include/logo.svg Normal file
View File

@@ -0,0 +1,398 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="2000mm"
height="595.20099mm"
viewBox="0 0 2000.0002 595.20098"
version="1.1"
id="svg971"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
sodipodi:docname="logo.svg">
<defs
id="defs965">
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath78">
<path
d="M 0,0 H 792 V 612 H 0 Z"
id="path76" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath106">
<path
d="M 0,0 H 792 V 612 H 0 Z"
id="path104" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath130">
<path
d="M 0,0 H 792 V 612 H 0 Z"
id="path128" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath154">
<path
d="M 0,0 H 792 V 612 H 0 Z"
id="path152" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath174">
<path
d="M 0,0 H 792 V 612 H 0 Z"
id="path172" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath194">
<path
d="M 0,0 H 792 V 612 H 0 Z"
id="path192" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath214">
<path
d="M 0,0 H 792 V 612 H 0 Z"
id="path212" />
</clipPath>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="1579.8791"
inkscape:cy="728.41283"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="1920"
inkscape:window-height="1016"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata968">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(312.17635,44.559227)">
<g
id="g72"
transform="matrix(12.354182,0,0,-12.354182,-1687.2697,4281.0797)">
<g
id="g74"
clip-path="url(#clipPath78)">
<g
id="g80"
transform="translate(173.1753,319.1396)">
<path
d="m 0,0 c 0,-5.745 -4.627,-10.263 -10.545,-10.263 -5.918,0 -10.544,4.518 -10.544,10.263 0,5.771 4.626,10.367 10.544,10.367 C -4.627,10.367 0,5.771 0,0 m -3.685,0 c 0,3.995 -3.013,7.024 -6.86,7.024 -3.846,0 -6.859,-3.029 -6.859,-7.024 0,-3.995 3.013,-6.946 6.859,-6.946 3.847,0 6.86,2.95 6.86,6.946"
style="fill:#00ace2;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path82" />
</g>
<g
id="g84"
transform="translate(189.0894,315.771)">
<path
d="m 0,0 c 0,-4.099 -3.174,-6.894 -6.591,-6.894 -1.829,0 -3.308,0.523 -4.438,1.41 v -8.329 H -14.58 V 6.528 h 3.552 V 5.484 C -9.898,6.397 -8.419,6.92 -6.59,6.92 -3.174,6.92 0,4.1 0,0 m -3.443,0 c 0,2.402 -1.614,3.917 -3.766,3.917 -1.91,0 -3.82,-1.515 -3.82,-3.917 0,-2.402 1.91,-3.889 3.82,-3.889 2.152,-0.002 3.766,1.486 3.766,3.889"
style="fill:#00ace2;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path86" />
</g>
<g
id="g88"
transform="translate(203.958,314.8574)">
<path
d="m 0,0 h -10.222 c 0.349,-1.88 1.721,-3.029 3.362,-3.029 1.049,0 2.367,0.131 3.336,1.723 l 3.174,-0.652 c -1.183,-2.716 -3.577,-4.022 -6.51,-4.022 -3.793,0 -6.887,2.794 -6.887,6.894 0,4.099 3.094,6.918 6.94,6.918 3.578,0 6.671,-2.689 6.806,-6.659 z m -10.115,2.429 h 6.485 c -0.457,1.671 -1.749,2.402 -3.174,2.402 -1.347,0 -2.88,-0.784 -3.311,-2.402"
style="fill:#00ace2;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path90" />
</g>
<g
id="g92"
transform="translate(218.446,317.2075)">
<path
d="m 0,0 v -7.938 h -3.551 v 7.207 c 0,1.827 -1.076,3.055 -2.717,3.055 -2.017,0 -3.335,-1.306 -3.335,-4.492 v -5.77 h -3.551 v 13.03 h 3.55 V 3.917 c 1.049,1.018 2.447,1.566 4.223,1.566 C -2.152,5.483 0,3.238 0,0"
style="fill:#00ace2;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path94" />
</g>
</g>
</g>
<g
id="g96"
transform="matrix(12.354182,0,0,-12.354182,1281.2351,460.31368)">
<path
d="M 0,0 H -2.851 L -7.854,12.874 -12.885,0 h -2.824 l -6.699,19.846 h 3.82 l 4.492,-13.109 5.138,13.109 h 2.179 L -1.641,6.737 2.851,19.846 h 3.846 z"
style="fill:#00ace2;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path98" />
</g>
<g
id="g100"
transform="matrix(12.354182,0,0,-12.354182,-1687.2697,4281.0797)">
<g
id="g102"
clip-path="url(#clipPath106)">
<g
id="g108"
transform="translate(255.7183,322.3774)">
<path
d="m 0,0 -0.188,-3.316 h -0.78 c -3.282,0 -4.789,-1.959 -4.789,-5.588 v -4.204 h -3.551 v 13.03 h 3.551 V -2.35 c 0.996,1.515 2.556,2.454 4.816,2.454 0.349,0 0.618,0 0.941,-0.104"
style="fill:#00ace2;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path110" />
</g>
<g
id="g112"
transform="translate(263.2698,314.0737)">
<path
d="m 0,0 c 0,-1.279 0.619,-1.985 1.695,-1.985 0.618,0 1.533,0.262 2.234,0.627 L 4.952,-4.23 C 3.553,-4.961 2.584,-5.197 1.455,-5.197 c -3.201,0 -5.004,1.776 -5.004,4.937 v 5.665 h -2.879 v 2.821 h 2.879 v 4.726 l 3.55,1.045 V 8.226 H 5.193 V 5.405 H 0 Z"
style="fill:#00ace2;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path114" />
</g>
</g>
</g>
<g
id="g116"
transform="matrix(12.354182,0,0,-12.354182,612.14009,549.73584)">
<path
d="M 0,0 H -0.799 L -1.549,2 -2.304,0 H -3.1 l -1.224,3.689 h 1.02 l 0.635,-1.99 0.795,1.99 h 0.65 l 0.79,-1.99 0.64,1.99 h 1.02 z"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path118" />
</g>
<g
id="g120"
transform="matrix(12.354182,0,0,-12.354182,674.30011,539.84385)">
<path
d="m 0,0 h 0.785 v -0.801 h -2.53 V 0 h 0.785 v 2.083 h -0.785 v 0.805 h 2.53 V 2.083 H 0 Z"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path122" />
</g>
<g
id="g124"
transform="matrix(12.354182,0,0,-12.354182,-1687.2697,4281.0797)">
<g
id="g126"
clip-path="url(#clipPath130)">
<g
id="g132"
transform="translate(196.9004,302.0308)">
<path
d="M 0,0 -0.7,0.801 H -1.449 V 0 H -2.41 v 3.689 h 1.771 c 1,0 1.605,-0.573 1.605,-1.427 0,-0.549 -0.255,-0.991 -0.695,-1.238 L 1.206,0 Z m -0.675,1.602 c 0.4,0 0.73,0.262 0.73,0.66 0,0.388 -0.33,0.628 -0.73,0.628 H -1.449 V 1.604 Z"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path134" />
</g>
</g>
</g>
<g
id="g136"
transform="matrix(12.354182,0,0,-12.354182,820.47493,549.73584)">
<path
d="m 0,0 h -2.9 v 3.689 h 2.87 V 2.888 H -1.94 V 2.257 h 1.88 V 1.456 H -1.94 V 0.801 h 1.941 z"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path138" />
</g>
<g
id="g140"
transform="matrix(12.354182,0,0,-12.354182,886.62894,549.73584)">
<path
d="m 0,0 h -2.805 v 3.689 h 0.96 V 0.801 H 0 Z"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path142" />
</g>
<g
id="g144"
transform="matrix(12.354182,0,0,-12.354182,953.79261,549.73584)">
<path
d="m 0,0 h -2.9 v 3.689 h 2.87 V 2.888 H -1.94 V 2.257 h 1.88 V 1.456 H -1.94 V 0.801 H 0 Z"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path146" />
</g>
<g
id="g148"
transform="matrix(12.354182,0,0,-12.354182,-1687.2697,4281.0797)">
<g
id="g150"
clip-path="url(#clipPath154)">
<g
id="g156"
transform="translate(219.3787,304.7295)">
<path
d="m 0,0 -0.94,-0.185 c -0.08,0.374 -0.34,0.481 -0.565,0.481 -0.225,0 -0.41,-0.111 -0.41,-0.316 0,-0.146 0.08,-0.238 0.245,-0.286 l 0.74,-0.228 c 0.625,-0.199 0.965,-0.481 0.965,-1.058 0,-0.83 -0.75,-1.18 -1.495,-1.18 -0.825,0 -1.495,0.422 -1.59,1.126 l 0.985,0.194 c 0.08,-0.364 0.304,-0.519 0.635,-0.519 0.28,0 0.45,0.126 0.45,0.321 0,0.145 -0.08,0.247 -0.29,0.3 l -0.705,0.199 c -0.575,0.16 -0.965,0.447 -0.965,1.044 0,0.752 0.609,1.165 1.44,1.165 0.79,0 1.375,-0.369 1.5,-1.058"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path158" />
</g>
<g
id="g160"
transform="translate(224.4026,304.7295)">
<path
d="m 0,0 -0.94,-0.185 c -0.08,0.374 -0.34,0.481 -0.565,0.481 -0.225,0 -0.41,-0.111 -0.41,-0.316 0,-0.146 0.08,-0.238 0.245,-0.286 l 0.74,-0.228 c 0.625,-0.199 0.965,-0.481 0.965,-1.058 0,-0.83 -0.75,-1.18 -1.495,-1.18 -0.825,0 -1.495,0.422 -1.591,1.126 l 0.986,0.194 c 0.08,-0.364 0.304,-0.519 0.635,-0.519 0.28,0 0.45,0.126 0.45,0.321 0,0.145 -0.08,0.247 -0.29,0.3 l -0.705,0.2 c -0.575,0.16 -0.965,0.446 -0.965,1.044 0,0.752 0.608,1.165 1.44,1.165 C -0.71,1.058 -0.125,0.689 0,0"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path162" />
</g>
</g>
</g>
<g
id="g164"
transform="matrix(12.354182,0,0,-12.354182,1170.9286,521.84896)">
<path
d="M 0,0 H 1.785 V -0.801 H 0 V -2.257 H -0.96 V 1.432 H 1.915 V 0.631 H 0 Z"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path166" />
</g>
<g
id="g168"
transform="matrix(12.354182,0,0,-12.354182,-1687.2697,4281.0797)">
<g
id="g170"
clip-path="url(#clipPath174)">
<g
id="g176"
transform="translate(238.2297,302.0308)">
<path
d="M 0,0 -0.7,0.801 H -1.45 V 0 h -0.96 v 3.689 h 1.77 c 1,0 1.605,-0.573 1.605,-1.427 C 0.965,1.713 0.71,1.271 0.27,1.024 L 1.205,0 Z m -0.675,1.602 c 0.4,0 0.73,0.262 0.73,0.66 0,0.388 -0.33,0.628 -0.73,0.628 H -1.45 V 1.604 Z"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path178" />
</g>
</g>
</g>
<g
id="g180"
transform="matrix(12.354182,0,0,-12.354182,1331.0682,549.73584)">
<path
d="m 0,0 h -2.9 v 3.689 h 2.87 V 2.888 H -1.94 V 2.257 h 1.88 V 1.456 H -1.94 V 0.801 H 0 Z"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path182" />
</g>
<g
id="g184"
transform="matrix(12.354182,0,0,-12.354182,1398.3947,549.73584)">
<path
d="m 0,0 h -2.9 v 3.689 h 2.87 V 2.888 H -1.94 V 2.257 h 1.88 V 1.456 H -1.94 V 0.801 h 1.941 z"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path186" />
</g>
<g
id="g188"
transform="matrix(12.354182,0,0,-12.354182,-1687.2697,4281.0797)">
<g
id="g190"
clip-path="url(#clipPath194)">
<g
id="g196"
transform="translate(254.0122,305.7197)">
<path
d="M 0,0 C 1.21,0 2.01,-0.739 2.01,-1.844 2.01,-2.95 1.211,-3.689 0,-3.689 H -1.695 V 0 Z m -0.01,-2.888 c 0.655,0 1.055,0.417 1.055,1.044 0,0.626 -0.4,1.043 -1.055,1.043 h -0.723 v -2.087 z"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path198" />
</g>
<g
id="g200"
transform="translate(262.0693,303.8706)">
<path
d="m 0,0 c 0,-1.078 -0.91,-1.913 -2.03,-1.913 -1.12,0 -2.035,0.835 -2.035,1.913 0,1.077 0.91,1.917 2.035,1.917 C -0.905,1.917 0,1.073 0,0 m -0.965,0 c 0,0.606 -0.47,1.077 -1.066,1.077 -0.595,0 -1.065,-0.471 -1.065,-1.077 0,-0.607 0.47,-1.078 1.065,-1.078 0.596,0 1.066,0.466 1.066,1.078"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path202" />
</g>
</g>
</g>
<g
id="g204"
transform="matrix(12.354182,0,0,-12.354182,1629.3552,549.73584)">
<path
d="M 0,0 H -0.94 V 1.752 L -2.06,0.256 H -2.35 L -3.47,1.75 v -1.751 h -0.94 v 3.689 h 0.615 l 1.59,-2.17 1.59,2.17 H 0 Z"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path206" />
</g>
<g
id="g208"
transform="matrix(12.354182,0,0,-12.354182,-1687.2697,4281.0797)">
<g
id="g210"
clip-path="url(#clipPath214)">
<g
id="g216"
transform="translate(271.6895,328.4058)">
<path
d="M 0,0 -0.99,1.042 H -1.398 V 0 h -0.455 v 2.468 h 0.95 c 0.533,0 0.856,-0.296 0.856,-0.712 0.008,-0.283 -0.169,-0.54 -0.441,-0.642 L 0.569,0 Z m -0.903,1.441 c 0.267,0 0.405,0.137 0.405,0.315 0,0.179 -0.141,0.311 -0.405,0.311 H -1.398 V 1.44 Z"
style="fill:#00ace2;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path218" />
</g>
<g
id="g220"
transform="translate(270.8284,327.209)">
<path
d="m 0,0 c -1.307,0 -2.366,1.028 -2.367,2.296 0,1.269 1.059,2.298 2.366,2.298 1.307,0 2.366,-1.028 2.367,-2.296 V 2.297 C 2.365,1.029 1.306,0.002 0,0 m 0,4.269 c -1.122,0 -2.031,-0.883 -2.031,-1.972 0,-1.089 0.909,-1.971 2.031,-1.971 1.122,0 2.031,0.882 2.031,1.971 C 2.03,3.386 1.121,4.268 0,4.269 Z"
style="fill:#00ace2;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path222" />
</g>
<g
id="g224"
transform="translate(130.3613,326.9673)">
<path
d="m 0,0 c -1.713,0 -3.102,-1.348 -3.102,-3.011 0,-1.663 1.389,-3.011 3.102,-3.011 1.713,0 3.102,1.348 3.102,3.011 C 3.099,-1.35 1.712,-0.003 0,0"
style="fill:#00ace2;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path226" />
</g>
<g
id="g228"
transform="translate(111.3059,342.4536)">
<path
d="m 0,0 3.229,-3.134 c 4.051,3.933 9.653,6.36 15.826,6.36 6.174,0 11.776,-2.428 15.827,-6.36 L 38.111,0 C 33.236,4.732 26.494,7.682 19.055,7.682 11.617,7.682 4.875,4.732 0,0"
style="fill:#00ace2;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path230" />
</g>
<g
id="g232"
transform="translate(117.1301,336.7998)">
<path
d="m 0,0 3.229,-3.134 c 2.564,2.488 6.109,4.025 10.001,4.025 3.892,0 7.44,-1.537 10.004,-4.025 L 26.463,0 C 23.076,3.288 18.391,5.348 13.232,5.348 8.072,5.348 3.388,3.289 0,0"
style="fill:#00ace2;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path234" />
</g>
<g
id="g236"
transform="translate(122.9229,331.1763)">
<path
d="m 0,0 3.229,-3.134 c 2.326,2.253 6.093,2.253 8.419,0 L 14.877,0 C 12.905,1.915 10.228,2.988 7.438,2.98 4.558,2.98 1.93,1.844 0,0"
style="fill:#00ace2;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path238" />
</g>
<g
id="g240"
transform="translate(141.8201,332.0371)">
<path
d="m 0,0 c 1.709,-2.274 2.722,-5.07 2.722,-8.081 0,-7.589 -6.362,-13.766 -14.181,-13.766 -7.818,0 -14.18,6.177 -14.18,13.766 0,3.011 1.013,5.807 2.722,8.081 l -3.26,3.165 c -2.533,-3.103 -4.021,-7.006 -4.021,-11.246 0,-10.017 8.42,-18.19 18.739,-18.19 10.32,0 18.739,8.173 18.739,18.19 0,4.24 -1.519,8.143 -4.02,11.246 z"
style="fill:#002843;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path242" />
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 17 KiB

146
include/meson.mk Normal file
View File

@@ -0,0 +1,146 @@
# To build your package using meson:
#
# include $(INCLUDE_DIR)/meson.mk
# MESON_ARGS+=-Dfoo -Dbar=baz
#
# To pass additional environment variables to meson:
#
# MESON_VARS+=FOO=bar
#
# Default configure/compile/install targets are provided, but can be
# overwritten if required:
#
# define Build/Configure
# $(call Build/Configure/Meson)
# ...
# endef
#
# same for Build/Compile and Build/Install
#
# Host packages are built in the same fashion, just use these vars instead:
#
# MESON_HOST_ARGS+=-Dfoo -Dbar=baz
# MESON_HOST_VARS+=FOO=bar
MESON_DIR:=$(STAGING_DIR_HOST)/lib/meson
MESON_HOST_BUILD_DIR:=$(HOST_BUILD_DIR)/openwrt-build
MESON_HOST_VARS:=
MESON_HOST_ARGS:=
MESON_BUILD_DIR:=$(PKG_BUILD_DIR)/openwrt-build
MESON_VARS:=
MESON_ARGS:=
ifneq ($(findstring i386,$(CONFIG_ARCH)),)
MESON_ARCH:="x86"
else ifneq ($(findstring powerpc64,$(CONFIG_ARCH)),)
MESON_ARCH:="ppc64"
else ifneq ($(findstring powerpc,$(CONFIG_ARCH)),)
MESON_ARCH:="ppc"
else ifneq ($(findstring mips64el,$(CONFIG_ARCH)),)
MESON_ARCH:="mips64"
else ifneq ($(findstring mipsel,$(CONFIG_ARCH)),)
MESON_ARCH:="mips"
else ifneq ($(findstring armeb,$(CONFIG_ARCH)),)
MESON_ARCH:="arm"
else
MESON_ARCH:=$(CONFIG_ARCH)
endif
# this is undefined for just x64_64
ifeq ($(origin CPU_TYPE),undefined)
MESON_CPU:="generic"
else
MESON_CPU:="$(CPU_TYPE)$(if $(CPU_SUBTYPE),+$(CPU_SUBTYPE))"
endif
define Meson
$(2) $(STAGING_DIR_HOST)/bin/$(PYTHON) $(STAGING_DIR_HOST)/bin/meson.py $(1)
endef
define Meson/CreateNativeFile
$(STAGING_DIR_HOST)/bin/sed \
-e "s|@CC@|$(foreach BIN,$(HOSTCC),'$(BIN)',)|" \
-e "s|@CXX@|$(foreach BIN,$(HOSTCXX),'$(BIN)',)|" \
-e "s|@PKGCONFIG@|$(PKG_CONFIG)|" \
-e "s|@CMAKE@|$(STAGING_DIR_HOST)/bin/cmake|" \
-e "s|@PYTHON@|$(STAGING_DIR_HOST)/bin/python3|" \
-e "s|@CFLAGS@|$(foreach FLAG,$(HOST_CFLAGS) $(HOST_CPPFLAGS),'$(FLAG)',)|" \
-e "s|@CXXFLAGS@|$(foreach FLAG,$(HOST_CXXFLAGS) $(HOST_CPPFLAGS),'$(FLAG)',)|" \
-e "s|@LDFLAGS@|$(foreach FLAG,$(HOST_LDFLAGS),'$(FLAG)',)|" \
-e "s|@PREFIX@|$(HOST_BUILD_PREFIX)|" \
< $(MESON_DIR)/openwrt-native.txt.in \
> $(1)
endef
define Meson/CreateCrossFile
$(STAGING_DIR_HOST)/bin/sed \
-e "s|@CC@|$(foreach BIN,$(TARGET_CC),'$(BIN)',)|" \
-e "s|@CXX@|$(foreach BIN,$(TARGET_CXX),'$(BIN)',)|" \
-e "s|@AR@|$(TARGET_AR)|" \
-e "s|@STRIP@|$(TARGET_CROSS)strip|" \
-e "s|@NM@|$(TARGET_NM)|" \
-e "s|@PKGCONFIG@|$(PKG_CONFIG)|" \
-e "s|@CMAKE@|$(STAGING_DIR_HOST)/bin/cmake|" \
-e "s|@PYTHON@|$(STAGING_DIR_HOST)/bin/python3|" \
-e "s|@CFLAGS@|$(foreach FLAG,$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS),'$(FLAG)',)|" \
-e "s|@CXXFLAGS@|$(foreach FLAG,$(TARGET_CXXFLAGS) $(EXTRA_CXXFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS),'$(FLAG)',)|" \
-e "s|@LDFLAGS@|$(foreach FLAG,$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS),'$(FLAG)',)|" \
-e "s|@ARCH@|$(MESON_ARCH)|" \
-e "s|@CPU@|$(MESON_CPU)|" \
-e "s|@ENDIAN@|$(if $(CONFIG_BIG_ENDIAN),big,little)|" \
< $(MESON_DIR)/openwrt-cross.txt.in \
> $(1)
endef
define Host/Configure/Meson
$(call Meson/CreateNativeFile,$(HOST_BUILD_DIR)/openwrt-native.txt)
$(call Meson, \
--native-file $(HOST_BUILD_DIR)/openwrt-native.txt \
$(MESON_HOST_ARGS) \
$(MESON_HOST_BUILD_DIR) \
$(MESON_HOST_BUILD_DIR)/.., \
$(MESON_HOST_VARS))
endef
define Host/Compile/Meson
+$(NINJA) -C $(MESON_HOST_BUILD_DIR) $(1)
endef
define Host/Install/Meson
+$(NINJA) -C $(MESON_HOST_BUILD_DIR) install
endef
define Host/Uninstall/Meson
+$(NINJA) -C $(MESON_HOST_BUILD_DIR) uninstall || true
endef
define Build/Configure/Meson
$(call Meson/CreateNativeFile,$(PKG_BUILD_DIR)/openwrt-native.txt)
$(call Meson/CreateCrossFile,$(PKG_BUILD_DIR)/openwrt-cross.txt)
$(call Meson, \
--buildtype plain \
--native-file $(PKG_BUILD_DIR)/openwrt-native.txt \
--cross-file $(PKG_BUILD_DIR)/openwrt-cross.txt \
$(MESON_ARGS) \
$(MESON_BUILD_DIR) \
$(MESON_BUILD_DIR)/.., \
$(MESON_VARS))
endef
define Build/Compile/Meson
+$(NINJA) -C $(MESON_BUILD_DIR) $(1)
endef
define Build/Install/Meson
+DESTDIR="$(PKG_INSTALL_DIR)" $(NINJA) -C $(MESON_BUILD_DIR) install
endef
Host/Configure=$(call Host/Configure/Meson)
Host/Compile=$(call Host/Compile/Meson)
Host/Install=$(call Host/Install/Meson)
Host/Uninstall=$(call Host/Uninstall/Meson)
Build/Configure=$(call Build/Configure/Meson)
Build/Compile=$(call Build/Compile/Meson)
Build/Install=$(call Build/Install/Meson)

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2006-2020 OpenWrt.org
ifneq ($(__inc_netfilter),1)
__inc_netfilter:=1
@@ -51,8 +48,6 @@ $(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_MATCH_COMMENT, $(P_XT)xt_comme
$(eval $(call nf_add,IPT_CLUSTER,CONFIG_NETFILTER_XT_MATCH_CLUSTER, $(P_XT)xt_cluster))
$(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_TARGET_LOG, $(P_XT)xt_LOG))
$(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_TARGET_LOG, $(P_XT)nf_log_common))
$(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_TARGET_LOG, $(P_V4)nf_log_ipv4))
$(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_TARGET_TCPMSS, $(P_XT)xt_TCPMSS))
$(eval $(call nf_add,IPT_CORE,CONFIG_IP_NF_TARGET_REJECT, $(P_V4)ipt_REJECT))
$(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_MATCH_TIME, $(P_XT)xt_time))
@@ -67,9 +62,7 @@ $(eval $(if $(NF_KMOD),,$(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_MARK, $(P_XT)
# kernel only
$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK,CONFIG_NF_CONNTRACK, $(P_XT)nf_conntrack),))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK,CONFIG_NF_CONNTRACK_RTCACHE, $(P_XT)nf_conntrack_rtcache),))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK,CONFIG_NF_DEFRAG_IPV4, $(P_V4)nf_defrag_ipv4),))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK,CONFIG_NF_CONNTRACK_IPV4, $(P_V4)nf_conntrack_ipv4),))
$(eval $(call nf_add,IPT_CONNTRACK,CONFIG_NETFILTER_XT_MATCH_STATE, $(P_XT)xt_state))
$(eval $(call nf_add,IPT_CONNTRACK,CONFIG_NETFILTER_XT_TARGET_CT, $(P_XT)xt_CT))
@@ -97,6 +90,7 @@ $(eval $(call nf_add,IPT_EXTRA,CONFIG_NETFILTER_XT_MATCH_ADDRTYPE, $(if $(NF_KMO
$(eval $(call nf_add,IPT_EXTRA,CONFIG_NETFILTER_XT_MATCH_OWNER, $(P_XT)xt_owner))
$(eval $(call nf_add,IPT_EXTRA,CONFIG_NETFILTER_XT_MATCH_PKTTYPE, $(P_XT)xt_pkttype))
$(eval $(call nf_add,IPT_EXTRA,CONFIG_NETFILTER_XT_MATCH_QUOTA, $(P_XT)xt_quota))
$(eval $(call nf_add,IPT_EXTRA,CONFIG_NETFILTER_XT_MATCH_CGROUP, $(P_XT)xt_cgroup))
#$(eval $(call nf_add,IPT_EXTRA,CONFIG_IP_NF_TARGET_ROUTE, $(P_V4)ipt_ROUTE))
@@ -122,7 +116,6 @@ $(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_MATCH_STATISTIC, $(P_XT)xt_st
$(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_MATCH_TCPMSS, $(P_XT)xt_tcpmss))
$(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_TARGET_CLASSIFY, $(P_XT)xt_CLASSIFY))
$(eval $(call nf_add,IPT_IPOPT,CONFIG_IP_NF_MATCH_DSCP, $(P_V4)ipt_dscp))
$(eval $(call nf_add,IPT_IPOPT,CONFIG_IP_NF_TARGET_ECN, $(P_V4)ipt_ECN))
$(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_MATCH_ECN, $(P_XT)xt_ecn))
@@ -157,19 +150,15 @@ $(eval $(if $(NF_KMOD),$(call nf_add,NF_REJECT6,CONFIG_NF_REJECT_IPV6, $(P_V6)nf
$(eval $(if $(NF_KMOD),$(call nf_add,NF_IPT6,CONFIG_IP6_NF_IPTABLES, $(P_V6)ip6_tables),))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK,CONFIG_NF_DEFRAG_IPV6, $(P_V6)nf_defrag_ipv6, ge 4.19),))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK6,CONFIG_NF_DEFRAG_IPV6, $(P_V6)nf_defrag_ipv6, lt 4.19),))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK6,CONFIG_NF_CONNTRACK_IPV6, $(P_V6)nf_conntrack_ipv6),))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK,CONFIG_NF_DEFRAG_IPV6, $(P_V6)nf_defrag_ipv6),))
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_IPV6,CONFIG_IP6_NF_FILTER, $(P_V6)ip6table_filter),))
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_IPV6,CONFIG_IP6_NF_MANGLE, $(P_V6)ip6table_mangle),))
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_IPV6,CONFIG_IP6_NF_QUEUE, $(P_V6)ip6_queue),))
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_IPV6,CONFIG_NF_LOG_IPV6, $(P_V6)nf_log_ipv6),))
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_IPV6,CONFIG_NF_LOG_IPV6, $(P_V6)nf_log_ipv6,lt 5.13),))
$(eval $(if $(NF_KMOD),,$(call nf_add,IPT_IPV6,CONFIG_IP6_NF_IPTABLES, ip6t_icmp6)))
$(eval $(call nf_add,IPT_IPV6,CONFIG_IP6_NF_TARGET_LOG, $(P_V6)ip6t_LOG))
$(eval $(call nf_add,IPT_IPV6,CONFIG_IP6_NF_TARGET_REJECT, $(P_V6)ip6t_REJECT))
# ipv6 extra
@@ -181,30 +170,32 @@ $(eval $(call nf_add,IPT_IPV6_EXTRA,CONFIG_IP6_NF_MATCH_OPTS, $(P_V6)ip6t_hbh))
$(eval $(call nf_add,IPT_IPV6_EXTRA,CONFIG_IP6_NF_MATCH_FRAG, $(P_V6)ip6t_frag))
$(eval $(call nf_add,IPT_IPV6_EXTRA,CONFIG_IP6_NF_MATCH_RT, $(P_V6)ip6t_rt))
# log
$(eval $(call nf_add,NF_LOG,CONFIG_NF_LOG_COMMON, $(P_XT)nf_log_common, lt 5.13))
$(eval $(call nf_add,NF_LOG,CONFIG_NF_LOG_IPV4, $(P_V4)nf_log_ipv4, lt 5.13))
$(eval $(call nf_add,NF_LOG,CONFIG_NF_LOG_SYSLOG, $(P_XT)nf_log_syslog, ge 5.13))
# $(eval $(if $(NF_KMOD),$(call nf_add,NF_LOG6,CONFIG_NF_LOG_IPV6, $(P_V6)nf_log_ipv6,lt 5.13),))
# nat
# kernel only
$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT, $(P_XT)nf_nat),))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT_REDIRECT, $(P_XT)nf_nat_redirect, ge 3.19.0),))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT_IPV4, $(P_V4)nf_nat_ipv4),))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT_MASQUERADE_IPV4, $(P_V4)nf_nat_masquerade_ipv4, lt 4.18),))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT6,CONFIG_NF_NAT_IPV6, $(P_V6)nf_nat_ipv6),))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT6,CONFIG_NF_NAT_MASQUERADE_IPV6, $(P_V6)nf_nat_masquerade_ipv6, lt 4.18),))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT_IPV4, $(P_V4)nf_nat_ipv4, lt 5.1)))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT6,CONFIG_NF_NAT_IPV6, $(P_V6)nf_nat_ipv6, lt 5.1)))
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT,CONFIG_NETFILTER_XT_NAT, $(P_XT)xt_nat),))
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT,CONFIG_IP_NF_NAT, $(P_V4)iptable_nat),))
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT6,CONFIG_IP6_NF_NAT, $(P_V6)ip6table_nat),))
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT6,CONFIG_IP6_NF_TARGET_MASQUERADE, $(P_V6)ip6t_MASQUERADE),))
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT6,CONFIG_IP6_NF_TARGET_NPT, $(P_V6)ip6t_NPT),))
# userland only
$(eval $(if $(NF_KMOD),,$(call nf_add,IPT_NAT,CONFIG_NF_NAT, ipt_SNAT ipt_DNAT)))
$(eval $(if $(NF_KMOD),,$(call nf_add,IPT_NAT6,CONFIG_IP6_NF_TARGET_NPT, ip6t_DNPT ip6t_SNPT)))
$(eval $(call nf_add,IPT_NAT,CONFIG_IP_NF_TARGET_MASQUERADE, $(P_V4)ipt_MASQUERADE, lt 5.2))
$(eval $(call nf_add,IPT_NAT,CONFIG_IP_NF_TARGET_MASQUERADE, $(P_XT)xt_MASQUERADE, ge 5.2))
$(eval $(call nf_add,IPT_NAT,CONFIG_IP_NF_TARGET_REDIRECT, $(P_XT)xt_REDIRECT))
$(eval $(call nf_add,IPT_NAT,CONFIG_NETFILTER_XT_TARGET_MASQUERADE, $(P_XT)xt_MASQUERADE))
$(eval $(call nf_add,IPT_NAT,CONFIG_NETFILTER_XT_TARGET_REDIRECT, $(P_XT)xt_REDIRECT))
# nat-extra
@@ -223,8 +214,8 @@ $(eval $(call nf_add,NF_NATHELPER,CONFIG_NF_NAT_FTP, $(P_XT)nf_nat_ftp))
$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_BROADCAST, $(P_XT)nf_conntrack_broadcast))
$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_AMANDA, $(P_XT)nf_conntrack_amanda))
$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_NAT_AMANDA, $(P_XT)nf_nat_amanda))
$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CT_PROTO_GRE, $(P_XT)nf_conntrack_proto_gre))
$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_NAT_PROTO_GRE, $(P_V4)nf_nat_proto_gre))
$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CT_PROTO_GRE, $(P_XT)nf_conntrack_proto_gre, lt 5.1))
$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_NAT_PROTO_GRE, $(P_V4)nf_nat_proto_gre, lt 5.0))
$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_H323, $(P_XT)nf_conntrack_h323))
$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_NAT_H323, $(P_V4)nf_nat_h323))
$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_PPTP, $(P_XT)nf_conntrack_pptp))
@@ -239,11 +230,6 @@ $(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_IRC, $(P_XT)nf_connt
$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_NAT_IRC, $(P_XT)nf_nat_irc))
# ulog
$(eval $(call nf_add,IPT_ULOG,CONFIG_IP_NF_TARGET_ULOG, $(P_V4)ipt_ULOG))
# nflog
$(eval $(call nf_add,IPT_NFLOG,CONFIG_NETFILTER_XT_TARGET_NFLOG, $(P_XT)xt_NFLOG))
@@ -258,14 +244,15 @@ $(eval $(call nf_add,IPT_NFQUEUE,CONFIG_NETFILTER_XT_TARGET_NFQUEUE, $(P_XT)xt_N
$(eval $(call nf_add,IPT_DEBUG,CONFIG_NETFILTER_XT_TARGET_TRACE, $(P_XT)xt_TRACE))
# tproxy
# socket
$(eval $(call nf_add,NF_SOCKET,CONFIG_NF_SOCKET_IPV4, $(P_V4)nf_socket_ipv4))
$(eval $(call nf_add,NF_SOCKET,CONFIG_NF_SOCKET_IPV6, $(P_V6)nf_socket_ipv6))
$(eval $(call nf_add,IPT_SOCKET,CONFIG_NETFILTER_XT_MATCH_SOCKET, $(P_XT)xt_socket))
$(eval $(call nf_add,IPT_TPROXY,CONFIG_NETFILTER_XT_MATCH_SOCKET, $(P_XT)xt_socket))
$(eval $(call nf_add,IPT_TPROXY,CONFIG_NF_SOCKET_IPV4, $(P_V4)nf_socket_ipv4, ge 4.10))
$(eval $(call nf_add,IPT_TPROXY,CONFIG_NF_SOCKET_IPV6, $(P_V6)nf_socket_ipv6, ge 4.10))
# tproxy
$(eval $(call nf_add,NF_TPROXY,CONFIG_NF_TPROXY_IPV4, $(P_V4)nf_tproxy_ipv4))
$(eval $(call nf_add,NF_TPROXY,CONFIG_NF_TPROXY_IPV6, $(P_V6)nf_tproxy_ipv6))
$(eval $(call nf_add,IPT_TPROXY,CONFIG_NETFILTER_XT_TARGET_TPROXY, $(P_XT)xt_TPROXY))
$(eval $(call nf_add,IPT_TPROXY,CONFIG_NF_TPROXY_IPV4, $(P_V4)nf_tproxy_ipv4, ge 4.18))
$(eval $(call nf_add,IPT_TPROXY,CONFIG_NF_TPROXY_IPV6, $(P_V6)nf_tproxy_ipv6, ge 4.18))
# led
$(eval $(call nf_add,IPT_LED,CONFIG_NETFILTER_XT_TARGET_LED, $(P_XT)xt_LED))
@@ -273,8 +260,8 @@ $(eval $(call nf_add,IPT_LED,CONFIG_NETFILTER_XT_TARGET_LED, $(P_XT)xt_LED))
# tee
$(eval $(call nf_add,IPT_TEE,CONFIG_NETFILTER_XT_TARGET_TEE, $(P_XT)xt_TEE))
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_TEE,CONFIG_NF_DUP_IPV4, $(P_V4)nf_dup_ipv4, ge 4.3),))
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_TEE,CONFIG_NF_DUP_IPV6, $(P_V6)nf_dup_ipv6, ge 4.3),))
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_TEE,CONFIG_NF_DUP_IPV4, $(P_V4)nf_dup_ipv4),))
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_TEE,CONFIG_NF_DUP_IPV6, $(P_V6)nf_dup_ipv6),))
# u32
@@ -329,47 +316,36 @@ $(eval $(call nf_add,EBTABLES_IP4,CONFIG_BRIDGE_EBT_SNAT, $(P_EBT)ebt_snat))
# watchers
$(eval $(call nf_add,EBTABLES_WATCHERS,CONFIG_BRIDGE_EBT_LOG, $(P_EBT)ebt_log))
$(eval $(call nf_add,EBTABLES_WATCHERS,CONFIG_BRIDGE_EBT_ULOG, $(P_EBT)ebt_ulog))
$(eval $(call nf_add,EBTABLES_WATCHERS,CONFIG_BRIDGE_EBT_NFLOG, $(P_EBT)ebt_nflog))
$(eval $(call nf_add,EBTABLES_WATCHERS,CONFIG_BRIDGE_EBT_NFQUEUE, $(P_EBT)ebt_nfqueue))
# nftables
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NF_TABLES, $(P_XT)nf_tables),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NF_TABLES_INET, $(P_XT)nf_tables_inet, lt 4.17),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_EXTHDR, $(P_XT)nft_exthdr),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_META, $(P_XT)nft_meta),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_NUMGEN, $(P_XT)nft_numgen, ge 4.9.0),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_CT, $(P_XT)nft_ct),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_SET_RBTREE, $(P_XT)nft_set_rbtree, ge 4.9.0),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_RBTREE, $(P_XT)nft_rbtree, lt 4.9.0),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_SET_HASH, $(P_XT)nft_set_hash, ge 4.9.0),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_HASH, $(P_XT)nft_hash, lt 4.9.0),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NF_TABLES_SET, $(P_XT)nf_tables_set),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_COUNTER, $(P_XT)nft_counter),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_LOG, $(P_XT)nft_log),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_CT, $(P_XT)nft_ct),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_HASH, $(P_XT)nft_hash),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_LIMIT, $(P_XT)nft_limit),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_LOG, $(P_XT)nft_log),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_META, $(P_XT)nft_meta),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_NUMGEN, $(P_XT)nft_numgen),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_OBJREF, $(P_XT)nft_objref),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_QUOTA, $(P_XT)nft_quota),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_REDIR, $(P_XT)nft_redir),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_REJECT, $(P_XT)nft_reject $(P_V4)nft_reject_ipv4 $(P_V6)nft_reject_ipv6),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_REJECT_INET, $(P_XT)nft_reject_inet),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NF_TABLES_IPV4, $(P_V4)nf_tables_ipv4, lt 4.17),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_CHAIN_ROUTE_IPV4, $(P_V4)nft_chain_route_ipv4),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NF_TABLES_IPV6, $(P_V6)nf_tables_ipv6, lt 4.17),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_CHAIN_ROUTE_IPV6, $(P_V6)nft_chain_route_ipv6),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_REDIR, $(P_XT)nft_redir, ge 3.19.0),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_QUOTA, $(P_XT)nft_quota, ge 4.9.0),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_ARP,CONFIG_NF_TABLES_ARP, $(P_V4)nf_tables_arp, lt 4.17),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_BRIDGE,CONFIG_NF_TABLES_BRIDGE, $(P_EBT)nf_tables_bridge, lt 4.17),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_BRIDGE,CONFIG_NFT_BRIDGE_META, $(P_EBT)nft_meta_bridge),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_BRIDGE,CONFIG_NFT_BRIDGE_REJECT, $(P_EBT)nft_reject_bridge),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_BRIDGE,CONFIG_NF_CONNTRACK_BRIDGE, $(P_EBT)nf_conntrack_bridge),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_NAT, $(P_XT)nft_nat),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_CHAIN_NAT_IPV4, $(P_V4)nft_chain_nat_ipv4),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_REDIR_IPV4, $(P_V4)nft_redir_ipv4, ge 3.19.0),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_NAT, $(P_XT)nft_chain_nat),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_REDIR_IPV4, $(P_V4)nft_redir_ipv4),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_MASQ, $(P_XT)nft_masq),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_MASQ_IPV4, $(P_V4)nft_masq_ipv4),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT6,CONFIG_NFT_REDIR_IPV6, $(P_V6)nft_redir_ipv6, ge 3.19.0),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT6,CONFIG_NFT_CHAIN_NAT_IPV6, $(P_V6)nft_chain_nat_ipv6),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT6,CONFIG_NFT_REDIR_IPV6, $(P_V6)nft_redir_ipv6),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT6,CONFIG_NFT_MASQ_IPV6, $(P_V6)nft_masq_ipv6),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_FIB,CONFIG_NFT_FIB, $(P_XT)nft_fib),))
@@ -377,6 +353,15 @@ $(eval $(if $(NF_KMOD),$(call nf_add,NFT_FIB,CONFIG_NFT_FIB_INET, $(P_XT)nft_fib
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_FIB,CONFIG_NFT_FIB_IPV4, $(P_V4)nft_fib_ipv4),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_FIB,CONFIG_NFT_FIB_IPV6, $(P_V6)nft_fib_ipv6),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_QUEUE,CONFIG_NFT_QUEUE, $(P_XT)nft_queue),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_SOCKET,CONFIG_NFT_SOCKET, $(P_XT)nft_socket),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_TPROXY,CONFIG_NFT_TPROXY, $(P_XT)nft_tproxy),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_COMPAT,CONFIG_NFT_COMPAT, $(P_XT)nft_compat),))
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_XFRM,CONFIG_NFT_XFRM, $(P_XT)nft_xfrm),))
# userland only
IPT_BUILTIN += $(NF_IPT-y) $(NF_IPT-m)
@@ -402,7 +387,6 @@ IPT_BUILTIN += $(IPT_NAT6-y)
IPT_BUILTIN += $(IPT_NAT_EXTRA-y)
IPT_BUILTIN += $(NF_NATHELPER-y)
IPT_BUILTIN += $(NF_NATHELPER_EXTRA-y)
IPT_BUILTIN += $(IPT_ULOG-y)
IPT_BUILTIN += $(IPT_TPROXY-y)
IPT_BUILTIN += $(NFNETLINK-y)
IPT_BUILTIN += $(NFNETLINK_LOG-y)

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2011-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2011-2020 OpenWrt.org
# iconv full
ifeq ($(CONFIG_BUILD_NLS),y)
@@ -13,27 +10,38 @@ ifeq ($(CONFIG_BUILD_NLS),y)
INTL_PREFIX:=$(STAGING_DIR)/usr/lib/libintl-full
INTL_FULL:=1
# iconv stub
CMAKE_OPTIONS += -DCMAKE_PREFIX_PATH="$(ICONV_PREFIX);$(INTL_PREFIX)"
else
ICONV_PREFIX:=$(STAGING_DIR)/usr/lib/libiconv-stub
ICONV_PREFIX:=
ICONV_FULL:=
INTL_PREFIX:=$(STAGING_DIR)/usr/lib/libintl-stub
INTL_PREFIX:=
INTL_FULL:=
endif
PKG_CONFIG_DEPENDS += CONFIG_BUILD_NLS
PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:gettext
ICONV_DEPENDS:=+BUILD_NLS:libiconv-full
ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include
ICONV_CPPFLAGS:=-I$(ICONV_PREFIX)/include
ICONV_LDFLAGS:=-L$(ICONV_PREFIX)/lib -Wl,-rpath-link=$(ICONV_PREFIX)/lib
ifeq ($(CONFIG_BUILD_NLS),y)
ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include
ICONV_CPPFLAGS:=-I$(ICONV_PREFIX)/include
ICONV_LDFLAGS:=-L$(ICONV_PREFIX)/lib -Wl,-rpath-link=$(ICONV_PREFIX)/lib
else
ICONV_CFLAGS:=
ICONV_CPPFLAGS:=
ICONV_LDFLAGS:=
endif
INTL_DEPENDS:=+BUILD_NLS:libintl-full
INTL_CFLAGS:=-I$(INTL_PREFIX)/include
INTL_CPPFLAGS:=-I$(INTL_PREFIX)/include
INTL_LDFLAGS:=-L$(INTL_PREFIX)/lib -Wl,-rpath-link=$(INTL_PREFIX)/lib
ifeq ($(CONFIG_BUILD_NLS),y)
INTL_CFLAGS:=-I$(INTL_PREFIX)/include
INTL_CPPFLAGS:=-I$(INTL_PREFIX)/include
INTL_LDFLAGS:=-L$(INTL_PREFIX)/lib -Wl,-rpath-link=$(INTL_PREFIX)/lib
else
INTL_CFLAGS:=
INTL_CPPFLAGS:=
INTL_LDFLAGS:=
endif
TARGET_CFLAGS += $(ICONV_CFLAGS) $(INTL_CFLAGS)
TARGET_CPPFLAGS += $(ICONV_CPPFLAGS) $(INTL_CPPFLAGS)

79
include/openssl-module.mk Normal file
View File

@@ -0,0 +1,79 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2022-2023 Enéas Ulir de Queiroz
ENGINES_DIR=engines-3
define Package/openssl/module/Default
SECTION:=libs
CATEGORY:=Libraries
SUBMENU:=SSL
DEPENDS:=libopenssl +libopenssl-conf
endef
define Package/openssl/engine/Default
$(Package/openssl/module/Default)
DEPENDS+=@OPENSSL_ENGINE
endef
# 1 = moudule type (engine|provider)
# 2 = module name
# 3 = directory to save .so file
# 4 = [ package name, defaults to libopenssl-$(2) ]
define Package/openssl/add-module
$(eval MOD_TYPE:=$(1))
$(eval MOD_NAME:=$(2))
$(eval MOD_DIR:=$(3))
$(eval OSSL_PKG:=$(if $(4),$(4),libopenssl-$(MOD_NAME)))
$(info Package/openssl/add-module 1='$(1)'; 2='$(2)'; 3='$(3)' 4='$(4)')
$(info MOD_TYPE='$(MOD_TYPE)'; MOD_NAME='$(MOD_NAME)'; MOD_DIR='$(MOD_DIR)' OSSL_PKG='$(OSSL_PKG)')
Package/$(OSSL_PKG)/conffiles:=/etc/ssl/modules.cnf.d/$(MOD_NAME).cnf
define Package/$(OSSL_PKG)/install
$$(INSTALL_DIR) $$(1)/$(MOD_DIR)
$$(INSTALL_BIN) $$(PKG_INSTALL_DIR)/$(MOD_DIR)/$(MOD_NAME).so \
$$(1)/$(MOD_DIR)
$$(INSTALL_DIR) $$(1)/etc/ssl/modules.cnf.d
$$(INSTALL_DATA) ./files/$(MOD_NAME).cnf $$(1)/etc/ssl/modules.cnf.d/
endef
define Package/$(OSSL_PKG)/postinst
#!/bin/sh
OPENSSL_UCI="$$$${IPKG_INSTROOT}/etc/config/openssl"
[ -z "$$$${IPKG_INSTROOT}" ] \
&& uci -q get openssl.$(MOD_NAME) >/dev/null \
&& exit 0
cat << EOF >> "$$$${OPENSSL_UCI}"
config $(MOD_TYPE) '$(MOD_NAME)'
option enabled '1'
EOF
[ -n "$$$${IPKG_INSTROOT}" ] || /etc/init.d/openssl reload
exit 0
endef
define Package/$(OSSL_PKG)/postrm
#!/bin/sh
[ -n "$$$${IPKG_INSTROOT}" ] && exit 0
uci -q delete openssl.$(MOD_NAME) && uci commit openssl
/etc/init.d/openssl reload
exit 0
endef
endef
# 1 = engine name
# 2 - package name, defaults to libopenssl-$(1)
define Package/openssl/add-engine
$(call Package/openssl/add-module,engine,$(1),/usr/lib/$(ENGINES_DIR),$(2))
endef
# 1 = provider name
# 2 = [ package name, defaults to libopenssl-$(1) ]
define Package/openssl/add-provider
$(call Package/openssl/add-module,provider,$(1),/usr/lib/ossl-modules,$(2))
endef

View File

@@ -1,13 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2007-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2007-2020 OpenWrt.org
ifeq ($(DUMP),)
define BuildTarget/bin
ifeq ($(if $(VARIANT),$(BUILD_VARIANT)),$(VARIANT))
TARGET_VARIANT=$(if $(ALL_VARIANTS),$(if $(VARIANT),$(filter-out *,$(VARIANT)),$(firstword $(ALL_VARIANTS))))
ifeq ($(if $(TARGET_VARIANT),$(BUILD_VARIANT)),$(TARGET_VARIANT))
ifdef Package/$(1)/install
ifneq ($(CONFIG_PACKAGE_$(1))$(DEVELOPER),)
$(_pkg_target)compile: $(PKG_BUILD_DIR)/.pkgdir/$(1).installed

View File

@@ -1,11 +1,8 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2006-2020 OpenWrt.org
PKG_DEFAULT_DEPENDS = +libc +GCC_LIBSSP:libssp +USE_GLIBC:librt +USE_GLIBC:libpthread
PKG_DEFAULT_DEPENDS = +libc
ifneq ($(PKG_NAME),toolchain)
PKG_FIXUP_DEPENDS = $(if $(filter kmod-%,$(1)),$(2),$(PKG_DEFAULT_DEPENDS) $(filter-out $(PKG_DEFAULT_DEPENDS),$(2)))
@@ -59,6 +56,7 @@ define Package/Default
ALTERNATIVES:=
LICENSE:=$(PKG_LICENSE)
LICENSE_FILES:=$(PKG_LICENSE_FILES)
FILE_MODES:=$(PKG_FILE_MODES)
endef
Build/Patch:=$(Build/Patch/Default)

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2006-2020 OpenWrt.org
ifneq ($(DUMP),)
@@ -24,8 +21,7 @@ $(if $(MENU),Menu: $(MENU)
)$(if $(DEFAULT),Default: $(DEFAULT)
)$(if $(findstring $(PREREQ_CHECK),1),Prereq-Check: 1
)Version: $(VERSION)
$(if $(ABI_VERSION),ABIVersion: $(ABI_VERSION)
)Depends: $(call PKG_FIXUP_DEPENDS,$(1),$(DEPENDS))
Depends: $(call PKG_FIXUP_DEPENDS,$(1),$(DEPENDS))
Conflicts: $(CONFLICTS)
Menu-Depends: $(MDEPENDS)
Provides: $(PROVIDES)

View File

@@ -1,23 +1,28 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2006-2020 OpenWrt.org
ifndef DUMP
include $(INCLUDE_DIR)/feeds.mk
endif
# invoke ipkg-build with some default options
IPKG_BUILD:= \
$(SCRIPT_DIR)/ipkg-build -c -o 0 -g 0
IPKG_REMOVE:= \
$(SCRIPT_DIR)/ipkg-remove
IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/opkg
# Generates a make statement to return a wildcard for candidate ipkg files
# 1: package name
define gen_ipkg_wildcard
$(1)$$(if $$(filter -%,$$(ABIV_$(1))),,[^a-z-])*
endef
# 1: package name
# 2: candidate ipk files
define remove_ipkg_files
$(if $(strip $(2)),$(IPKG_REMOVE) $(1) $(2))
endef
# 1: package name
# 2: variable name
# 3: variable suffix
@@ -94,13 +99,14 @@ _endef=endef
ifeq ($(DUMP),)
define BuildTarget/ipkg
ABIV_$(1):=$(call GetABISuffix,$(1))
ABIV_$(1):=$(call FormatABISuffix,$(1),$(ABI_VERSION))
PDIR_$(1):=$(call FeedPackageDir,$(1))
IPKG_$(1):=$$(PDIR_$(1))/$(1)$$(ABIV_$(1))_$(VERSION)_$(PKGARCH).ipk
IDIR_$(1):=$(PKG_BUILD_DIR)/ipkg-$(PKGARCH)/$(1)
KEEP_$(1):=$(strip $(call Package/$(1)/conffiles))
ifeq ($(BUILD_VARIANT),$$(if $$(VARIANT),$$(VARIANT),$(BUILD_VARIANT)))
TARGET_VARIANT:=$$(if $(ALL_VARIANTS),$$(if $$(VARIANT),$$(filter-out *,$$(VARIANT)),$(firstword $(ALL_VARIANTS))))
ifeq ($(BUILD_VARIANT),$$(if $$(TARGET_VARIANT),$$(TARGET_VARIANT),$(BUILD_VARIANT)))
do_install=
ifdef Package/$(1)/install
do_install=yes
@@ -151,7 +157,12 @@ ifeq ($(DUMP),)
$(STAGING_DIR_ROOT)/stamp/.$(1)_installed: $(PKG_BUILD_DIR)/.pkgdir/$(1).installed
mkdir -p $(STAGING_DIR_ROOT)/stamp
$(if $(ABI_VERSION),echo '$(ABI_VERSION)' | cmp -s - $(PKG_INFO_DIR)/$(1).version || echo '$(ABI_VERSION)' > $(PKG_INFO_DIR)/$(1).version)
$(if $(ABI_VERSION),echo '$(ABI_VERSION)' | cmp -s - $(PKG_INFO_DIR)/$(1).version || { \
echo '$(ABI_VERSION)' > $(PKG_INFO_DIR)/$(1).version; \
$(foreach pkg,$(filter-out $(1),$(PROVIDES)), \
cp $(PKG_INFO_DIR)/$(1).version $(PKG_INFO_DIR)/$(pkg).version; \
) \
} )
$(call locked,$(CP) $(PKG_BUILD_DIR)/.pkgdir/$(1)/. $(STAGING_DIR_ROOT)/,root-copy)
touch $$@
@@ -165,7 +176,7 @@ Package: $(1)$$(ABIV_$(1))
Version: $(VERSION)
$$(call addfield,Depends,$$(Package/$(1)/DEPENDS)
)$$(call addfield,Conflicts,$$(call mergelist,$(CONFLICTS))
)$$(call addfield,Provides,$$(call mergelist,$$(filter-out $(1)$$(ABIV_$(1)),$(PROVIDES)$$(if $$(ABIV_$(1)), $(1) $(foreach provide,$(PROVIDES),$(provide)$$(call GetABISuffix,$(provide))))))
)$$(call addfield,Provides,$$(call mergelist,$$(filter-out $(1)$$(ABIV_$(1)),$(PROVIDES)$$(if $$(ABIV_$(1)), $(1) $(foreach provide,$(PROVIDES),$(provide)$$(ABIV_$(1))))))
)$$(call addfield,Alternatives,$$(call mergelist,$(ALTERNATIVES))
)$$(call addfield,Source,$(SOURCE)
)$$(call addfield,SourceName,$(1)
@@ -173,6 +184,9 @@ $$(call addfield,Depends,$$(Package/$(1)/DEPENDS)
)$$(call addfield,LicenseFiles,$(LICENSE_FILES)
)$$(call addfield,Section,$(SECTION)
)$$(call addfield,Require-User,$(USERID)
)$$(call addfield,SourceDateEpoch,$(PKG_SOURCE_DATE_EPOCH)
)$$(if $$(ABIV_$(1)),ABIVersion: $$(ABIV_$(1))
)$(if $(PKG_CPE_ID),CPE-ID: $(PKG_CPE_ID)
)$(if $(filter hold,$(PKG_FLAGS)),Status: unknown hold not-installed
)$(if $(filter essential,$(PKG_FLAGS)),Essential: yes
)$(if $(MAINTAINER),Maintainer: $(MAINTAINER)
@@ -183,8 +197,10 @@ $(_endef)
$$(IPKG_$(1)) : export CONTROL=$$(Package/$(1)/CONTROL)
$$(IPKG_$(1)) : export DESCRIPTION=$$(Package/$(1)/description)
$$(IPKG_$(1)) : export PATH=$$(TARGET_PATH_PKG)
$$(IPKG_$(1)) : export PKG_SOURCE_DATE_EPOCH:=$(PKG_SOURCE_DATE_EPOCH)
$(PKG_INFO_DIR)/$(1).provides $$(IPKG_$(1)): $(STAMP_BUILT) $(INCLUDE_DIR)/package-ipkg.mk
@rm -rf $$(IDIR_$(1)) $$(if $$(call opkg_package_files,$(1)*),; $$(IPKG_REMOVE) $(1) $$(call opkg_package_files,$(1)*))
@rm -rf $$(IDIR_$(1)); \
$$(call remove_ipkg_files,$(1),$$(call opkg_package_files,$(call gen_ipkg_wildcard,$(1))))
mkdir -p $(PACKAGE_DIR) $$(IDIR_$(1))/CONTROL $(PKG_INFO_DIR)
$(call Package/$(1)/install,$$(IDIR_$(1)))
$(if $(Package/$(1)/install-overlay),mkdir -p $(PACKAGE_DIR) $$(IDIR_$(1))/rootfs-overlay)
@@ -206,8 +222,8 @@ $(_endef)
ifneq ($$(CONFIG_IPK_FILES_CHECKSUMS),)
(cd $$(IDIR_$(1)); \
( \
find . -type f \! -path ./CONTROL/\* -exec sha256sum \{\} \; 2> /dev/null | \
sed 's|\([[:blank:]]\)\./|\1/|' > $$(IDIR_$(1))/CONTROL/files-sha256sum \
find . -type f \! -path ./CONTROL/\* -exec $(MKHASH) sha256 -n \{\} \; 2> /dev/null | \
sed 's|\([[:blank:]]\)\./| \1/|' > $$(IDIR_$(1))/CONTROL/files-sha256sum \
) || true \
)
endif
@@ -220,13 +236,13 @@ $(_endef)
( \
echo "#!/bin/sh"; \
echo "[ \"\$$$${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; \
echo "[ -x "\$$$${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; \
echo "[ -s "\$$$${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; \
echo ". \$$$${IPKG_INSTROOT}/lib/functions.sh"; \
echo "default_postinst \$$$$0 \$$$$@"; \
) > postinst; \
( \
echo "#!/bin/sh"; \
echo "[ -x "\$$$${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; \
echo "[ -s "\$$$${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; \
echo ". \$$$${IPKG_INSTROOT}/lib/functions.sh"; \
echo "default_prerm \$$$$0 \$$$$@"; \
) > prerm; \
@@ -248,11 +264,11 @@ $(_endef)
endif
$(INSTALL_DIR) $$(PDIR_$(1))
$(IPKG_BUILD) $$(IDIR_$(1)) $$(PDIR_$(1))
$(FAKEROOT) $(STAGING_DIR_HOST)/bin/bash $(SCRIPT_DIR)/ipkg-build -m "$(FILE_MODES)" $$(IDIR_$(1)) $$(PDIR_$(1))
@[ -f $$(IPKG_$(1)) ]
$(1)-clean:
$$(if $$(call opkg_package_files,$(1)*),$$(IPKG_REMOVE) $(1) $$(call opkg_package_files,$(1)*))
$$(call remove_ipkg_files,$(1),$$(call opkg_package_files,$(call gen_ipkg_wildcard,$(1))))
clean: $(1)-clean

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2015-2020 OpenWrt.org
PKG_CONFIG_DEPENDS+= CONFIG_KERNEL_SECCOMP

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2006-2020 OpenWrt.org
__package_mk:=1
@@ -14,27 +11,63 @@ include $(INCLUDE_DIR)/download.mk
PKG_BUILD_DIR ?= $(BUILD_DIR)/$(if $(BUILD_VARIANT),$(PKG_NAME)-$(BUILD_VARIANT)/)$(PKG_NAME)$(if $(PKG_VERSION),-$(PKG_VERSION))
PKG_INSTALL_DIR ?= $(PKG_BUILD_DIR)/ipkg-install
PKG_BUILD_PARALLEL ?=
PKG_USE_MIPS16 ?= 1
PKG_IREMAP ?= 1
PKG_SKIP_DOWNLOAD=$(USE_SOURCE_DIR)$(USE_GIT_TREE)$(USE_GIT_SRC_CHECKOUT)
MAKE_J:=$(if $(MAKE_JOBSERVER),$(MAKE_JOBSERVER) $(if $(filter 3.% 4.0 4.1,$(MAKE_VERSION)),-j))
PKG_SOURCE_DATE_EPOCH:=$(if $(DUMP),,$(shell $(TOPDIR)/scripts/get_source_date_epoch.sh $(CURDIR)))
ifeq ($(strip $(PKG_BUILD_PARALLEL)),0)
PKG_JOBS?=-j1
else
PKG_JOBS?=$(if $(PKG_BUILD_PARALLEL),$(MAKE_J),-j1)
endif
ifdef CONFIG_USE_MIPS16
ifeq ($(strip $(PKG_USE_MIPS16)),1)
TARGET_ASFLAGS_DEFAULT = $(filter-out -mips16 -minterlink-mips16,$(TARGET_CFLAGS))
TARGET_CFLAGS += -mips16 -minterlink-mips16
endif
PKG_BUILD_FLAGS?=
# TODO remove this when all packages moved to PKG_BUILD_FLAGS=no-mips16
PKG_USE_MIPS16?=1
ifneq ($(strip $(PKG_USE_MIPS16)),1)
PKG_BUILD_FLAGS+=no-mips16
endif
ifeq ($(strip $(PKG_IREMAP)),1)
__unknown_flags=$(filter-out no-iremap no-mips16 gc-sections no-gc-sections lto no-lto no-mold,$(PKG_BUILD_FLAGS))
ifneq ($(__unknown_flags),)
$(error unknown PKG_BUILD_FLAGS: $(__unknown_flags))
endif
# $1=flagname, $2=default (0/1)
define pkg_build_flag
$(if $(filter no-$(1),$(PKG_BUILD_FLAGS)),0,$(if $(filter $(1),$(PKG_BUILD_FLAGS)),1,$(2)))
endef
ifeq ($(call pkg_build_flag,iremap,1),1)
IREMAP_CFLAGS = $(call iremap,$(PKG_BUILD_DIR),$(notdir $(PKG_BUILD_DIR)))
TARGET_CFLAGS += $(IREMAP_CFLAGS)
endif
ifdef CONFIG_USE_MIPS16
ifeq ($(call pkg_build_flag,mips16,1),1)
TARGET_ASFLAGS_DEFAULT = $(filter-out -mips16 -minterlink-mips16,$(TARGET_CFLAGS))
TARGET_CFLAGS += -mips16 -minterlink-mips16
TARGET_CXXFLAGS += -mips16 -minterlink-mips16
endif
endif
ifeq ($(call pkg_build_flag,gc-sections,$(if $(CONFIG_USE_GC_SECTIONS),1,0)),1)
TARGET_CFLAGS+= -ffunction-sections -fdata-sections
TARGET_CXXFLAGS+= -ffunction-sections -fdata-sections
TARGET_LDFLAGS+= -Wl,--gc-sections
endif
ifeq ($(call pkg_build_flag,lto,$(if $(CONFIG_USE_LTO),1,0)),1)
TARGET_CFLAGS+= -flto=auto -fno-fat-lto-objects
TARGET_CXXFLAGS+= -flto=auto -fno-fat-lto-objects
TARGET_LDFLAGS+= -flto=auto -fuse-linker-plugin
endif
ifdef CONFIG_USE_MOLD
ifeq ($(call pkg_build_flag,mold,1),1)
TARGET_LINKER:=mold
endif
endif
include $(INCLUDE_DIR)/hardening.mk
include $(INCLUDE_DIR)/prereq.mk
include $(INCLUDE_DIR)/unpack.mk
@@ -59,7 +92,7 @@ include $(INCLUDE_DIR)/quilt.mk
find_library_dependencies = \
$(wildcard $(patsubst %,$(STAGING_DIR)/pkginfo/%.version, \
$(sort $(foreach dep4, \
$(filter-out $(BUILD_PACKAGES), $(sort $(foreach dep4, \
$(sort $(foreach dep3, \
$(sort $(foreach dep2, \
$(sort $(foreach dep1, \
@@ -74,7 +107,7 @@ find_library_dependencies = \
$(Package/$(dep3)/depends) $(dep3) \
)), \
$(Package/$(dep4)/depends) $(dep4) \
)), \
))) \
))
@@ -85,7 +118,7 @@ ifneq ($(PREV_STAMP_PREPARED),)
STAMP_PREPARED:=$(PREV_STAMP_PREPARED)
CONFIG_AUTOREBUILD:=
else
STAMP_PREPARED=$(PKG_BUILD_DIR)/.prepared$(if $(QUILT)$(DUMP),,_$(shell $(call find_md5,${CURDIR} $(PKG_FILE_DEPENDS),))_$(call confvar,CONFIG_AUTOREMOVE $(PKG_PREPARED_DEPENDS)))
STAMP_PREPARED=$(PKG_BUILD_DIR)/.prepared$(if $(QUILT)$(DUMP),,_$(shell $(call $(if $(CONFIG_AUTOREMOVE),find_md5_reproducible,find_md5),${CURDIR} $(PKG_FILE_DEPENDS),))_$(call confvar,CONFIG_AUTOREMOVE $(PKG_PREPARED_DEPENDS)))
endif
STAMP_CONFIGURED=$(PKG_BUILD_DIR)/.configured$(if $(DUMP),,_$(call confvar,$(PKG_CONFIG_DEPENDS)))
STAMP_CONFIGURED_WILDCARD=$(PKG_BUILD_DIR)/.configured_*
@@ -173,7 +206,6 @@ define Build/Exports/Default
$(1) : export CONFIG_SITE:=$$(CONFIG_SITE)
$(1) : export PKG_CONFIG_PATH:=$$(PKG_CONFIG_PATH)
$(1) : export PKG_CONFIG_LIBDIR:=$$(PKG_CONFIG_PATH)
$(if $(CONFIG_CCACHE),$(1) : export CCACHE_DIR:=$(STAGING_DIR)/ccache)
endef
Build/Exports=$(Build/Exports/Default)
@@ -185,6 +217,8 @@ define Build/CoreTargets
$(call Build/Autoclean)
$(call DefaultTargets)
$(call check_download_integrity)
download:
$(foreach hook,$(Hooks/Download),
$(call $(hook))$(sep)
@@ -223,7 +257,7 @@ define Build/CoreTargets
$(STAMP_INSTALLED) : export PATH=$$(TARGET_PATH_PKG)
$(STAMP_INSTALLED): $(STAMP_BUILT)
rm -rf $(TMP_DIR)/stage-$(PKG_DIR_NAME)
mkdir -p $(TMP_DIR)/stage-$(PKG_DIR_NAME)/host $(STAGING_DIR)/packages $(STAGING_DIR_HOST)/packages
mkdir -p $(TMP_DIR)/stage-$(PKG_DIR_NAME)/host $(STAGING_DIR)/packages
$(foreach hook,$(Hooks/InstallDev/Pre),\
$(call $(hook),$(TMP_DIR)/stage-$(PKG_DIR_NAME),$(TMP_DIR)/stage-$(PKG_DIR_NAME)/host)$(sep)\
)
@@ -258,13 +292,13 @@ define Build/CoreTargets
ifneq ($(CONFIG_AUTOREMOVE),)
compile:
-touch -r $(PKG_BUILD_DIR)/.built $(PKG_BUILD_DIR)/.autoremove 2>/dev/null >/dev/null
$(FIND) $(PKG_BUILD_DIR) -mindepth 1 -maxdepth 1 -not '(' -type f -and -name '.*' -and -size 0 ')' -and -not -name '.pkgdir' | \
$(XARGS) rm -rf
$(FIND) $(PKG_BUILD_DIR) -mindepth 1 -maxdepth 1 -not '(' -type f -and -name '.*' -and -size 0 ')' -and -not -name '.pkgdir' -print0 | \
$(XARGS) -0 rm -rf
endif
endef
define Build/DefaultTargets
$(if $(USE_SOURCE_DIR)$(USE_GIT_TREE)$(USE_GIT_SRC_CHECKOUT),,$(if $(strip $(PKG_SOURCE_URL)),$(call Download,default)))
$(if $(PKG_SKIP_DOWNLOAD),,$(if $(strip $(PKG_SOURCE_URL)),$(call Download,default)))
$(if $(DUMP),,$(Build/CoreTargets))
define Build/DefaultTargets
@@ -342,9 +376,9 @@ clean-build: $(if $(wildcard $(PKG_BUILD_DIR)/.autoremove),force-clean-build)
clean: force-clean-build
$(CleanStaging)
$(call Build/UninstallDev,$(STAGING_DIR),$(STAGING_DIR_HOST))
$(call Build/UninstallDev,$(STAGING_DIR),$(STAGING_DIR)/host)
$(Build/Clean)
rm -f $(STAGING_DIR)/packages/$(STAGING_FILES_LIST) $(STAGING_DIR_HOST)/packages/$(STAGING_FILES_LIST)
rm -f $(STAGING_DIR)/packages/$(STAGING_FILES_LIST)
dist:
$(Build/Dist)

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2006-2020 OpenWrt.org
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/prereq.mk
@@ -14,8 +11,8 @@ PKG_NAME:=Build dependency
# Required for the toolchain
$(eval $(call TestHostCommand,working-make, \
Please install GNU make v3.81 or later. (This version has bugs), \
$(MAKE) -v | grep -E 'Make (3\.8[1-9]|3\.9[0-9]|[4-9]\.)'))
Please install GNU make v4.1 or later., \
$(MAKE) -v | grep -E 'Make (4\.[1-9]|[5-9]\.)'))
$(eval $(call TestHostCommand,case-sensitive-fs, \
OpenWrt can only be built on a case-sensitive filesystem, \
@@ -26,49 +23,43 @@ $(eval $(call TestHostCommand,proper-umask, \
Please build with umask 022 - other values produce broken packages, \
umask | grep -xE 0?0[012][012]))
ifndef IB
$(eval $(call SetupHostCommand,gcc, \
Please install the GNU C Compiler (gcc) 4.8 or later, \
$(CC) -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \
gcc -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \
gcc48 --version | grep gcc, \
gcc49 --version | grep gcc, \
gcc5 --version | grep gcc, \
gcc6 --version | grep gcc, \
gcc7 --version | grep gcc, \
gcc8 --version | grep gcc, \
gcc9 --version | grep gcc, \
Please install the GNU C Compiler (gcc) 6 or later, \
$(CC) -dumpversion | grep -E '^([6-9]\.?|1[0-9]\.?)', \
gcc -dumpversion | grep -E '^([6-9]\.?|1[0-9]\.?)', \
gcc --version | grep -E 'Apple.(LLVM|clang)' ))
$(eval $(call TestHostCommand,working-gcc, \
\nPlease reinstall the GNU C Compiler (4.8 or later) - \
Please reinstall the GNU C Compiler (6 or later) - \
it appears to be broken, \
echo 'int main(int argc, char **argv) { return 0; }' | \
gcc -x c -o $(TMP_DIR)/a.out -))
$(eval $(call SetupHostCommand,g++, \
Please install the GNU C++ Compiler (g++) 4.8 or later, \
$(CXX) -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \
g++ -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \
g++48 --version | grep g++, \
g++49 --version | grep g++, \
g++5 --version | grep g++, \
g++6 --version | grep g++, \
g++7 --version | grep g++, \
g++8 --version | grep g++, \
g++9 --version | grep g++, \
Please install the GNU C++ Compiler (g++) 6 or later, \
$(CXX) -dumpversion | grep -E '^([6-9]\.?|1[0-9]\.?)', \
g++ -dumpversion | grep -E '^([6-9]\.?|1[0-9]\.?)', \
g++ --version | grep -E 'Apple.(LLVM|clang)' ))
$(eval $(call TestHostCommand,working-g++, \
\nPlease reinstall the GNU C++ Compiler (4.8 or later) - \
Please reinstall the GNU C++ Compiler (6 or later) - \
it appears to be broken, \
echo 'int main(int argc, char **argv) { return 0; }' | \
g++ -x c++ -o $(TMP_DIR)/a.out - -lstdc++ && \
$(TMP_DIR)/a.out))
$(eval $(call TestHostCommand,ncurses, \
$(eval $(call RequireCHeader,ncurses.h, \
Please install ncurses. (Missing libncurses.so or ncurses.h), \
echo 'int main(int argc, char **argv) { initscr(); return 0; }' | \
gcc -include ncurses.h -x c -o $(TMP_DIR)/a.out - -lncurses))
initscr(), -lncurses))
$(eval $(call SetupHostCommand,git,Please install Git (git-core) >= 1.7.12.2, \
git --exec-path | xargs -I % -- grep -q -- --recursive %/git-submodule, \
git submodule --help | grep -- --recursive))
$(eval $(call SetupHostCommand,rsync,Please install 'rsync', \
rsync --version </dev/null))
endif # IB
ifeq ($(HOST_OS),Linux)
zlib_link_flags := -Wl,-Bstatic -lz -Wl,-Bdynamic
@@ -76,11 +67,26 @@ else
zlib_link_flags := -lz
endif
$(eval $(call TestHostCommand,perl-data-dumper, \
Please install the Perl Data::Dumper module, \
perl -MData::Dumper -e 1))
$(eval $(call TestHostCommand,perl-findbin, \
Please install the Perl FindBin module, \
perl -MFindBin -e 1))
$(eval $(call TestHostCommand,perl-file-copy, \
Please install the Perl File::Copy module, \
perl -MFile::Copy -e 1))
$(eval $(call TestHostCommand,perl-file-compare, \
Please install the Perl File::Compare module, \
perl -MFile::Compare -e 1))
$(eval $(call TestHostCommand,perl-thread-queue, \
Please install the Perl Thread::Queue module, \
perl -MThread::Queue -e 1))
$(eval $(call SetupHostCommand,tar,Please install GNU 'tar', \
gtar --version 2>&1 | grep GNU, \
gnutar --version 2>&1 | grep GNU, \
@@ -93,13 +99,18 @@ $(eval $(call SetupHostCommand,find,Please install GNU 'find', \
$(eval $(call SetupHostCommand,bash,Please install GNU 'bash', \
bash --version 2>&1 | grep GNU))
$(eval $(call SetupHostCommand,xargs, \
Please install 'xargs' that supports '-r/--no-run-if-empty', \
gxargs -r --version, \
xargs -r --version))
$(eval $(call SetupHostCommand,patch,Please install GNU 'patch', \
gpatch --version 2>&1 | grep 'Free Software Foundation', \
patch --version 2>&1 | grep 'Free Software Foundation'))
$(eval $(call SetupHostCommand,diff,Please install diffutils, \
gdiff --version 2>&1 | grep diff, \
diff --version 2>&1 | grep diff))
$(eval $(call SetupHostCommand,diff,Please install GNU diffutils, \
gdiff --version 2>&1 | grep GNU, \
diff --version 2>&1 | grep GNU))
$(eval $(call SetupHostCommand,cp,Please install GNU fileutils, \
gcp --help 2>&1 | grep 'Copy SOURCE', \
@@ -117,17 +128,29 @@ $(eval $(call SetupHostCommand,grep,Please install GNU 'grep', \
ggrep --version 2>&1 | grep GNU, \
grep --version 2>&1 | grep GNU))
$(eval $(call SetupHostCommand,egrep,Please install GNU 'grep', \
gegrep --version 2>&1 | grep GNU, \
egrep --version 2>&1 | grep GNU))
$(eval $(call SetupHostCommand,getopt, \
Please install an extended getopt version that supports --long, \
gnugetopt -o t --long test -- --test | grep '^ *--test *--', \
/usr/local/bin/getopt -o t --long test -- --test | grep '^ *--test *--', \
getopt -o t --long test -- --test | grep '^ *--test *--'))
getopt -o t --long test -- --test | grep '^ *--test *--', \
/usr/local/opt/gnu-getopt/bin/getopt -o t --long test -- --test | grep '^ *--test *--', \
/opt/local/bin/getopt -o t --long test -- --test | grep '^ *--test *--'))
$(eval $(call SetupHostCommand,realpath,Please install a 'realpath' utility, \
grealpath /, \
realpath /))
$(eval $(call SetupHostCommand,stat,Cannot find a file stat utility, \
gnustat -c%s $(TOPDIR)/Makefile, \
gstat -c%s $(TOPDIR)/Makefile, \
stat -c%s $(TOPDIR)/Makefile))
$(eval $(call SetupHostCommand,gzip,Please install 'gzip', \
gzip --version </dev/null))
$(eval $(call SetupHostCommand,unzip,Please install 'unzip', \
unzip 2>&1 | grep zipfile, \
unzip))
@@ -138,38 +161,72 @@ $(eval $(call SetupHostCommand,bzip2,Please install 'bzip2', \
$(eval $(call SetupHostCommand,wget,Please install GNU 'wget', \
wget --version | grep GNU))
$(eval $(call SetupHostCommand,install,Please install GNU 'install', \
install --version | grep GNU, \
ginstall --version | grep GNU))
$(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \
perl --version | grep "perl.*v5"))
$(eval $(call CleanupPython2))
$(eval $(call SetupHostCommand,python,Please install Python >= 3.5, \
$(eval $(call SetupHostCommand,python,Please install Python >= 3.6, \
python3.11 -V 2>&1 | grep 'Python 3', \
python3.10 -V 2>&1 | grep 'Python 3', \
python3.9 -V 2>&1 | grep 'Python 3', \
python3.8 -V 2>&1 | grep 'Python 3', \
python3.7 -V 2>&1 | grep 'Python 3', \
python3.6 -V 2>&1 | grep 'Python 3', \
python3.5 -V 2>&1 | grep 'Python 3', \
python3 -V 2>&1 | grep -E 'Python 3\.[5-9]\.?'))
python3 -V 2>&1 | grep -E 'Python 3\.([6-9]|[0-9][0-9])\.?'))
$(eval $(call SetupHostCommand,python3,Please install Python >= 3.5, \
$(eval $(call SetupHostCommand,python3,Please install Python >= 3.6, \
python3.11 -V 2>&1 | grep 'Python 3', \
python3.10 -V 2>&1 | grep 'Python 3', \
python3.9 -V 2>&1 | grep 'Python 3', \
python3.8 -V 2>&1 | grep 'Python 3', \
python3.7 -V 2>&1 | grep 'Python 3', \
python3.6 -V 2>&1 | grep 'Python 3', \
python3.5 -V 2>&1 | grep 'Python 3', \
python3 -V 2>&1 | grep -E 'Python 3\.[5-9]\.?'))
python3 -V 2>&1 | grep -E 'Python 3\.([6-9]|[0-9][0-9])\.?'))
$(eval $(call SetupHostCommand,git,Please install Git (git-core) >= 1.7.12.2, \
git --exec-path | xargs -I % -- grep -q -- --recursive %/git-submodule))
$(eval $(call TestHostCommand,python3-distutils, \
Please install the Python3 distutils module, \
$(STAGING_DIR_HOST)/bin/python3 -c 'from distutils import util'))
$(eval $(call TestHostCommand,python3-stdlib, \
Please install the Python3 stdlib module, \
$(STAGING_DIR_HOST)/bin/python3 -c 'import ntpath'))
$(eval $(call SetupHostCommand,file,Please install the 'file' package, \
file --version 2>&1 | grep file))
$(eval $(call SetupHostCommand,which,Please install 'which', \
/usr/bin/which which, \
/bin/which which, \
which which))
ifeq ($(HOST_OS),Linux)
$(eval $(call RequireCHeader,argp.h, \
Missing argp.h Please install the argp-standalone package if musl libc))
$(eval $(call RequireCHeader,fts.h, \
Missing fts.h Please install the musl-fts-dev package if musl libc))
$(eval $(call RequireCHeader,obstack.h, \
Missing obstack.h Please install the musl-obstack-dev package if musl libc))
$(eval $(call RequireCHeader,libintl.h, \
Missing libintl.h Please install the musl-libintl package if musl libc))
endif
$(STAGING_DIR_HOST)/bin/mkhash: $(SCRIPT_DIR)/mkhash.c
mkdir -p $(dir $@)
$(CC) -O2 -I$(TOPDIR)/tools/include -o $@ $<
prereq: $(STAGING_DIR_HOST)/bin/mkhash
$(STAGING_DIR_HOST)/bin/xxd: $(SCRIPT_DIR)/xxdi.pl
$(LN) $< $@
prereq: $(STAGING_DIR_HOST)/bin/mkhash $(STAGING_DIR_HOST)/bin/xxd
# Install ldconfig stub
$(eval $(call TestHostCommand,ldconfig-stub,Failed to install stub, \
touch $(STAGING_DIR_HOST)/bin/ldconfig && \
chmod +x $(STAGING_DIR_HOST)/bin/ldconfig))
$(LN) $(SCRIPT_DIR)/noop.sh $(STAGING_DIR_HOST)/bin/ldconfig))

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2006-2020 OpenWrt.org
ifneq ($(__prereq_inc),1)
__prereq_inc:=1
@@ -52,7 +49,7 @@ endef
define RequireCommand
define Require/$(1)
which $(1)
command -v $(1)
endef
$$(eval $$(call Require,$(1),$(2)))
@@ -66,6 +63,18 @@ define RequireHeader
$$(eval $$(call Require,$(1),$(2)))
endef
# 1: header to test
# 2: failure message
# 3: optional compile time test
# 4: optional link library test (example -lncurses)
define RequireCHeader
define Require/$(1)
echo 'int main(int argc, char **argv) { $(3); return 0; }' | gcc -include $(1) -x c -o $(TMP_DIR)/a.out - $(4)
endef
$$(eval $$(call Require,$(1),$(2)))
endef
define CleanupPython2
define Require/python2-cleanup
if [ -f "$(STAGING_DIR_HOST)/bin/python" ] && \
@@ -106,7 +115,7 @@ define SetupHostCommand
$(call QuoteHostCommand,$(11)) $(call QuoteHostCommand,$(12)); do \
if [ -n "$$$$$$$$cmd" ]; then \
bin="$$$$$$$$(PATH="$(subst $(space),:,$(filter-out $(STAGING_DIR_HOST)/%,$(subst :,$(space),$(PATH))))" \
which "$$$$$$$${cmd%% *}")"; \
command -v "$$$$$$$${cmd%% *}")"; \
if [ -x "$$$$$$$$bin" ] && eval "$$$$$$$$cmd" >/dev/null 2>/dev/null; then \
mkdir -p "$(STAGING_DIR_HOST)/bin"; \
ln -sf "$$$$$$$$bin" "$(STAGING_DIR_HOST)/bin/$(strip $(1))"; \

View File

@@ -1,8 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2007-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
# Copyright (C) 2007-2020 OpenWrt.org
ifeq ($(TARGET_BUILD),1)
PKG_BUILD_DIR:=$(LINUX_DIR)
@@ -118,7 +116,7 @@ define Quilt/RefreshDir
endef
define Quilt/Refresh/Host
$(call Quilt/RefreshDir,$(HOST_BUILD_DIR),$(PATCH_DIR))
$(call Quilt/RefreshDir,$(HOST_BUILD_DIR),$(HOST_PATCH_DIR))
endef
define Quilt/Refresh/Package
@@ -161,7 +159,7 @@ define Quilt/Template
false; \
}
@[ -n "$$$$(ls $(1)/patches/series)" -o \
"$$$$(cat $(1)/patches/series | mkhash md5)" = "$$(sort $(1)/patches/series | mkhash md5)" ] || { \
"$$$$(cat $(1)/patches/series | $(MKHASH) md5)" = "$$(sort $(1)/patches/series | $(MKHASH) md5)" ] || { \
echo "The patches are not sorted in the right order. Please fix."; \
false; \
}

View File

@@ -47,7 +47,7 @@ TARGET_DIR_ORIG := $(TARGET_ROOTFS_DIR)/root.orig-$(BOARD)
ifdef CONFIG_CLEAN_IPKG
define clean_ipkg
-find $(1)/usr/lib/opkg/info -type f -and -not -name '*.control' | $(XARGS) rm -rf
-find $(1)/usr/lib/opkg/info -type f -and -not -name '*.control' -delete
-sed -i -ne '/^Require-User: /p' $(1)/usr/lib/opkg/info/*.control
awk ' \
BEGIN { conffiles = 0; print "Conffiles:" } \
@@ -56,7 +56,7 @@ ifdef CONFIG_CLEAN_IPKG
conffiles == 1 { print } \
' $(1)/usr/lib/opkg/status >$(1)/usr/lib/opkg/status.new
mv $(1)/usr/lib/opkg/status.new $(1)/usr/lib/opkg/status
-find $(1)/usr/lib/opkg -empty | $(XARGS) rm -rf
-find $(1)/usr/lib/opkg -empty -delete
endef
endif
@@ -69,7 +69,7 @@ define prepare_rootfs
@( \
cd $(1); \
for script in ./usr/lib/opkg/info/*.postinst; do \
IPKG_INSTROOT=$(1) $$(which bash) $$script; \
IPKG_INSTROOT=$(1) $$(command -v bash) $$script; \
ret=$$?; \
if [ $$ret -ne 0 ]; then \
echo "postinst script $$script has failed with exit code $$ret" >&2; \
@@ -79,24 +79,22 @@ define prepare_rootfs
for script in ./etc/init.d/*; do \
grep '#!/bin/sh /etc/rc.common' $$script >/dev/null || continue; \
if ! echo " $(3) " | grep -q " $$(basename $$script) "; then \
IPKG_INSTROOT=$(1) $$(which bash) ./etc/rc.common $$script enable; \
IPKG_INSTROOT=$(1) $$(command -v bash) ./etc/rc.common $$script enable; \
echo "Enabling" $$(basename $$script); \
else \
IPKG_INSTROOT=$(1) $$(which bash) ./etc/rc.common $$script disable; \
IPKG_INSTROOT=$(1) $$(command -v bash) ./etc/rc.common $$script disable; \
echo "Disabling" $$(basename $$script); \
fi; \
done || true \
)
$(if $(SOURCE_DATE_EPOCH),sed -i "s/Installed-Time: .*/Installed-Time: $(SOURCE_DATE_EPOCH)/" $(1)/usr/lib/opkg/status)
@-find $(1) -name CVS | $(XARGS) rm -rf
@-find $(1) -name .svn | $(XARGS) rm -rf
@-find $(1) -name .git | $(XARGS) rm -rf
@-find $(1) -name '.#*' | $(XARGS) rm -f
rm -rf $(1)/tmp/*
rm -f $(1)/usr/lib/opkg/lists/*
rm -f $(1)/usr/lib/opkg/info/*.postinst*
rm -f $(1)/var/lock/*.lock
rm -rf $(1)/boot
@-find $(1) -name CVS -o -name .svn -o -name .git -o -name '.#*' | $(XARGS) rm -rf
rm -rf \
$(1)/boot \
$(1)/tmp/* \
$(1)/usr/lib/opkg/info/*.postinst* \
$(1)/usr/lib/opkg/lists/* \
$(1)/var/lock/*.lock
$(call clean_ipkg,$(1))
$(call mklibs,$(1))
$(if $(SOURCE_DATE_EPOCH),find $(1)/ -mindepth 1 -execdir touch -hcd "@$(SOURCE_DATE_EPOCH)" "{}" +)

View File

@@ -1,4 +1,5 @@
include $(TOPDIR)/include/verbose.mk
include $(TOPDIR)/rules.mk
TMP_DIR:=$(TOPDIR)/tmp
all: $(TMP_DIR)/.$(SCAN_TARGET)
@@ -10,7 +11,7 @@ TARGET_STAMP:=$(TMP_DIR)/info/.files-$(SCAN_TARGET).stamp
FILELIST:=$(TMP_DIR)/info/.files-$(SCAN_TARGET)-$(SCAN_COOKIE)
OVERRIDELIST:=$(TMP_DIR)/info/.overrides-$(SCAN_TARGET)-$(SCAN_COOKIE)
export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH)
export PATH:=$(STAGING_DIR_HOST)/bin:$(PATH)
define feedname
$(if $(patsubst feeds/%,,$(1)),,$(word 2,$(subst /, ,$(1))))
@@ -71,7 +72,7 @@ endif
$(FILELIST): $(OVERRIDELIST)
rm -f $(TMP_DIR)/info/.files-$(SCAN_TARGET)-*
find -L $(SCAN_DIR) $(SCAN_EXTRA) -mindepth 1 $(if $(SCAN_DEPTH),-maxdepth $(SCAN_DEPTH)) -name Makefile | xargs grep -aHE 'call $(GREP_STRING)' | sed -e 's#^$(SCAN_DIR)/##' -e 's#/Makefile:.*##' | uniq | awk -v of=$(OVERRIDELIST) -f include/scan.awk > $@
find -L $(SCAN_DIR) -mindepth 1 $(if $(SCAN_DEPTH),-maxdepth $(SCAN_DEPTH)) $(SCAN_EXTRA) -name Makefile | xargs grep -aHE 'call $(GREP_STRING)' | sed -e 's#^$(SCAN_DIR)/##' -e 's#/Makefile:.*##' | uniq | awk -v of=$(OVERRIDELIST) -f include/scan.awk > $@
$(TMP_DIR)/info/.files-$(SCAN_TARGET).mk: $(FILELIST)
( \
@@ -100,7 +101,7 @@ $(TMP_DIR)/info/.files-$(SCAN_TARGET).mk: $(FILELIST)
$(TARGET_STAMP)::
+( \
$(NO_TRACE_MAKE) $(FILELIST); \
MD5SUM=$$(cat $(FILELIST) $(OVERRIDELIST) | mkhash md5 | awk '{print $$1}'); \
MD5SUM=$$(cat $(FILELIST) $(OVERRIDELIST) | $(MKHASH) md5 | awk '{print $$1}'); \
[ -f "$@.$$MD5SUM" ] || { \
rm -f $@.*; \
touch $@.$$MD5SUM; \

30
include/site/loongarch64 Normal file
View File

@@ -0,0 +1,30 @@
#!/bin/sh
. $TOPDIR/include/site/linux
ac_cv_c_littleendian=${ac_cv_c_littleendian=yes}
ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
ac_cv_sizeof___int64=0
ac_cv_sizeof_char=1
ac_cv_sizeof_int=4
ac_cv_sizeof_int16_t=2
ac_cv_sizeof_int32_t=4
ac_cv_sizeof_int64_t=8
ac_cv_sizeof_long_int=8
ac_cv_sizeof_long_long=8
ac_cv_sizeof_long=8
ac_cv_sizeof_off_t=8
ac_cv_sizeof_short_int=2
ac_cv_sizeof_short=2
ac_cv_sizeof_size_t=8
ac_cv_sizeof_ssize_t=8
ac_cv_sizeof_u_int16_t=2
ac_cv_sizeof_u_int32_t=4
ac_cv_sizeof_u_int64_t=8
ac_cv_sizeof_uint16_t=2
ac_cv_sizeof_uint32_t=4
ac_cv_sizeof_uint64_t=8
ac_cv_sizeof_unsigned_int=4
ac_cv_sizeof_unsigned_long=8
ac_cv_sizeof_unsigned_long_long=8
ac_cv_sizeof_unsigned_short=2
ac_cv_sizeof_void_p=8

30
include/site/riscv64 Normal file
View File

@@ -0,0 +1,30 @@
#!/bin/sh
. $TOPDIR/include/site/linux
ac_cv_c_littleendian=${ac_cv_c_littleendian=yes}
ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
ac_cv_sizeof___int64=8
ac_cv_sizeof_char=1
ac_cv_sizeof_int=4
ac_cv_sizeof_int16_t=2
ac_cv_sizeof_int32_t=4
ac_cv_sizeof_int64_t=8
ac_cv_sizeof_long_int=8
ac_cv_sizeof_long_long=8
ac_cv_sizeof_long=8
ac_cv_sizeof_off_t=8
ac_cv_sizeof_short_int=2
ac_cv_sizeof_short=2
ac_cv_sizeof_size_t=8
ac_cv_sizeof_ssize_t=8
ac_cv_sizeof_u_int16_t=2
ac_cv_sizeof_u_int32_t=4
ac_cv_sizeof_u_int64_t=8
ac_cv_sizeof_uint16_t=2
ac_cv_sizeof_uint32_t=4
ac_cv_sizeof_uint64_t=8
ac_cv_sizeof_unsigned_int=4
ac_cv_sizeof_unsigned_long=8
ac_cv_sizeof_unsigned_long_long=8
ac_cv_sizeof_unsigned_short=2
ac_cv_sizeof_void_p=8

View File

@@ -1,13 +1,13 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2007-2020 OpenWrt.org
ifeq ($(MAKECMDGOALS),prereq)
SUBTARGETS:=prereq
PREREQ_ONLY:=1
# For target/linux related target add dtb to selectively compile dtbs
else ifneq ($(filter target/linux/%,$(MAKECMDGOALS)),)
SUBTARGETS:=$(DEFAULT_SUBDIR_TARGETS) dtb
else
SUBTARGETS:=$(DEFAULT_SUBDIR_TARGETS)
endif
@@ -23,21 +23,23 @@ define subtarget
endef
define ERROR
($(call MESSAGE, $(2)); $(if $(BUILD_LOG), echo "$(2)" >> $(BUILD_LOG_DIR)/$(1)/error.txt))
($(call MESSAGE, $(2)); $(if $(BUILD_LOG), echo "$(2)" >> $(BUILD_LOG_DIR)/$(1)/error.txt;) $(if $(3),, exit 1;))
endef
lastdir=$(word $(words $(subst /, ,$(1))),$(subst /, ,$(1)))
diralias=$(if $(findstring $(1),$(call lastdir,$(1))),,$(call lastdir,$(1)))
subdir_make_opts = \
-r -C $(1) \
$(if $(SUBDIR_MAKE_DEBUG),-d) -r -C $(1) \
BUILD_SUBDIR="$(1)" \
BUILD_VARIANT="$(4)"
BUILD_VARIANT="$(4)" \
ALL_VARIANTS="$(5)"
# 1: subdir
# 2: target
# 3: build type
# 4: build variant
# 5: all variants
log_make = \
$(if $(call debug,$(1),v),,@)+ \
$(if $(BUILD_LOG), \
@@ -65,16 +67,16 @@ define subdir
$(foreach target,$(SUBTARGETS) $($(1)/subtargets),
$(foreach btype,$(buildtypes-$(bd)),
$(call warn_eval,$(1)/$(bd),t,T,$(1)/$(bd)/$(btype)/$(target): $(if $(NO_DEPS)$(QUILT),,$($(1)/$(bd)/$(btype)/$(target)) $(call $(1)//$(btype)/$(target),$(1)/$(bd)/$(btype))))
$(call log_make,$(1)/$(bd),$(target),$(btype),$(filter-out __default,$(variant))) \
$(if $(findstring $(bd),$($(1)/builddirs-ignore-$(btype)-$(target))), || $(call ERROR,$(1), ERROR: $(1)/$(bd) [$(btype)] failed to build.))
$(call log_make,$(1)/$(bd),$(target),$(btype),$(filter-out __default,$(variant)),$($(1)/$(bd)/variants)) \
|| $(call ERROR,$(2), ERROR: $(1)/$(bd) [$(btype)] failed to build.,$(findstring $(bd),$($(1)/builddirs-ignore-$(btype)-$(target))))
$(if $(call diralias,$(bd)),$(call warn_eval,$(1)/$(bd),l,T,$(1)/$(call diralias,$(bd))/$(btype)/$(target): $(1)/$(bd)/$(btype)/$(target)))
)
$(call warn_eval,$(1)/$(bd),t,T,$(1)/$(bd)/$(target): $(if $(NO_DEPS)$(QUILT),,$($(1)/$(bd)/$(target)) $(call $(1)//$(target),$(1)/$(bd))))
$(foreach variant,$(if $(BUILD_VARIANT),$(BUILD_VARIANT),$(if $(strip $($(1)/$(bd)/variants)),$($(1)/$(bd)/variants),$(if $($(1)/$(bd)/default-variant),$($(1)/$(bd)/default-variant),__default))),
$(foreach variant,$(filter-out *,$(if $(BUILD_VARIANT),$(BUILD_VARIANT),$(if $(strip $($(1)/$(bd)/variants)),$($(1)/$(bd)/variants),$(if $($(1)/$(bd)/default-variant),$($(1)/$(bd)/default-variant),__default)))),
$(if $(BUILD_LOG),@mkdir -p $(BUILD_LOG_DIR)/$(1)/$(bd)/$(filter-out __default,$(variant)))
$(if $($(1)/autoremove),$(call rebuild_check,$(1)/$(bd),$(target),,$(filter-out __default,$(variant))))
$(call log_make,$(1)/$(bd),$(target),,$(filter-out __default,$(variant))) \
$(if $(findstring $(bd),$($(1)/builddirs-ignore-$(target))), || $(call ERROR,$(1), ERROR: $(1)/$(bd) failed to build$(if $(filter-out __default,$(variant)), (build variant: $(variant))).))
$(if $($(1)/autoremove),$(call rebuild_check,$(1)/$(bd),$(target),,$(filter-out __default,$(variant)),$($(1)/$(bd)/variants)))
$(call log_make,$(1)/$(bd),$(target),,$(filter-out __default,$(variant)),$($(1)/$(bd)/variants)) \
|| $(call ERROR,$(1), ERROR: $(1)/$(bd) failed to build$(if $(filter-out __default,$(variant)), (build variant: $(variant))).,$(findstring $(bd),$($(1)/builddirs-ignore-$(target))))
)
$(if $(PREREQ_ONLY)$(DUMP_TARGET_DB),,
# aliases

View File

@@ -1,10 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2007-2008 OpenWrt.org
# Copyright (C) 2016 LEDE Project
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
ifneq ($(__target_inc),1)
__target_inc=1
@@ -13,18 +10,55 @@ __target_inc=1
DEVICE_TYPE?=router
# Default packages - the really basic set
DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools uclient-fetch logd urandom-seed urngd \
block-mount coremark kmod-nf-nathelper kmod-nf-nathelper-extra kmod-ipt-raw wget libustream-openssl ca-certificates \
default-settings luci luci-app-ddns luci-app-upnp luci-app-adbyby-plus luci-app-autoreboot \
luci-app-filetransfer luci-app-vsftpd luci-app-ssr-plus luci-app-unblockmusic \
luci-app-arpbind luci-app-vlmcsd luci-app-wol luci-app-ramfree \
luci-app-sfe luci-app-flowoffload luci-app-nlbwmon luci-app-accesscontrol luci-app-cpufreq \
ddns-scripts_aliyun ddns-scripts_dnspod
DEFAULT_PACKAGES:=\
base-files \
ca-bundle \
dropbear \
fstools \
libc \
libgcc \
libustream-openssl \
logd \
mtd \
netifd \
opkg \
uci \
uclient-fetch \
urandom-seed \
urngd
ifneq ($(CONFIG_SELINUX),)
DEFAULT_PACKAGES+=busybox-selinux procd-selinux
else
DEFAULT_PACKAGES+=busybox procd
endif
# include ujail on systems with enough storage
ifeq ($(CONFIG_SMALL_FLASH),)
DEFAULT_PACKAGES+=procd-ujail
endif
# include seccomp ld-preload hooks if kernel supports it
ifneq ($(CONFIG_SECCOMP),)
DEFAULT_PACKAGES+=procd-seccomp
endif
# For the basic set
DEFAULT_PACKAGES.basic:=
# For nas targets
DEFAULT_PACKAGES.nas:=block-mount fdisk lsblk mdadm
DEFAULT_PACKAGES.nas:=\
block-mount \
fdisk \
lsblk \
mdadm
# For router targets
DEFAULT_PACKAGES.router:=dnsmasq-full iptables ppp ppp-mod-pppoe firewall kmod-ipt-offload kmod-tcp-bbr
DEFAULT_PACKAGES.bootloader:=
DEFAULT_PACKAGES.router:=\
dnsmasq-full firewall iptables ppp ppp-mod-pppoe odhcp6c odhcpd-ipv6only \
block-mount coremark kmod-nf-nathelper kmod-nf-nathelper-extra kmod-ipt-raw kmod-tun \
iptables-mod-tproxy iptables-mod-extra ipset ip-full default-settings luci luci-proto-ipv6 \
ddns-scripts_aliyun ddns-scripts_dnspod luci-app-ddns luci-app-upnp luci-app-autoreboot \
luci-app-arpbind luci-app-filetransfer luci-app-vsftpd luci-app-ssr-plus luci-app-vlmcsd \
luci-app-accesscontrol luci-app-nlbwmon luci-app-turboacc luci-app-wol curl ca-certificates
ifneq ($(DUMP),)
all: dumpinfo
@@ -32,7 +66,7 @@ endif
target_conf=$(subst .,_,$(subst -,_,$(subst /,_,$(1))))
ifeq ($(DUMP),)
PLATFORM_DIR:=$(TOPDIR)/target/linux/$(BOARD)
PLATFORM_DIR:=$(firstword $(wildcard $(TOPDIR)/target/linux/feeds/$(BOARD) $(TOPDIR)/target/linux/$(BOARD)))
SUBTARGET:=$(strip $(foreach subdir,$(patsubst $(PLATFORM_DIR)/%/target.mk,%,$(wildcard $(PLATFORM_DIR)/*/target.mk)),$(if $(CONFIG_TARGET_$(call target_conf,$(BOARD)_$(subdir))),$(subdir))))
else
PLATFORM_DIR:=${CURDIR}
@@ -61,7 +95,7 @@ endif
DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.$(DEVICE_TYPE))
filter_packages = $(filter-out -% $(patsubst -%,%,$(filter -%,$(1))),$(1))
extra_packages = $(if $(filter wpad-mini wpad-basic wpad nas,$(1)),iwinfo)
extra_packages = $(if $(filter wpad wpad-% nas,$(1)),iwinfo)
define ProfileDefault
NAME:=
@@ -137,29 +171,37 @@ USE_SUBTARGET_CONFIG = $(if $(wildcard $(LINUX_TARGET_CONFIG)),,$(if $(LINUX_SUB
LINUX_RECONFIG_LIST = $(wildcard $(GENERIC_LINUX_CONFIG) $(LINUX_TARGET_CONFIG) $(if $(USE_SUBTARGET_CONFIG),$(LINUX_SUBTARGET_CONFIG)))
LINUX_RECONFIG_TARGET = $(if $(USE_SUBTARGET_CONFIG),$(LINUX_SUBTARGET_CONFIG),$(LINUX_TARGET_CONFIG))
CFG_TARGET = $(CONFIG_TARGET)
ifeq ($(CFG_TARGET),platform)
CFG_TARGET = target
$(warning Deprecation warning: use CONFIG_TARGET=target instead.)
else ifeq ($(CFG_TARGET),subtarget_platform)
CFG_TARGET = subtarget_target
$(warning Deprecation warning: use CONFIG_TARGET=subtarget_target instead.)
endif
# select the config file to be changed by kernel_menuconfig/kernel_oldconfig
ifeq ($(CONFIG_TARGET),platform)
ifeq ($(CFG_TARGET),target)
LINUX_RECONFIG_LIST = $(wildcard $(GENERIC_LINUX_CONFIG) $(LINUX_TARGET_CONFIG))
LINUX_RECONFIG_TARGET = $(LINUX_TARGET_CONFIG)
endif
ifeq ($(CONFIG_TARGET),subtarget)
else ifeq ($(CFG_TARGET),subtarget)
LINUX_RECONFIG_LIST = $(wildcard $(GENERIC_LINUX_CONFIG) $(LINUX_TARGET_CONFIG) $(LINUX_SUBTARGET_CONFIG))
LINUX_RECONFIG_TARGET = $(LINUX_SUBTARGET_CONFIG)
endif
ifeq ($(CONFIG_TARGET),subtarget_platform)
else ifeq ($(CFG_TARGET),subtarget_target)
LINUX_RECONFIG_LIST = $(wildcard $(GENERIC_LINUX_CONFIG) $(LINUX_SUBTARGET_CONFIG) $(LINUX_TARGET_CONFIG))
LINUX_RECONFIG_TARGET = $(LINUX_TARGET_CONFIG)
endif
ifeq ($(CONFIG_TARGET),env)
else ifeq ($(CFG_TARGET),env)
LINUX_RECONFIG_LIST = $(LINUX_KCONFIG_LIST)
LINUX_RECONFIG_TARGET = $(TOPDIR)/env/kernel-config
else ifneq ($(strip $(CFG_TARGET)),)
$(error CONFIG_TARGET=$(CFG_TARGET) is invalid. Valid: target|subtarget|subtarget_target|env)
endif
__linux_confcmd = $(SCRIPT_DIR)/kconfig.pl $(2) $(patsubst %,+,$(wordlist 2,9999,$(1))) $(1)
__linux_confcmd = $(2) $(patsubst %,+,$(wordlist 2,9999,$(1))) $(1)
LINUX_CONF_CMD = $(call __linux_confcmd,$(LINUX_KCONFIG_LIST),)
LINUX_RECONF_CMD = $(call __linux_confcmd,$(LINUX_RECONFIG_LIST),)
LINUX_RECONF_DIFF = $(call __linux_confcmd,$(filter-out $(LINUX_RECONFIG_TARGET),$(LINUX_RECONFIG_LIST)),'>')
LINUX_CONF_CMD = $(SCRIPT_DIR)/kconfig.pl $(call __linux_confcmd,$(LINUX_KCONFIG_LIST))
LINUX_RECONF_CMD = $(SCRIPT_DIR)/kconfig.pl $(call __linux_confcmd,$(LINUX_RECONFIG_LIST))
LINUX_RECONF_DIFF = $(SCRIPT_DIR)/kconfig.pl - '>' $(call __linux_confcmd,$(filter-out $(LINUX_RECONFIG_TARGET),$(LINUX_RECONFIG_LIST))) $(1) $(GENERIC_PLATFORM_DIR)/config-filter
ifeq ($(DUMP),1)
BuildTarget=$(BuildTargets/DumpCurrent)
@@ -174,13 +216,15 @@ ifeq ($(DUMP),1)
CPU_CFLAGS += -mno-branch-likely
CPU_CFLAGS_mips32 = -mips32 -mtune=mips32
CPU_CFLAGS_mips64 = -mips64 -mtune=mips64 -mabi=64
CPU_CFLAGS_mips64r2 = -mips64r2 -mtune=mips64r2 -mabi=64
CPU_CFLAGS_4kec = -mips32r2 -mtune=4kec
CPU_CFLAGS_24kc = -mips32r2 -mtune=24kc
CPU_CFLAGS_74kc = -mips32r2 -mtune=74kc
CPU_CFLAGS_octeonplus = -march=octeon+ -mabi=64
endif
ifeq ($(ARCH),i386)
CPU_TYPE ?= pentium
CPU_CFLAGS_pentium = -march=pentium-mmx
CPU_TYPE ?= pentium-mmx
CPU_CFLAGS_pentium-mmx = -march=pentium-mmx
CPU_CFLAGS_pentium4 = -march=pentium4
endif
ifneq ($(findstring arm,$(ARCH)),)
@@ -189,12 +233,14 @@ ifeq ($(DUMP),1)
ifeq ($(ARCH),powerpc)
CPU_CFLAGS_603e:=-mcpu=603e
CPU_CFLAGS_8540:=-mcpu=8540
CPU_CFLAGS_8548:=-mcpu=8548
CPU_CFLAGS_405:=-mcpu=405
CPU_CFLAGS_440:=-mcpu=440
CPU_CFLAGS_464fp:=-mcpu=464fp
endif
ifeq ($(ARCH),powerpc64)
CPU_TYPE ?= powerpc64
CPU_CFLAGS_e5500:=-mcpu=e5500
CPU_CFLAGS_powerpc64:=-mcpu=powerpc64
endif
ifeq ($(ARCH),sparc)
@@ -212,6 +258,15 @@ ifeq ($(DUMP),1)
CPU_CFLAGS_arc700 = -mcpu=arc700
CPU_CFLAGS_archs = -mcpu=archs
endif
ifeq ($(ARCH),riscv64)
CPU_TYPE ?= riscv64
CPU_CFLAGS_riscv64:=-mabi=lp64d -march=rv64imafdc
endif
ifeq ($(ARCH),loongarch64)
CPU_TYPE ?= generic
CPU_CFLAGS := -O2 -pipe
CPU_CFLAGS_generic:=-march=loongarch64
endif
ifneq ($(CPU_TYPE),)
ifndef CPU_CFLAGS_$(CPU_TYPE)
$(warning CPU_TYPE "$(CPU_TYPE)" doesn't correspond to a known type)
@@ -228,7 +283,9 @@ ifeq ($(DUMP),1)
.PRECIOUS: $(TMP_CONFIG)
ifdef KERNEL_TESTING_PATCHVER
FEATURES += testing-kernel
ifneq ($(KERNEL_TESTING_PATCHVER),$(KERNEL_PATCHVER))
FEATURES += testing-kernel
endif
endif
ifneq ($(CONFIG_OF),)
FEATURES += dt

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2009-2020 OpenWrt.org
override CONFIG_AUTOREBUILD=
override CONFIG_AUTOREMOVE=
@@ -21,6 +18,6 @@ define FixupLibdir
mkdir -p $(1)/lib; \
mv $(1)/lib64/* $(1)/lib/; \
rm -rf $(1)/lib64; \
ln -sf lib $(1)/lib64; \
fi
ln -sf lib $(1)/lib64
endef

View File

@@ -1,14 +1,10 @@
# Makefile for OpenWrt
#
# Copyright (C) 2007-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2007-2020 OpenWrt.org
PREP_MK= OPENWRT_BUILD= QUIET=0
export IS_TTY=$(shell tty -s && echo 1 || echo 0)
export IS_TTY=$(if $(MAKE_TERMOUT),1,0)
include $(TOPDIR)/include/verbose.mk
@@ -19,7 +15,6 @@ else
SOURCE_DATE_EPOCH:=$(shell $(TOPDIR)/scripts/get_source_date_epoch.sh)
endif
HOSTCC ?= $(CC)
export REVISION
export SOURCE_DATE_EPOCH
export GIT_CONFIG_PARAMETERS='core.autocrlf=false'
@@ -29,6 +24,12 @@ export GNU_HOST_NAME:=$(shell $(TOPDIR)/scripts/config.guess)
export HOST_OS:=$(shell uname)
export HOST_ARCH:=$(shell uname -m)
ifeq ($(HOST_OS),Darwin)
ifneq ($(filter /Applications/Xcode.app/% /Library/Developer/%,$(MAKE)),)
$(error Please use a newer version of GNU make. The version shipped by Apple is not supported)
endif
endif
# prevent perforce from messing with the patch utility
unexport P4PORT P4USER P4CONFIG P4CLIENT
@@ -50,18 +51,12 @@ path:=$(subst :,$(space),$(PATH))
path:=$(filter-out .%,$(path))
path:=$(subst $(space),:,$(path))
export PATH:=$(path)
export STAGING_DIR_HOST:=$(if $(STAGING_DIR),$(abspath $(STAGING_DIR)/../host),$(TOPDIR)/staging_dir/host)
unexport TAR_OPTIONS
ifneq ($(shell $(HOSTCC) 2>&1 | grep clang),)
export HOSTCC_REAL?=$(HOSTCC)
export HOSTCC_WRAPPER:=$(TOPDIR)/scripts/clang-gcc-wrapper
else
export HOSTCC_WRAPPER:=$(HOSTCC)
endif
ifeq ($(FORCE),)
.config scripts/config/conf scripts/config/mconf: staging_dir/host/.prereq-build
.config scripts/config/conf scripts/config/mconf: $(STAGING_DIR_HOST)/.prereq-build
endif
SCAN_COOKIE?=$(shell echo $$$$)
@@ -71,7 +66,7 @@ SUBMAKE:=umask 022; $(SUBMAKE)
ULIMIT_FIX=_limit=`ulimit -n`; [ "$$_limit" = "unlimited" -o "$$_limit" -ge 1024 ] || ulimit -n 1024;
prepare-mk: staging_dir/host/.prereq-build FORCE ;
prepare-mk: $(STAGING_DIR_HOST)/.prereq-build FORCE ;
ifdef SDK
IGNORE_PACKAGES = linux
@@ -80,10 +75,10 @@ endif
_ignore = $(foreach p,$(IGNORE_PACKAGES),--ignore $(p))
prepare-tmpinfo: FORCE
@+$(MAKE) -r -s staging_dir/host/.prereq-build $(PREP_MK)
@+$(MAKE) -r -s $(STAGING_DIR_HOST)/.prereq-build $(PREP_MK)
mkdir -p tmp/info
$(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f include/scan.mk SCAN_TARGET="packageinfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPTH=5 SCAN_EXTRA=""
$(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f include/scan.mk SCAN_TARGET="targetinfo" SCAN_DIR="target/linux" SCAN_NAME="target" SCAN_DEPTH=2 SCAN_EXTRA="" SCAN_MAKEOPTS="TARGET_BUILD=1"
$(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f include/scan.mk SCAN_TARGET="targetinfo" SCAN_DIR="target/linux" SCAN_NAME="target" SCAN_DEPTH=3 SCAN_EXTRA="" SCAN_MAKEOPTS="TARGET_BUILD=1"
for type in package target; do \
f=tmp/.$${type}info; t=tmp/.config-$${type}.in; \
[ "$$t" -nt "$$f" ] || ./scripts/$${type}-metadata.pl $(_ignore) config "$$f" > "$$t" || { rm -f "$$t"; echo "Failed to build $$t"; false; break; }; \
@@ -91,6 +86,7 @@ prepare-tmpinfo: FORCE
[ tmp/.config-feeds.in -nt tmp/.packageauxvars ] || ./scripts/feeds feed_config > tmp/.config-feeds.in
./scripts/package-metadata.pl mk tmp/.packageinfo > tmp/.packagedeps || { rm -f tmp/.packagedeps; false; }
./scripts/package-metadata.pl pkgaux tmp/.packageinfo > tmp/.packageauxvars || { rm -f tmp/.packageauxvars; false; }
./scripts/package-metadata.pl usergroup tmp/.packageinfo > tmp/.packageusergroup || { rm -f tmp/.packageusergroup; false; }
touch $(TOPDIR)/tmp/.build
.config: ./scripts/config/conf $(if $(CONFIG_HAVE_DOT_CONFIG),,prepare-tmpinfo)
@@ -99,25 +95,22 @@ prepare-tmpinfo: FORCE
$(_SINGLE)$(NO_TRACE_MAKE) menuconfig $(PREP_MK); \
fi
ifneq ($(DISTRO_PKG_CONFIG),)
scripts/config/mconf: export PATH:=$(dir $(DISTRO_PKG_CONFIG)):$(PATH)
ifeq ($(RECURSIVE_DEP_IS_ERROR),1)
KCONF_FLAGS=--fatalrecursive
endif
scripts/config/mconf:
@$(_SINGLE)$(SUBMAKE) -s -C scripts/config all CC="$(HOSTCC_WRAPPER)"
ifneq ($(DISTRO_PKG_CONFIG),)
scripts/config/%onf: export PATH:=$(dir $(DISTRO_PKG_CONFIG)):$(PATH)
endif
scripts/config/%onf: CFLAGS+= -O2
scripts/config/%onf: FORCE
@$(_SINGLE)$(SUBMAKE) $(if $(findstring s,$(OPENWRT_VERBOSE)),,-s) \
-C scripts/config $(notdir $@)
$(eval $(call rdep,scripts/config,scripts/config/mconf))
scripts/config/qconf:
@$(_SINGLE)$(SUBMAKE) -s -C scripts/config qconf \
CC="$(HOSTCC_WRAPPER)" \
DISTRO-PKG-CONFIG="$(DISTRO_PKG_CONFIG)"
scripts/config/conf:
@$(_SINGLE)$(SUBMAKE) -s -C scripts/config conf CC="$(HOSTCC_WRAPPER)"
config: scripts/config/conf prepare-tmpinfo FORCE
[ -L .config ] && export KCONFIG_OVERWRITECONFIG=1; \
$< Config.in
$< $(KCONF_FLAGS) Config.in
config-clean: FORCE
$(_SINGLE)$(NO_TRACE_MAKE) -C scripts/config clean
@@ -126,7 +119,7 @@ defconfig: scripts/config/conf prepare-tmpinfo FORCE
touch .config
@if [ ! -s .config -a -e $(HOME)/.openwrt/defconfig ]; then cp $(HOME)/.openwrt/defconfig .config; fi
[ -L .config ] && export KCONFIG_OVERWRITECONFIG=1; \
$< --defconfig=.config Config.in
$< $(KCONF_FLAGS) --defconfig=.config Config.in
confdefault-y=allyes
confdefault-m=allmod
@@ -135,7 +128,7 @@ confdefault:=$(confdefault-$(CONFDEFAULT))
oldconfig: scripts/config/conf prepare-tmpinfo FORCE
[ -L .config ] && export KCONFIG_OVERWRITECONFIG=1; \
$< --$(if $(confdefault),$(confdefault),old)config Config.in
$< $(KCONF_FLAGS) --$(if $(confdefault),$(confdefault),old)config Config.in
menuconfig: scripts/config/mconf prepare-tmpinfo FORCE
if [ \! -e .config -a -e $(HOME)/.openwrt/defconfig ]; then \
@@ -144,6 +137,13 @@ menuconfig: scripts/config/mconf prepare-tmpinfo FORCE
[ -L .config ] && export KCONFIG_OVERWRITECONFIG=1; \
$< Config.in
nconfig: scripts/config/nconf prepare-tmpinfo FORCE
if [ \! -e .config -a -e $(HOME)/.openwrt/defconfig ]; then \
cp $(HOME)/.openwrt/defconfig .config; \
fi
[ -L .config ] && export KCONFIG_OVERWRITECONFIG=1; \
$< Config.in
xconfig: scripts/config/qconf prepare-tmpinfo FORCE
if [ \! -e .config -a -e $(HOME)/.openwrt/defconfig ]; then \
cp $(HOME)/.openwrt/defconfig .config; \
@@ -152,7 +152,7 @@ xconfig: scripts/config/qconf prepare-tmpinfo FORCE
prepare_kernel_conf: .config toolchain/install FORCE
ifeq ($(wildcard staging_dir/host/bin/quilt),)
ifeq ($(wildcard $(STAGING_DIR_HOST)/bin/quilt),)
prepare_kernel_conf:
@+$(SUBMAKE) -r tools/quilt/compile
else
@@ -165,6 +165,7 @@ kernel_oldconfig: prepare_kernel_conf
ifneq ($(DISTRO_PKG_CONFIG),)
kernel_menuconfig: export PATH:=$(dir $(DISTRO_PKG_CONFIG)):$(PATH)
kernel_nconfig: export PATH:=$(dir $(DISTRO_PKG_CONFIG)):$(PATH)
kernel_xconfig: export PATH:=$(dir $(DISTRO_PKG_CONFIG)):$(PATH)
endif
kernel_menuconfig: prepare_kernel_conf
$(_SINGLE)$(NO_TRACE_MAKE) -C target/linux menuconfig
@@ -172,7 +173,10 @@ kernel_menuconfig: prepare_kernel_conf
kernel_nconfig: prepare_kernel_conf
$(_SINGLE)$(NO_TRACE_MAKE) -C target/linux nconfig
staging_dir/host/.prereq-build: include/prereq-build.mk
kernel_xconfig: prepare_kernel_conf
$(_SINGLE)$(NO_TRACE_MAKE) -C target/linux xconfig
$(STAGING_DIR_HOST)/.prereq-build: include/prereq-build.mk
mkdir -p tmp
@$(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f $(TOPDIR)/include/prereq-build.mk prereq 2>/dev/null || { \
echo "Prerequisite check failed. Use FORCE=1 to override."; \
@@ -195,7 +199,7 @@ else
DOWNLOAD_DIRS = package/download
endif
download: .config FORCE $(if $(wildcard $(TOPDIR)/staging_dir/host/bin/flock),,tools/flock/compile)
download: .config FORCE $(if $(wildcard $(STAGING_DIR_HOST)/bin/flock),,tools/flock/compile)
@+$(foreach dir,$(DOWNLOAD_DIRS),$(SUBMAKE) $(dir);)
clean dirclean: .config
@@ -216,7 +220,7 @@ ifeq ($(SDK),1)
%::
@+$(PREP_MK) $(NO_TRACE_MAKE) -r -s prereq
@./scripts/config/conf --defconfig=.config Config.in
@./scripts/config/conf $(KCONF_FLAGS) --defconfig=.config Config.in
@+$(ULIMIT_FIX) $(SUBMAKE) -r $@
else
@@ -225,7 +229,7 @@ else
@+$(PREP_MK) $(NO_TRACE_MAKE) -r -s prereq
@( \
cp .config tmp/.config; \
./scripts/config/conf --defconfig=tmp/.config -w tmp/.config Config.in > /dev/null 2>&1; \
./scripts/config/conf $(KCONF_FLAGS) --defconfig=tmp/.config -w tmp/.config Config.in > /dev/null 2>&1; \
if ./scripts/kconfig.pl '>' .config tmp/.config | grep -q CONFIG; then \
printf "$(_R)WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!$(_N)\n" >&2; \
fi \
@@ -252,14 +256,14 @@ package/symlinks-clean:
./scripts/feeds uninstall -a
help:
cat README
cat README.md
distclean:
rm -rf bin build_dir .config* dl feeds key-build* logs package/feeds package/openwrt-packages staging_dir tmp
rm -rf bin build_dir .ccache .config* dl feeds key-build* logs package/feeds staging_dir tmp
@$(_SINGLE)$(SUBMAKE) -C scripts/config clean
ifeq ($(findstring v,$(DEBUG)),)
.SILENT: symlinkclean clean dirclean distclean config-clean download help tmpinfo-clean .config scripts/config/mconf scripts/config/conf menuconfig staging_dir/host/.prereq-build tmp/.prereq-package prepare-tmpinfo
.SILENT: symlinkclean clean dirclean distclean config-clean download help tmpinfo-clean .config scripts/config/mconf scripts/config/conf menuconfig $(STAGING_DIR_HOST)/.prereq-build tmp/.prereq-package prepare-tmpinfo
endif
.PHONY: help FORCE
.NOTPARALLEL:

View File

@@ -0,0 +1,102 @@
PKG_NAME ?= trusted-firmware-a
PKG_CPE_ID ?= cpe:/a:arm:trusted_firmware-a
ifndef PKG_SOURCE_PROTO
PKG_SOURCE = trusted-firmware-a-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot
endif
PKG_BUILD_DIR = $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
PKG_TARGETS := bin
PKG_FLAGS:=nonshared
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=docs/license.rst
PKG_BUILD_PARALLEL:=1
export GCC_HONOUR_COPTS=s
define Package/trusted-firmware-a/install/default
$(CP) $(patsubst %,$(PKG_BUILD_DIR)/build/$(PLAT)/release/%,$(TFA_IMAGE)) $(1)/
endef
Package/trusted-firmware-a/install = $(Package/trusted-firmware-a/install/default)
define Trusted-Firmware-A/Init
BUILD_TARGET:=
BUILD_SUBTARGET:=
BUILD_DEVICES:=
NAME:=
DEPENDS:=
HIDDEN:=
DEFAULT:=
PLAT:=
VARIANT:=$(1)
TFA_IMAGE:=
endef
TARGET_DEP = TARGET_$(BUILD_TARGET)$(if $(BUILD_SUBTARGET),_$(BUILD_SUBTARGET))
define Build/Trusted-Firmware-A/Target
$(eval $(call Trusted-Firmware-A/Init,$(1)))
$(eval $(call Trusted-Firmware-A/Default,$(1)))
$(eval $(call Trusted-Firmware-A/$(1),$(1)))
define Package/trusted-firmware-a-$(1)
SECTION:=boot
CATEGORY:=Boot Loaders
TITLE:=Trusted-Firmware-A for $(NAME)
VARIANT:=$(VARIANT)
DEPENDS:=@!IN_SDK $(DEPENDS)
HIDDEN:=$(HIDDEN)
ifneq ($(BUILD_TARGET),)
DEPENDS += @$(TARGET_DEP)
ifneq ($(BUILD_DEVICES),)
DEFAULT := y if ($(TARGET_DEP)_Default \
$(patsubst %,|| $(TARGET_DEP)_DEVICE_%,$(BUILD_DEVICES)) \
$(patsubst %,|| $(patsubst TARGET_%,TARGET_DEVICE_%,$(TARGET_DEP))_DEVICE_%,$(BUILD_DEVICES)))
endif
endif
$(if $(DEFAULT),DEFAULT:=$(DEFAULT))
URL:=https://www.trustedfirmware.org/projects/tf-a/
endef
define Package/trusted-firmware-a-$(1)/install
$$(Package/trusted-firmware-a/install)
endef
endef
define Build/Configure/Trusted-Firmware-A
$(INSTALL_DIR) $(STAGING_DIR)/usr/include
endef
DTC=$(wildcard $(LINUX_DIR)/scripts/dtc/dtc)
define Build/Compile/Trusted-Firmware-A
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
CROSS_COMPILE=$(TARGET_CROSS) \
OPENSSL_DIR=$(STAGING_DIR_HOST) \
$(if $(DTC),DTC="$(DTC)") \
PLAT=$(PLAT) \
BUILD_STRING="OpenWrt v$(PKG_VERSION)-$(PKG_RELEASE) ($(VARIANT))" \
$(if $(CONFIG_BINUTILS_VERSION_2_37)$(CONFIG_BINUTILS_VERSION_2_38),,LDFLAGS="-no-warn-rwx-segments") \
$(TFA_MAKE_FLAGS)
endef
define BuildPackage/Trusted-Firmware-A/Defaults
Build/Configure/Default = $$$$(Build/Configure/Trusted-Firmware-A)
Build/Compile/Default = $$$$(Build/Compile/Trusted-Firmware-A)
endef
define BuildPackage/Trusted-Firmware-A
$(eval $(call BuildPackage/Trusted-Firmware-A/Defaults))
$(foreach type,$(if $(DUMP),$(TFA_TARGETS),$(BUILD_VARIANT)), \
$(eval $(call Build/Trusted-Firmware-A/Target,$(type)))
)
$(eval $(call Build/DefaultTargets))
$(foreach type,$(if $(DUMP),$(TFA_TARGETS),$(BUILD_VARIANT)), \
$(call BuildPackage,trusted-firmware-a-$(type))
)
endef

View File

@@ -1,9 +1,12 @@
include $(INCLUDE_DIR)/prereq.mk
PKG_NAME ?= u-boot
ifndef PKG_SOURCE_PROTO
PKG_SOURCE = $(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL = \
https://sources.openwrt.org \
https://mirror.cyberbits.eu/u-boot \
https://ftp.denx.de/pub/u-boot \
ftp://ftp.denx.de/pub/u-boot
endif
@@ -15,7 +18,32 @@ PKG_FLAGS:=nonshared
PKG_LICENSE:=GPL-2.0 GPL-2.0+
PKG_LICENSE_FILES:=Licenses/README
PKG_BUILD_PARALLEL:=1
PKG_BUILD_PARALLEL ?= 1
ifdef UBOOT_USE_BINMAN
$(eval $(call TestHostCommand,python3-pyelftools, \
Please install the Python3 elftools module, \
$(STAGING_DIR_HOST)/bin/python3 -c 'import elftools'))
endif
ifdef UBOOT_USE_INTREE_DTC
$(eval $(call TestHostCommand,python3-dev, \
Please install the python3-dev package, \
python3.11-config --includes 2>&1 | grep 'python3', \
python3.10-config --includes 2>&1 | grep 'python3', \
python3.9-config --includes 2>&1 | grep 'python3', \
python3.8-config --includes 2>&1 | grep 'python3', \
python3.7-config --includes 2>&1 | grep 'python3', \
python3-config --includes 2>&1 | grep -E 'python3\.([7-9]|[0-9][0-9])\.?'))
$(eval $(call TestHostCommand,python3-setuptools, \
Please install the Python3 setuptools module, \
$(STAGING_DIR_HOST)/bin/python3 -c 'import setuptools'))
$(eval $(call TestHostCommand,swig, \
Please install the swig package, \
swig -version))
endif
export GCC_HONOUR_COPTS=s
@@ -41,9 +69,16 @@ endef
TARGET_DEP = TARGET_$(BUILD_TARGET)$(if $(BUILD_SUBTARGET),_$(BUILD_SUBTARGET))
UBOOT_MAKE_FLAGS = \
PATH=$(STAGING_DIR_HOST)/bin:$(PATH) \
HOSTCC="$(HOSTCC)" \
HOSTCFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS) -std=gnu11" \
HOSTLDFLAGS="$(HOST_LDFLAGS)"
HOSTLDFLAGS="$(HOST_LDFLAGS)" \
LOCALVERSION="-OpenWrt-$(REVISION)" \
STAGING_PREFIX="$(STAGING_DIR_HOST)" \
PKG_CONFIG_PATH="$(STAGING_DIR_HOST)/lib/pkgconfig" \
PKG_CONFIG_LIBDIR="$(STAGING_DIR_HOST)/lib/pkgconfig" \
PKG_CONFIG_EXTRAARGS="--static" \
$(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='')
define Build/U-Boot/Target
$(eval $(call U-Boot/Init,$(1)))
@@ -76,9 +111,14 @@ endef
define Build/Configure/U-Boot
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) $(UBOOT_CONFIGURE_VARS) $(UBOOT_CONFIG)_config
$(if $(strip $(UBOOT_CUSTOMIZE_CONFIG)),
$(PKG_BUILD_DIR)/scripts/config --file $(PKG_BUILD_DIR)/.config $(UBOOT_CUSTOMIZE_CONFIG)
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) $(UBOOT_CONFIGURE_VARS) oldconfig)
endef
DTC=$(wildcard $(LINUX_DIR)/scripts/dtc/dtc)
ifndef UBOOT_USE_INTREE_DTC
DTC=$(wildcard $(LINUX_DIR)/scripts/dtc/dtc)
endif
define Build/Compile/U-Boot
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \

View File

@@ -1,24 +1,2 @@
ifndef DUMP
ifdef __package_mk
$(error uclibc++.mk must be included before package.mk)
endif
endif
PKG_PREPARED_DEPENDS += CONFIG_USE_UCLIBCXX CONFIG_USE_LIBCXX
CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBCXX:libcxx +USE_LIBSTDCXX:libstdcpp
ifneq ($(CONFIG_USE_UCLIBCXX),)
ifneq ($(CONFIG_CCACHE),)
TARGET_CXX_NOCACHE=g++-uc
else
TARGET_CXX=g++-uc
endif
endif
ifneq ($(CONFIG_USE_LIBCXX),)
ifneq ($(CONFIG_CCACHE),)
TARGET_CXX_NOCACHE=g++-libcxx
else
TARGET_CXX=g++-libcxx
endif
endif
$(warn uclibc++.mk is deprecated. Please remove it and CXX_DEPENDS)
CXX_DEPENDS = +libstdcpp

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2006-2020 OpenWrt.org
HOST_TAR:=$(TAR)
TAR_CMD=$(HOST_TAR) -C $(1)/.. $(TAR_OPTIONS)
@@ -21,7 +18,7 @@ ifeq ($(strip $(UNPACK_CMD)),)
ifeq ($(filter gz tgz,$(EXT)),$(EXT))
EXT:=$(call ext,$(PKG_SOURCE:.$(EXT)=))
DECOMPRESS_CMD:=gzip -dc $(DL_DIR)/$(PKG_SOURCE) |
DECOMPRESS_CMD:=$(STAGING_DIR_HOST)/bin/libdeflate-gzip -dc $(DL_DIR)/$(PKG_SOURCE) |
endif
ifeq ($(filter bzip2 bz2 bz tbz2 tbz,$(EXT)),$(EXT))
EXT:=$(call ext,$(PKG_SOURCE:.$(EXT)=))
@@ -31,6 +28,10 @@ ifeq ($(strip $(UNPACK_CMD)),)
EXT:=$(call ext,$(PKG_SOURCE:.$(EXT)=))
DECOMPRESS_CMD:=xzcat $(DL_DIR)/$(PKG_SOURCE) |
endif
ifeq (zst,$(EXT))
EXT:=$(call ext,$(PKG_SOURCE:.$(EXT)=))
DECOMPRESS_CMD:=zstdcat $(DL_DIR)/$(PKG_SOURCE) |
endif
ifeq ($(filter tgz tbz tbz2 txz,$(EXT1)),$(EXT1))
EXT:=tar
endif
@@ -39,7 +40,7 @@ ifeq ($(strip $(UNPACK_CMD)),)
UNPACK_CMD=$(DECOMPRESS_CMD) $(TAR_CMD)
endif
ifeq ($(EXT),cpio)
UNPACK_CMD=$(DECOMPRESS_CMD) (cd $(1)/..; cpio -i -d)
UNPACK_CMD=$(DECOMPRESS_CMD) (cd $(1)/..; $(STAGING_DIR_HOST)/bin/cpio -i -d)
endif
ifeq ($(EXT),zip)
UNPACK_CMD=$(UNZIP_CMD)
@@ -55,7 +56,7 @@ ifeq ($(strip $(UNPACK_CMD)),)
endif
# replace zcat with $(ZCAT), because some system don't support it properly
ifeq ($(PKG_CAT),zcat)
UNPACK_CMD=gzip -dc $(DL_DIR)/$(PKG_SOURCE) | $(TAR_CMD)
UNPACK_CMD=$(STAGING_DIR_HOST)/bin/libdeflate-gzip -dc $(DL_DIR)/$(PKG_SOURCE) | $(TAR_CMD)
endif
endif
endif

View File

@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Copyright (C) 2006-2020 OpenWrt.org
ifndef OPENWRT_VERBOSE
OPENWRT_VERBOSE:=
@@ -32,15 +29,15 @@ ifeq ($(IS_TTY),1)
endif
endif
define ERROR_MESSAGE
printf "$(_R)%s$(_N)\n" "$(1)" >&8
endef
ifeq ($(findstring s,$(OPENWRT_VERBOSE)),)
define MESSAGE
printf "$(_Y)%s$(_N)\n" "$(1)" >&8
endef
define ERROR_MESSAGE
printf "$(_R)%s$(_N)\n" "$(1)" >&8
endef
ifeq ($(QUIET),1)
ifneq ($(CURDIR),$(TOPDIR))
_DIR:=$(patsubst $(TOPDIR)/%,%,${CURDIR})
@@ -63,5 +60,4 @@ else
define MESSAGE
printf "%s\n" "$(1)"
endef
ERROR_MESSAGE=$(MESSAGE)
endif

View File

@@ -1,10 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2012-2015 OpenWrt.org
# Copyright (C) 2016 LEDE Project
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Substituted by SDK, do not remove
# REVISION:=x
@@ -32,7 +29,7 @@ VERSION_CODE:=$(call qstrip,$(CONFIG_VERSION_CODE))
VERSION_CODE:=$(if $(VERSION_CODE),$(VERSION_CODE),$(REVISION))
VERSION_REPO:=$(call qstrip,$(CONFIG_VERSION_REPO))
VERSION_REPO:=$(if $(VERSION_REPO),$(VERSION_REPO),http://downloads.openwrt.org/snapshots)
VERSION_REPO:=$(if $(VERSION_REPO),$(VERSION_REPO),https://downloads.openwrt.org/snapshots)
VERSION_DIST:=$(call qstrip,$(CONFIG_VERSION_DIST))
VERSION_DIST:=$(if $(VERSION_DIST),$(VERSION_DIST),OpenWrt)

View File

@@ -11,6 +11,7 @@ include $(INCLUDE_DIR)/feeds.mk
include $(INCLUDE_DIR)/rootfs.mk
-include $(TMP_DIR)/.packagedeps
package-y += kernel/linux
$(curdir)/autoremove:=1
$(curdir)/builddirs:=$(sort $(package-) $(package-y) $(package-m))
$(curdir)/builddirs-default:=. $(sort $(package-y) $(package-m))
@@ -65,8 +66,10 @@ $(curdir)/install: $(TMP_DIR)/.build $(curdir)/merge $(if $(CONFIG_TARGET_PER_DE
- find $(STAGING_DIR_ROOT) -type d | $(XARGS) chmod 0755
rm -rf $(TARGET_DIR) $(TARGET_DIR_ORIG)
mkdir -p $(TARGET_DIR)/tmp
$(call opkg,$(TARGET_DIR)) install \
$(call opkg_package_files,$(foreach pkg,$(shell cat $(PACKAGE_INSTALL_FILES) 2>/dev/null),$(pkg)$(call GetABISuffix,$(pkg))))
$(file >$(TMP_DIR)/opkg_install_list,\
$(call opkg_package_files,\
$(foreach pkg,$(shell cat $(PACKAGE_INSTALL_FILES) 2>/dev/null),$(pkg)$(call GetABISuffix,$(pkg)))))
$(call opkg,$(TARGET_DIR)) install $$(cat $(TMP_DIR)/opkg_install_list)
@for file in $(PACKAGE_INSTALL_FILES); do \
[ -s $$file.flags ] || continue; \
for flag in `cat $$file.flags`; do \
@@ -84,7 +87,7 @@ $(curdir)/index: FORCE
mkdir -p $$d; \
cd $$d || continue; \
$(SCRIPT_DIR)/ipkg-make-index.sh . 2>&1 > Packages.manifest; \
grep -vE '^(Maintainer|LicenseFiles|Source|SourceName|Require)' Packages.manifest > Packages; \
grep -vE '^(Maintainer|LicenseFiles|Source|SourceName|Require|SourceDateEpoch)' Packages.manifest > Packages; \
case "$$(((64 + $$(stat -L -c%s Packages)) % 128))" in 110|111) \
$(call ERROR_MESSAGE,WARNING: Applying padding in $$d/Packages to workaround usign SHA-512 bug!); \
{ echo ""; echo ""; } >> Packages;; \

View File

@@ -1,5 +1,5 @@
#
# Copyright (C) 2007-2016 OpenWrt.org
# Copyright (C) 2007-2021 OpenWrt.org
# Copyright (C) 2010 Vertical Communications
#
# This is free software, licensed under the GNU General Public License v2.
@@ -12,8 +12,8 @@ include $(INCLUDE_DIR)/version.mk
include $(INCLUDE_DIR)/feeds.mk
PKG_NAME:=base-files
PKG_RELEASE:=200
PKG_FLAGS:=nonshared
PKG_RELEASE:=$(COMMITCOUNT)
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
PKG_BUILD_DEPENDS:=usign/host ucert/host
@@ -23,6 +23,8 @@ PKG_LICENSE:=GPL-2.0
PKG_CONFIG_DEPENDS += \
CONFIG_SIGNED_PACKAGES CONFIG_TARGET_INIT_PATH CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE \
CONFIG_NAND_SUPPORT \
CONFIG_LEGACY_SDCARD_SUPPORT \
CONFIG_EMMC_SUPPORT \
CONFIG_CLEAN_IPKG \
CONFIG_PER_FEED_REPO \
$(foreach feed,$(FEEDS_AVAILABLE),CONFIG_FEED_$(feed))
@@ -30,14 +32,14 @@ PKG_CONFIG_DEPENDS += \
include $(INCLUDE_DIR)/package.mk
ifneq ($(DUMP),1)
STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell echo $(CONFIG_TARGET_INIT_PATH) | mkhash md5)
STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell echo $(CONFIG_TARGET_INIT_PATH) | $(MKHASH) md5)
TARGET:=-$(BOARD)
endif
define Package/base-files
SECTION:=base
CATEGORY:=Base system
DEPENDS:=+netifd +libc +procd +jsonfilter +SIGNED_PACKAGES:usign +SIGNED_PACKAGES:openwrt-keyring +NAND_SUPPORT:ubi-utils +fstools +fwtool
DEPENDS:=+netifd +libc +jsonfilter +SIGNED_PACKAGES:usign +SIGNED_PACKAGES:openwrt-keyring +NAND_SUPPORT:ubi-utils +fstools +fwtool
TITLE:=Base filesystem for OpenWrt
URL:=http://openwrt.org/
VERSION:=$(PKG_RELEASE)-$(REVISION)
@@ -63,6 +65,7 @@ define Package/base-files/conffiles
/etc/services
/etc/shadow
/etc/shells
/etc/shinit
/etc/sysctl.conf
/etc/sysupgrade.conf
$(call $(TARGET)/conffiles)
@@ -87,6 +90,19 @@ define ImageConfigOptions
echo 'pi_preinit_net_messages="$(CONFIG_TARGET_PREINIT_SHOW_NETMSG)"' >>$(1)/lib/preinit/00_preinit.conf
echo 'pi_preinit_no_failsafe_netmsg="$(CONFIG_TARGET_PREINIT_SUPPRESS_FAILSAFE_NETMSG)"' >>$(1)/lib/preinit/00_preinit.conf
echo 'pi_preinit_no_failsafe="$(CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE)"' >>$(1)/lib/preinit/00_preinit.conf
ifeq ($(CONFIG_TARGET_DEFAULT_LAN_IP_FROM_PREINIT),y)
mkdir -p $(1)/etc/board.d
echo '. /lib/functions/uci-defaults.sh' >$(1)/etc/board.d/99-lan-ip
echo 'logger -t 99-lan-ip "setting custom default LAN IP"' >>$(1)/etc/board.d/99-lan-ip
echo 'board_config_update' >>$(1)/etc/board.d/99-lan-ip
echo 'json_select network' >>$(1)/etc/board.d/99-lan-ip
echo 'json_select lan' >>$(1)/etc/board.d/99-lan-ip
echo 'json_add_string ipaddr $(if $(CONFIG_TARGET_PREINIT_IP),$(CONFIG_TARGET_PREINIT_IP),"192.168.1.1")' >>$(1)/etc/board.d/99-lan-ip
echo 'json_add_string netmask $(if $(CONFIG_TARGET_PREINIT_NETMASK),$(CONFIG_TARGET_PREINIT_NETMASK),"255.255.255.0")' >>$(1)/etc/board.d/99-lan-ip
echo 'json_select ..' >>$(1)/etc/board.d/99-lan-ip
echo 'json_select ..' >>$(1)/etc/board.d/99-lan-ip
echo 'board_config_flush' >>$(1)/etc/board.d/99-lan-ip
endif
endef
define Build/Prepare
@@ -108,12 +124,14 @@ ifdef CONFIG_SIGNED_PACKAGES
endef
ifndef CONFIG_BUILDBOT
define Package/base-files/install-key
mkdir -p $(1)/etc/opkg/keys
$(CP) $(BUILD_KEY).pub $(1)/etc/opkg/keys/`$(STAGING_DIR_HOST)/bin/usign -F -p $(BUILD_KEY).pub`
endef
endif
endif
ifeq ($(CONFIG_NAND_SUPPORT),)
define Package/base-files/nand-support
@@ -121,10 +139,24 @@ ifeq ($(CONFIG_NAND_SUPPORT),)
endef
endif
ifeq ($(CONFIG_LEGACY_SDCARD_SUPPORT),)
define Package/base-files/legacy-sdcard-support
rm -f $(1)/lib/upgrade/legacy-sdcard.sh
endef
endif
ifeq ($(CONFIG_EMMC_SUPPORT),)
define Package/base-files/emmc-support
rm -f $(1)/lib/upgrade/emmc.sh
endef
endif
define Package/base-files/install
$(CP) ./files/* $(1)/
$(Package/base-files/install-key)
$(Package/base-files/nand-support)
$(Package/base-files/legacy-sdcard-support)
$(Package/base-files/emmc-support)
if [ -d $(GENERIC_PLATFORM_DIR)/base-files/. ]; then \
$(CP) $(GENERIC_PLATFORM_DIR)/base-files/* $(1)/; \
fi
@@ -139,40 +171,45 @@ define Package/base-files/install
$(VERSION_SED_SCRIPT) \
$(1)/etc/banner \
$(1)/etc/device_info \
$(1)/etc/openwrt_release \
$(1)/etc/openwrt_version \
$(1)/usr/lib/os-release
$(VERSION_SED_SCRIPT) \
$(1)/etc/openwrt_release \
$(1)/etc/device_info \
$(1)/usr/lib/os-release
$(SED) "s#%PATH%#$(TARGET_INIT_PATH)#g" \
$(1)/sbin/hotplug-call \
$(1)/etc/preinit \
$(1)/etc/profile
mkdir -p $(1)/CONTROL
mkdir -p $(1)/dev
mkdir -p $(1)/etc/config
mkdir -p $(1)/etc/crontabs
mkdir -p $(1)/etc/rc.d
mkdir -p $(1)/overlay
mkdir -p $(1)/lib/firmware
$(if $(LIB_SUFFIX),-$(LN) lib $(1)/lib$(LIB_SUFFIX))
mkdir -p $(1)/mnt
mkdir -p $(1)/proc
mkdir -p $(1)/tmp
mkdir -p $(1)/usr/lib
$(if $(LIB_SUFFIX),-$(LN) lib $(1)/usr/lib$(LIB_SUFFIX))
mkdir -p $(1)/usr/bin
mkdir -p $(1)/sys
mkdir -p $(1)/www
mkdir -p $(1)/root
mkdir -p \
$(1)/CONTROL \
$(1)/dev \
$(1)/etc/config \
$(1)/etc/crontabs \
$(1)/etc/rc.d \
$(1)/overlay \
$(1)/lib/firmware \
$(1)/mnt \
$(1)/proc \
$(1)/tmp \
$(1)/usr/lib \
$(1)/usr/bin \
$(1)/sys \
$(1)/www \
$(1)/root
$(LN) /proc/mounts $(1)/etc/mtab
$(if $(LIB_SUFFIX),-$(LN) lib $(1)/lib$(LIB_SUFFIX))
$(if $(LIB_SUFFIX),-$(LN) lib $(1)/usr/lib$(LIB_SUFFIX))
ifneq ($(CONFIG_TARGET_ROOTFS_PERSIST_VAR),y)
rm -f $(1)/var
$(LN) tmp $(1)/var
mkdir -p $(1)/etc
else
mkdir -p $(1)/var
$(LN) /tmp/run $(1)/var/run
endif
$(LN) /tmp/resolv.conf /tmp/TZ /tmp/localtime $(1)/etc/
chmod 0600 $(1)/etc/shadow
@@ -189,12 +226,19 @@ define Package/base-files/install
$(if $(CONFIG_INCLUDE_CONFIG), \
echo -e "# Build configuration for board $(BOARD)/$(SUBTARGET)/$(PROFILE)\n" >$(1)/etc/build.config; \
cat $(BIN_DIR)/config.seed >>$(1)/etc/build.config)
cat $(BIN_DIR)/config.buildinfo >>$(1)/etc/build.config; \
cat $(BIN_DIR)/feeds.buildinfo >>$(1)/etc/build.feeds; \
cat $(BIN_DIR)/version.buildinfo >>$(1)/etc/build.version)
$(if $(CONFIG_CLEAN_IPKG),, \
mkdir -p $(1)/etc/opkg; \
$(call FeedSourcesAppend,$(1)/etc/opkg/distfeeds.conf); \
$(VERSION_SED_SCRIPT) $(1)/etc/opkg/distfeeds.conf)
$(if $(CONFIG_IPK_FILES_CHECKSUMS),, \
rm -f $(1)/sbin/pkg_check)
$(if $(CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE), \
rm -f $(1)/etc/banner.failsafe,)
endef
ifneq ($(DUMP),1)

View File

@@ -5,8 +5,8 @@ CFG=$1
[ -n "$CFG" ] || CFG=/etc/board.json
[ -d "/etc/board.d/" -a ! -s "$CFG" ] && {
for a in `ls /etc/board.d/*`; do
[ -x $a ] || continue;
for a in $(ls /etc/board.d/*); do
[ -s $a ] || continue;
$(. $a)
done
}

View File

@@ -7,6 +7,35 @@ CFG=/etc/board.json
[ -s $CFG ] || /bin/board_detect || exit 1
[ -s /etc/config/network -a -s /etc/config/system ] && exit 0
generate_bridge() {
local name=$1
local macaddr=$2
uci -q batch <<-EOF
set network.$name=device
set network.$name.name=$name
set network.$name.type=bridge
EOF
if [ -n "$macaddr" ]; then
uci -q batch <<-EOF
set network.$name.macaddr=$macaddr
EOF
fi
}
bridge_vlan_id=0
generate_bridge_vlan() {
local name=$1_vlan
local device=$2
local ports="$3"
local vlan="$4"
uci -q batch <<-EOF
set network.$name=bridge-vlan
set network.$name.device='$device'
set network.$name.vlan='$vlan'
set network.$name.ports='$ports'
EOF
}
generate_static_network() {
uci -q batch <<-EOF
delete network.loopback
@@ -62,20 +91,38 @@ generate_static_network() {
addr_offset=2
generate_network() {
local ifname macaddr protocol type ipaddr netmask
local ports ifname macaddr protocol type ipaddr netmask vlan
local bridge=$2
json_select network
json_select "$1"
json_get_vars ifname macaddr protocol ipaddr netmask
json_get_values ports ports
json_get_vars ifname macaddr protocol ipaddr netmask vlan
json_select ..
json_select ..
[ -n "$ifname" ] || return
[ -n "$ifname" -o -n "$ports" ] || return
# force bridge for multi-interface devices (and lan)
case "$1:$ifname" in
*\ * | lan:*) type="bridge" ;;
esac
# Force bridge for "lan" as it may have other devices (e.g. wireless)
# bridged
[ "$1" = "lan" -a -z "$ports" ] && {
ports="$ifname"
}
[ -n "$ports" ] && {
type="bridge"
ifname="$ports"
}
[ -n "$bridge" ] && {
if [ -z "$vlan" ]; then
bridge_vlan_id=$((bridge_vlan_id + 1))
vlan=$bridge_vlan_id
fi
generate_bridge_vlan $1 $bridge "$ifname" $vlan
ifname=$bridge.$vlan
type=""
}
uci -q batch <<-EOF
delete network.$1
@@ -85,12 +132,16 @@ generate_network() {
set network.$1.proto='none'
EOF
[ -n "$macaddr" ] && uci -q batch <<-EOF
delete network.$1_dev
set network.$1_dev='device'
set network.$1_dev.name='$ifname'
set network.$1_dev.macaddr='$macaddr'
EOF
if [ -n "$macaddr" ]; then
for name in $ifname; do
uci -q batch <<-EOF
delete network.$1_${name/./_}_dev
set network.$1_${name/./_}_dev='device'
set network.$1_${name/./_}_dev.name='$name'
set network.$1_${name/./_}_dev.macaddr='$macaddr'
EOF
done
fi
case "$protocol" in
static)
@@ -141,6 +192,14 @@ generate_network() {
EOF
}
;;
qmi|\
mbim)
uci -q batch <<-EOF
set network.$1.proto='${protocol}'
set network.$1.pdptype='ipv4'
EOF
;;
esac
}
@@ -213,7 +272,8 @@ generate_switch() {
json_select switch
json_select "$key"
json_get_vars enable reset blinkrate cpu_port
json_get_vars enable reset blinkrate cpu_port \
ar8xxx_mib_type ar8xxx_mib_poll_interval
uci -q batch <<-EOF
add network switch
@@ -221,6 +281,8 @@ generate_switch() {
set network.@switch[-1].reset='$reset'
set network.@switch[-1].enable_vlan='$enable'
set network.@switch[-1].blinkrate='$blinkrate'
set network.@switch[-1].ar8xxx_mib_type='$ar8xxx_mib_type'
set network.@switch[-1].ar8xxx_mib_poll_interval='$ar8xxx_mib_poll_interval'
EOF
generate_switch_vlans_ports "$1"
@@ -229,7 +291,6 @@ generate_switch() {
json_select ..
}
generate_static_system() {
uci -q batch <<-EOF
delete system.@system[0]
@@ -243,11 +304,11 @@ generate_static_system() {
delete system.ntp
set system.ntp='timeserver'
set system.ntp.enabled='1'
set system.ntp.enable_server='0'
add_list system.ntp.server='ntp1.aliyun.com'
add_list system.ntp.server='time1.cloud.tencent.com'
add_list system.ntp.server='time.ustc.edu.cn'
add_list system.ntp.server='pool.ntp.org'
set system.ntp.enable_server='1'
add_list system.ntp.server='time.apple.com'
add_list system.ntp.server='time.google.com'
add_list system.ntp.server='time.windows.com'
add_list system.ntp.server='time.cloudflare.com'
EOF
if json_is_a system object; then
@@ -257,6 +318,13 @@ generate_static_system() {
uci -q set "system.@system[-1].hostname=$hostname"
fi
local compat_version
if json_get_var compat_version compat_version; then
uci -q set "system.@system[-1].compat_version=$compat_version"
else
uci -q set "system.@system[-1].compat_version=1.0"
fi
if json_is_a ntpserver array; then
local keys key
json_get_keys keys ntpserver
@@ -419,12 +487,24 @@ generate_gpioswitch() {
json_init
json_load "$(cat ${CFG})"
umask 077
if [ ! -s /etc/config/network ]; then
bridge_name=""
touch /etc/config/network
generate_static_network
json_get_vars bridge
[ -n "$bridge" ] && {
json_select bridge
json_get_vars name macaddr
generate_bridge "$name" "$macaddr"
json_select ..
bridge_name=$name
}
json_get_keys keys network
for key in $keys; do generate_network $key; done
for key in $keys; do generate_network $key $bridge_name; done
json_get_keys keys switch
for key in $keys; do generate_switch $key; done

View File

@@ -1,8 +1,12 @@
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
%D %V, %C
-----------------------------------------------------
▒█████ ██▓███ ▓█████ ███▄ █░ ██▀███ ▄▄▄█████▓
▒██▒ ██▒▓██░ ██▒▓█ ▀ ██ ▀█ █ ▓█░ █ ░█░▓██ ▒ ██▒▓ ██▒ ▓▒
▒██░ ██▒▓██░ ██▓▒▒███ ▓██ ▀█ ██▒▒█░ █ ░█ ▓██ ░▄█ ▒▒ ▓██░ ▒░
▒██ ██░▒██▄█▓▒ ▒▒▓█ ▄ ▓██▒ ▐▌██▒░█░ █ ░█ ▒██▀▀█▄ ░ ▓██▓ ░
░ ████▓▒░▒██▒ ░ ░░▒████▒▒██░ ▓██░░░██▒██▓ ░██▓ ▒██▒ ▒██▒ ░
░ ▒░▒░▒░ ▒▓▒░ ░ ░░░ ▒░ ░░ ▒░ ▒ ▒ ░ ▓░▒ ▒ ░ ▒▓ ░▒▓░ ▒ ░░
░ ▒ ▒░ ░▒ ░ ░ ░ ░░ ░░ ░ ▒░ ▒ ░ ░ ░▒ ░ ▒░ ░
░ ░ ░ ▒ ░░ ░ ░ ░ ░ ░ ░ ░░ ░ ░
░ ░ ░ ░ ░ ░ ░
-------------------------------------------------------------
%D %V, %C
-------------------------------------------------------------

View File

@@ -1,4 +1,3 @@
#!/bin/sh
#
# Copyright (C) 2013-2015 OpenWrt.org
#

View File

@@ -37,6 +37,8 @@ set_led_state() {
;;
done)
status_led_off
[ "$status_led" != "$running" ] && \
status_led_restore_trigger "boot"
[ -n "$running" ] && {
status_led="$running"
status_led_on

View File

@@ -1,8 +1,8 @@
root:x:0:
daemon:x:1:
adm:x:4:
tty:x:5:
mail:x:8:
dialout:x:20:
audio:x:29:
www-data:x:33:
ftp:x:55:

View File

@@ -2,7 +2,7 @@
# Copyright (C) 2006-2011 OpenWrt.org
START=10
STOP=98
STOP=90
uci_apply_defaults() {
. /lib/functions/system.sh
@@ -20,31 +20,35 @@ uci_apply_defaults() {
boot() {
[ -f /proc/mounts ] || /sbin/mount_root
[ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc
[ -f /proc/net/vlan/config ] && vconfig set_name_type DEV_PLUS_VID_NO_PAD
mkdir -p /var/run
mkdir -p /var/log
mkdir -p /var/lock
chmod 1777 /var/lock
mkdir -p /var/log
mkdir -p /var/run
mkdir -p /var/state
mkdir -p /var/tmp
mkdir -p /tmp/.uci
chmod 0700 /tmp/.uci
touch /var/log/wtmp
touch /var/log/lastlog
touch /tmp/resolv.conf.auto
ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf
mkdir -p /tmp/resolv.conf.d
touch /tmp/resolv.conf.d/resolv.conf.auto
ln -sf /tmp/resolv.conf.d/resolv.conf.auto /tmp/resolv.conf
grep -q debugfs /proc/filesystems && /bin/mount -o noatime -t debugfs debugfs /sys/kernel/debug
grep -q bpf /proc/filesystems && /bin/mount -o nosuid,nodev,noexec,noatime,mode=0700 -t bpf bpffs /sys/fs/bpf
grep -q pstore /proc/filesystems && /bin/mount -o noatime -t pstore pstore /sys/fs/pstore
[ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe
/sbin/kmodloader
[ ! -f /etc/config/wireless ] && {
# compat for brcm47xx and mvebu
# compat for bcm47xx and mvebu
sleep 1
}
/bin/config_generate
uci_apply_defaults
sync
# temporary hack until configd exists
/sbin/reload_config

View File

@@ -4,7 +4,7 @@
START=95
boot() {
mount_root done
rm -f /sysupgrade.tgz
rm -f /sysupgrade.tgz && sync
# process user commands
[ -f /etc/rc.local ] && {

View File

@@ -16,21 +16,39 @@ load_gpio_switch()
config_get name "$1" name
config_get value "$1" value 0
local gpio_path="/sys/class/gpio/gpio${gpio_pin}"
# export GPIO pin for access
[ -d "$gpio_path" ] || {
echo "$gpio_pin" >/sys/class/gpio/export
# we need to wait a bit until the GPIO appears
[ -d "$gpio_path" ] || sleep 1
[ -z "$gpio_pin" ] && {
echo >&2 "Skipping gpio_switch '$name' due to missing gpio_pin"
return 1
}
# direction attribute only exists if the kernel supports changing the
# direction of a GPIO
if [ -e "${gpio_path}/direction" ]; then
# set the pin to output with high or low pin value
{ [ "$value" = "0" ] && echo "low" || echo "high"; } >"$gpio_path/direction"
local gpio_path
if [ -n "$(echo "$gpio_pin" | grep -E "^[0-9]+$")" ]; then
gpio_path="/sys/class/gpio/gpio${gpio_pin}"
# export GPIO pin for access
[ -d "$gpio_path" ] || {
echo "$gpio_pin" >/sys/class/gpio/export
# we need to wait a bit until the GPIO appears
[ -d "$gpio_path" ] || sleep 1
}
# direction attribute only exists if the kernel supports changing the
# direction of a GPIO
if [ -e "${gpio_path}/direction" ]; then
# set the pin to output with high or low pin value
{ [ "$value" = "0" ] && echo "low" || echo "high"; } \
>"$gpio_path/direction"
else
{ [ "$value" = "0" ] && echo "0" || echo "1"; } \
>"$gpio_path/value"
fi
else
{ [ "$value" = "0" ] && echo "0" || echo "1"; } >"$gpio_path/value"
gpio_path="/sys/class/gpio/${gpio_pin}"
[ -d "$gpio_path" ] && {
{ [ "$value" = "0" ] && echo "0" || echo "1"; } \
>"$gpio_path/value"
}
fi
}

View File

@@ -21,7 +21,7 @@ load_led() {
config_get dev $1 dev
config_get ports $1 port
config_get mode $1 mode
config_get_bool default $1 default "nil"
config_get_bool default $1 default "0"
config_get delayon $1 delayon
config_get delayoff $1 delayoff
config_get interval $1 interval "50"
@@ -31,10 +31,11 @@ load_led() {
config_get gpio $1 gpio "0"
config_get inverted $1 inverted "0"
if [ "$trigger" = "rssi" ]; then
# handled by rssileds userspace process
return
fi
# execute application led trigger
[ -f "/usr/libexec/led-trigger/${trigger}" ] && {
. "/usr/libexec/led-trigger/${trigger}"
return 0
}
[ "$trigger" = "usbdev" ] && {
# Backward compatibility: translate to the new trigger

View File

@@ -8,23 +8,33 @@ RTC_DEV=/dev/rtc0
HWCLOCK=/sbin/hwclock
boot() {
start && exit 0
local maxtime="$(maxtime)"
hwclock_load
local maxtime="$(find_max_time)"
local curtime="$(date +%s)"
[ $curtime -lt $maxtime ] && date -s @$maxtime
if [ $curtime -lt $maxtime ]; then
date -s @$maxtime
hwclock_save
fi
}
start() {
[ -e "$RTC_DEV" ] && [ -e "$HWCLOCK" ] && $HWCLOCK -s -u -f $RTC_DEV
hwclock_load
}
stop() {
hwclock_save
}
hwclock_load() {
[ -e "$RTC_DEV" ] && [ -e "$HWCLOCK" ] && $HWCLOCK -s -u -f $RTC_DEV
}
hwclock_save(){
[ -e "$RTC_DEV" ] && [ -e "$HWCLOCK" ] && $HWCLOCK -w -u -f $RTC_DEV && \
logger -t sysfixtime "saved '$(date)' to $RTC_DEV"
}
maxtime() {
find_max_time() {
local file newest
for file in $( find /etc -type f ) ; do

View File

@@ -4,9 +4,8 @@
START=10
USE_PROCD=1
validate_system_section()
{
uci_validate_section system system "${1}" \
validate_system_section() {
uci_load_validate system system "$1" "$2" \
'hostname:string:OpenWrt' \
'conloglevel:uinteger' \
'buffersize:uinteger' \
@@ -15,11 +14,7 @@ validate_system_section()
}
system_config() {
local cfg="$1"
local hostname conloglevel buffersize timezone zonename
validate_system_section "${1}" || {
[ "$2" = 0 ] || {
echo "validation failed"
return 1
}
@@ -27,20 +22,20 @@ system_config() {
echo "$hostname" > /proc/sys/kernel/hostname
[ -z "$conloglevel" -a -z "$buffersize" ] || dmesg ${conloglevel:+-n $conloglevel} ${buffersize:+-s $buffersize}
echo "$timezone" > /tmp/TZ
[ -n "$zonename" ] && [ -f "/usr/share/zoneinfo/$zonename" ] && \
ln -sf "/usr/share/zoneinfo/$zonename" /tmp/localtime && rm -f /tmp/TZ
[ -n "$zonename" ] && [ -f "/usr/share/zoneinfo/${zonename// /_}" ] \
&& ln -sf "/usr/share/zoneinfo/${zonename// /_}" /tmp/localtime \
&& rm -f /tmp/TZ
# apply timezone to kernel
date -k
hwclock -u --systz
}
reload_service() {
config_load system
config_foreach system_config system
config_foreach validate_system_section system system_config
}
service_triggers()
{
service_triggers() {
procd_add_reload_trigger "system"
procd_add_validation validate_system_section
}

View File

@@ -1,7 +1,12 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
STOP=99
STOP=90
restart() {
:
}
stop() {
sync
/bin/umount -a -d -r

View File

@@ -1,10 +1,9 @@
#!/bin/sh
[ -e /tmp/.failsafe ] && export FAILSAFE=1
[ -f /etc/banner ] && cat /etc/banner
[ -n "$FAILSAFE" ] && cat /etc/banner.failsafe
fgrep -sq '/ overlay ro,' /proc/mounts && {
grep -Fsq '/ overlay ro,' /proc/mounts && {
echo 'Your JFFS2-partition seems full and overlayfs is mounted read-only.'
echo 'Please try to remove files from /overlay/upper/... and reboot!'
}
@@ -13,6 +12,7 @@ export PATH="%PATH%"
export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
export HOME=${HOME:-/root}
export PS1='\u@\h:\w\$ '
export ENV=/etc/shinit
case "$TERM" in
xterm*|rxvt*)
@@ -20,16 +20,6 @@ case "$TERM" in
;;
esac
[ -x /bin/more ] || alias more=less
[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
alias ll='ls -alF --color=auto'
[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
[ -x /usr/bin/arp -o -x /sbin/arp ] || arp() { cat /proc/net/arp; }
[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
[ -n "$FAILSAFE" ] || {
for FILE in /etc/profile.d/*.sh; do
[ -e "$FILE" ] && . "$FILE"
@@ -48,12 +38,3 @@ in order to prevent unauthorized SSH logins.
--------------------------------------------------
EOF
fi
service() {
[ -f "/etc/init.d/$1" ] || {
echo "service "'"'"$1"'"'" not found, the following services are available:"
ls "/etc/init.d"
return 1
}
/etc/init.d/$@
}

View File

@@ -0,0 +1,12 @@
#!/bin/sh
[ "${ACTION}" = "released" ] || exit 0
if [ "$SEEN" -ge 5 ]
then
echo "REBOOT" > /dev/console
sync
reboot
fi
return 0

View File

@@ -62,19 +62,24 @@ depends() {
return 0
}
ALL_HELP=""
ALL_COMMANDS="boot shutdown depends"
extra_command() {
local cmd="$1"
local help="$2"
local extra="$(printf "%-16s%s" "${cmd}" "${help}")"
ALL_HELP="${ALL_HELP}\t${extra}\n"
ALL_COMMANDS="${ALL_COMMANDS} ${cmd}"
}
help() {
cat <<EOF
Syntax: $initscript [command]
Available commands:
start Start the service
stop Stop the service
restart Restart the service
reload Reload configuration files (or restart if service does not implement reload)
enable Enable service autostart
disable Disable service autostart
$EXTRA_HELP
EOF
echo -e "$ALL_HELP"
}
# for procd
@@ -95,15 +100,27 @@ service_data() {
}
service_running() {
return 0
local service="${1:-$(basename $initscript)}"
local instance="${2:-*}"
procd_running "$service" "$instance" "$@"
}
${INIT_TRACE:+set -x}
extra_command "start" "Start the service"
extra_command "stop" "Stop the service"
extra_command "restart" "Restart the service"
extra_command "reload" "Reload configuration files (or restart if service does not implement reload)"
extra_command "enable" "Enable service autostart"
extra_command "disable" "Disable service autostart"
extra_command "enabled" "Check if service is started on boot"
. "$initscript"
[ -n "$USE_PROCD" ] && {
EXTRA_COMMANDS="${EXTRA_COMMANDS} running trace"
extra_command "running" "Check if service is running"
extra_command "status" "Service status"
extra_command "trace" "Start with syscall trace"
. $IPKG_INSTROOT/lib/functions/procd.sh
basescript=$(readlink "$initscript")
@@ -131,6 +148,9 @@ ${INIT_TRACE:+set -x}
procd_lock
stop_service "$@"
procd_kill "$(basename ${basescript:-$initscript})" "$1"
if eval "type service_stopped" 2>/dev/null >/dev/null; then
service_stopped
fi
}
reload() {
@@ -145,8 +165,17 @@ ${INIT_TRACE:+set -x}
running() {
service_running "$@"
}
status() {
if eval "type status_service" 2>/dev/null >/dev/null; then
status_service "$@"
else
_procd_status "$(basename ${basescript:-$initscript})" "$1"
fi
}
}
ALL_COMMANDS="start stop reload restart boot shutdown enable disable enabled depends ${EXTRA_COMMANDS}"
ALL_COMMANDS="${ALL_COMMANDS} ${EXTRA_COMMANDS}"
ALL_HELP="${ALL_HELP}${EXTRA_HELP}"
list_contains ALL_COMMANDS "$action" || action=help
$action "$@"

View File

@@ -1,4 +1,4 @@
root::0:0:99999:7:::
root:::0:99999:7:::
daemon:*:0:0:99999:7:::
ftp:*:0:0:99999:7:::
network:*:0:0:99999:7:::

View File

@@ -0,0 +1,33 @@
[ -x /bin/more ] || [ -x /usr/bin/more ] || alias more=less
[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
alias ll='ls -alF --color=auto'
[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
[ -x /usr/bin/arp -o -x /sbin/arp ] || arp() { cat /proc/net/arp; }
[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
service() {
if [ -f "/etc/init.d/$1" ]; then
/etc/init.d/$@
else
echo "Usage: service <service> [command]"
if [ -n "$1" ]; then
echo "Service "'"'"$1"'"'" not found, the following services are available:"
else
echo "The following services are available:"
fi
for F in /etc/init.d/* ; do
printf "%-30s\t%10s\t%10s\n" "$F" \
$( $($F enabled) && echo "enabled" || echo "disabled" ) \
$( [ "$(ubus call service list "{ 'verbose': true, 'name': '$(basename $F)' }" \
| jsonfilter -q -e "@['$(basename $F)'].instances[*].running" | uniq)" = "true" ] \
&& echo "running" || echo "stopped" )
done;
return 1
fi
}
[ -n "$KSH_VERSION" -o \! -s "$HOME/.shinit" ] || . "$HOME/.shinit"
[ -z "$KSH_VERSION" -o \! -s "$HOME/.mkshrc" ] || . "$HOME/.mkshrc"

View File

@@ -1 +1,5 @@
# Defaults are configured in /etc/sysctl.d/* and can be customized in this file
net.bridge.bridge-nf-call-arptables = 0
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0

View File

@@ -8,6 +8,8 @@ fs.suid_dumpable=2
fs.protected_hardlinks=1
fs.protected_symlinks=1
net.core.bpf_jit_enable=1
net.ipv4.conf.default.arp_ignore=1
net.ipv4.conf.all.arp_ignore=1
net.ipv4.ip_forward=1

View File

@@ -1,5 +1,3 @@
#!/bin/sh
ppwd="$(sed -ne '/^root:/s/^root:\([^:]*\):.*$/\1/p' /etc/passwd)"
spwd="$(sed -ne '/^root:/s/^root:\([^:]*\):.*$/\1/p' /etc/shadow)"

View File

@@ -1,5 +1,3 @@
#!/bin/sh
[ "$(uci -q get network.globals.ula_prefix)" != "auto" ] && exit 0
r1=$(dd if=/dev/urandom bs=1 count=1 |hexdump -e '1/1 "%02x"')

View File

@@ -0,0 +1,9 @@
. /lib/functions.sh
for file in $(grep -sl Require-User /usr/lib/opkg/info/*.control); do
file="${file##*/}"
file="${file%.control}"
add_group_and_user "${file}"
done
exit 0

Some files were not shown because too many files have changed in this diff Show More