aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* kernel: backport list_count_nodes()Rafał Miłecki2023-12-15
| | | | | | | It's needed by various stuff we backport. That includes NVMEM changes queued for v6.8. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ipq807x: add support for ZTE MF269Chukun Pan2023-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware specifications: SoC: Qualcomm IPQ8071A RAM: 512MB of DDR3 Flash1: Eon EN25S64 8MB Flash2: MX30UF2G18AC 256MB Ethernet: 2x 2.5G RJ45 port Phone: 1x RJ11 port (SPI) USB: 1x Type-C 2.0 port WiFi1: QCN5024 2.4GHz WiFi2: QCN5054 5GHz Button: Reset, WPS Flash instructions: 1. Connect the router via serial port (115200 8N1 1.8V) 2. Download the initramfs image, rename it to initramfs.bin, and host it with the tftp server. 3. Interrupt U-Boot and run these commands: tftpboot initramfs.bin bootm 4. After openwrt boots up, use scp or luci web to upload sysupgrade.bin to upgrade. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Reviewed-by: Robert Marko <robimarko@gmail.com>
* realtek: Clean up and standardize realtek-poe supportRaylynn Knight2023-12-13
| | | | | | | | | | | | | | | | This patch cleans up and standardizes realtek-poe support for realtek based switches that have supported PoE ports. The power output of switches supported by realtek-poe package can be configured in the 02_network ucidef_set_poe() function. This was missed when some PoE capable switches supported by realtek-poe were added. The realtek-poe package at one point replaced a lua-rs232 based script and some devices were not updated to use the realtek-poe package. Consistently add realtek-poe package to DEVICE_PACKAGES for switches with supported PoE. Signed-off-by: Raylynn Knight <rayknight@me.com>
* ipq807x: fix edgecore EAP102 lan/wanDirk Buchwalder2023-12-13
| | | | | | | | | | | | | | | We have a report in the forum, that lan/wan is non-functional on the EAP102 (https://forum.openwrt.org/t/edgecore-eap102/178449) Fixing that by swapping label and phy-handle of the dp-nodes and updating the lan/wan bmp. Note: the original commiter of the device support seems absent for a long time in the forum and on the OpenWrt github group. Tested-by: Antonio Della Selva <antonio.dellaselva@uniurb.it> Signed-off-by: Dirk Buchwalder <buchwalder@posteo.de> Reviewed-by: Robert Marko <robimarko@gmail.com>
* ipq807x: add Arcadyan AW1000 supportChukun Pan2023-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | Hardware specification: SoC: Qualcomm IPQ8072A Flash: Toshiba NAND 1GiB RAM: 1 GiB of DDR3 466 MHz Ethernet: 4x 1Gbps + 1x 2.5Gbps WiFi1: QCN5024 2.4GHz ax 4x4 WiFi2: QCN5054 5GHz ax 4x4 Button: WiFi, WPS, Reset Modem: RG500Q-EA USB: 1 x USB 3.0 Power: DC 12V 4A Flash instructions: 1. Download the initramfs image, rename it to initramfs.bin, and host it with tftp server. 2. Interrupt U-Boot and run these commands: tftpboot initramfs.bin bootm 3. After openwrt boots up, use scp or luci web to upload sysupgrade.bin to upgrade. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Reviewed-by: Robert Marko <robimarko@gmail.com>
* qualcommax: cleanup whitespace and sort-orderChukun Pan2023-12-13
| | | | | | | Replace blanks with tabs, also sort base-files alphabetically. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Reviewed-by: Robert Marko <robimarko@gmail.com>
* kernel: add support for Toshiba TH58NYG3S0HBAI4Chukun Pan2023-12-13
| | | | | | | | | | | | | | | | | | | | | | Correct oob size from 128 to 256 for Toshiba TH58NYG3S0HBAI4 flash. Since it is not ONFI compliant NAND, the model name cannot be read from anywhere, add a static NAND ID entry to correct this. However, the NAND ID of this flash is inconsistent with the datasheet. The actual NAND ID is only 4 ID bytes, the last ID byte is missing.[1] Maybe this flash is counterfeit, or maybe it's another problem. Another Toshiba flash had the same problem before. Refer to commit a83dc6b ("kernel: move Toshiba-TC58NVG0S3H patch to ipq40xx"), put the patch into qualcommax target to avoid affecting other devices. The patch is verified on Arcadyan AW1000. [1] Datasheet available at (the ID table is on page 50): https://europe.kioxia.com/content/dam/kioxia/newidr/productinfo/datasheet/201910/DST_TH58NYG3S0HBAI4-TDE_EN_31565.pdf Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Reviewed-by: Robert Marko <robimarko@gmail.com>
* package: kernel: detach of-mdio dependency from stmmac-coreChristian Marangi2023-12-13
| | | | | | | | | | | | | Detach of-mdio dependency from stmmac-core kmod to fix support for x86_64 target. This target doesn't use OpenFirmware infrastructure and stmmac-core for the dwmac-intel driver doesn't depends on it. Add kmod-of-mdio to any other user of stmmac-core as it's not inherit from stmmac-core anymore. Fixes: #14209 Fixes: 4b4c940fbc8f ("x86: Add kmod-dwmac-intel") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* package: kernel: move pcs-xpcs from armsr to genericChristian Marangi2023-12-13
| | | | | | | | | | Move pcs-xpcs kmod from armsr modules.mk to generic modules package. Also add additional dependency to x86_64 as stmmac-core it's now used by x86_64 target and depends on this package. Fixes: 4b4c940fbc8f ("x86: Add kmod-dwmac-intel") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* uboot-envtools: bump PKG_RELEASERafał Miłecki2023-12-13
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* uboot-envtools: fix reading NVMEM device's compatible valueRafał Miłecki2023-12-13
| | | | | Fixes: fea4ffdef28f ("uboot-envtools: update to 2023.04") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* base-files: ipcalc.sh: Add tests for unroutable, etcPhilip Prindeville2023-12-12
| | | | | | See RFC-1918, RFC-3927, and RFC-1122. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* base-files: ipcalc.sh: Add netmask2prefix functionPhilip Prindeville2023-12-12
| | | | | | Also add is_contiguous to check if it's a valid netmask. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* base-files: ipcalc.sh: Add prefix-to-netmask conversionPhilip Prindeville2023-12-12
| | | | | | | Seems like it might be used in other places, so factor it into the library. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* base-files: ipcalc.sh: Add some commentary, etc.Philip Prindeville2023-12-12
| | | | | | | | Explain some of the more obscure logic, or where we deviate from what the original awk code did. Also, give a count of the usable addresses on the subnet. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* base-files: ipcalc.sh: Add support for decimal outputPhilip Prindeville2023-12-12
| | | | | | | | This is useful if you later need to perform numeric range-checking on addresses, i.e. to see if an address falls inside a CIDR range, etc. and what interface it corresponds to. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* base-files: ipcalc.sh: Rewrite in pure shellPhilip Prindeville2023-12-12
| | | | | | Also add better error checking on input. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* rockchip: fix eth1 irq affinityFurong Xu2023-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NanoPi R2S and some other RK3328 boards use RTL8152 as eth1, which is connected to xhci-hcd:usb1 but not xhci-hcd:usb3 |:~# cat /proc/interrupts | CPU0 CPU1 CPU2 CPU3 | 11: 53449 171813 129595 87823 GICv2 30 Level arch_timer | 18: 0 0 0 0 GICv2 94 Level rockchip_usb2phy | 19: 0 0 0 0 GICv2 32 Level ff1f0000.dma-controller | 20: 0 0 0 0 GICv2 33 Level ff1f0000.dma-controller | 21: 4 0 0 0 GICv2 89 Level ttyS2 | 22: 0 0 0 0 GICv2 43 Level ff350800.iommu | 23: 0 0 0 0 GICv2 106 Level ff360480.iommu | 24: 0 1417932 0 0 GICv2 56 Level eth0 | 25: 334 0 0 4422194 GICv2 99 Level xhci-hcd:usb1 | 26: 0 0 0 0 GICv2 48 Level ehci_hcd:usb3 | 27: 0 0 0 0 GICv2 49 Level ohci_hcd:usb2 | 28: 3285 0 0 0 GICv2 69 Level ff160000.i2c | 29: 0 0 0 0 rockchip_gpio_irq 24 Level rk805 | 30: 0 0 0 0 rk805 0 Edge rk805_pwrkey_fall | 35: 0 0 0 0 rk805 5 Edge RTC alarm | 37: 0 0 0 0 rk805 7 Edge rk805_pwrkey_rise | 38: 0 0 0 0 GICv2 90 Level rockchip_thermal | 39: 0 0 0 0 GICv2 72 Edge ff1a0000.watchdog | 40: 2601 0 0 0 GICv2 44 Level dw-mci | 41: 0 0 0 0 rockchip_gpio_irq 0 Edge keys |IPI0: 1559 1208 893 1131 Rescheduling interrupts |[...] Fix 40-net-smp-affinity to match the correct device irq name. Signed-off-by: Furong Xu <xfr@outlook.com>
* ath79: make boot-leds service executableEric J. Anderson2023-12-12
| | | | | | | | | This service was unfunctional due to not having its executable bit set. Fixes #13500. Signed-off-by: Eric J. Anderson <eric.j.ason256@gmail.com>
* imx: enable CONFIG_CPU_FREQ_THERMALLech Perczak2023-12-12
| | | | | | | Without that, imx_thermal fails to initialize on deferred probe, because it fails to register cpufreq cooling device. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
* imx: imx7d-pico-pi: add CPU supply nodes to device treeLech Perczak2023-12-12
| | | | | | | Attach sw1a as "cpu-supply" to both CPUs in order to cpufreq driver to prove successfully. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
* imx: enable CONFIG_REGULATOR_PFUZE100 globallyLech Perczak2023-12-12
| | | | | | | PFUZE100 series of PMICs are used on boards supported by both subtargets. Enable this for whole i.MX target. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
* tools: add ledumon and ledhwbmon packagesFlorian Eckert2023-12-12
| | | | | | | | | | | | ledumon: This program creates a new userspace LED class device and monitors it. For this it es using the kmod-leds-uled.ko kernel module. ledhwbmon: This program monitors LED brightness level changes having its origin in hardware/firmware, i.e. outside of kernel control. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* kirkwood: add 6.1 kernel as testingPawel Dembicki2023-12-12
| | | | | | It allow to test 6.1 kernel in Kirkwood. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kirkwood: 6.1: refresh kernel configPawel Dembicki2023-12-12
| | | | | | Done by 'make kernel_oldconfig'. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kirkwood: kernel: refresh 6.1 patchesPawel Dembicki2023-12-12
| | | | | | Kernel patches copied from 5.15 need to be refreshed. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kirkwood: copy config 5.15 to 6.1Pawel Dembicki2023-12-12
| | | | | | Config was just copied. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kirkwood: copy patches 5.15 to 6.1Pawel Dembicki2023-12-12
| | | | | | | | | | | Simple copy 5.15 patches. Upstreamed patch dropped: 001-5.18-Add-Ctera-C-200-V1-board.patch Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> (kirkwoor -> kirkwood in subject) Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* kirkwood: fix Ctera C200 V1 ubi part namePawel Dembicki2023-12-12
| | | | | | | | | | | In 749237967a12 downstream dts was replaced with upstream accepted patch. But in upstream version last partition was called "rootfs" instead "ubi". OpenWrt require "ubi" label for ubi rootfs. This patch restore proper label. Fixes: 749237967a12 ("kirkwood: Replace dtses with upstream accepted") Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* octeon: upgrade to 6.1 kernelChristian Svensson2023-12-12
| | | | | | | | The kernel patches apply with only minor changes. The only other notable change is that octeon-usb has moved from staging and had its config macro renamed from CONFIG_OCTEON_USB to CONFIG_USB_OCTEON_HCD. Signed-off-by: Christian Svensson <blue@cmd.nu>
* ethtool: update to 6.6Nick Hainke2023-12-12
| | | | | | | Release Notes: https://lore.kernel.org/netdev/20231123220625.q427zyjaogdmlf6d@lion.mk-sys.cz/T/ Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel: bump 6.1 to 6.1.67John Audia2023-12-12
| | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.67 NO patches affected. Build system: x86/64 Build-tested: x86/64/AMD Cezanne Run-tested: x86/64/AMD Cezanne Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: bump 6.1 to 6.1.66John Audia2023-12-12
| | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.66 All patches automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne Run-tested: x86/64/AMD Cezanne Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: backport upstream nvmem fix for "fixed-layout"Rafał Miłecki2023-12-12
| | | | | | It replaces a pretty much identical downstream patch. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ipq806x: drop useless uci-defaults compat version scriptChristian Marangi2023-12-12
| | | | | | | | | | | | | | Drop useless uci-defaults compat version script as it's not needed anymore and should have been dropped on DSA conversion. The script was needed for Linksys EA7500 and EA8500 for the kernel space migration. We now handle compat version setting in board.d scripts. Having this script with actually the wrong value (2.0) cause upgrade problem and conflicts with board.d script. Fixes: 337e36e0ef98 ("ipq806x: convert each device to DSA implementation") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* netifd: update to Git HEAD (2023-12-12)Christian Marangi2023-12-12
| | | | | | | 8f2806a37fe1 system-linux: set master early on apply settings e3fc2b0026a5 system-linux: skip refreshing MAC on master change if custom MAC Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* tools/cmake: update to 3.28.0Nick Hainke2023-12-12
| | | | | | | | | | | Release Notes: - https://www.kitware.com/cmake-3-28-0-available-for-download/ Refresh patches: - 120-curl-fix-libressl-linking.patch - 130-bootstrap_parallel_make_flag.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* mediatek: bananapi-r3: add overlay for ReSpeaker 2-mic hatDaniel Golle2023-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add DT overlay to allow using the ReSpeaker 2-mic hat connected to the 26-pin header of the BananaPi BPi-R3. Supported sample formats: S16_LE, S24_LE, S32_LE Supported sample rates: 8/12/16/24/32/48/96/192 kHz | BPi-R3 | ReSpeaker 2-mic Signal | 26-pin | 40-pin ----------+----------+------------------- VCC 5V | 2 | 2 I2C SDA | 3 | 3 I2C SCL | 5 | 5 GND | 6 | 6 PCM CLK | 12 | 12 PCM FS | 15 | 35 PCM DIN | 26 | 38 GND | 25 | 39 PCM DOUT | 22 | 40 Once connected, install the driver and tell U-Boot to apply the DT overlay: opkg kmod-sound-soc-mt7986-wm8960 fw_setenv bootconf_base "config-mt7986a-bananapi-bpi-r3#mt7986a-bananapi-bpi-r3-respeaker-2mics" reboot To setup the ReSpeaker for Stereo out on the Headphone plug: amixer sset 'Right Output Mixer PCM' on amixer sset 'Left Output Mixer PCM' on amixer sset 'PCM Playback -6dB' off amixer sset 'O018 I150_Switch' on amixer sset 'O019 I151_Switch' on amixer sset 'O124 I032_Switch' on amixer sset 'O125 I033_Switch' on amixer sset 'Headphone' 121 amixer sset 'Playback' 255 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: modules: package MT7986 audio driversDaniel Golle2023-12-11
| | | | | | | Packages the audio drivers for the MediaTek MT7986 SoC used with Wolfson WM8960 codec. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: modules: break-out WM8960 codec moduleDaniel Golle2023-12-11
| | | | | | | Package codec module for WM8960 in its own package to be used by more than one target. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: backport MT7986 audio driverMaso Huang2023-12-11
| | | | | | | | Pick commits adding drivers for audio engine found in MT7986 from Linux 6.6 as well as follow-up fixes from Linux 6.7. Signed-off-by: Maso Huang <maso.huang@mediatek.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: bump 5.15 to 5.15.142John Audia2023-12-11
| | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.142 All patches automatically rebased. Build system: x86_64 Build-tested: ramips/tplink_archer-a6-v3 Run-tested: ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me>
* iproute2: update to 6.6.0Nick Hainke2023-12-11
| | | | | | | | | | | | Release Notes: https://lore.kernel.org/netdev/20231106090325.07092c87@hermes.local/T/ Automatically refreshed: - 115-add-config-xtlibdir.patch - 175-reduce-dynamic-syms.patch - 195-build_variant_ip_tc.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* strace: update to 6.6Nick Hainke2023-12-11
| | | | | | | Release Notes: https://github.com/strace/strace/releases/tag/v6.6 Signed-off-by: Nick Hainke <vincent@systemli.org>
* util-linux: update to v2.39.3Nick Hainke2023-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: 2da5c904e build-sys: release++ (v2.39.3) 03c939edd docs: update v2.39.3-ReleaseNotes dafb120ef docs: update AUTHORS file bfc9691ce po-man: merge changes d2232b609 po: merge changes 4ab356c1c po: add ro.po (from translationproject.org) 7e147d16c po: update es.po (from translationproject.org) e8cb61f07 lsfd: fix memory leak in append_filter_expr() 192d8aaa0 lsfd: avoid undefined behavior 756588f8c lsfd: (man) fix the form for the optional argument of --inet option 8d78c1306 Add Phytium FTC310 & FTC664 support b75322cdb Add Phytium FTC862 cpu model. fix:#2486 ec1b0eb36 libmount: accept '\' as escape for options separator 2e5f5c8d8 tests: add ts_skip_docker 0b3254cac Merge branch 'stable-2.39/bcachefs-fixes' of https://github.com/t-8ch/util-linux into PR/stable-v2.39.3 649843934 tests: skip broken tests on docker fa9b53658 libblkid: (bcachefs) add support for sub-device labels 3c5d991b0 libblkid: (bcachefs) adapt to major.minor version ece194082 libuuid: avoid truncate clocks.txt to improve performance 84a62c1a5 libuuid/src/gen_uuid.c: fix cs_min declaration 93239aa78 libmount: fix possible NULL dereference [coverity scan] a6def815e meson: install wall executable with group 'tty' c6c1c69c3 meson: install write executable with group 'tty' bf2cd1d5a libmount: improve mnt_table_next_child_fs() c14f5bf37 docs: add SPDX to boilerplate.c fdd9f11f5 disk-utils: add SPDX and Copyright notices e7dbe9c78 include/audit-arch: add missing SPDX 5ec7b14a7 setterm: avoid restoring flags from uninitialized memory 64d2300e6 Fix man page for col to correct documentation error 7cc2c9625 Update col.c to fix option mistake 122d7e7af umount: handle bindmounts during --recursive da18b31ff lscpu: fix caches separator for --parse=<list> 3a5c9c1dd Use empty libuser config file. 7058d793d libblkid: exfat: fix fail to find volume label d065ff00a blkpr: store return value of getopt_long in int 9ca6f1712 lib/path: Set errno in case of fgets failure e2f0aa5c2 autotools: fix AC_DEFINE_UNQUOTED() use cefd05c47 autotools: fix librtas check f27fbafb2 lib/path: fix typos f8ab70477 lib/path: set errno in case of error 5ec30a362 lib/path: fix possible out of boundary access edc723cd3 libblkid: reset errno before calling probefuncs 8de89778b setpriv: fix group argument completion 41599054c libfdisk: reset errno before calling read() cce4e4405 blkid: fix call to err_exclusive_options b718f985c docs: use HTTPS for GitHub clone URLs 2bddfa692 libblkid: (probe) handle probe without chain gracefully 3d3121678 lib/idcache: always gracefully handle null cache 368521e45 script-playutils: close filestream in case ignore_line() fails 087b0d238 libblkid: (vxfs) report endianness 7e5056f33 libblkid: (ntfs) validate that sector_size is a power of two f368ccc75 libsmartcols: handle nameless tables in export format f5cace8da ldattach: don't call exit() from signal handler 03c12a34c lslogins: fix realloc() loop allocation size 83ba179b1 lib/env: avoid underflow of read_all_alloc() return value 813851fba libblkid: avoid memory leak of cachefile path 4459623cd libmount: gracefully handle NULL path in mnt_resolve_target() dbde7a537 more: avoid out-of-bound access c26badd5d libfdisk: handle allocation failure in fdisk_new_partition 5c250aa64 login: Use pid_t for child_pid be3f1712e login: move comment 98be90b5b build-sys: fix libmount/src/hooks.c use a711af02d lscpu: Use 4K buffer size instead of BUFSIZ 45c6136cb autotools: fix typos aa98c4ecc libmount: make.stx_mnt_id use more robust c697c2bb6 libmount: report statx in features list 13711f3ab libmount: fix statx() includes e9ed5a2b8 libblkid: (vfat) avoid modifying shared buffer d2cadf099 libblkid: (jmicron_raid) use checksum APIs c54c99efd libblkid: (jmicron_raid) avoid modifying shared buffer 64418c52b libblkid: (zonefs) avoid modifying shared buffer b66da7ce4 losetup: fix JSON MAJ:MIN 44d7bf2c8 lslogins: (man) fix -y option formatting 7d6c71e51 include: add DragonFlyBSD GPT partition types 6b9fda87c libblkid: (bcachefs) fix size validation acbf17ae8 libblkid: (bcachefs) fix compiler warning [-Werror=sign-compare] 1ec71634a libblkid: (bcachefs) fix not detecting large superblocks 68564ebb5 libmount: Fix regression when mounting with atime Signed-off-by: Nick Hainke <vincent@systemli.org>
* mt76: update to Git HEAD (2023-12-11)Felix Fietkau2023-12-11
| | | | | | f63f87cd5b45 wifi: mt76: mt7996: fix shift overflow warning on 32 bit systems Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lua5.3: fix typo calling lua53 instead of lua5.3 for Package DefaultChristian Marangi2023-12-10
| | | | | | | | | | Fix typo calling lua53 instead of lua5.3 for Package Default definition. This cause only missing description of the package and doesn't cause any build regression. Fixes: c52ca08d4008 ("lua5.3: build shared library") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* mediatek: add support for Adtran SmartRG Bonanza Peak seriesDaniel Golle2023-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Bonanza Peak series are a couple of MT7986-powered 2.5 GBit/s Wi-Fi 6 residential gateway, access point and mesh router products. All of them come with an eMMC to boot from, are powered via USB-C and got a USB 3.0 type-A port. All of them got a Dialog (Renesas) DA14531 Bluetooth module connected via UART. If the device was previously running stock firmware, the BT chip's internal flash has been loaded with firmware and it can be attached using hciattach when using OpenWrt. SOC: MediaTek MT7986A RAM: 2 GiB DDR4 eMMC: 8 GiB Bluetooth: BLE5 (DA14531) Serial: 3.3V level, 115200 8n1 on 4-pin connector * SDG-8612 - Dual-band RJ-45 gateway 2x 2.5G MaxLinear PHY for WAN port 3x 1GE LAN ports via MT7531 switch * SDG-8614 - Dual-band SFP gateway 1x SFP cage with up to 2.5G speed 1x 2.5G MaxLinear PHY for LAN port 3x 1GE LAN ports via MT7531 switch * SDG-8622 - Tri-band mesh router 2x 2.5G MaxLinear PHY The MT7986 2G and 5G are used as 2G and 5G high band. There’s a MT7915 PCIe card for 5G low band. * SDG-8632 - Tri-band mesh router with 6 GHz 2x 2.5G MaxLinear PHY The MT7986 serves the 2G and 6G bands. There’s a MT7915 PCIe card for 5G. Installation via U-Boot serial console: 0. setup TFTP server with IP 192.168.1.10/24, place initramfs image renamed to openwrt.XXX where XXX is the internal product number: SDG-8612: XXX = 412 SDG-8614: XXX = 414 SDG-8622: XXX = 422 SDG-8632: XXX = 432 1. connect to the serial console and power on the device. Interrupt the bootloader by pressing 'st' 2. setenv boot_mode openwrt ; saveenv 3. run boot1 Load firmware via TFTP and write to flash 4. run boot2 Now OpenWrt initramfs should boot 5. upload sysupgrade.bin via scp to /tmp 6. sysupgrade Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: import driver for Adtran SmartRG RGBW LEDDaniel Golle2023-12-10
| | | | | | | Import driver for I2C-connected HolTek MCU controlling the RGBW LED found in Adtran SmartRG devices. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: hack: support inverted LEDs on MaxLinear GPY211 PHYDaniel Golle2023-12-10
| | | | | | | | Add downstream DT property to setup the PHY LEDs of the MaxLinear GPY211 PHY in such way that the VDD of the LED is driven by the SoC pin rather than the GND (which is the default). Signed-off-by: Daniel Golle <daniel@makrotopia.org>