All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: Loading u-boot binary from the u-boot command line
Date: Fri, 22 Jan 2021 22:32:59 +0800	[thread overview]
Message-ID: <CAEUhbmWLNOu6MWOfNGtRKzvqe78dKP+gtJL641FZwAWphH5gtg@mail.gmail.com> (raw)
In-Reply-To: <CADs3TdKHJco2R=977o4jqFfiZ--_bk4ULySrnp9tK6mrwGxX7g@mail.gmail.com>

On Fri, Jan 22, 2021 at 9:23 PM Amit Tomar <atomar25opensource@gmail.com> wrote:
>
> >
> > Can I load the modified u-boot binary from the currently running u-boot
> > command line?
> >
>
> Yes, U-boot supports chain loading.
>
> On host machine you can use ckermit[1] program to load U-boot image using
> serial or you can
> use tftp to load modified U-boot image at SYS_TEXT_BASE address.
> Once the image is loaded , you can bootm "SYS_TEXT_BASE".
>

I think this only works if SYS_TEXT_BASE is a RAM address, which is
mostly the case for boards that don't run U-Boot from NOR flash after
POR.

Regards,
Bin

      reply	other threads:[~2021-01-22 14:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-22  7:49 Loading u-boot binary from the u-boot command line scd rjcom
2021-01-22 13:23 ` Amit Tomar
2021-01-22 14:32   ` Bin Meng [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=CAEUhbmWLNOu6MWOfNGtRKzvqe78dKP+gtJL641FZwAWphH5gtg@mail.gmail.com \
    --to=bmeng.cn@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.