mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* mtdparts phyFlex
@ 2014-11-11 21:27 Balasa, Bogdan
  2014-11-12  6:50 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Balasa, Bogdan @ 2014-11-11 21:27 UTC (permalink / raw)
  To: barebox

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-12  6:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-11 21:27 mtdparts phyFlex Balasa, Bogdan
2014-11-12  6:50 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox