From: "Balasa, Bogdan" <BBalasa@Morganschaffer.com>
To: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: mtdparts phyFlex
Date: Tue, 11 Nov 2014 21:27:54 +0000 [thread overview]
Message-ID: <4C598A31AEBE214FB619D7F2DC3BD8AB013B08AA97@MSI0E01.MSI.Local> (raw)
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
next reply other threads:[~2014-11-11 21:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-11 21:27 Balasa, Bogdan [this message]
2014-11-12 6:50 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C598A31AEBE214FB619D7F2DC3BD8AB013B08AA97@MSI0E01.MSI.Local \
--to=bbalasa@morganschaffer.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox