public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] fw_env.config settings for Digilent ZedBoard (Zynq 7020 Soc)
Date: Mon, 7 Dec 2015 13:56:18 +0100	[thread overview]
Message-ID: <20151207135618.4d2fdca5@crub> (raw)
In-Reply-To: <56656FCD.2030804@etrix.com.au>

On Mon, 7 Dec 2015 22:38:53 +1100
"Brendan Simon (eTRIX)" <brendan.simon@etrix.com.au> wrote:
...
> I finally tried mtd0 and found env vars :)
> I updated /etc/fw_env.config to the following and now fw_printenv works
> and no crc errors are reported.  Yay :)
> 
>          /dev/mtd0               0xE0000          0x20000         0x20000
> 
> Is it normal for the environment to not be at offset 0x0 and not be in
> it's own dedicated mtd partition?

It might be normal for Zynq boards. The mtd partition layout is passed
to the kernel in the device tree, and the .dts file author decided to
define this layout with common partition for U-Boot and its environment
for some reason.

Thanks,

Anatolij

      reply	other threads:[~2015-12-07 12:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-06  1:01 [U-Boot] fw_env.config settings for Digilent ZedBoard (Zynq 7020 Soc) Brendan Simon
2015-12-07  9:35 ` Anatolij Gustschin
2015-12-07 11:38   ` Brendan Simon
2015-12-07 12:56     ` Anatolij Gustschin [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=20151207135618.4d2fdca5@crub \
    --to=agust@denx.de \
    --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