<font size=2 face="sans-serif">I see!</font>
<br><font size=2 face="sans-serif">I have an entry in the env/config:</font>
<br><font size=2 face="sans-serif">nand_parts="256k(barebox)ro,768k(bareboxenv),4M(kernel),128M(root)"</font>
<br>
<br><font size=2 face="sans-serif">The Problem might be, that the NAND
Flash size is only 128M.</font>
<br><font size=2 face="sans-serif">I took the script from another platform..</font>
<br>
<br><font size=2 face="sans-serif"> - - Christian</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">Von:
</font><font size=1 face="sans-serif">Alexander Aring <alex.aring@googlemail.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">An:
</font><font size=1 face="sans-serif">christian.buettner@rafi.de</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Kopie:
</font><font size=1 face="sans-serif">barebox@lists.infradead.org</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Datum:
</font><font size=1 face="sans-serif">29.03.2012 14:08</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Betreff:
</font><font size=1 face="sans-serif">Re: Create NAND
Partition through barebox</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>Hi,<br>
<br>
you can create NAND Partitons with nand_parts variable in /env/config.<br>
<br>
For example nand_parts="256k(barebox)ro,128k(bareboxenv),3M(kernel),-(root)"<br>
<br>
nand -a nand0.* only creates a bb device that will handle badblocks if
they appear.<br>
<br>
Cheers<br>
Alex<br>
</font>
<br><font size=3>Am 29. März 2012 13:55 schrieb <</font><a href=mailto:christian.buettner@rafi.de target=_blank><font size=3 color=blue><u>christian.buettner@rafi.de</u></font></a><font size=3>>:</font>
<br><font size=3 face="sans-serif">Hi,</font><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
i need to create a NAND Partition through the barebox prompt to be able
to flash a kernel image on it.</font><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
This is the current devinfo of my target:</font><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
barebox:/ devinfo <br>
devices:</font><font size=3> </font><font size=3 face="sans-serif"><br>
`---- imx_serial0</font><font size=3> </font><font size=3 face="sans-serif"><br>
`---- cs0</font><font size=3> </font><font size=3 face="sans-serif"><br>
`---- mem0</font><font size=3> </font><font size=3 face="sans-serif"><br>
`---- 0x00000000-0x1fffffff: /dev/ram0</font><font size=3>
</font><font size=3 face="sans-serif"><br>
`---- mem1</font><font size=3> </font><font size=3 face="sans-serif"><br>
`---- 0x00000000-0x1fffffff: /dev/ram1</font><font size=3>
</font><font size=3 face="sans-serif"><br>
`---- imx_iim0</font><font size=3> </font><font size=3 face="sans-serif"><br>
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank0</font><font size=3>
</font><font size=3 face="sans-serif"><br>
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank1</font><font size=3>
</font><font size=3 face="sans-serif"><br>
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank2</font><font size=3>
</font><font size=3 face="sans-serif"><br>
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank3</font><font size=3>
</font><font size=3 face="sans-serif"><br>
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank4</font><font size=3>
</font><font size=3 face="sans-serif"><br>
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank5</font><font size=3>
</font><font size=3 face="sans-serif"><br>
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank6</font><font size=3>
</font><font size=3 face="sans-serif"><br>
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank7</font><font size=3>
</font><font size=3 face="sans-serif"><br>
`---- ramfs0</font><font size=3> </font><font size=3 face="sans-serif"><br>
`---- devfs0</font><font size=3> </font><font size=3 face="sans-serif"><br>
`---- mem2</font><font size=3> </font><font size=3 face="sans-serif"><br>
`---- 0x00000000-0x000018ab: /dev/defaultenv</font><font size=3>
</font><font size=3 face="sans-serif"><br>
`---- mem3</font><font size=3> </font><font size=3 face="sans-serif"><br>
`---- 0x00000000-0xfffffffe: /dev/mem</font><font size=3>
</font><font size=3 face="sans-serif"><br>
`---- cs1</font><font size=3> </font><font size=3 face="sans-serif"><br>
`---- fec_imx0</font><font size=3> </font><font size=3 face="sans-serif"><br>
`---- miidev0</font><font size=3> </font><font size=3 face="sans-serif"><br>
`---- 0x00000000-0x0000003f: /dev/phy0</font><font size=3>
</font><font size=3 face="sans-serif"><br>
`---- eth0</font><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
drivers:</font><font size=3> </font><font size=3 face="sans-serif"><br>
imx_serial</font><font size=3> </font><font size=3 face="sans-serif"><br>
ramfs</font><font size=3> </font><font size=3 face="sans-serif"><br>
devfs</font><font size=3> </font><font size=3 face="sans-serif"><br>
imx_iim</font><font size=3> </font><font size=3 face="sans-serif"><br>
fec_imx</font><font size=3> </font><font size=3 face="sans-serif"><br>
miidev</font><font size=3> </font><font size=3 face="sans-serif"><br>
mem</font><font size=3> <br>
<br>
</font><font size=3 face="sans-serif"><br>
I tried using</font><font size=3> </font><font size=3 face="sans-serif"><br>
$ nand -a /dev/nand0.*</font><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
Nothing happens..</font><font size=3> </font><font size=3 face="sans-serif"><br>
What is wrong?</font><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
- - Christian</font><font size=3><br>
_______________________________________________<br>
barebox mailing list</font><font size=3 color=blue><u><br>
</u></font><a href=mailto:barebox@lists.infradead.org target=_blank><font size=3 color=blue><u>barebox@lists.infradead.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href=http://lists.infradead.org/mailman/listinfo/barebox target=_blank><font size=3 color=blue><u>http://lists.infradead.org/mailman/listinfo/barebox</u></font></a><font size=3><br>
</font>
<br>
<br>