All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Golle <daniel@makrotopia.org>
To: Roy Walker <roy.walker777@gmail.com>
Cc: u-boot@lists.denx.de
Subject: Re: MT7621 help
Date: Wed, 30 Jul 2025 11:19:55 +0100	[thread overview]
Message-ID: <aInxy53WpORP46N2@pidgin.makrotopia.org> (raw)
In-Reply-To: <CAD-tQfVy8CqKGeeWXJaR1HoC9DMrZZ2Ynq1UkYt-0pxkt4oS5w@mail.gmail.com>

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.


      reply	other threads:[~2025-07-30 10:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-30  2:44 MT7621 help Roy Walker
2025-07-30 10:19 ` Daniel Golle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aInxy53WpORP46N2@pidgin.makrotopia.org \
    --to=daniel@makrotopia.org \
    --cc=roy.walker777@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.