
7 Dec
2015
7 Dec
'15
1:56 p.m.
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