openwrt/package/boot/uboot-envtools/files
Chris Webb 7eda44f536 uboot-mediatek: support GL.iNet GL-X3000 and GL-XE3000
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>
2024-09-22 23:50:40 +02:00
..
apm821xx apm821xx: prepare WNDR4700 for 6.6 - add preliminary u-boot-env access 2024-04-05 09:26:26 +02:00
ath79 uboot-envtools: ath79: add Belkin F9K1115v2/F9J1108v2 u-boot env support 2024-08-30 00:43:58 +02:00
cns3xxx
fw_printsys
fw_setsys
imx_cortexa7
imx_cortexa9
ipq40xx ipq40xx: add support for Linksys WHW03 V1 2024-05-05 10:33:13 +02:00
ipq806x
kirkwood kirkwood: add D-Link DNS-320L support 2024-06-01 01:29:09 +02:00
lantiq
layerscape
mediatek_filogic uboot-mediatek: support GL.iNet GL-X3000 and GL-XE3000 2024-09-22 23:50:40 +02:00
mediatek_mt7622 uboot-envtools: add u-boot system env config for Xiaomi Redmi AX6S 2024-09-06 23:40:04 +02:00
mediatek_mt7623 uboot-envtools: replace use of platform_get_bootdev 2024-02-26 01:29:22 +00:00
mediatek_mt7629 mediatek: Add support for Linksys EA7500 v3 2024-08-15 00:13:20 +02:00
mpc85xx
mvebu uboot-envtools: add settings for Synology DS213j 2023-11-20 13:40:17 +00:00
mxs
octeon
oxnas
pistachio
qoriq
qualcommax_ipq60xx qualcommax: ipq60xx: add support for Cambium Networks XE3-4 2024-08-08 22:57:22 +02:00
qualcommax_ipq807x ipq807x: add support for TP-Link EAP660 HD v1 2024-09-08 12:01:19 +02:00
ramips ramips: add support for netis N6 2024-09-19 23:11:58 +02:00
realtek
rockchip_armv8 uboot-envtools: Add support for Orange Pi R1 Plus & LTS 2024-08-12 21:00:36 +02:00
uboot-envtools.sh