aboutsummaryrefslogtreecommitdiff
path: root/package/boot/uboot-mediatek/patches/421-zbtlink_zbt-wg3526-16m.patch
Commit message (Collapse)AuthorAge
* uboot-mediatek: convert env in mtd to upstream implementationShiji Yang2025-07-28
| | | | | | | | | | | In the upstream implementation of env in mtd, ENV_MTD_NAME symbol was renamed to ENV_MTD_DEV. Therefore, we have to adjust the symbol to make it work properly. ENV_SIZE_REDUND symbol will be removed in this patch because the upstream env in mtd implementation no longer requires it. Fixes: 41a9c9de66a7 ("uboot-mediatek: update to v2025.07") Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
* 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: refresh device defconfig filesShiji Yang2024-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems that most of them are manually modified. However, we can use `make savedefconfig` to generate a clean defconfig file. Refreshed by: ``` Boards=( mt7623n_bpir2_defconfig \ mt7623a_unielec_u7623_02_defconfig \ mt7622_bananapi_bpi-r64-sdmmc_defconfig \ mt7622_bananapi_bpi-r64-emmc_defconfig \ mt7622_bananapi_bpi-r64-snand_defconfig \ mt7622_linksys_e8450_defconfig \ mt7622_ubnt_unifi-6-lr-v1_defconfig \ mt7622_ubnt_unifi-6-lr-v2_defconfig \ mt7622_ubnt_unifi-6-lr-v3_defconfig \ ravpower-rp-wd009-ram_defconfig \ mt7621_zbtlink_zbt-wg3526-16m_defconfig \ mt7986_netcore_n60_defconfig \ mt7986a_bpi-r3-emmc_defconfig \ mt7986a_bpi-r3-nor_defconfig \ mt7986a_bpi-r3-sd_defconfig \ mt7986a_bpi-r3-snand_defconfig \ mt7986_xiaomi_redmi-ax6000_defconfig \ mt7986_tplink_tl-xdr4288_defconfig \ mt7986_tplink_tl-xdr6086_defconfig \ mt7986_tplink_tl-xdr6088_defconfig \ mt7981_qihoo-360t7_defconfig \ mt7981_xiaomi_mi-router-wr30u_defconfig \ mt7981_h3c_magic-nx30-pro_defconfig \ mt7986a_glinet_gl-mt6000_defconfig \ mt7981_cmcc_rax3000m-emmc_defconfig \ mt7981_cmcc_rax3000m-nand_defconfig \ mt7981_jcg_q30-pro_defconfig \ mt7986_zyxel_ex5601-t0_defconfig \ mt7981_xiaomi_mi-router-ax3000t_defconfig \ mt7986a_jdcloud_re-cp-03_defconfig \ mt7986a_bpi-r3-mini-emmc_defconfig \ mt7986a_bpi-r3-mini-snand_defconfig \ mt7981_nokia_ea0326gmp_defconfig \ mt7988a_bananapi_bpi-r4-emmc_defconfig \ mt7988a_bananapi_bpi-r4-sdmmc_defconfig \ mt7988a_bananapi_bpi-r4-snand_defconfig \ mt7988a_bananapi_bpi-r4-poe-emmc_defconfig \ mt7988a_bananapi_bpi-r4-poe-sdmmc_defconfig \ mt7988a_bananapi_bpi-r4-poe-snand_defconfig \ mt7622_xiaomi_redmi-router-ax6s-ubi-loader_defconfig \ mt7981_openwrt-one-nor_defconfig \ mt7981_openwrt-one-spi-nand_defconfig \ ) for Board in ${Boards[@]} do echo "Refresh board ${Board}" make ${Board} make savedefconfig cat ./defconfig > ./configs/${Board} done ``` Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* uboot-mediatek: update to U-Boot release v2024.07Shiji Yang2024-07-14
| | | | | | | | | | | | 1. Rename function _do_env_set() to env_do_env_set(). 2. Replace kwbimage hack with UBOOT_CUSTOMIZE_CONFIG: "--disable TOOLS_KWBIMAGE" and "--disable TOOLS_LIBCRYPTO". 3. Disable CONFIG_CMD_BOOTEFI_BOOTMGR for all supported devices because the newly added UEFI bootmenu entries doesn't work. 4. Enable CONFIG_VERSION_VARIABLE for the OpenWrt One. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Co-authored-by: Daniel Golle <daniel@makrotopia.org>
* uboot-mediatek: add basic build for ZBT-WG3526 (MT7621, 16M SPI-NOR)Daniel Golle2024-02-15
Add basic U-Boot drop-in replacement compatible with the flash layout of the vendor loader of the Zbtlink WG3526 (16M) MT7621 router board. The idea here is a to have a reference build of uboot-mediatek also for a simple MIPS boards more popular than MT7621 RFB. Signed-off-by: Daniel Golle <daniel@makrotopia.org>