Sudhakar, The good news is that I am able to get UBIFS working as per your procedure. But I have to make following changes as well:-
1) Disable sub-page write in Linux kernel nand driver and u-boot nand driver. Have you done this at your end? 2) Use a sub page size of 2048 in mkfs and ubinize commands. Your procdure still shows -s 512 though the procedure mention about disabling sub page writes. With these I can ubiformat a partition for rootfs from Linux and boot Linux using the rootfs volume. But following steps still doesn't work when you try the same from u-boot 1) nand erase.part <rootfs partition> 2) nand write 0x88000000 <rootfs partition> <size> 3) Boot using rootfs volume. We see ECC error when Linux boots up. Have you made any changes To u-boot code? Is there a step missing between 1) and 2) similar to ubiformat? Murali Karicheri Software Design Engineer email: [email protected] Phone: (301) 407 9583 >> -----Original Message----- >> From: Karicheri, Muralidharan >> Sent: Wednesday, February 01, 2012 12:07 PM >> To: Karicheri, Muralidharan; Rajashekhara, Sudhakar; davinci-linux-open- >> [email protected]; Nori, Sekhar >> Cc: Zhang, Hao >> Subject: RE: UBIFS with davinci NAND driver - ECC error >> >> Also what version of kernel and u-boot are you using for OMAP? >> >> Murali Karicheri >> Software Design Engineer >> email: [email protected] >> Phone: (301) 407 9583 >> >> >> >> -----Original Message----- >> >> From: [email protected] >> [mailto:davinci- >> >> [email protected]] On Behalf Of Karicheri, >> >> Muralidharan >> >> Sent: Wednesday, February 01, 2012 11:48 AM >> >> To: Rajashekhara, Sudhakar; davinci-linux-open- >> [email protected]; >> >> Nori, Sekhar >> >> Cc: Zhang, Hao >> >> Subject: RE: UBIFS with davinci NAND driver - ECC error >> >> >> >> Sudhakhar, >> >> >> >> Did you fix anything on the Linux NAND and u-boot NAND driver to disable >> sub >> >> page writes? >> >> >> >> Murali Karicheri >> >> Software Design Engineer >> >> email: [email protected] >> >> Phone: (301) 407 9583 >> >> >> >> >> >> >> -----Original Message----- >> >> >> From: Rajashekhara, Sudhakar >> >> >> Sent: Tuesday, January 31, 2012 11:48 PM >> >> >> To: Karicheri, Muralidharan; davinci-linux-open- >> >> [email protected]; >> >> >> Nori, Sekhar >> >> >> Subject: RE: UBIFS with davinci NAND driver - ECC error >> >> >> >> >> >> Hi Murali, >> >> >> >> >> >> On Wed, Feb 01, 2012 at 02:51:03, Karicheri, Muralidharan wrote: >> >> >> > Hi, >> >> >> > >> >> >> > I am trying to use UBIFS in my project and we are using the davinci >> >> >> > nand driver with a flash part that has page size of 2048, block size >> >> >> > of 128KiB and size of 128MiB. I have done following to boot the >> kernel >> >> >> > with a UBIFS rootfs. >> >> >> > >> >> >> >> >> >> Please refer to http://processors.wiki.ti.com/index.php/UBIFS_Support >> >> >> which has steps to get UBIFS working on AM335x. But I followed these >> >> >> steps and was able to get UBIFS working on OMAP-L138. The bootargs I >> >> >> used from U-Boot are as below: >> >> >> >> >> >> setenv bootargs mem=32M console=ttyS2,115200n8 root=ubi0:rootfs rw >> >> >> rootfstype=ubifs ubi.mtd=4,2048 ip=dhcp >> >> >> >> >> >> Note that I also faced similar booting issues when I was using >> mkfs.ubifs >> >> >> version 1.3 on the host system to generate the UBIFS file system. The >> >> >> issue went away when I used v 1.4.8. >> >> >> >> >> >> Thanks, >> >> >> Sudhakar >> >> _______________________________________________ >> >> Davinci-linux-open-source mailing list >> >> [email protected] >> >> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
