bareboxenv-target
Sascha Hauer
s.hauer at pengutronix.de
Sat Nov 15 09:54:17 PST 2014
On Fri, Nov 14, 2014 at 06:44:30PM +0000, Balasa, Bogdan wrote:
> Hi,
>
> I'm using barebox 2014.11.0, kernel 3.14 on phyFlex imx6 and when loading barebox environment from userspace I get a wrong magic:
> -------
> ./bareboxenv-target -l /mnt/bbox /dev/mtd1
> envfs: wrong magic
> -------
> root at imx6q-pbab01:~# cat /proc/mtd
> dev: size erasesize name
> mtd0: 00400000 00020000 "barebox"
> mtd1: 00020000 00020000 "barebox-environment"
> mtd2: 00800000 00020000 "kernel"
> mtd3: 3f3e0000 00020000 "root"
This seems to be your Nand flash, so if you have your environment in NOR
FLash,
> mtd4: 01000000 00010000 "spi2.0"
it should be here. However, the NOR Flash is not partitioned, so the
partitions get lost somewhere between barebox and the kernel.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list