Commit Graph

250 Commits

Author SHA1 Message Date
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
hanwckf
d32234197e atf: add atf-20250711 2025-08-21 14:41:45 +08:00
hanwckf
5443365d19 uboot: add uboot-20250711 2025-08-21 14:41:44 +08:00
hanwckf
c74ba01cc4 build.sh: fix atf-2024/atf-2025 emmc configs 2025-08-21 14:41:43 +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
8f5285bfba atf-20240117-bacca82a8: import new atf (#119)
* atf-20240117-bacca82a8: import new atf

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

* atf-20240117-bacca82a8: remove Werror

* atf-20240117-bacca82a8: call bromimage-x86_64 for aarch64 host

* atf-20240117-bacca82a8: export ram boot uart option

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

* atf-20240117-bacca82a8: apply openwrt patches

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

* atf-20240117-bacca82a8: port board configs

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

* build.sh: switch to use atf-20240117-bacca82a8

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

* build.sh: support new menuconfig

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

* build.sh: pass u-boot path by variable

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

* atf-20231013-0ea67d76a: drop

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

---------

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Co-authored-by: hanwckf <hanwckf@vip.qq.com>
2025-08-19 16:26:53 +08:00
Tianling Shen
475f1640d3 mt7986: add missing config for ruijie rg-x60 (#116)
CONFIG_ENV_IMPORT_FDT won't take effect without
CONFIG_ENV_VARS_UBOOT_CONFIG enabled.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-19 16:26:33 +08:00