258 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
Tianling Shen
abe158087c atf: trim blank line in configs
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-09-08 23:22:59 +08:00
Tianling Shen
633f8126a6 atf: add support for dosilicon fmsh gsto spi nand
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-09-08 23:22:59 +08:00
hanwckf
9a7ac6d6d4 uboot-2025: nmbm: call poller in nmbm write op 2025-08-29 20:10:43 +08:00
airjinkela
922acf0911 build.sh : return error on muilt layout defconfig not found (#147)
Signed-off-by: air jinkela <air_jinkela@163.com>
2025-08-29 20:06:45 +08:00
airjinkela
b0392bd460 atf-20250711: fix cannot recognize dosilicon nand (#146)
patch from : f0c23d2356

Signed-off-by: air jinkela <air_jinkela@163.com>
2025-08-29 20:06:32 +08:00
airjinkela
b003ca46c5 uboot-mtk-20250711: add missing files (#145)
Signed-off-by: air jinkela <air_jinkela@163.com>
2025-08-29 20:06:11 +08:00
Tianling Shen
ec4dd118c8 atf-20250711: add missing blobs (#143)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-29 20:05:04 +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
b5bc2b2dfb uboot-mtk-20250711: make use of fit_get_totalsize
func `itb_external_image_data_info` inside `parse_image_itb`
is broken, needs investigation. Disable for now.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:23:16 +08:00
Tianling Shen
2d1ef29a25 uboot-mtk-20250711: add fit_get_totalsize from OpenWrt
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:23:16 +08:00
Tianling Shen
48c09a67d3 uboot-mtk-20250711: support mainline FIT partition
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:23:16 +08:00
Tianling Shen
c9e03f3279 uboot-mtk-20250711: keep env after flash bootloader
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:23:16 +08:00
Tianling Shen
55767168a4 uboot-mtk-20250711: fix build without CONFIG_MEDIATEK_MULTI_MTD_LAYOUT
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:23:16 +08:00
Tianling Shen
6924bf4723 uboot-mtk-20250711: net: add missing header
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:23:16 +08:00
Tianling Shen
ca1f0493f5 uboot-mtk-20250711: switch to pending en8811h phy driver
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:23:16 +08:00
Aabandon
34da03f67c uboot-mtk-20250711: add support for fmsh gsto dosilicon spi-nand 2025-08-22 19:23:16 +08:00
hanwckf
197102eef9 uboot-mtk-20250711: add support for foresee spi-nand 2025-08-22 19:23:16 +08:00
Tianling Shen
ccda9255f4 Revert "uboot-2025: add common.h"
This reverts commit 1174f431a6.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:23:16 +08:00
Tianling Shen
97c8b930c7 uboot-mtk-20250711: mtd_layout: remove reference to common.h
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:23:16 +08:00
hanwckf
674623b0fe uboot-mtk-20250711: glbtn: remove reference to common.h
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:23:16 +08:00
Tianling Shen
0dc4b558f1 uboot-mtk-20250711: poller: remove reference to common.h
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:23:16 +08:00
Tianling Shen
40a1c1e8f4 uboot-mtk-20250711: enable pstore for mt7622/mt7981/mt7986/mt7988
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:23:16 +08:00
Tianling Shen
a2c8e65769 uboot-mtk-20250711: fix build with emmc bootmenu
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:23:16 +08:00
Tom Rini
56dede40b8 uboot-mtk-20250711: env: Correct Kconfig type for ENV_MMC_SW_PARTITION
As part of renaming environment related Kconfig options,
ENV_MMC_SW_PARTITION was inadvertently changed from a string to a bool.
Correct this.

Fixes: ffc4914703a2 ("env: Rename ENV_MMC_PARTITION to ENV_MMC_SW_PARTITION")
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
2025-08-22 19:23:16 +08:00
Weijie Gao
ceaf16b834 uboot-mtk-20250711: mmc: mtk-sd: increase the minimum bus frequency
With a 48MHz input clock, the lowest bus frequency can be as low as
48000000 / (4 * 4095) = 2930Hz. Such an extremely low frequency will cause
the mmc framework take seconds to finish the initialization.

Limiting the minimum bus frequency to a slightly higher value can solve the
issue without any side effects.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
2025-08-22 19:23:16 +08:00
Shiji Yang
6167e64b76 uboot-mtk-20250711: env: mtd: initialize saved_buf pointer
When sect_size is greater than CONFIG_ENV_SIZE, this wild
pointer will cause CPU halt or system crash.

Fixes: 03fb08d4aef8 ("env: Introduce support for MTD")
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
2025-08-22 19:23:16 +08:00
Tianling Shen
be684fbca4 atf-20250711: apply openwrt patches (#136)
* atf-20250711: apply openwrt patches

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* atf-20250711: use shared configs with atf-20240117-bacca82a8

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

---------

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-22 19:22:15 +08:00
airjinkela
e1d742f164 env: mtd: add the missing put_mtd_device() (#135) 2025-08-22 09:46:49 +08:00
hanwckf
2f1606ca8c uboot-2025: mt7987: fix airpi-h5000m phy reset error 2025-08-21 20:58:28 +08:00
hanwckf
90ded9c313 uboot-2025: mt7987: add mt7987-airpi-h5000m 2025-08-21 15:28:19 +08:00
hanwckf
0f1592f654 uboot-2025: net: add rtl8221 phy driver 2025-08-21 15:28:19 +08:00
hanwckf
fdca8cbf91 uboot-2025: start httpd and glbtn at boot 2025-08-21 15:28:19 +08:00
hanwckf
c2a4ac823b uboot-2025: add mtdlayout support 2025-08-21 15:28:15 +08:00
hanwckf
f58deb97cb uboot-2025: add glinet failsafe webui 2025-08-21 14:43:54 +08:00
hanwckf
0f5d75e752 uboot-2025: add glbtn 2025-08-21 14:43:47 +08:00
hanwckf
0a2402759d uboot-2025: add poller 2025-08-21 14:43:34 +08:00
hanwckf
6e780183bf uboot-2025: mtk_httpd: set nocache header 2025-08-21 14:43:14 +08:00
hanwckf
4ece916d9e uboot-2025: add force ipaddr support 2025-08-21 14:43:04 +08:00
hanwckf
95f51717eb uboot-2025: board: keep env after flash FIP 2025-08-21 14:42:27 +08:00
hanwckf
1174f431a6 uboot-2025: add common.h 2025-08-21 14:42:21 +08:00
hanwckf
2e3aaf792e uboot-2025: mt7987: add pstore ramoops 2025-08-21 14:42:09 +08:00
hanwckf
dce813ae37 uboot-2025: fix build 2025-08-21 14:41:59 +08:00
hanwckf
c9d2a37125 atf-2025: configs: add mt7987_emmc_ddr4_defconfig 2025-08-21 14:41:53 +08:00
hanwckf
b14b8315a6 atf-2025: update gitignore 2025-08-21 14:41:45 +08:00