aboutsummaryrefslogtreecommitdiff
path: root/target
Commit message (Collapse)AuthorAge
...
* apm821xx: MBL DUO-only: enable USB-Storage for boot from USB supportChristian Lamparter2024-03-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it is possible to boot and run OpenWrt from an image on an USB-Stick on the MyBook Live DUO. (No, the MyBook Live Single does NOT have an USB-Port and attempts at enabling it sadly all failed... so far). To do that: First, prepare a USB-Stick by writing the raw and uncompressed OpenWRT factory image for the device onto the stick (i.e. # gunzip -c openwrt-*wd_mybooklive*-factory.img.gz > /dev/sd$XX). Then enter the u-boot via an attached TTL/CMOS 3.3V cable adapter and give the following commands a try in the: usb start; sata init ext2load usb 0:1 ${fdt_addr_r} /boot/apollo3g.dtb ext2load usb 0:1 ${kernel_addr_r} /boot/uImage setenv bootargs 'root=/dev/sdc2 rw rootfstype=squashfs,ext4 rootdelay=5' run addtty; bootm ${kernel_addr_r} - ${fdt_addr_r} Notes: - booting from USB-Sticks takes a long time! Be prepared to wait a few minutes. (~3 minutes for 4 MiB /boot/uImage file on a USB 2.0 Stick) - the bootargs part 'root=/dev/sdX2' depends on how many HDDs/SSDs are slotted in. (if none: then use sda, if one: sdb. if two: sdc) - rootdelay is important as the storage on the USB-Sticks do not show up fast enough. 5 seconds might be excessive though. - it's possible to concat these commands together in one line and write it into u-boot's "bootcmd" environment variable and save the environment to make the device to always boot from USB from then on. if you have accidentally overridden the 'bootcmd' and want to return to 'spec' enter the following commands : setenv bootcmd 'run boot_sata_script_ap2nc' saveenv Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: add u-boot,env compatibleChristian Lamparter2024-03-02
| | | | | | | | | | Note about the MyBook Live. The MyBook Live didn't have the encompassing fixed-partitions. This is needed for the u-boot,env compatible to be read as otherwise the kernel assumes this is a legacy NOR/NAND node and this binding is unsupported. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: remove 5.15 remnantsChristian Lamparter2024-03-02
| | | | | | deletes config-5.15 and patches-5.15/. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: make 6.1 kernel defaultChristian Lamparter2024-03-02
| | | | | | 6.1 has been available for some time for testing. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* qualcommax: enable DEBUG_BUGVERBOSERobert Marko2024-03-01
| | | | | | | | | | Enable DEBUG_BUGVERBOSE by default on qualcommax as without it once BUG() is called we will not get any output other than "------------[ cut here ]------------" which is not usefull at all, so since we dont have kernel size constraints lets enable it by default. Signed-off-by: Robert Marko <robimarko@gmail.com>
* layerscape: remove 5.15 kernel supportPawel Dembicki2024-03-01
| | | | | | Kernel was switched to 6.1. Lets drop 5.15 support. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* layerscape: switch kernel to 6.1 versionPawel Dembicki2024-03-01
| | | | | | | It was testing since couple months. Lets switch it to 6.1 by default for wide testing. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* mediatek: mt7622: rtl8367c: add casts to fix compiler warningsDaniel Golle2024-03-01
| | | | | | | | | Use type casts to prevent compiler warnings which are going to turn into errors when we switch to Linux 6.6. In the long run we should try to get rid of this downstream driver now that RTL8367S is support by the rtl8365mb DSA driver. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: rename or replace accepted patchesDaniel Golle2024-03-01
| | | | | | | | | | Rename kernel patches accepted upstream to indicate at which version they have been accepted, replacing downstream variants which what was accepted upstream. Note that some of them are fixes which will find their way to older kernel versions as well via linux-stable. No functional changes. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: fix version tag in thermal patchesDaniel Golle2024-03-01
| | | | | | | | Some backported thermal patches ended up with the wrong kernel version in their filename. Fix this. Fixes: c36de2e73a ("mediatek: backport a hell of thermal commits") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kirkwood: Add Marvell RTC to all machines with nothing elseLinus Walleij2024-02-29
| | | | | | | | | | | | | | | The Kirkwood SoCs all have an onchip RTC that can hold the time over e.g. a reboot which will help if no NTP servers are available. Create a kernel module package for the Marvell RTC, and add it to all Kirkwood devices that do not have their own discrete battery-backed RTC. Adding it to platforms with a proper RTC is just surplus. All Kirkwoods have at least one RTC so add RTC to the features list for Kirkwood as well. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* ath79: nand: add SUPPORTED_DEVICES for Meraki MR18Samuele Longhi2024-02-29
| | | | | | | This adds the board name from ar71xx to support upgrade without -F for the Meraki MR18. Signed-off-by: Samuele Longhi <agave@dracaena.it>
* ramips: fix nvmem-cells for routers based on TP-Link ArcherMieczyslaw Nalewaj2024-02-29
| | | | | | Added missing nvmem-cells located in the loaded file mt7620a_tplink_archer.dtsi Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
* mediatek: filogic: add support for Cudy RE3000 v1Robert Senderek2024-02-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MT7981B /256MB /16MB SPI (XM25QH128C) AX 2.4Ghz AX 5Ghz 160Mhz wide 1Gbit LAN OEM: root@RE3000:~# ifconfig |grep HWaddr br-lan Link encap:Ethernet HWaddr 80:XX:XX:08:XX:X0 (label) br-wan Link encap:Ethernet HWaddr 80:XX:XX:08:XX:X0 eth0 Link encap:Ethernet HWaddr 80:XX:XX:08:XX:X0 ra0 Link encap:Ethernet HWaddr 80:XX:XX:08:XX:X0 ra2 Link encap:Ethernet HWaddr 82:XX:XX:28:XX:X0 rax0 Link encap:Ethernet HWaddr 82:XX:XX:38:XX:X0 rax2 Link encap:Ethernet HWaddr 82:XX:XX:58:XX:X0 OpenWrt root@OpenWrt:/# ifconfig |grep HW br-lan Link encap:Ethernet HWaddr 80:XX:XX:08:XX:X0 eth0 Link encap:Ethernet HWaddr 80:XX:XX:08:XX:X0 phy0-ap0 Link encap:Ethernet HWaddr 80:XX:XX:08:XX:X0 phy1-ap0 Link encap:Ethernet HWaddr 82:XX:XX:08:XX:X1 tftp Installation via u-boot: Connect TTL3.3V converter connector is under the radiator Set speed 115200 8 N 1 Interrupt boot process by holding down-arrow key during boot then >> 6. Load image >> 0 - TFTP client (Default) enter IP adresses and initramfs-kernel.bin write to flash via sysupgrade or gui Signed-off-by: Robert Senderek <robert.senderek@10g.pl>
* d1: add new targetZoltan HERPAI2024-02-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This target adds support for the Allwinner D1 RISC-V based SoCs. - RISC-V single-core T-Head C906 (RV64GCV) - Tensilica HiFi4 DSP - DDR2/DDR3 support - 10/100/1000M ethernet - usual peripherals like USB2, SPI, I2C, PWM, etc. Four boards are supported: - Dongshan Nezha STU - 512Mb RAM - ethernet - LicheePi RV Dock - 512Mb RAM - wireless-only (RTL8723DS) - MangoPi MQ-Pro - 512Mb RAM - there are pads available for an SPI flash - wireless-only (RTL8723DS) - Nezha D1 - 512Mb/1Gb/2Gb RAM - 256Mb NAND flash - ethernet, wireless Installation: Standard SD-card installation via dd-ing the generated image to an SD-card of at least 256Mb. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* mediatek: re-enable mt7622-rfb1-ubi with changed partition layoutFelix Fietkau2024-02-28
| | | | | | | | | The boot loader does not have a fixed size limit for the kernel, so we're free to change the layout. This may break sysupgrade, but a fresh flash from initramfs works. Fixes: 6e2962d4c548 ("mediatek: mt7622: skip build for MT7622 rfb1 (UBI)") Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: add support for Arcadyan VRV9510KWAC23Daniel Huici2024-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Arcadyan VRV9510KWAC23 (trade name Livebox Next) is a Lantiq router distributed by some spanish ISPs Hardware: - SoC: Lantiq VRX200 - CPU: 2x MIPS 34Kc 500 MHz - RAM: 256 MiB DDR2 - Flash: 128 MiB NAND - Ethernet: Built-in Gigabit Ethernet switch, 5x 1GbE - Wifi 2.4GHz: Broadcom BCM43222KFBG 802.11b/g/b MIMO 2T2R - Wifi 5GHz: Broadcom BCM4360KMLG 802.11ac MIMO 3T3R - USB: 2x USB 2.0 - DSL: Built-in VDSL/ADSL2+ XWAY VRX208 - LEDs: 8x - Buttons: 4x - Phone: Lantiq PEF 42068 V XWAY SLIC120 Install instructions: Detailed instructions can be found on the wiki https://openwrt.org/toh/arcadyan/vrv9510kwac23 1. Boot into UART mode and upload the the https://raw.githubusercontent.com/danielhuici/arcadyan-vrv9510kwac23-utils/main/u-boot.asc file via serial console to boot into U-Boot. 2. Perform a backup of the NAND 3. Setup a TFTP server and serve the https://github.com/danielhuici/arcadyan-vrv9510kwac23-utils/raw/main/u-boot.ltq.lzo.nandspl. Replace the OEM bootloader with this one. Erase your NAND and write the image into it 4. Reboot the router 5. Serve the OpenWrt ramdisk image on your TFTP server and boot it via U-Boot 6. When OpenWrt boots, flash the SquashFS OpenWrt image using LuCi interface, so OpenWrt gets installed into the NAND Signed-off-by: Daniel Huici <danielhuici@hotmail.com>
* ramips: removing unnecessary compatibility for TP-Link Archer C2 v1Mieczyslaw Nalewaj2024-02-27
| | | | | | | Removing: compatible = "rtl8367b" This string is not used anywhere in the code. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
* generic l2tp: drop flow hash on forwardDavid Bauer2024-02-26
| | | | | | | | | | | | | Drop the flow-hash of the skb when forwarding to the L2TP netdev. This avoids the L2TP qdisc from using the flow-hash from the outer packet, which is identical for every flow within the tunnel. This does not affect every platform but is specific for the ethernet driver. It depends on the platform including L4 information in the flow-hash. Signed-off-by: David Bauer <mail@david-bauer.net>
* generic vxlan: don't learn non-unicast L2 destinationsDavid Bauer2024-02-26
| | | | | | | | | | | This patch avoids learning non-unicast targets in the vxlan FDB. They are non-unicast and thus should be sent to the broadcast-IPv6 instead of a unicast address Link: https://lore.kernel.org/netdev/15ee0cc7-9252-466b-8ce7-5225d605dde8@david-bauer.net/ Link: https://github.com/freifunk-gluon/gluon/issues/3191 Signed-off-by: David Bauer <mail@david-bauer.net>
* mvebu: add kernel module for Turris Omnia Wi-Fi 6Jan Jasper de Kroon2024-02-26
| | | | | | | | | | | | The following kernel module package was added to the build recipe for the Turris Omnia: kmod-mt7915-firmware This module enables support for the official Wi-Fi 6 upgrade kit sold by CZ.NIC, which includes the AW7915-NP1 miniPCIE board based on Mediatek MT7915AN, providing 5 GHz Wi-Fi 6 connectivity. With this commit we now support the latest Turris Omnia Wi-Fi 6 Edition Signed-off-by: Jan Jasper de Kroon <jajadekroon@gmail.com>
* mvebu: fill additional info for mvneta tx queue workaround patchTomasz Maciej Nowak2024-02-26
| | | | | | | | Because some still unresolved bugs in this driver, which sprout occasional questions what this patch works around, point to the issue which started this. Being here, fill headers required by git am. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
* airoha: dts: fix pcie ranges propertiesLorenzo Bianconi2024-02-26
| | | | | | | Reduce and split pcie controller memory ranges for en7523 SoC in order to properly load a pcie card on the second port. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
* mediatek: filogic: Cudy WR3000 v1 wps button fixRobert Senderek2024-02-26
| | | | | | WPS button activation method is wrong . It should be active low Signed-off-by: Robert Senderek <robert.senderek@10g.pl>
* mediatek: include 'fitblk' package for subtargetsDaniel Golle2024-02-26
| | | | | | | | | | If selected on a per-board base, fitblk doesn't end up in initramfs images which always only come with the subtarget's default packages. Hence fitblk needs to be included as a default package of all subtargets making use of fitblk instead of it being selected for individual boards. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: drop platform_get_bootdevDaniel Golle2024-02-26
| | | | | | | Now that we got fitblk_get_bootdev in /lib/upgrade/common.sh we don't need platform_get_bootdev in each of the subtargets any longer. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: fix compiler warning caused by NVMEM-on-UBIDaniel Golle2024-02-26
| | | | | | | | When building the UBI NVMEM provider on 32-bit platforms a compiler warning is triggered due to different sizeof(int). Fix this by using integer types with well-defined size. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* airoha: allow selecting 6.1 as test kernelRobert Marko2024-02-25
| | | | | | Add 6.1 as the test kernel for airoha. Signed-off-by: Robert Marko <robimarko@gmail.com>
* airoha: 6.1: refresh configRobert Marko2024-02-25
| | | | | | Refresh the 6.1 config. Signed-off-by: Robert Marko <robimarko@gmail.com>
* airoha: make files 5.15 onlyRobert Marko2024-02-25
| | | | | | Contents of the files folder were upstreamed in 6.1 so make it 5.15 only. Signed-off-by: Robert Marko <robimarko@gmail.com>
* airoha: 6.1: make patches applyRobert Marko2024-02-25
| | | | | | Drop upstreamed patches and refresh the left SPI controller patch. Signed-off-by: Robert Marko <robimarko@gmail.com>
* airoha: copy 5.15 files to 6.1Robert Marko2024-02-25
| | | | | | | Start working on updating airoha to 6.1 by copying 5.15 config and patches to 6.1. Signed-off-by: Robert Marko <robimarko@gmail.com>
* rockchip: fix device packages for nanopi r4s enterprise editionTianling Shen2024-02-25
| | | | | | | | In official OpenWrt we use kmod-r8169 driver provided by upstream kernel instead of kmod-r8168 driver from Realtek. Fixes: afca1236f318 ("rockchip: add NanoPi R4S Enterprise Edition build") Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* mediatek: mt7623: bpi-r2: bump compat version on bootDaniel Golle2024-02-25
| | | | | | | | | The device booting successfully indicates that bootloader has been updated. Set compat_version to 1.1 on new configs and bump compat_version to 1.1 on first boot after a successful sysupgrade. Fixes: 6368ed1ae5 ("mediatek: mt7623: phase out uImage.FIT partition parser") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ramips: TP-Link Archer C5 v4: license and file formatting fixesMieczyslaw Nalewaj2024-02-24
| | | | | | | | mt7620a_tplink_archer-c5-v4.dts - added missing SPDX-License-Identifier mt7620.mk: added missing tabulator Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
* ipq40xx: Netgear LBR20 fix for proper img buildsMarcin Gajda2024-02-24
| | | | | | | | | Without UBINIZE_OPTS it is possile to have error: "ubi0 error: ubi_attach_mtd_dev: failed to atach mtd23, error -22" This solve this problem. Signed-off-by: Marcin Gajda <mgajda@o2.pl>
* kernel: bump 6.1 to 6.1.79John Audia2024-02-24
| | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.79 Manually rebased: ath79/patches-6.1/900-unaligned_access_hacks.patch All other patches automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3, flogic/xiaomi_redmi-router-ax6000-ubootmod Run-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3, flogic/xiaomi_redmi-router-ax6000-ubootmod Signed-off-by: John Audia <therealgraysky@proton.me>
* ramips: add support for TP-Link Archer C5 v4Mieczyslaw Nalewaj2024-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TP-Link Archer C5 v4 is a dual band router with 5 GbE ports Advertised as AC1200 for its 867Mbps (2x2) 5GHz band and 300 Mbps (2x2) 2.4GHz band. Specs: - SoC: MediaTek MT7620A - Ethernet: 5x GbE ports (Realtek RTL8367S) - Wireless 2.4GHz: MediaTek MT7620A - Wireless 5GHz: MediaTek MT7612E - RAM: 64MiB - ROM: 8MiB (GD25Q64CSIG) - 1 USB 2.0 port - 2 Buttons (WPS and reset) - 8 LEDs Flash instructions: Currently one has to install OpenWrt only via the serial console 1. Rename the factory.bin to to test.bin 2. start a TFTP server from IP address 192.168.0.225 and serve the image named test.bin 3. connect your device to the LAN port 4. power up the router and press 4 on the console to stop the boot process. 5. enter the following commands on the router console tftp 0x80060000 test.bin erase tplink 0x20000 0x7a0000 cp.b 0x80060000 0x20000 0x7a0000 reset Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn> [Update leds, add fast-read] Signed-off-by: Gaspare Bruno <gaspare@anlix.io> [Rebuilt version based on mt7620 tplink_archer.dtsi, support for external LNA, remove bad cell count info] Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
* ramips: fix TP-Link Archer MAC address for ethernetMieczyslaw Nalewaj2024-02-24
| | | | | | | This fixes: [ 0.981884] OF: /ethernet@10100000: #nvmem-cell-cells = 1 found 0 Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
* kernel: support for RTL8367C/S switchMieczyslaw Nalewaj2024-02-24
| | | | | | | | | | | | | | | | | | | 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> [Fix code format] Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn> [add flags to separate chip_num/chip_id detection; drop error print in rtl8367b_init_regs, drop unnecessary info prints, code style fixes] Signed-off-by: Chuanhong Guo <gch981213@gmail.com> [rebase; use MII macros] Signed-off-by: Gaspare Bruno <gaspare@anlix.io> [code optimization] Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
* kernel: rtl8366_smi: explicitly set phy addr for switchMieczyslaw Nalewaj2024-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | By default rtl8366_smi use phy addr 0 at mii-bus to access switch registers. This patch allow to set it explicitly in dts-file: rtl8367 { compatible = "realtek,rtl8367b"; phy-id = <29>; /* switch address at mii-bus */ realtek,extif2 = <1 0 1 1 1 1 1 1 2>; mii-bus = <&mdio>; cpu-port = <7>; } Use default 0 address if not set. Backward compatibility tested on tplink archer c2 v1 (rtl8367rb switch) Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru> [code style fixes, add explicit phy_id assignment in probe_plat, use phy-id instead of phy_id for of property name] Signed-off-by: Chuanhong Guo <gch981213@gmail.com> [rebase] Signed-off-by: Gaspare Bruno <gaspare@anlix.io> [added phy_id to struct rtl8366_smi] Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
* mediatek: mt7623: bpi-r2: set root=/dev/fit0 in bootargsDaniel Golle2024-02-24
| | | | | | | | | Set root=/dev/fit0 cmdline parameter as the kernel won't mount rootfs otherwise after the change from the FIT partition parser to the fitblk driver which replaces it. Fixes: 6368ed1ae5 ("mediatek: mt7623: phase out uImage.FIT partition parser") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: fix warning when building fitblk on 32-bit platformsDaniel Golle2024-02-24
| | | | | | | | | Kernel warns about comparision of different types without cast when building the fitblk driver on 32-bit platforms. Fix this by using `min_t(size_t, ...`. Fixes: 8fc5457869 ("kernel: add pending fitblk uImage.FIT sub-image block driver") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: mt7623: phase out uImage.FIT partition parserDaniel Golle2024-02-24
| | | | | | | | Use the new fitblk driver on the BananaPi R2 as well as UniElec U7623. Introduce boot device selection for fitblk's /chosen/rootdisk handle, similar to how it is already done on MT7622, MT7986 and MT7988. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ipq40xx: Add support Netgear LBR20Marcin Gajda2024-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **Netgear LBR20** is a router with two gigabit ethernets , three wifi radios and integrated LTE cat.18 modem. SoC Type: Qualcomm IPQ4019 RAM: 512 MiB Flash: 256 MiB , SLC NAND, 2 Gbit (Macronix MX30LF2G18AC) Bootloader: U-Boot Modem: LTE CAT.18 Quectel EG-18EA , Max. 1.2Gbps downlink / 150Mbps uplink WiFi class AC2200: - radio0 : 5G on QCA9888 , WiFi5- 802.11a/n/ac MU-MIMO 2x2 , 887Mbps , 80MHz - limited for low channels - radio1: 2,4G on IPQ4019 ,WiFi4- 802.11b/g/n MIMO2x2 300Mbps 40Mhz - radio2: 5G on IPQ4019 , WiFi5- 802.11a/n/ac MU-MIMO 2x2 , 887Mbps ,80Mhz - limited for high channels (from 100 up to 165) . Becouse of DFS remember to set country before turning on. Ethernet: 2x1GbE (WAN/LAN1, LAN2) LEDs: section power : green and red , section on top (orbi) drived by TLC59208F: red, green ,blue and white USB ports: No Buttons: 2 Reset and SYNC(WPS) Power: 12 VDC, 2,5 A Connector type: Barrel OpenWRT Installation 1. Simplest way is just do upgrade from webpage with *factory.img 2. You can also do it with standard tool for Netgear's debricking - NMPRFlash 3. Most advanced way is to open device , connect to UART console and : - Prepare OpenWrt initramfs image in TFTP server root (server IP 192.168.1.10) - Connect serial console (115200,8n1) to UART connector - Connect TFTP server to RJ-45 port - Stop in u-Boot and run u-Boot command: > setenv serverip 192.168.1.10 > set fdt_high 0x85000000 > tftpboot 0x83000000 openwrt-ipq40xx-generic-netgear_lbr20-initramfs-zImage.itb > bootm 0x83000000 - Login via ssh - upload or download *sysupgrade.bin ( like wget ... or scp transfer) - Install image via "sysupgrade -n" (like “sysupgrade -n /tmp/openwrt-ipq40xx-generic-netgear_lbr20-squashfs-sysupgrade.bin”) Back to Stock - Download firmware from official Netgear's webpage , it will be *.img file after decompressing. - Use NMRPFlash tool ( detailed insructions on project page https://github.com/jclehner/nmrpflash ) Open the case - Unscrew nuts and remove washers from antenna's conectors. - There are two Torx T10 screws under the label next to antenna conectors. You have to unglue this label from left and right corner to get it - Two parts of shell covers will slide out from eachother , you have to unglue two small rubber pads and namplate sticker on bottom to do that. - PCB is screwed with 4Pcs of Torx T10 screws - Before lifting up PCB remove pigtiles for LTE antennas and release them from PCB and radiator (black and white wires) - On other side of PCB ,in left bottom corner there is already soldered with 4 pins UART connector for console. Counting from left it is +3,3V , TX , RX ,GND (reffer to this picture: https://i.ibb.co/Pmrf9KB/20240116-103524.jpg ) BDF's files are in firmware_qca-wireless https://github.com/openwrt/firmware_qca-wireless/ and in parallel sent to ath10k@lists.infradead.org. Signed-off-by: Marcin Gajda <mgajda@o2.pl>
* ipq806x: refresh KconfigChristian Marangi2024-02-23
| | | | | | | Refresh Kconfig due to new changes in ARM decompressor with kernel_makemenuconfig. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: replace ARM bootloader patch with pending upstream versionChristian Marangi2024-02-23
| | | | | | | | | | | Replace ARM bootloader patch with pending upstream version. The patch got reviewed upstream and tested on a Netgear R7800. This fix a problem with the ARM decompressor and permits to use AUTO_ZRELADDR without having to hardcode PHYS_OFFSET as the bootloader now correctly parse the memory modes in the appended DTB. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* mediatek: mt7622: no longer select FIT_PARTITIONDaniel Golle2024-02-23
| | | | | | | | | | | | | All mt7622 board previously using the FIT partition parser have been converted to use the fitblk driver: 6aec3c7b5b mediatek: mt7622: modernize Linksys E8450 / Belkin RT3200 UBI build 41c053141e mediatek: mt7622: convert unifi6lr-v{1,2,3}-ubootmod to fitblk 208f6c1232 mediatek: mt7622: convert BPi-R64 to all-UBI layout and fitblk Remove the now no longer needed FIT partition parser from builds for mt7622. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: asus-tuf-ax6000: use NVMEM-on-UBIDaniel Golle2024-02-23
| | | | | | | Use newly added support for NVMEM-on-UBI instead of extracting MAC address and WiFi EEPROM data in userspace. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: asus-tuf-ax4200: use NVMEM-on-UBIDaniel Golle2024-02-23
| | | | | | | Use newly added support for NVMEM-on-UBI instead of extracting MAC address and WiFi EEPROM data in userspace. Signed-off-by: Daniel Golle <daniel@makrotopia.org>