public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ladislav Michl <ladis@linux-mips.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] igep00x0: enable CONFIG_CMD_SETEXPR
Date: Thu, 21 Jan 2016 20:56:15 +0100	[thread overview]
Message-ID: <20160121195615.GA15261@localhost.localdomain> (raw)
In-Reply-To: <20160121191113.GH3359@bill-the-cat>

On Thu, Jan 21, 2016 at 02:11:13PM -0500, Tom Rini wrote:
> On Thu, Jan 21, 2016 at 11:35:01AM +0100, Ladislav Michl wrote:
> 
> > Enable CONFIG_CMD_SETEXPR, useful when passing initramfs end address:
> > $ fatload mmc 0:1 $rdaddr root.cpio.gz
> > $ setexpr rdendaddr $rdaddr + $filesize
> > $ fdt chosen $rdaddr $rdendaddr
> > $ bootz $loadaddr - $fdtaddr
> 
> OK, but why do that instead of 'bootz $loadaddr $rdaddr $fdtaddr' ?

=> bootz $loadaddr $rdaddr $fdtaddr
Wrong Ramdisk Image Format
Ramdisk image is corrupt or invalid

Well, perhaps that could be done with CONFIG_SUPPORT_RAW_INITRD, which
expects size of initrd, not an end address. I'll give it a try and possibly
enable that instead.

	ladis

  reply	other threads:[~2016-01-21 19:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-21 10:35 [U-Boot] [PATCH] igep00x0: enable CONFIG_CMD_SETEXPR Ladislav Michl
2016-01-21 19:11 ` Tom Rini
2016-01-21 19:56   ` Ladislav Michl [this message]
2016-01-21 20:03     ` Ladislav Michl

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=20160121195615.GA15261@localhost.localdomain \
    --to=ladis@linux-mips.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox