Re: bareboxenv-target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux