Commit Graph

4248 Commits

Author SHA1 Message Date
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