Hi,
you can create NAND Partitons with nand_parts variable in /env/config.
For example nand_parts="256k(barebox)ro,128k(bareboxenv),3M(kernel),-(root)"
nand -a nand0.* only creates a bb device that will handle badblocks if they appear.
Cheers
Alex
Hi,
i need to create a NAND Partition through the barebox prompt to be able to flash a kernel image on it.
This is the current devinfo of my target:
barebox:/ devinfo
devices:
`---- imx_serial0
`---- cs0
`---- mem0
`---- 0x00000000-0x1fffffff: /dev/ram0
`---- mem1
`---- 0x00000000-0x1fffffff: /dev/ram1
`---- imx_iim0
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank0
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank1
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank2
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank3
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank4
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank5
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank6
`---- 0x00000000-0x0000001f: /dev/imx_iim_bank7
`---- ramfs0
`---- devfs0
`---- mem2
`---- 0x00000000-0x000018ab: /dev/defaultenv
`---- mem3
`---- 0x00000000-0xfffffffe: /dev/mem
`---- cs1
`---- fec_imx0
`---- miidev0
`---- 0x00000000-0x0000003f: /dev/phy0
`---- eth0
drivers:
imx_serial
ramfs
devfs
imx_iim
fec_imx
miidev
mem
I tried using
$ nand -a /dev/nand0.*
Nothing happens..
What is wrong?
- - Christian
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox