Re: [U-Boot] am335x based board nand boot crashes to ubi0 error

2017-01-09 Thread matti kaasinen
I made two trials with NANDARGS/nandroot variable in include/configs/am335x_evm.h that made booting work: nandroot 'ubi0:rootfs rw ubi.mtd=NAND.file-system,512' and nandroot 'ubi0:rootfs rw ubi.mtd=NAND.file-system' However, nandroot 'ubi0:rootfs rw ubi.mtd=NAND.file-system,2048' did not work as

Re: [U-Boot] am335x based board nand boot crashes to ubi0 error

2017-01-06 Thread matti kaasinen
It seems that http://www.denx.de/wiki/publish/DULG/DULG-enbw_cmc.html#Section_9.1.5.2. Chapter 9.1.5.3.4. Installing UBI images (if no UBI Volumes exist): is mentioning a problem like this. Figures in error message are swapped, though. Anyhow, the root problem could be the fact that my ubiformat

[U-Boot] am335x based board nand boot crashes to ubi0 error

2017-01-05 Thread matti kaasinen
Hi! I would need help related to nand boot with am335x based board. Board boots from mmc (sd card), but not from nand flash. I have been using yocto/poky build system with meta-ti layer that brings up u-boot-ti-staging. Current u-boot version is 2016.05 and linux-ti-staging-rt-4.4. I have used