[U-Boot] fw_env.config settings for Digilent ZedBoard (Zynq 7020 Soc)

Anatolij Gustschin agust at denx.de
Mon Dec 7 13:56:18 CET 2015


On Mon, 7 Dec 2015 22:38:53 +1100
"Brendan Simon (eTRIX)" <brendan.simon at 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


More information about the U-Boot mailing list