Create NAND Partition through barebox

Eric Bénard eric at eukrea.com
Thu Mar 29 08:34:42 EDT 2012


Le Thu, 29 Mar 2012 14:32:01 +0200,
christian.buettner at rafi.de a écrit :

> This is my current config:
> 
> #!/bin/sh
> 
> machine=test
> 
> kernel_loc=nand
> rootfs_loc=nand
> 
> rootfs_type=ubifs
> 
> kernel=zImage
> rootfs=rootfs
> envimage=environ.bin
> 
> autoboot_timeout=3
> 
> nfsroot="/tools/rootfs/test"
> 
> console="console=ttymxc0,115200"
> 
> bootargs=${console}
> 
> nand_parts="256k(barebox)ro,768k(bareboxenv),4M(kernel),-(root)"
> kdev="/dev/nand0.kernel.bb"
> rootfs_mtdblock_nand=3
> 
> 
> 
> But i see no NAND in devinfo
> 
this one works on an i.MX535 here :
nand_parts="512k(barebox)ro,512k(bareboxenv),3M(kernel),-(root)"
rootfs_mtdblock_nand=3
nand_device="mxc_nand"
ubiroot="$machine-rootfs"
device_type="nand"

Eric



More information about the barebox mailing list