aboutsummaryrefslogtreecommitdiff
path: root/target
Commit message (Collapse)AuthorAge
...
* 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>
* 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>
* 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: 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>
* 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>
* generic: 6.1: fix patch 814 Add Qualcomm secure QFPROM supportAndrey VOLKOV2023-12-09
| | | | | | | | | | | | | The backported patch is broken, since kernel 6.1 has not 'include/linux/firmware' directory yet. Fix the include to the correct path. Fixes: #14115 Fixes: 52c365f055f6 ("kernel: backport v6.6 nvmem changes") Signed-off-by: Andrey VOLKOV <andrey@volkov.fr> [ improve commit description and title ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: remove mac-address-ascii dts supportRosen Penev2023-12-09
| | | | | | | Deprecated and replaced treewide with mac-base. Remove to avoid modern usage. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* kernel: of: remove mac-address-increment support hackRosen Penev2023-12-09
| | | | | | | | The MAC address increment has been replaced by the new "mac-base" NVMEM fixed layout. This old implementation can be removed now. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Signed-off-by: Rosen Penev <rosenp@gmail.com>
* x86: remove unused 5.15 kernel configs and patchesPascal Coudurier2023-12-09
| | | | | | As we move to 6.1 by default, remove unused 5.15 kernel configs and patches Signed-off-by: Pascal Coudurier <coudu@gmx.com>
* x86: move to 6.1 kernel by defaultPascal Coudurier2023-12-09
| | | | | | 6.1 kernel has been in testing for a few month without issues Signed-off-by: Pascal Coudurier <coudu@gmx.com>
* ipq806x: fix leading 0 warningsRosen Penev2023-12-09
| | | | | | dtc warns about leading 0s. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ipq806x: avoid duplicate partition nodesRosen Penev2023-12-09
| | | | | | Avoids dtc warnings by moving it in a subnode. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ipq806x: reset-gpio to reset-gpiosRosen Penev2023-12-09
| | | | | | The former is deprecated. Fixes dtc warning. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ixp4xx: add Generic subtarget definitionChristian Marangi2023-12-09
| | | | | | | | | Add Generic subtarget definition. This is needed to keep consistent name on every other target/subtarget and also to permit correct work of CI workflows that expect a target/subtarget pattern. Fixes: c16b2293fe71 ("ixp4xx: Resurrect IXP4xx support using device tree") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ramips: refresh patchesDaniel Golle2023-12-08
| | | | | | | | Refresh ramips patches which got out of sync due to backported changes of the MediaTek Ethernet driver. Fixes: 6407ef8d2bcb ("kernel: backport upstream mediatek WED changes") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: remove already backported patch, fix buildFelix Fietkau2023-12-08
| | | | | Fixes: 6407ef8d2bcb ("kernel: backport upstream mediatek WED changes") Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: backport upstream mediatek WED changesFelix Fietkau2023-12-08
| | | | | | Reorder and update existing patches Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: add TP-LINK TL-WR902AC v4Kamil Jońca2023-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Seems to be very similar to: https://openwrt.org/toh/tp-link/tl-wr902ac_v3 1 x usb 1 x eth Powered by mini usb port. Installation: Can use TFTP method to install: 1. establish TFTP server at 192.168.0.66 2. provide tp_recover.bin file to the TFTP server 3. turn on router with reset button pressed 4. wait for led blinking, then release reset Specification based on dmesg from already flashed device: SoC Type: MediaTek MT7628AN ver:1 eco:2 CPU0 revision is: 00019655 (MIPS 24KEc) Memory: 56028K/65536K available CPU Clock: 580MHz WiFi: MT7613BE MAC addresses are all the same, except wifi5g which last part is decrement by one, ie.: eth0 40:ed:00:cf:b9:9b br-lan 40:ed:00:cf:b9:9b phy0-ap0 40:ed:00:cf:b9:9b phy1-ap0 40:ed:00:cf:b9:9a Signed-off-by: Kamil Jońca <kjonca@onet.pl>
* ipq806x: Fix nighthawk R7800/XR450/XR500 wan MACHannu Nyman2023-12-06
| | | | | | | | | | Correct the NVMEM mac-base field usage to read the wan MAC correctly from flash. Reference to discussion at https://github.com/openwrt/openwrt/pull/13952#issuecomment-1842749122 Fixes: d264d3a60 ("ipq806x: remove mac-address-increment") Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* mediatek: add SPDX header for Confiabits MT7981 DTSLuis Mita2023-12-06
| | | | | | Fixing ambiguous licensing. Signed-off-by: Luis Mita <luis@luismita.com>
* ramips: add support for Rostelecom RT-FE-1AMikhail Zhilkin2023-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rostelecom RT-FE-1A is a wireless WiFi 5 router manufactured by Sercomm company. Device specification -------------------- SoC Type: MediaTek MT7621AT RAM: 256 MiB Flash: 128 MiB Wireless 2.4 GHz (MT7603EN): b/g/n, 2x2 Wireless 5 GHz (MT7615E): a/n/ac, 4x4 Ethernet: 5x GbE (WAN, LAN1, LAN2, LAN3, LAN4) USB ports: No Button: 2 buttons (Reset & WPS) LEDs: - 1x Power (green, unmanaged) - 1x Status (green, gpio) - 1x 2.4G (green, hardware, mt76-phy0) - 1x 2.4G (blue, gpio) - 1x 5G (green, hardware, mt76-phy1) - 1x 5G (blue, gpio) - 5x Ethernet (green, hardware, 4x LAN & WAN) Power: 12 VDC, 1.5 A Connector type: barrel Bootloader: U-Boot Installation ----------------- 1. Login to the router web interface (default http://192.168.0.1/) under "admin" account 2. Navigate to Settings -> Configuration -> Save to Computer 3. Decode the configuration. For example, using cfgtool.py tool (see related section): cfgtool.py -u configurationBackup.cfg 4. Open configurationBackup.xml and find the following block: <OBJECT name="User." type="object" writable="1" encryption="0" > <OBJECT name="1." type="object" writable="1" encryption="0" > <PARAMETER name="Password" type="string" value="<some value>" writable="1" encryption="1" password="1" /> </OBJECT> 5. Replace <some value> by a new superadmin password and add a line which enabling superadmin login after. For example, the block after the changes: <OBJECT name="User." type="object" writable="1" encryption="0" > <OBJECT name="1." type="object" writable="1" encryption="0" > <PARAMETER name="Password" type="string" value="s0meP@ss" writable="1" encryption="1" password="1" /> <PARAMETER name="Enable" type="boolean" value="1" writable="1" encryption="0"/> </OBJECT> 6. Encode the configuration. For example, using cfgtool.py tool: cfgtool.py -p configurationBackup.xml 7. Upload the changed configuration (configurationBackup_changed.cfg) to the router 8. Login to the router web interface (superadmin:xxxxxxxxxx, where xxxxxxxxxx is a new password from the p.5) 9. Enable SSH access to the router (Settings -> Access control -> SSH) 10. Connect to the router using SSH shell using superadmin account 11. Run in SSH shell: sh 12. Make a mtd backup (optional, see related section) 13. Change bootflag to Sercomm1 and reboot: printf 1 | dd bs=1 seek=7 count=1 of=/dev/mtdblock3 reboot 14. Login to the router web interface under admin account 15. Remove dots from the OpenWrt factory image filename 16. Update firmware via web using OpenWrt factory image Revert to stock --------------- Change bootflag to Sercomm1 in OpenWrt CLI and then reboot: printf 1 | dd bs=1 seek=7 count=1 of=/dev/mtdblock3 mtd backup ---------- 1. Set up a tftp server (e.g. tftpd64 for windows) 2. Connect to a router using SSH shell and run the following commands: cd /tmp for i in 0 1 2 3 4 5 6 7 8 9; do nanddump -f mtd$i /dev/mtd$i; \ tftp -l mtd$i -p 192.168.0.2; md5sum mtd$i >> mtd.md5; rm mtd$i; done tftp -l mtd.md5 -p 192.168.0.2 MAC Addresses ------------- +-----+------------+---------+ | use | address | example | +-----+------------+---------+ | LAN | label | f4:*:66 | | WAN | label + 11 | f4:*:71 | | 2g | label + 2 | f4:*:68 | | 5g | label + 3 | f4:*:69 | +-----+------------+---------+ The label MAC address was found in Factory, 0x21000 cfgtool.py ---------- A tool for decoding and encoding Sercomm configs. Link: https://github.com/r3d5ky/sercomm_cfg_unpacker Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
* tools: add tmon packageFlorian Eckert2023-12-05
| | | | | | | | | | | | | | Add the 'tmon' packages. This is as a tool to help visualize, tune, and test the complex thermal subsystem. We get a compile warning for the tool that the printf format does not fit. This commit contains a patch that fixes this warning. This patch has also been sent upstream to the Linux kernel [1]. Links: [1] https://lore.kernel.org/all/20231204141335.2798194-1-fe@dev.tdt.de/ Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mediatek: filogic: add Acelink EW-7886CAX supportRafał Miłecki2023-12-05
| | | | | | | | | | | | | | | | | Acelink EW-7886CAX is an MT7986A (AKA Filogic 830) based access point. It has 512 MiB of RAM, one 2.5 Gbps PoE (802.3at) Ethernet port and on-SoC Wi-Fi. There is no printed MAC label (on my unit). My unit came with Mediatek's firmware (based on OpenWrt 21.02) installed. It was possible to simply upgrade using OpenWrt's sysupgrade tool. Another verified upgrade method is using U-Boot (requires UART). During every boot there is "U-Boot Boot Menu". Selecting option "2. Upgrade firmware" allows using U-Boot's tftp client to load and flash factory image. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mpc85xx: allow mapping of cpu1 spin-table pageDavid Bauer2023-12-04
| | | | | | | | | | | The no-map property was incorrectly added, which kept the system-memory available on the WS-AP3825 limited to 190MB. We are allowed to map the page containing the CPU1 spin-table, we are just not allowed to write to it. Fixes: 57d7382cb159 ("mpc85xx: increase available RAM on Extreme Networks WS-AP3825i") Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: bump 6.1 to 6.1.65John Audia2023-12-04
| | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.65 All patches automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne, filogic/xiaomi_redmi-router-ax6000-ubootmod Run-tested: x86/64/AMD Cezanne, filogic/xiaomi_redmi-router-ax6000-ubootmod Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: bump 5.15 to 5.15.141John Audia2023-12-04
| | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.141 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>
* mpc85xx: increase available RAM on Extreme Networks WS-AP3825iDavid Bauer2023-12-03
| | | | | | | | | | | | | The system-mamory size was page-aligned prior to this commit, only enabling to use 192MB of system memory of the 256 available. This was due to the system-memory being manually shrinked to reserve the upper 1MB for the second-core bootpage in the loader as well as the OS. Fix this properly in the loader and in Linux using reserved-memory definitions. This enables the device to use 250MB of system memory. Signed-off-by: David Bauer <mail@david-bauer.net>
* mediatek: remove wireless packages for GL-MT2500David Bauer2023-12-03
| | | | | | | This device does not have wireless hardware, thus we don't need to ship neither hostapd nor wireless drivers. Signed-off-by: David Bauer <mail@david-bauer.net>
* mediatek: make GL-MT2500 image work with U-Boot recoveryDavid Bauer2023-12-03
| | | | | | | | | | | | | | | | | | | | | Append metadata in the special GL.iNet format. This also enables use of the web-based U-Boot recovery. U-Boot-Recovery =============== The GL-MT2500 provides web-based U-Boot recovery. For this, hold the reset button pressed for 5 seconds when attaching power to the device. The LED will blink 5 times. Release the reset button. The OpenWrt sysupgrade image can be installed by navigating to http://192.168.1.1 in a web-browser. The device does not work as a DHCP server, so manual IP configuration is required. Signed-off-by: David Bauer <mail@david-bauer.net>
* mediatek: remove kernel build-directives for GL-MT2500David Bauer2023-12-03
| | | | | | | The build-directives for the GL-MT2500 are not required, as the default ones produce working images. Signed-off-by: David Bauer <mail@david-bauer.net>
* mediatek: add missing eMMC packages for GL-MT2500David Bauer2023-12-03
| | | | Signed-off-by: David Bauer <mail@david-bauer.net>
* mpc85xx: fix some dtc warningsRosen Penev2023-12-02
| | | | | | Mostly missing/wrong addresses. Signed-off-by: Rosen Penev <rosenp@gmail.com>