aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* e2fsprogs: add libe2p and development headersOskari Rauta2024-02-26
| | | | | | | | this patch separates libe2p from e2fsprogs package, like all other provided libraries are their own packages. Also some development headers were missing so I added those along with pkg-config files. Signed-off-by: Oskari Rauta <oskari.rauta@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>
* base-files: export whole disk of fitblk backing partitionDaniel Golle2024-02-26
| | | | | | | | | | | After commit ad62247800 ("base-files: improve lib/upgrade/common.sh") behavior of export_bootdevice has been made consistent in such way that always the whole disk device is exported (as that was the case already when matching via UUID) rather than the partition device. Do the same for the device holding the fitblk backing partition. Fixes: 5992f976b3 ("base-files: recognize bootdevice on devices using fitblk") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* 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>
* uboot-envtools: replace use of platform_get_bootdevDaniel Golle2024-02-26
| | | | | | Use new function fitblk_get_bootdev in /lib/upgrade/common.sh instead. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* base-files: recognize bootdevice on devices using fitblkDaniel Golle2024-02-26
| | | | | | | | | | Boards using the fitblk driver need special treatment when it comes to detecting the actual block device used to store the image used to boot from. Transparently handle this in 'export_bootdevice' and provide new 'fitblk_get_bootdev' function to replace implementations in /lib/upgrade/platform.sh. 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>
* ipq-wifi: update to version 2024-02-25, remove unused ipq8174 extensionPaweł Owoc2024-02-25
| | | | | | | fc30aee ipq8074: remove regdomain, update regdb and rename MX4200 BDF Remove unused ipq8174 extension Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
* 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>
* procd: update to git HEADDaniel Golle2024-02-24
| | | | | | | 2f94972 hotplug-dispatch: don't filter empty env variables 1901aba system: break infite loop resolving rootfs type 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>
* uboot-mediatek: fix truncated patchDaniel Golle2024-02-24
| | | | | | | | | | The default environment for the Linksys E8450 and Belkin RT3200 got truncated by one line due to a broken patch. While the impact was luckily only cosmetic, fix it so bootmenu title also shows U-Boot version again. Fixes: 6aec3c7b5b ("mediatek: mt7622: modernize Linksys E8450 / Belkin RT3200 UBI build") 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>
* Revert "build: don't drop 'user' flag when using the ImageBuilder"Daniel Golle2024-02-23
| | | | | | | | | This reverts commit c42b915af0ea53bc1b65bc72afc9875da08b14d2. Now that rpcd uses the 'Auto-Installed' field to differentiate between deliberately and implicitely installed packages we can remove the hotfix. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* rpcd: update to latest git HEADDaniel Golle2024-02-23
| | | | | | 8ef4c25 sys: use "Auto-Installed" field for packagelist Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* 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>
* mediatek: filogic: asus-rt-ax59u: 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>
* ipq-wifi: fix archive hashRobert Marko2024-02-23
| | | | | | | | | It seems that ipq-wifi bump included and incorrect PKG_MIRROR_HASH value, so fix it by using: make package/firmware/ipq-wifi/check FIXUP=1 Fixes: 70fd815e57dc ("qualcommax: ipq807x: add support for Linksys MX5300") Signed-off-by: Robert Marko <robimarko@gmail.com>
* mac80211: only build ath10k with smallbuffersEneas U de Queiroz2024-02-23
| | | | | | | | | | | | | | | | When both variants of ath10k drivers are selected, any driver that is selected along is being built twice, one for each ath10k variant. Avoid these redundant builds by introducing an optional second parameter to config_package that lists the variants for which the package is to be built. If the symbol is to be set for all of the variants, $(ALL_VARIANTS) can be used. This is the case for the mac80211 and cfg80211 modules. If the parameter is empty, then the module will be selected and thus built when the first variant is compiled. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* mac80211: build each variant in its own dirEneas U de Queiroz2024-02-23
| | | | | | | | | | | | | | | | | | Having different build directories is the default when the package Makefile defines more than one variant. Mac80211 overrides PKG_BUILD_DIR, not taking different variants in consideration, which causes clobbering the directories when both variants are built. When compiled with AUTOREMOVE=y, the effect is that the package is unnecessarily rebuilt when the package is compiled again. Wihout AUTOREMOVE, the problem is worse: the second variant will not be rebuilt, and you end up with the smallbuffers variant being a copy of the regular one. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* qualcommax: ipq807x: add support for Linksys MX5300Paweł Owoc2024-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware specification: ======== SoC: Qualcomm IPQ8072A Flash: 512MB (Winbond W29N04GZBIBA) RAM: 1GB (2x Nanya DDR3L NT5CC256M16ER-EK) Ethernet: 5x 10/100/1000Mbps (Qualcomm QCA8075) WiFi1: 5GHz ac 4x4 (Qualcomm QCA9984 + Skyworks SKY85746-11) - channels 100-169 WiFi2: 5GHz ax 4x4 (Qualcomm QCN5054 + Skyworks SKY85755-11) - channels 36-64 WiFi3: 2.4GHz ax 4x4 (Qualcomm QCN5024 + Skyworks SKY8340-11) IoT: Bluetooth 5, Zigbee and Thread (Qualcomm QCA4024 + Skyworks SE2433T-R) IoT Flash: 4MB (Macronix MX25R3235F) RTC: ST M41T00S LED: 1x RGB status (NXP PCA9633) USB: 1x USB 3.0 Button: WPS, Reset Flash instructions: ======== 1. Manually upgrade firmware using openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin image. More details can be found here: https://www.linksys.com/hk/support-article?articleNum=274497 After first boot check actual partition: - fw_printenv -n boot_part and install firmware on second partition using command in case of 2: - mtd -r -e kernel -n write openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin kernel and in case of 1: - mtd -r -e alt_kernel -n write openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin alt_kernel 2. Installation using serial connection from OEM firmware (default login: root, password: admin): - fw_printenv -n boot_part In case of 2: - flash_erase /dev/mtd21 0 0 nandwrite -p /dev/mtd21 openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin or in case of 1: - flash_erase /dev/mtd23 0 0 nandwrite -p /dev/mtd23 openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin After first boot install firmware on second partition: - mtd -r -e kernel -n write openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin kernel or: - mtd -r -e alt_kernel -n write openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin alt_kernel 3. Installation from initramfs image using USB FAT32 formatted drive: Stop u-boot and run: - usb start && fatload usb 0:1 $loadaddr openwrt-qualcommax-ipq807x-linksys_mx5300-initramfs-uImage.itb && bootm $loadaddr Write firmware to the flash from initramfs: - mtd -e kernel -n write openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin kernel and: - mtd -r -e alt_kernel -n write openwrt-qualcommax-ipq807x-linksys_mx5300-squashfs-factory.bin alt_kernel 4. Back to the OEM firmware: - mtd -e kernel -n write FW_MX5300_1.1.9.200251_prod.img kernel and: - mtd -r -e alt_kernel -n write FW_MX5300_1.1.9.200251_prod.img alt_kernel 5. USB recovery: - fw_setenv usbimage 'openwrt-qualcommax-ipq807x-linksys_mx5300-initramfs-uImage.itb' fw_setenv bootusb 'usb start && fatload usb 0:1 $loadaddr $usbimage && bootm $loadaddr' fw_setenv bootcmd 'run bootusb; aq_load_fw && if test $auto_recovery = no; then bootipq; elif test $boot_part = 1; then run bootpart1; else run bootpart2; fi' Notes: ======== IoT device is accesible over spi. Not yet supported. Signed-off-by: Paweł Owoc <frut3k7@gmail.com> Reviewed-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq807x: add patch for QUP4 SPI nodeRobert Marko2024-02-23
| | | | | | | Add node to support the QUP4 SPI controller inside of IPQ8074. Some devices use this bus to communicate to a Bluetooth controller. Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq807x: reordering, combine the same commandsPaweł Owoc2024-02-23
| | | | | | Reordering, combine the same commands for ipq807x devices Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
* ramips: fix and clean up D-Link MAC addressAlan Luck2024-02-22
| | | | | | | | | | | | | | | | | add back WIFI eprom addresses pointer in mt7621_dlink_dir-xx60-a1.dtsi Change MAC address pointer from factory_e006 to factory_e000 + 3 same as used in D-link firmware 1.11 DIR-1960-A1 DIR-1960-A1,DIR-2640-A1,DIR-2660-A1,DIR-3060-A1 Clean-up MAC addresses in D-Link NOR devices DTS's Change WIFI MAC Addressees to the same as NAND cousins macaddr_factory_e000 + ? as later devices don't have the MAC address in factory configuration same as used in D-Link firmware 1.30 DIR-878-A1 DIR-867-A1,DIR-878-A1,DIR-878-R1,DIR-882-A1,DIR-882-R1,DIR-1935-A1 * D-link software differs between source of wan address Signed-off-by: Alan Luck <luckyhome2008@gmail.com>
* base-files: sysupgrade: rename add_*files() functionsRafał Miłecki2024-02-22
| | | | | | | | | | | | Usage of word "add" was somehow misleading in those functions: 1. They don't really add (as in: append) anything. Result files are created from scratch. 2. It wasn't clear what adding files means. It could be understood as adding actual files somewhere (to existing archive?). Also the word "add" was also a bit ambiguous. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* base-files: sysupgrade: s/do_save_conffiles/create_backup_archive/Rafał Miłecki2024-02-22
| | | | | | | | Rename function to more accurate and self-explanatory name: 1. Use "archive" in name as this functions creates tar archive 2. Avoid "conffiles" as this function may archive more than that Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* base-files: sysupgrade: exit with no error for --helpRafał Miłecki2024-02-22
| | | | | | | Calling "sysupgrade --help" should result in printing help and exiting with 0 code. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* base-files: sysupgrade: group & cleanup global variablesRafał Miłecki2024-02-22
| | | | | | Group & describe them by type, drop unneeded exports. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>