aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* bcm27xx-utils: update to latest versionÁlvaro Fernández Rojas2024-01-18
| | | | | | | | | | Fixes build with GCC 13. Disable LTO to fix build with CONFIG_USE_LTO. Changelog: e65f5ec eeptools: eepdump: init type before calling eepio_atom_start Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm27xx: config: update documentation linksÁlvaro Fernández Rojas2024-01-18
| | | | | | The documentation links have changed and are no longer valid. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm27xx-utils: add new packageÁlvaro Fernández Rojas2024-01-18
| | | | | | | | The raspberypi/userland repository has been deprecated and the RPi tools have been moved to the raspberrypi/utils repository. https://github.com/raspberrypi/userland/commit/96a7334ae9d5fc9db7ac92e59852377df63f1848 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: dts: remove unneeded cferom aliasÁlvaro Fernández Rojas2024-01-18
| | | | | | | This is no longer needed after nvmem-layout changes. Same as 6f328dfe19 for NAND devices. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: bump 5.15 to 5.15.147John Audia2024-01-17
| | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.147 Manually rebased: generic/backport-5.15/005-v5.17-01-Kbuild-use-Wdeclaration-after-statement.patch All other 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>
* kernel: ksmbd: only v2 leases handle the directoryChen Minqiang2024-01-17
| | | | | | | | This backport a fix for ksmbd. Refer: https://github.com/namjaejeon/ksmbd/issues/469 Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* mediatek: refresh patches-6.1Daniel Golle2024-01-17
| | | | | | | | Refresh patches for Linux 6.1 which no longer apply cleanly after adding patches to fix ethernet rx hang issue on MT7981/MT7986. Fixes: ede34465de ("mediatek: fix ethernet rx hang issue on MT7981/MT7986") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ramips: mt7621: convert Linksys devices EEPROM to NVMEM formatShiji Yang2024-01-17
| | | | | | | | | | | | | | -+-----------------------------+- | Model | NIC | -+-----------------------------+- | EA6350 v4 | MT7603 + MT7613 | -+-----------------------------+- | EA7300 v2 | MT7603 + MT7615 | -+-----------------------------+- | Others | MT7615 *2 | -+-----------------------------+- Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ramips: mt7621: convert NETGEAR devices EEPROM to NVMEM formatShiji Yang2024-01-17
| | | | | | | | | | | | -+------------------------------+- | Model | NIC | -+------------------------------+- | chj series | MT7603 + MT7615 | -+------------------------------+- | bzv series | MT7615 *2 | -+------------------------------+- Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ramips: mt7621: convert Wavlink devices EEPROM to NVMEM formatShiji Yang2024-01-17
| | | | | | | | | | | | -+------------------------------+- | Model | NIC | -+------------------------------+- | WL-WN531A6 | MT7603 + MT7615 | -+------------------------------+- | WL-WN533A8 | MT7615 *2 | -+------------------------------+- Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ramips: mt7621: convert Ubiquiti devices EEPROM to NVMEM formatShiji Yang2024-01-17
| | | | | | | | | | -+-------------------------+- | Model | NIC | -+-------------------------+- | All | MT7603 + MT7615 | -+-------------------------+- Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ramips: mt7621: convert I-O DATA devices EEPROM to NVMEM formatShiji Yang2024-01-17
| | | | | | | | | | | | -+-------------------------------------------+- | Model | NIC | -+-------------------------------------------+- | WN-DX1167R/WN-AX1167GR2 | MT7615D | -+-------------------------------------------+- | WN-AX2033GR/WN-DX2033GR | MT7603 + MT7615 | -+-------------------------------------------+- Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ramips: mt7621: convert Xiaomi devices EEPROM to NVMEM formatShiji Yang2024-01-17
| | | | | | | | | | | | | | -+---------------------------+- | Model | NIC | -+---------------------------+- | AC2100 | MT7603 + MT7615 | -+---------------------------+- | MI4A V2 | MT7603 + MT7613 | -+---------------------------+- | Others | MT7603 + MT7612 | -+---------------------------+- Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ramips: mt7621: convert MT7915 EEPROM to NVMEM formatShiji Yang2024-01-17
| | | | | | | | | | | | | Some MT7915 calibration data consists of two parts. The first part "eeprom" size is 0xe00. The second part "precal" size is 0x19c10. Though some devices may not have precal data, it's better to assume that precal data exists as no users/developers confirm it. On the other hand, some devices definitely do not contain precal data because the EEPROM partition size is smaller than the precal NVMEM cell size. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* uqmi: update to git HEADDaniel Golle2024-01-16
| | | | | | | c3488b8 uqmi: cancel all requests on SYNC indication reception dfa612e uqmi: improve response detection Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: fix ethernet rx hang issue on MT7981/MT7986Felix Fietkau2024-01-16
| | | | | | Add patches by Lorenzo/Daniel to use QDMA instead of ADMAv2 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq806x: DTS format fixup for Fortinet FAP-421EChristian Marangi2024-01-16
| | | | | | Small clanup and fixup for DTS format for Fortinet FAP-421E. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* bcm27xx-gpu-fw: update to latest versionÁlvaro Fernández Rojas2024-01-16
| | | | | | | | | raspberrypi/firmware is about 40G, so getting the full history log isn't an option. There have been multiple improvements and also support for the RPi 5 has been added. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm27xx-userland: update to latest versionMarty Jones2024-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | This is the last update for bcm27xx-userland as it has been deprecated but funcional up to raspberry pi 5. 96a7334 README: Update to make it clear that most code in this repo is deprecated 3c97f76 userland: dtoverlay: /boot/firmware is a valid path 153a235 Assorted clang static analysis fixes eca070c bcm_host: Update kms/fkms check for pi5 06a7618 dtoverlay: Support bcm2712 as a platform 0489c07 dtoverlay: Add dtoverlay_first/next_subnode a1c7f81 dtoverlay: Support literal assignments of path strings 44a3953 raspivid: Also flush PTS file if flush is enabled cc1ca18 userland: dtoverlay: Use os_prefix if set 9d5250f libfdt: Add null-ptr check for prop-data to resolve clang --analyzer warning 50527c6 mmal: Only include Videocore components if not running on Videocore df245ea tvservice: Update unsupported message to recommend kmsprint de0cfe8 dtoverlay: Fix clang warnings 0182f05 dtoverlay: Fix various compiler warnings 2a6306b dtoverlay: Fix path rebasing and exports d1e92d7 dtoverlay: Add support for string escape sequences b1ee39e gencmd: Add a fallback to mailbox interface if vchiq is not available 54fd97a hello_pi: Fix some build issues Signed-off-by: Marty Jones <mj8263788@gmail.com>
* layerscape: refresh patches-6.1Daniel Golle2024-01-16
| | | | | | | | | Patches no longer cleanly apply after commit c2c741ccce ("generic: 6.1: initial backport of at803x PHY driver cleanup"). Refresh patches to address that. Fixes: c2c741ccce ("generic: 6.1: initial backport of at803x PHY driver cleanup") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* bmips: drop patches/config for kernel 5.15Álvaro Fernández Rojas2024-01-16
| | | | | | Drop patches/config for kernel 5.15 now that they are not used anymore. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: move to kernel 6.1 by defaultÁlvaro Fernández Rojas2024-01-16
| | | | | | Move bmips to kernel 6.1 by default. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: dts: remove unneeded cfe aliasÁlvaro Fernández Rojas2024-01-16
| | | | | | This is no longer needed after nvmem-layout changes. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: bcm6328: add Innacomm W3400V6Sieng-Piaw Liew2024-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Innacomm W3400V6 is an xDSL B/G wireless router based on Broadcom BCM6328 SoC. SoC: Broadcom BCM6328 CPU: BMIPS4350 V8.0, 320 MHz, 1 core Flash: SPI-NOR 8MB, MX25L6406E RAM: 64 MB Ethernet: 4x 10/100 Mbps Switch: Integrated Wireless: 802.11b/g, BCM4312 LEDs/Buttons: 9x / 2x Flash instruction, web UI: 1. Set a static IP on your computer compatible with 192.168.1.1, i.e 192.168.1.100. 2. Connect the ethernet cable from your computer to the router. 3. Make sure the router is powered off. 4. Press the reset button, don't release it yet! 5. While pressing reset, power on the router. 6. Wait 10 seconds or more. Note: The power LED is red at first then turns to solid green when ready. 7. Release the reset button. 8. Browse to 192.168.1.1 9. Select .bin file. 10. Upgrade the image. 11. Wait for it to reboot. Signed-off-by: Sieng-Piaw Liew <liew.s.piaw@gmail.com> [Fix cfe nvmem-layout and pinctrl_leds indentation] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm27xx: 6.1: turn on cpu erratum for A72 and disable A53Yangyu Chen2024-01-16
| | | | | | | | The original configuration might be copied from bcm2710 which uses cortex A53 rather than A72 in BCM2711, without errata might be harmful to system stability and security. Signed-off-by: Yangyu Chen <cyy@cyyself.name>
* bcm27xx: Remove unneeded kernel patchHauke Mehrtens2024-01-16
| | | | | | | | | This problem was fixed upstream in a different way, see: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.1.y&id=f434703fb893ddffcdbc1eec7646ce321e1190a8 Remove this now obsolete patch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ipq40xx: drop PSGMII PHY patchChristian Marangi2024-01-16
| | | | | | | | Drop PSGMII PHY patch as it has been moved to generic in preparation for the PHY driver to be also used for ipq807x SoC as the same PHY is also used there. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.1: backport FIELD_PREP_CONST patchChristian Marangi2024-01-15
| | | | | | | | | | Backport FIELD_PREP_CONST patch needed for at803x backport patches to correctly compile and work. This MACRO is needed to treat values derived from FIELD_PREP usage as const to be used by switch case or other needed usage. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: Stabilize LAN 2 MAC address, interface orderingBryan Berg2024-01-15
| | | | | | | | | | | | | | | Part 1 of #13629 split. * Sets the LAN 2 MAC address in the DTS by deriving it from LAN 1's address. The factory OS derives this from the `eth1addr` u-boot env variable, but the nvmem_u-boot-env driver doesn't support parsing MAC addresses from fields other than `ethaddr`. But for all of the device samples I've checked (~10) it derives the correct MAC. * Updates 02_network to ensure that interfaces are assigned to roles correctly and consistently. Signed-off-by: Bryan Berg <bdb@north-eastham.org>
* generic: 6.1: initial backport of at803x PHY driver cleanupChristian Marangi2024-01-15
| | | | | | | | | | | Initial backport of at803x PHY driver cleanup. This is in preparation for split and addition of new PHY Family based on at803x needed for ipq807x and other IPQ Series SoC. Other affected patch are automatically refreshed with make target/linux/refresh Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.1: renumber MediaTek SGMII PCS patchChristian Marangi2024-01-15
| | | | | | | Renumber MediaTek SGMII PCS patch to make space for upcoming at803x backport patches. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* base-files: functions.sh: prepend() always adds separatorPhilip Prindeville2024-01-15
| | | | | | | | | | It shouldn't gate on the value, since the value will ostensibly always be set; instead it should depend on the variable being prepended to being non-empty. Fixes #14403 Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* rtl838x: debugfs use constants from mach-rtl83xx.hPeter Körner2024-01-15
| | | | | | | The register constants were duplicated in net/dsa/rtl83xx/debugfs.c and asm mach-rtl838x/mach-rtl83xx.h. This commit removes this duplication. Signed-off-by: Peter Körner <git@mazdermind.de>
* rtl838x: fix RTL838X_LED_SW_CTRL definitionPeter Körner2024-01-15
| | | | | | | | According to https://svanheule.net/realtek/maple/register/led_sw_ctrl and also drivers/net/dsa/rtl83xx/debugfs.c LED_SW_CTRL on the RTL838X should be 0xa00c not 0x0128. Please note, that is is 0x0128 on the RTL8390/cypress SOC family. Signed-off-by: Peter Körner <git@mazdermind.de>
* rtl931x: reformat broken indentationPeter Körner2024-01-15
| | | | | | | the given code-format did not correctly express the condition and made the code harder to read then necessary. Signed-off-by: Peter Körner <git@mazdermind.de>
* gettext-full: use autoreconf host fixupAlexander Egorenkov2024-01-15
| | | | | | | | | | To prevent use of host's library path on Void Linux: /usr/lib/libacl.so: file not recognized: file format not recognized collect2: error: ld returned 1 exit status libtool: error: error: relink 'libgettextlib.la' with the above command before installing it Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
* fstools: update to Git HEAD (2024-01-15)Christian Marangi2024-01-15
| | | | | | 325d63d67006 mount_root: fix compilation error for wrong condition Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* mediatek: GL-MT6000: Change LED colorsThomas Schröder2024-01-15
| | | | | | | | | | | | | | | | | | Fine tuning PR: openwrt/openwrt#14355 Ref: 5a82bb909bf1 ("mediatek: GL-MT6000: Add missing LED state definitions") As the only LED is using white in the stock firmware when the device is running and blue for the bootloader I suggest following changes: - Using blue for the BL and preinit+failsafe - White for normal operation (like the original FW) and sysupgrade With this changes it's clear by looking to the LED in which operation mode the device is and a possible BL stuck can be seen easily. Tested with [GL-MT6000](https://openwrt.org/toh/gl.inet/gl-mt6000). Signed-off-by: Thomas Schröder <tschroeder_github@outlook.com> Tested-by: Hannu Nyman <hannu.nyman@iki.fi>
* ipq807x: prpl-haze: enable LED driver on device treeCheWei Chien2024-01-15
| | | | | | | Enable LED driver LP5562 on HAZE device tree and include its kernel module package on default package for HAZE. Signed-off-by: CheWei Chien <chewei.chien@wnc.com.tw>
* kernel: add kmod-leds-lp5562 and kmod-leds-lp55xx-commonCheWei Chien2024-01-15
| | | | | | | Add kernel module for lp5562 LED driver. The kmod-leds-lp5562 depends on kmod-leds-lp55xx-common. Signed-off-by: CheWei Chien <chewei.chien@wnc.com.tw>
* ipq806x: add support for Fortinet FAP-421EJinGen Lim2024-01-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware -------- SoC: Qualcomm IPQ8064 RAM: 235MB Flash: 128MB NAND (Micron MT29F1G08ABBDAH4) 32MB SPI-NOR (Spansion FL256SAIFRO) WLAN2: Qualcomm Atheros QCA9980 WLAN5: Qualcomm Atheros QCA9980 ETH: LAN1 - Atheros AR8035 LAN2 - Atheros AR8033 USB: USB-A, 2.0 LED: Power (yellow/amber) LAN1 (yellow/amber) LAN2 (yellow/amber) WLAN2G (yellow) WLAN5G (yellow) BTN: Reset Serial: RJ45 Port (9600 8n1) Cisco console cable, TTL voltage MAC Address: LAN1 (label) at APPSBL partition LAN2: label + 1 WLAN2: label + 8 WLAN5: label + 16 Installation ------------ Connect to the RJ45 console (TTL) Connect LAN1 to host, set host ip as 192.168.1.10 Start a tftp server to serve the initramfs image Open console connection (9600n8) Connect power through the DC jack `Hit any key to stop autoboot: 5`: press any key `Enter G,Q,or H:`: press `K` to access the hidden option `Enter password:`: `fap22b1!$` to access a limited u-boot console `(FAP) #`: `tftpboot your_initramfs_image_name.itb` `(FAP) #`: `bootm` Once OpenWrt has booted, install the firmware through sysupgrade Signed-off-by: JinGen Lim <openwrt@sn.sg>
* ipq807x: use devinfo MAC for Linksys MX4200Paweł Owoc2024-01-15
| | | | | | Some devices (MX42CF) have a wrong MAC address configuration. The correct one is located only on the devinfo partition. Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
* ipq807x: fix whitespace usagePaweł Owoc2024-01-15
| | | | | | Replace with tab and remove unused whitespaces Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
* imagebuilder: copy from buildroot only target/linux/generic and ↵a-gave2024-01-15
| | | | | | | | | | | | target/linux/<target> to reduce the size This reduces the size of a single imagebuilder by about 40MB In example for the target ath79 it would be the sum of generic and <target> directories, so about 16MB, instead of the whole size of the target directory, about 53MB: 11M target/linux/generic/ 3.9M target/linux/ath79/ Signed-off-by: a-gave <agave@dracaena.it>
* base-files: add support for rootfs mount options from cmdlineChristian Marangi2024-01-15
| | | | | | | | | | | | | | | | | | | Add support for configuring rootfs mount options from cmdline. Rootfs mount options can be passed by declaring in the kernel cmdline as much options as needed prefixed with "rootfs_mount_options." An example usage is with rootfs with F2FS filesystem to enable compress_algorithm to reduce flash wear by compressing the files before writing to flash. Example usage: "... rootfs_mount_options.compress_algorithm=zstd ..." To pass multiple options: "... rootfs_mount_options.compress_algorithm=zstd rootfs_mount_options.noinline_data ..." Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* fstools: update to Git HEAD (2024-01-15)Christian Marangi2024-01-15
| | | | | | | | | | | 97bacb70138a libfstools: query drivers by priority 41e619ed1352 block: recognize /dev/fit* block devices bc3b8cdd3de3 libfstools: add uImage.FIT fitblk driver 846302d09246 libfstools: partname: raise priority to 25 1a5695925ecf mount_root: add support for passing args to mount_root start 1858a492c300 mount_root: permit to pass mount options for rootfs mount Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* mediatek: TOTOLINK A8000RU: add missing usb3 packageChukun Pan2024-01-14
| | | | | | This device has a usb 3.0 port, so add it. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* mediatek: fixes typo for spi propertiesChukun Pan2024-01-14
| | | | | | Same as commit 3674689, correct 'buswidth' to 'bus-width'. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* mediatek: YunCore AX835: convert to nvmem-layoutChukun Pan2024-01-14
| | | | | | | The nvmem-cells is deprecated. Also simplify mac address settings. Fixes: b4086f4 ("mediatek: add support for YunCore AX835") Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* mediatek: Cudy WR3000: simplify mac address setupChukun Pan2024-01-14
| | | | | | | | The mac address of the network port under the switch is the same as the corresponding gmac by default, so there is no need to repeat the setting. Compile test only. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>