aboutsummaryrefslogtreecommitdiff
path: root/target
Commit message (Collapse)AuthorAge
* mediatek: filogic: add Netcore N60 supportChukun Pan2024-03-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware specification: SoC: MediaTek MT7986A 4x A53 Flash: ESMT F50L1G41LB 128MB RAM: W632GU6NB DDR3 256MB Ethernet: 1x 2.5G + 4x 1G WiFi1: MT7975N 2.4GHz 4T4R WiFi2: MT7975PN 5GHz 4T4R Button: Reset, WPS Power: DC 12V 2A Flash instructions: 1. Connect to the router using ssh or telnet, username: useradmin, password is the web login password of the router. 2. Use scp to upload bl31-uboot.fip and flash: "mtd write xxx-preloader.bin spi0.0" "mtd write xxx-bl31-uboot.fip FIP" "mtd erase ubi" 3. Connect to the router via the Lan port, set a static ip of your PC. (ip 192.168.1.254, gateway 192.168.1.1) 4. Download initramfs image, reboot router, waiting for tftp recovery to complete. 5. After openwrt boots up, perform sysupgrade. Note: 1. Back up all mtd partitions before flashing. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* ramips: mt7620a_tplink_archer-c5-v4: use LED_FUNCTION_WLAN_2GHZ and ↵Mieczyslaw Nalewaj2024-03-29
| | | | | | | | LED_FUNCTION_WLAN_5GHZ Use LED_FUNCTION_WLAN_2GHZ and LED_FUNCTION_WLAN_5GHZ instead function-enumerator Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
* imagebuilder: add check if target is sourced from feedFlorian Eckert2024-03-29
| | | | | | | | The image generation would fail, if the target is included from a feed. To fix this, check if targets is found in the feed directory. Signed-off-by: Florian Eckert <fe@dev.tdt.de> Tested-by: Thomas Richard <thomas.richard@bootlin.com>
* imagebuilder: check if BOARD is located in the feeds sub directoryFlorian Eckert2024-03-29
| | | | | | | | | Fixes the regression so that targets that were installed via a feed can also be build again with the Image Builder. Fixes: 84ec8c4 ("imagebuilder: copy from buildroot only target/linux") Signed-off-by: Florian Eckert <fe@dev.tdt.de> Tested-by: Thomas Richard <thomas.richard@bootlin.com>
* rockchip: remove redundant 'console' parameter from boot scriptTianling Shen2024-03-29
| | | | | | | | ttyS2 is the default console used for all rockchip boards. The redundant 'console=tty1' parameter now breaks the console due to recent procd update. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: remove 'swiotlb' parameter from boot scriptTianling Shen2024-03-29
| | | | | | | | | | | | | | We have hardware IOMMU support and this is totally unnecessary. The given value is also unreasonable, it's too small and causes kernel panic in some cases: [ 5706.856473] sdhci-dwcmshc fe310000.mmc: swiotlb buffer is full (sz: 28672 bytes), total 512 (slots), used 498 (slots) [ 5706.864451] sdhci-dwcmshc fe310000.mmc: swiotlb buffer is full (sz: 65536 bytes), total 512 (slots), used 464 (slots) This parameter seems to be added by mistake, so remove it. Fixes: e35c7ab51fd1 ("rockchip: merge bootscript") Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* qualcommax: default to kernel 6.6Robert Marko2024-03-29
| | | | | | | 6.6 has been in testing on qualcommax for a while so it should be in a good shape, but lets default to it to get a wider audience. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: bump 5.15 to 5.15.152Hauke Mehrtens2024-03-29
| | | | | | | | Removed because it is upstream: generic/backport-5.15/081-v5.17-regmap-allow-to-define-reg_update_bits-for-no-bus.patch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.15.y&id=fbddd48f1456db32b675fad95a902de38345902a Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump 5.15 to 5.15.151Hauke Mehrtens2024-03-29
| | | | | | No manual changes needed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* archs38: remove 5.15 supportRobert Marko2024-03-29
| | | | | | Since 6.1 is now default, drop 5.15 support. Signed-off-by: Robert Marko <robimarko@gmail.com>
* archs38: default to kernel 6.1Robert Marko2024-03-29
| | | | | | Default to kernel 6.1 on archs38. Signed-off-by: Robert Marko <robimarko@gmail.com>
* generic: 6.6: add kernel missing symbolMieczyslaw Nalewaj2024-03-29
| | | | | | Add missing symbol CONFIG_SSIF_IPMI_BMC causing bcm53xx compilation errors. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
* bcm47xx: refresh kernel 6.1 configRafał Miłecki2024-03-29
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm47xx: add testing support for kernel 6.1Rafał Miłecki2024-03-29
| | | | | | | Tested on Luxul XWR-1750 (BCM4706). Working: switch (LAN, WAN), LEDs, sysupgrade. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm4908: refresh kernel 6.6 configRafał Miłecki2024-03-28
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm4008: prepare to work on kernel 6.6Rafał Miłecki2024-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't add KERNEL_TESTING_PATCHVER yet as there are some issues with it. On TP-Link Archer C2300 serial console seems to stop working after preinit: > Press the [f] key and hit [enter] to enter failsafe mode > Press the [1], [2], [3] or [4] key and hit [enter] to select the de� On Netgear R8000P XHCI causes external abort: [ 2.139586] Internal error: synchronous external abort: 0000000096000210 [#1] SMP [ 2.147212] Modules linked in: xhci_plat_hcd(+) xhci_hcd ohci_platform ohci_hcd fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd gpio_button_hotplug(O) usbcore nls_base usb_common crc32c_generic [ 2.164774] CPU: 0 PID: 358 Comm: kmodloader Tainted: G O 6.6.22 #0 [ 2.172658] Hardware name: Netgear R8000P (DT) [ 2.177229] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2.184395] pc : xhci_gen_setup+0x80/0x34c [xhci_hcd] [ 2.189591] lr : xhci_gen_setup+0x74/0x34c [xhci_hcd] [ 2.194788] sp : ffffffc0815d37b0 [ 2.198194] x29: ffffffc0815d37b0 x28: ffffff8002000000 x27: ffffff8001172d88 [ 2.205540] x26: ffffff8002000000 x25: 0000000000000000 x24: ffffffc078b603c0 [ 2.212888] x23: ffffffc078b2a008 x22: ffffff8001172c10 x21: ffffff8002000000 [ 2.220235] x20: ffffff8002000000 x19: ffffff8002000250 x18: 0000000000000000 [ 2.227582] x17: 626d756e20737562 x16: 2064656e67697373 x15: ffffffffffffffff [ 2.234929] x14: ffffff80019e9915 x13: ffffff80019e9913 x12: 00000000ffffffea [ 2.242276] x11: 00000000ffffefff x10: 0000000000000062 x9 : 00000000ffffffd0 [ 2.246760] bcm63138_nand ff801800.nand-controller: timeout waiting for command 0x4 [ 2.249623] x8 : 0000000000000073 x7 : ffffffc0815d37c0 x6 : 0000000000000075 [ 2.257513] bcm63138_nand ff801800.nand-controller: intfc status c00000e0 [ 2.264855] x5 : 0000000000000081 x4 : 0000000000000000 x3 : ffffff8001b61800 [ 2.279193] x2 : ffffffc080b5d000 x1 : ffffff80020003a8 x0 : ffffff8002000398 [ 2.286540] Call trace: [ 2.289048] xhci_gen_setup+0x80/0x34c [xhci_hcd] Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm4908: switch to the kernel 6.1Rafał Miłecki2024-03-28
| | | | | | Tested on Netgear R8000P and TP-Link Archer C2300. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm4908: use DT to mark NAND controller WP pin as not connectedRafał Miłecki2024-03-28
| | | | | | Use cleaner and more upstream-fit solution. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* airoha: remove 5.15 supportRobert Marko2024-03-28
| | | | | | Now that 6.1 is default, remove 5.15 support. Signed-off-by: Robert Marko <robimarko@gmail.com>
* airoha: default to kernel 6.1Robert Marko2024-03-28
| | | | | | 6.1 has been present as testing for a while now, so default to it. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: backport brcmnand support for "brcm,wp-not-connected"Rafał Miłecki2024-03-28
| | | | | | | It's required to support NAND controllers with WP pin on boards that don't have it connected to NAND chip. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: refresh kernel 6.6 configRafał Miłecki2024-03-28
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add testing support for kernel 6.6Rafał Miłecki2024-03-28
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: switch to the kernel 6.1Rafał Miłecki2024-03-28
| | | | | | | Successfully verified on Luxul XWR-3150 (BCM47094). Tested LAN, WAN, Wi-Fi, USB, sysupgrade. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: refresh kernel 6.1 configRafał Miłecki2024-03-28
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: fix NVMEM looking for OTP NVMEM cells in wrong DT nodeRafał Miłecki2024-03-28
| | | | | | It was breaking NAND controllers drivers. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* sunxi: backport h616 thermal sensor supportChukun Pan2024-03-26
| | | | | | | Backport H616 thermal sensor support from linux-next. Tested on the Orange Pi Zero 3 (H618 SoC). Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* sunxi: add support for Orange Pi Zero 3Chukun Pan2024-03-26
| | | | | | | | | | | | | | | | Key features: Allwinner H618 SoC (Quad core Cortex-A53) 1/1.5/2/4 GiB LPDDR4 DRAM 1 USB 2.0 type C port (Power + OTG) 1 USB 2.0 host port 1Gbps Ethernet port Micro-HDMI port MicroSD slot Installation: Write the image to SD Card with dd. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* generic: 6.1: backport AXP PMIC supportChukun Pan2024-03-26
| | | | | | | | | Backport AXP15060, AXP313a and AXP192 support. The AXP15060 PMIC is used for starfive boards, and the AXP313a PMIC is used for sunxi boards. Remove conflicting patches from starfive target. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* generic: phy-mediatek-xfi-tphy: fix SGMII issueDaniel Golle2024-03-25
| | | | | | | | | Fix issue of transmitting abnormal data which leads to link problems in 1G and 2.5G SerDes modes (SGMII, 1000Base-X, 2500Base-X) on the MediaTek MT7988 SoC. Link: https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/b72d6cba92bf9e29fb035c03052fa1e86664a25b Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* realtek: add Zyxel GS1900-8 v2Goetz Goerisch2024-03-25
| | | | | | | | | | | | | | The Zyxel GS1900-8 v2 or Rev.B1 is a newer variant of the GS1900-8, but otherwise similar to the other GS1900 switches. Differences ------------ * Front Button labeled RESTORE * NO Power Switch on rear * Serial Header next to the barrel power connector * Part Number ends 0102F Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
* mediatek: filogic: add Unielec U7981-01 supportAllen Zhao2024-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware specification: SoC: MediaTek MT7981B 2x A53 Flash: 8GB eMMC or 128 MB SPI-NAND RAM: 256MB Ethernet: 5x 10/100/1000 Mbps Switch: MediaTek MT7531AE WiFi: MediaTek MT7976C Button: Reset USB: M.2(B-key) for 4G/5G Module Power: DC 12V 1A UART: 3.3v, 115200n8 -------------------------- | Layout | | ----------------- | | 4 | VCC RX TX GND | <= | | ----------------- | -------------------------- The U-boot menu will automatically appear at startup, and then select the required options through UP/DOWN Key. NAND Flash and eMMC Flash instructions: 1. Set your computers IP adress to 192.168.1.2. 2. Run a TFTP server providing the sysupgrade.bin image. 3. Power on the router, into the U-Boot menu. 4. Select "2. Upgrade firmware" 5. Update sysupgrade.bin file name, input server IP and input device IP (if they deviate from the defaults) 6. Wait for automatic startup after burning Signed-off-by: Allen Zhao <allenzhao@unielecinc.com>
* mpc85xx: add 6.6 testing kernelPawel Dembicki2024-03-24
| | | | | | | | | | | This commit adds 6.6 kernel as testing verion. Run tested: p2020/p2020-rdb p1010/TL-WDR4900-V1 p1010/BR200-WP Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* mpc85xx: kernel: 6.6: refresh configPawel Dembicki2024-03-24
| | | | | | | config-6.6 refreshed by 'make kernel_oldconfig' p2020 config-default refreshed manually Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* mpc85xx: kernel: 6.6: refresh patchesPawel Dembicki2024-03-24
| | | | | | | | | | Manualy refreshed: 101-powerpc-85xx-hiveap-330-support.patch 105-powerpc-85xx-panda-support.patch Rest done by 'make target/linux/refresh' Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kernel/mpc85xx: Restore kernel files for v6.1Pawel Dembicki2024-03-24
| | | | | | | | | | This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html for the original discussion. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kernel/mpc85xx: Create kernel files for v6.6 (from v6.1)Pawel Dembicki2024-03-24
| | | | | | | | This is an automatically generated commit. During a `git bisect` session, `git bisect --skip` is recommended. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* mpc85xx: refresh kernel configPawel Dembicki2024-03-24
| | | | | | Done by 'make kernel_oldconfig'. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kernel: generic: add missing symbolPawel Dembicki2024-03-24
| | | | | | Found durring 'make kernel_oldconfig'. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* mpc85xx: remove 5.15 supportPawel Dembicki2024-03-24
| | | | | | Kernel is switched to 6.1. Lets remove 5.15 support. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* mpc85xx: switch to 6.1 kernelPawel Dembicki2024-03-24
| | | | | | We need to prepare for 6.6. Switch to 6.1 for wider testing. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* mpc85xx: copy missing patch from 5.15 to 6.1Pawel Dembicki2024-03-24
| | | | | | | | | patch 150-arch-powerpc-simpleboot-prevent-overwrite-of-CPU1-sp.patch was missed durring copy from 5.15 to 6.1. This patch restore it. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* imx: kernel: add imx8mp PCI supportTim Harvey2024-03-24
| | | | | | IMX8MP PCI support requires a few patches backported from Linux 6.2. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx: add Gateworks Venice supportTim Harvey2024-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for Gateworks Venice imx8m family of boards: - required kernel modules for on-board devices - image generation - initial network config - sysupgrade support The resulting compressed disk image (bin/targets/imx/cortexa53/openwrt-imx-cortexa53-gateworks_venice-squashfs-img.gz) can be installed on a Gateworks venice board via U-Boot: u-boot=> tftpboot $loadaddr openwrt-imx-cortexa53-gateworks_venice-squashfs-img.gz && \ gzwrite mmc $dev $loadaddr $filesize WARNING: this will overwrite any boot firmware on the eMMC user hardware partition which if being used will brick your board requiring JTAG to re-program boot firmware and recover The compressed disk image contains the partition table and filesystems only and that it is expected that boot firmware is installed properly on the eMMC boot0 hardware partition. The easiest way to ensure this is to use the Gateworks JTAG adapter/process to install the latest boot firmware as follows from a Linux host: wget http://dev.gateworks.com/jtag/jtag_usbv4 chmod +x jtag_usbv4 wget http://dev.gateworks.com/venice/images/firmware-venice-imx8mm.bin sudo ./jtag_usbv4 -p firmware-venice-imx8mm.bin Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx: add imx8m supportTim Harvey2024-03-24
| | | | | | | | | | | | | | | | | | | | Add imx8m support: - add a cortexa53 subtarget to imx - move ARCH and KERNELNAME to subtargets - account for kernel modules that are not used for cortexa53 No device-specific targets or firmware images are created yet but all imx8m* dtbs will be built. enabling CONFIG_TARGET_ROOTFS_INITRAMFS results in openwrt-imx-cortexa53-imx8m-initramfs-kernel.bin which has been successfully booted on an imx8mm-evk using the following: u-boot=> tftpboot $fdt_addr_r image-imx8mm-evk.dtb && \ tftpboot $kernel_addr_r openwrt-imx-cortexa53-imx8m-initramfs-kernel.bin && \ booti $kernel_addr_r - $fdt_addr_r Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* ath79: register ttyATH1 as OpenWrt console for ELECOM WAB-I1750-PSINAGAKI Hiroshi2024-03-24
| | | | | | | Add a hotplug script and add ttyATH1 on ELECOM WAB-I1750-PS to /etc/inittab while booting for using that console as an OpenWrt console. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
* ath79: register all ttys as Linux console for ELECOM WAB-I1750-PSINAGAKI Hiroshi2024-03-24
| | | | | | | | | Register ttyS0 and ttyATH1 as Linux console on ELECOM WAB-I1750-PS. ttyS0 provides "SERVICE" port and internal pin header for debugging and recoverying by maker, ttyATH1 provides "SERIAL" port for configuration by users. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
* kirkwood: resize kernel partition for kirkwood devicesPawel Dembicki2024-03-24
| | | | | | | | | | | | | | | | | | | | | The 6.1 kernel has caused another increase in kernel size, and now it's more than 3MB: WARNING: Image file iom_ix4-200d-uImage is too big: 3170394 > 3145728 WARNING: Image file iom_ix2-200-uImage is too big: 3171494 > 3145728 WARNING: Image file linksys_e4200-v2-uImage is too big: 3171879 > 3145728 WARNING: Image file linksys_ea4500-uImage is too big: 3171871 > 3145728 WARNING: Image file linksys_ea3500-uImage is too big: 3171651 > 3145728 This causes problems for 5 devices: - Iomega StorCenter ix2/ix4 - Linksys EA3500/EA4200/EA4500 They have enough resources for proper operation with 6.1, but all of them had a 3MB kernel size limit. Let's keep them alive and resize kernel partitions to 4MB. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kirkwood: remove 5.15 kernel supportPawel Dembicki2024-03-24
| | | | | | Kernel was switched to 6.1. Lets drop 5.15 support. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kirkwood: switch kernel version to 6.1Pawel Dembicki2024-03-24
| | | | | | | 6.1 testing version was introduced some time ago. Kernel size issues are resolved now. Time to bump kernel version. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>