80 Commits

Author SHA1 Message Date
6bc682795c u-boot: translate Web UI to Chinese
Translate Web UI pages to Chinese for better usability.
2026-03-10 16:47:51 +08:00
b62bb2fefb network: add MediaTek DHCPD support
- Add header: include/net/mtk_dhcpd.h
- Add implementation: net/mtk_dhcpd.c
- Add Kconfig option: CONFIG_MTK_DHCPD (depends on CONFIG_HTTPD)
- Include mtk_dhcpd.o in net/Makefile
- failsafe/failsafe.c:
    - call mtk_dhcpd_start() before Web failsafe starts
    - call mtk_dhcpd_stop() after Web failsafe exits
- net/net.c: call mtk_dhcpd_start() after net_loop(TCP) initialization
  to provide a fallback hook
2026-03-10 11:59:05 +08:00
Ashley Lee
dfd96ba113 mediatek:add Ruijie-EW6000GX-Pro support (#141) 2025-08-29 20:04:23 +08:00
Tianling Shen
f9904dccf7 uboot: update Airoha EN8811H firmware to 25062302
1. Fix the issue where the GPIO5 LED0 is reset when the network cable is
   not connected.
2. Optimize the auto-negotiation process to resolve the occasional
   negotiaion failure issue.
3. Correct the internal packet processor settings to address the problem
   of some packets being lost due to header format.
4. Correct the internal packet processor settings to prevent packet
   blockage when interfacing with specific testing instruments.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-23 01:49:10 +08:00
hanwckf
ef465e1589 uboot: failsafe: fix upload buffer base addr 2025-08-22 20:27:57 +08:00
Tianling Shen
afdbdb288c uboot-mtk-20230718-09eda825: switch to pending en8811h phy driver
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:23:51 +08:00
Tianling Shen
46adcea5d3 uboot: sync dosilicon/fmsh/gsto code from linux-rockchip
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:23:30 +08:00
Tianling Shen
8d0a22474b uboot: mt7622: do not auto erase uboot env when reset button is pressed (#131)
Fixes: 84cfb1511b ("uboot: mt7622: add rootdisk support from openwrt")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-19 16:28:25 +08:00
Tianling Shen
6416a8200b mt7986: add netcore n60 (pro) support (#126)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-19 16:27:52 +08:00
Tianling Shen
7aa1d56981 mt7981: add cudy tr3000 v1 support (#125)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-19 16:27:33 +08:00
Tianling Shen
4e54179aba uboot: do not erase ubi if fip volume is found (#112)
In this case FIP and all other data are stored in ubi.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-19 16:26:14 +08:00
dorfil
b220b09755 Bring up USB on mt2500 target. (#110) 2025-08-19 16:25:48 +08:00
Shuanglei Tao
29b9c3a719 uboot-2023: fix failsafe boot via env (#107) 2024-11-25 23:09:38 +08:00
hanwckf
15ad0ed949 uboot-2023: fix ruijie-x60 build 2024-11-15 02:34:47 +08:00
Ashley Lee
0aa0e7eb59 mt7986: add support for Ruijie RG-X60 (NEW) (#95)
* mt7986: add support for Ruijie RG-X60 (NEW)

uboot: add customed bootconf

mt7981: fix Ruijie RG-X30E and Ruijie RG-X30E Pro default config name typo

Signed-off-by: Ashley Lee <code@emtips.net>

* Update uboot-mtk-20220606/arch/arm/dts/mt7986a-ruijie-rg-x60.dts

Co-authored-by: Tianling Shen <cnsztl@gmail.com>

* uboot: using ENV_IMPORT_FDT to setup ruijie x60 bootconf env

---------

Signed-off-by: Ashley Lee <code@emtips.net>
Co-authored-by: hanwckf <my375229675@gmail.com>
Co-authored-by: Tianling Shen <cnsztl@gmail.com>
2024-11-15 02:01:08 +08:00
hanwckf
880d7df742 uboot: add support for xiaomi ax3000t an8855 variant 2024-11-12 00:19:11 +08:00
Tianling Shen
907595c163 uboot-mtk-20230718-09eda825: failsafe: fix build without gl btn
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-11-09 21:09:50 +08:00
Tianling Shen
24215b7553 uboot-mtk-20230718-09eda825: fix erase ubi env for legacy mtd bootmenu
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-11-09 21:09:50 +08:00
Tianling Shen
8064c275a5 uboot: fix erasing ubi when flash fit firmware
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-10-25 21:53:15 +08:00
Tianling Shen
58370a2264 uboot: renew glinet gl-mt2500 support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-10-25 21:52:48 +08:00
Tianling Shen
d2772cc419 uboot: renew glinet gl-mt3000 support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-10-25 21:52:48 +08:00
Tianling Shen
914e22af6e mt7981: add openembed som7981 support
Signed-off-by: Tianling Shen <i@cnsztl.eu.org>
2024-10-25 21:52:20 +08:00
Tianling Shen
5bfaac82d9 uboot: increase flashing timeout to 180s
Mainly for spi-nor flash, requires more time to complete.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-10-16 11:03:11 +08:00
Ssunk
668c84ad5e uboot: mtd: spi: spi-nor-ids: Add more XM25Q series chips
- XM25QH128C
- XM25QH256C
- XM25QU256C
- XM25QH512C
- XM25QU512C

Signed-off-by: Kankan Sun <ssunkkan@gmail.com>
[jagan: update the commit message]
Signed-off-by: Jagan Teki <jagan@edgeble.ai>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
2024-10-14 01:21:18 +08:00
Ricardo Pardini
50e99574a1 uboot: mtd: spi-nor: Add support for XMC XM25QU128C
Add support for XMC XM25QU128C (128M-bit) Serial Flash memory. Used on
the Xunlong Orange Pi 3B, 5 and 5 Plus boards.

Datasheet:
https://www.xmcwh.com/uploads/806/XM25QU128C_Ver2.0.pdf

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
[jonas@kwiboo.se: update commit message]
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2024-10-14 01:21:18 +08:00
Tianling Shen
290e6a9ce0 uboot: fix boot fit image from mtd
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-10-07 10:45:56 +08:00
Tianling Shen
985b24e379 uboot: mt7622: enable pstore
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-10-07 10:45:44 +08:00
Tianling Shen
84cfb1511b uboot: mt7622: add rootdisk support from openwrt
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-10-07 10:45:44 +08:00
Tianling Shen
3788274583 uboot: add glbtn header
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-10-07 10:40:45 +08:00
Tianling Shen
fefe1779a6 uboot: fix build without glbtn and httpd
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-10-07 10:40:45 +08:00
Tianling Shen
f6ae4782db uboot: boot_helper: increase bootcmd length to 128 chars
64 chars are not enough for some images like bpi r3 and r3 mini.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-09-21 02:16:05 +08:00
hanwckf
cb763b4489 mediatek: add support for zyxel-ex5700 2024-09-20 21:53:25 +08:00
Tianling Shen
8dddf4ec0a uboot: refine fit ubootenv creation
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-09-12 17:26:18 +08:00
Tianling Shen
15fd81d31d uboot-mtk-20230718-09eda825: call env_ubi_erase to erase ubi env
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-09-12 17:26:18 +08:00
Tianling Shen
15ac366e7d uboot: failsafe: support boot into initramfs
sort uri handlers while at it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-09-12 17:26:07 +08:00
Tianling Shen
24ca421ac3 uboot: refine web helptext
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-09-12 17:25:53 +08:00
Tianling Shen
68913c964f uboot: support mainline FIT image
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-09-10 16:39:17 +08:00
Tianling Shen
1dbebb4242 uboot: board: add rootdisk support from openwrt
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-09-10 16:39:17 +08:00
Tianling Shen
67ab0457d2 uboot: add fit_get_totalsize support from openwrt
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-09-10 16:39:17 +08:00
Aabandon
5ba6fa3783 mediatek: add support for CMCC XR30 and CMCC XR30 eMMC
Hardware specification:
SoC: MediaTek MT7981B 2x A53
Flash: GIGADEVICE GD5F1GM7UExxG  128MB or 64GB eMMC
RAM: DDR4 512MB
Ethernet: 4x 10/100/1000 Mbps
Switch: MediaTek MT7531AE
WiFi: MediaTek MT7976C
Button: Reset, Mesh
Power: DC 12V 1.5A
2024-09-03 20:57:26 +08:00
Aabandon
11c47310b9 mediatek: add support for Newland NL-WR9103
Hardware specification:
SoC: MediaTek MT7981B 2x A53
Flash: GSTO GSS01GSAK1 128MB (No machine tests yet)
       WINBOND W25N01GVZE1G 128MB
RAM: DDR3 256MB
Ethernet: 4x 10/100/1000 Mbps
Switch: MediaTek MT7531AE
WiFi: MediaTek MT7976C
Button: Reset, Mesh
Power: DC 12V 1A
2024-09-03 20:57:26 +08:00
Aabandon
635ccaace1 mediatek: add support for HONOR FUR-602/603 (HONOR XT50/XU50/XC50)
Hardware specification:
SoC: MediaTek MT7981B 2x A53
Flash: DOSILICON DS35Q1GA-IB 128MB (No machine tests yet)
         GIGADEVICE GD5F1GM7UExxG 128MB
         WINBOND W25N01GVZE1G 128MB
RAM: DDR3 256MB
Ethernet: 4x 10/100/1000 Mbps
Switch: MediaTek MT7531AE
WiFi: MediaTek MT7976C
Button: Reset, Mesh
Power: DC 12V 1A
2024-09-03 20:57:26 +08:00
Aabandon
730c66a683 mediatek: add support for Newland NL-WR8103/MR3000D-CIq(256MB RAM version)
Hardware specification:
SoC: MediaTek MT7981B 2x A53
Flash: FORESEE F35SQA001G 128MB
RAM: DDR3 256MB
Ethernet: 4x 10/100/1000 Mbps
Switch: MediaTek MT7531AE
WiFi: MediaTek MT7976C
Button: Reset, Mesh
Power: DC 12V 1A
2024-09-03 20:57:26 +08:00
Aabandon
0547d940aa uboot: add support for fmsh gsto dosilicon spi-nand 2024-09-03 20:57:26 +08:00
thggdx
6993b31fb0 fix: Fixed an issue with undeclared function calls (#73) 2024-08-22 00:30:17 +08:00
Tianling Shen
e02fbd3d77 mt7986: add TP-Link TL-XTR8488 support (#71)
Based on An Yun's work.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-06-17 19:10:54 +08:00
lam-hub
81cf7a8928 cetron_3003:fix button inactive (#68)
Co-authored-by: liam <liam@cetron.cn>
2024-06-17 19:10:26 +08:00
Ashley Lee
cc14c072c6 mt7981: add support for Ruijie RG-X30E and Ruijie RG-X30E Pro (#67)
Signed-off-by: Ashley Lee <code@emtips.net>
2024-06-17 19:09:59 +08:00
Tianling Shen
262015e450 mt7981: add nokia ea0326gmp support (#64)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-06-17 19:08:58 +08:00
Shuanglei Tao
d74880eccc add support for failsafe boot via env (#62)
To use it in openwrt, run: fw_setenv failsafe 1
2024-06-17 19:08:39 +08:00