mtdparts phyFlex

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

 



Hi,

I am using barebox 2014.11.0 with phyFlex imx6 and when I add in '/env/init/mtdparts-nand'
to specify the size of different partitions:
----------------------------------------------------------------------------------------------
#!/bin/sh

if [ "$1" = menu ]; then
               init-menu-add-entry "$0" "NAND partitions"
               exit
fi

mtdparts="5M(nand0.oftree),10M(nand0.kernel),50M(nand0.root) "
kernelname="gpmi-nand"
mtdparts-add -b -d nand0 -k ${kernelname} -p ${mtdparts}
---------------------------------------------------------------------------------------------

at next power-up I get an error:

'cannot create nand0.oftree: File exists'

It seems like barebox adds  'nand0.oftree' before is specified by mtdparts-nand?!

Any help is appreciated.

Bogdan


_______________________________________________
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