Commit Graph

48 Commits

Author SHA1 Message Date
coolsnowwolf
f4a3d6163a kernel: b53: fix compilation with kernels 6.12+ 2025-04-11 23:21:37 +08:00
coolsnowwolf
8311a3f316 generic: add more switch port link speed nested attributes 2025-02-17 16:59:22 +08:00
Mieczyslaw Nalewaj
8730dc18a4 kernel: rtl8367: detect rtl8367d chip family
Detect the RTL8367D chip family and set the appropriate extif

Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-14 20:26:16 +08:00
coolsnowwolf
a6b29fbae9 generic: fix linux 6.12 build 2025-01-24 23:00:16 +08:00
Mieczyslaw Nalewaj
339673597b kernel: rtl8367b: store chip in smi->rtl8367b_chip
Store the chip type in smi->rtl8367b_chip, fix #12537

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-10-14 23:10:21 +08:00
Mieczyslaw Nalewaj
09375a2f7b kernel: rtl8367b: remove rlvid analysis
Remove the rlvid analysis because for the rtl8367b family chips supported
by the driver (rtl8367rb and rtl8367r-vb), rlvid is always equal to 1.
So the code for rlvid equal to 0 is completely unnecessary.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-08-30 22:36:21 +08:00
coolsnowwolf
8c14a219b1 kmod-switch-bcm53xx: fixes build on kernel 5.4 2024-07-26 16:36:04 +08:00
coolsnowwolf
ff2689bd48 mediatek: fixes kernel 5.15 build
Fixes: #12356
2024-07-24 21:30:03 +08:00
Chuanhong Guo
44e17fac52 kernel: mtdsplit: fix fit rootfs_data split
fit size should be rounded up instead of rounding down first and adding
a block. Otherwise the calculated size is one block more than needed
when fit size is exactly multiples of one block size.

Fixes: 9a863f803ec1 ("kernel: mtdsplit: add support for FIT image")
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Signed-off-by: Qingfang Deng <qingfang.deng@siflower.com.cn>
2024-07-07 22:22:42 +08:00
coolsnowwolf
ca094bc318 generic: fix compilation warning for ar8xxx swconfig for kernel 5.4/5.10 2024-07-07 22:21:10 +08:00
coolsnowwolf
b3e60d1892 generic: sync kernel 6.1 from upstream 2024-07-02 15:24:05 +08:00
Daniel Golle
b763c5cb75 kernel: move uImage.FIT partition parser to mediatek target
The partition parser approach has been rejected upstream, it will be
replaced by a small block driver which is the solution suggestion by
upstream maintainers.
As the partition parser has only been used by the mediatek target, as
a first step, move it there.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-01 10:39:51 +08:00
Mieczyslaw Nalewaj
05390b546e kernel: support for RTL8367C/S switch
From driver point of view no differance between rtl8367b and rtl8367s
if it connected through EXT2 (rgmii only).
So this trivial patch add some identification and initialization only.
SGMII/HSGMII mode for EXT1 is not implemented for the sake of patch
clairity.

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
2024-02-27 22:00:14 +08:00
Daniel Golle
4115f464ae generic: use only first element in bootconf for uImage.FIT
Now that it is possible to load several device tree overlays by
appending their config names to bootconf the uImage.FIT partition
parser need to discard everything after the first '#' character in
bootconf when looking up the config node to be used.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-10 22:55:04 +08:00
Daniel Golle
9f86d11f16 kernel: update FIT partition parser to new property name
The commit "uboot-mediatek: replace patch with accepted commit" changed
the name of the boot configuration property from 'bootconf' to
'u-boot,bootconf'. Reflect this change in the FIT partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-10 22:52:26 +08:00
Daniel Golle
db27068259 kernel: generic: improve FIT partition parser
* only map filesystems configured in 'loadables'
 * allow mapping more than one filesystem (e.g. customization/branding
   or localization in addition to rootfs)
 * small cleaning here and there

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-08 20:56:37 +08:00
Daniel Golle
b87a11fc43 kernel: generic: use chosen bootconf in FIT partition parser
If the selected boot configuration is stored by U-Boot in '/chosen'
node as 'bootconf' attribute, use that configuration to resolve the
block device used as rootfs. Fall back to use the default configuration
in case 'bootconf' is not present.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-05 23:00:35 +08:00
Daniel Golle
9072333533 generic: deny write to uImage.FIT sub-image partitions
Set policy bit to force read-only mode on uImage.FIT filesystem
sub-images mapped as block partitions by the FIT partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-05 22:58:59 +08:00
Stalker
8d2d9dd648
add missing ssb and bcma (#11343)
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2023-07-03 17:12:47 +08:00
aiamadeus
985fa051b0 kernel: rtl8367b: remove wrong parameter
This is just a workaround to light up the Ethernet port led.
Fixes: 0c40df8 ("ramips: MT7620 add Support HiWiFi R33")
2023-03-12 18:36:12 +08:00
zfdx
977be810c9
generic/5.15: fix swconfig_leds.c build (#10938)
Fixes: ebfa1b9 ("generic: fix swconfig_leds.c in 5.18")
2023-02-28 02:20:55 +00:00
zfdx
0c40df89d3
ramips: MT7620 add Support HiWiFi R33(C312B B52) (#10812) 2023-01-26 19:50:31 +08:00
Daniel Golle
a4a0faa748 generic: 5.15: get uImage.FIT partition parser ready
Prepare uImage.FIT partition parser for Linux 5.15

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-09-19 21:26:27 +08:00
lean
ebfa1b93b7 generic: fix swconfig_leds.c in 5.18 2022-07-21 15:10:56 +08:00
lean
aa0101a649 kernel: bump 5.10 to 5.10.110 2022-04-11 12:47:31 +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
lean
7a50383ab6 add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +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
coolsnowwolf
33abeff31c Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
coolsnowwolf
378ca0f03e x64: add EFI Image boot from emmc SSD support 2020-06-23 23:44:27 +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
AmadeusGhost
7d597c5347
mac80211: switch to upstream owl-loader driver (#4164)
The Owl Loader (named after the codename that Atheros gave
these devices back in the day) has been accepted upstream.

This patch removes the "misc" driver OpenWrt had and adds
the remaining differences against the version that ships
with 5.4-rc1 into a separate "120-owl-loader-compat.patch"
file that can be cut down once AR71XX is being dealt with.

Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-04-04 15:55:52 +08:00
LEAN-ESX
7a5b4777ba generic ar8xxx: increase VLAN table for AR83x7 2019-12-05 08:36:33 -08:00
LEAN-ESX
4e99359819 netfilter: fix NAT packaging with kernels 5.2+ 2019-10-28 19:23:17 -07:00
coolsnowwolf
5f00fa0f8b ar71xx: backport kernel 4.9 support 2019-02-13 21:50:29 +08:00
coolsnowwolf
347daa04b2 Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
coolsnowwolf
d52748954a Revert "sync with upstream patch"
This reverts commit a01e7df608.
2019-01-03 15:20:58 +08:00
coolsnowwolf
a01e7df608 sync with upstream patch 2019-01-02 21:48:12 +08:00
coolsnowwolf
806f5db174 sync with OpenWrt trunk 2018-09-07 13:43:55 +08:00
coolsnowwolf
9ba04fd0d7 sync with OpenWrt v18.06.1 stable new R8.1 version 2018-08-23 17:40:23 +08:00
coolsnowwolf
bce04f5924 switch ar71xx to kernel 4.14 (including K2T 2018-06-13 10:39:07 +08:00
coolsnowwolf
8fe0636b8a Merge branch 'master' of github.com:lede-project/source 2018-04-23 18:50:49 +08:00
coolsnowwolf
229cde62a4 Merge branch 'master' of https://github.com/lede-project/source 2018-01-09 14:38:15 +08:00
coolsnowwolf
a0abc23836 kernel: Add kernel 4.14 support 2017-12-19 13:06:11 +08:00
coolsnowwolf
688513f8fc Revert "sync wireless drivers with LEDE 17.01.4 stable"
This reverts commit 9cf4daca93.
2017-11-04 14:53:16 +08:00
coolsnowwolf
9cf4daca93 sync wireless drivers with LEDE 17.01.4 stable 2017-11-03 13:06:57 +08:00
coolsnowwolf
03efb03919 Merge branch 'master' of https://github.com/lede-project/source 2017-09-12 01:07:20 +08:00
coolsnowwolf
97a4ffcc12 update source 2017-09-06 19:19:45 +08:00