MT7621 help

Daniel Golle daniel at makrotopia.org
Wed Jul 30 12:19:55 CEST 2025


Hi Roy,

On Tue, Jul 29, 2025 at 09:44:29PM -0500, Roy Walker wrote:
> I was attempting to put OpenWRT on a TP-Link Festa F61.  I messed up and
> wiped out the u-boot image.  I am trying to build a new u-boot image and
> ymodem it there.  Followed the exact steps here:
> https://docs.u-boot.org/en/stable/board/mediatek/mt7621.html.
> 
> When it boots I get this and it hangs:
> 
> U-Boot 2025.07-00889-gbd0ade7d090a (Jul 22 2025 - 16:25:47 -0500)
> 
> CPU:   MediaTek MT7621A ver 1, eco 3
> Boot:  DDR3, SPI-NOR 3-Byte Addr
> Clock: CPU: 880MHz, DDR: 1200MT/s, Bus: 220MHz, XTAL: 40MHz
> Model: MediaTek MT7621 RFB (SPI-NOR)
> DRAM:

Unless you are using the _noprint.bin you should see lots of output of the
DRAM calibration before U-Boot launches. That would be interesting to see,
as it will tell the results of the DRAM calibration and if anything went
wrong at that stage. If you are using OpenWrt to build U-Boot you can
enable the debug output by setting CONFIG_DEBUG=y in OpenWrt's main
.config file.

Note that there are some U-Boot Kconfig options to tune DRAM calibration,
see for example MT7621_DRAM_DDR3_2048M. I think, however, the default
should be fine for 256MB or DDR3.

Also, as your board seems to use SPI-NOR flash, make sure to *not*
select CONFIG_MT7621_BOOT_FROM_NAND or CONFIG_BOARD_MT7621_NAND_RFB.

> Is this a newer version of the MT7621 that is not compatible?  Maybe a
> different DRAM binary is needed?  Here is a link with DMESG and boot logs -
> https://forum.openwrt.org/t/support-for-tp-link-festa-f61-v1-6/236744/3.

There is an U-Boot build done using OpenWrt's toolchain and build-system
as well, and I've tried that also on newer MT7621A boards without
encountering the issue you describe. See package/boot/uboot-mediatek
in OpenWrt's tree.



More information about the U-Boot mailing list