aboutsummaryrefslogtreecommitdiff
path: root/package/boot/uboot-mediatek/patches/454-add-glinet-x3000.patch
Commit message (Collapse)AuthorAge
* uboot-mediatek: bump to v2025.04Enrico Mioso2025-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following upstreamed / superseded patches were dropped: 060-01-clk-mediatek-mt7629-fix-parent-clock-of-some-top-clo.patch 060-02-arm-dts-mt7629-fix-sgmii-clock-selection-for-etherne.patch 060-03-net-mediatek-use-correct-register-field-for-SGMII-sp.patch 060-04-net-mediatek-correct-register-name-of-ethsys-syscfg1.patch 060-05-net-mediatek-fix-sgmii-selection-for-mt7622.patch 060-06-net-mediatek-fix-gmac2-usability-for-mt7629.patch 060-07-net-mediatek-add-support-for-10GBASE-R.patch 060-08-net-mediatek-make-sgmii-usxgmii-optional.patch 060-09-net-mediatek-don-t-enable-GDMA-cpu-bridge-unconditio.patch 060-10-net-mediatek-fix-usability-with-wget-command.patch 061-01-net-mediatek-split-ethernet-switch-code-from-mtk_eth.patch 061-02-net-mediatek-add-support-for-MediaTek-MT7987-SoC.patch 061-03-net-mediatek-add-support-for-Airoha-AN8855-ethernet-.patch 070-01-board-mediatek-mt7622-remove-board_late_init.patch 070-02-clk-mediatek-fix-uninitialized-fields-issue-in-INFRA.patch 070-03-configs-mt7629-move-image-load-address-to-0x42000000.patch 070-04-configs-mt7988-move-image-load-address-to-0x44000000.patch 070-05-spi-mtk_spim-add-support-to-use-DT-live-tree.patch 070-06-spi-mtk_spim-check-slave-device-mode-in-spi-mem-s-su.patch 070-07-arm-dts-mediatek-add-quad-mode-capabilities-for-SPI-.patch 070-08-pwm-mediatek-add-pwm3-support-for-mt7981.patch 070-09-pci-mediatek-add-support-for-multiple-ports-in-media.patch 070-10-arm-dts-mediatek-add-pcie-support-for-mt7988.patch 070-11-arm-dts-medaitek-fix-internal-switch-link-speed-of-m.patch 070-12-arm-dts-mediatek-add-support-for-all-three-GMACs-for.patch 070-13-arm-dts-medaitek-add-flash-interface-driving-setting.patch 070-14-arm-dts-mediatek-update-mt7981-mmc-node.patch 070-15-MAINTAINERS-update-file-list-for-MediaTek-ARM-platfo.patch 071-01-pinctrl-mediatek-update-mt7981-pinctrl-driver-based-.patch 100-18-board-mt7629-add-support-for-booting-from-SPI-NAND.patch 290-mt7981-add-USB-nodes.patch Refreshed all the patches needing it. Run-tested: GatoNetworks GDSP, Arcadyan Mozart (ynezz), Zbt WG3526 (dangowrt) Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com> Signed-off-by: Petr Štetiar <ynezz@true.cz> [patch refresh, Mozart testing] Signed-off-by: Daniel Golle <daniel@makrotopia.org> [rebased, tested on MT7621]
* uboot-mediatek: move custom uart config symbol to board defconfigsShiji Yang2025-03-15
| | | | | | | | | | This helps to solve the issue of waiting for "SERIAL_RX_BUFFER_SIZE" input when enabling verbose log output option (V=s). Fixes: https://github.com/openwrt/openwrt/issues/18036 Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/18043 Signed-off-by: Robert Marko <robimarko@gmail.com>
* uboot-mediatek: move default env files to a dedicated directoryShiji Yang2025-02-09
| | | | | | Putting all files in the root folder is too messy. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* uboot-mediatek: update to v2025.01Shiji Yang2025-02-09
| | | | | | | | | | | | | | | | | | | | | | | | Remove upstreamed patches: 010-menu-fix-the-logic-checking-whether-ESC-key-is-press.patch [1] 011-menu-add-support-to-check-if-menu-needs-to-be-reprin.patch [2] 012-bootmenu-add-reprint-check.patch [3] Remove outdated patches: 455-arm-provide-noncached_set_region-prototype-to-fix-build.patch Some patches have been manually rebased to match the upstream changes. This patch also fixes the dtc warning for reserved-memory dts node. If #address-cells and #size-cells are not same as the root node definitions, the dtc will complain about it. All defconfigs are refreshed by `make "$board"_defconfig` and `make savedefconfig`. [1] https://github.com/u-boot/u-boot/commit/ddac69885efaffc68a71c1a159dc2b3ff4b9fda3 [2] https://github.com/u-boot/u-boot/commit/ccdd7948e22f21d2add8f51c4918a2c576dc5e91 [3] https://github.com/u-boot/u-boot/commit/599652cff13ad31d23b1b8bf8905533e447435d5 Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* uboot-mediatek: update to U-Boot 2024.10Daniel Golle2024-10-13
| | | | | | | Update to latest U-Boot release. Patches refreshed and fixed when needed. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* uboot-mediatek: support GL.iNet GL-X3000 and GL-XE3000Chris Webb2024-09-22
Add u-boot support based on the kernel dts introduced in d1016446 and the GL-MT6000 u-boot support in fe10f974. The pcie-mediatek-gen3 kernel driver doesn't like hotplug, so to work in PCIe mode, the 5G modem on this device needs to be switched on by u-boot before starting the kernel. Include an init_modem step in the boot_system action to set the relevant gpios. (The factory bootloader does the same, using Mediatek SDK-specific gpio_power_clr and gpio_pull_up.) Ideally the modem would be started using gpio-hog in the device tree, but this will need to wait until mediatek gpio-hog support is fixed upstream: https://lore.kernel.org/u-boot/6ef2583e85eea60560d7776377d662779e7c44e5.1722419839.git.chris@arachsys.com/ The bootloader can be replaced using the built-in web interface of the factory bootloader. Hold the reset button for five seconds while powering on the device and it will boot into a recovery http server. http://192.168.1.1/uboot.html and http://192.168.1.1/bl2.html can then be used to upload openwrt-mediatek-filogic-glinet_gl-x3000-bl31-uboot.fip and openwrt-mediatek-filogic-glinet_gl-x3000-preloader.bin respectively. Alternatively, from a root shell on the running system, unlock the boot partition with echo 0 >/sys/block/mmcblk0boot0/force_ro then write openwrt-mediatek-filogic-glinet_gl-x3000-bl31-uboot.fip to /dev/mmcblk0p4 and openwrt-mediatek-filogic-glinet_gl-x3000-preloader.bin to /dev/mmcblk0boot0. Signed-off-by: Chris Webb <chris@arachsys.com> Link: https://github.com/openwrt/openwrt/pull/15645 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>