I'm not acctually using NBD, but I have resolved the NBD issue by going through menuconfig and making a new defconfig. I'm not sure how but there must have been a mistake in the previous one. I have also applied the changes provided in the commit.
Our custom board has a different flash chip the MT29F8G08ABABA, which is pagesize of 4096, OOB of 224 and erase of 524,288bytes. I rebuilt everything for our custom board and tried the JFFS2 image on our board and recieve the same "fsl,ifc-nand ff800000.nand: NAND Flash ECC Uncorrectable Error" after the first boot, and after applying the changes in the file you provided. Could I have a discrepency on ECC somehow?
I have been unsuccessfull to getting UBIFS going on the RDB, I recieve the error below.
Ubootenv
=> printenv boot_nand_ubifs
boot_nand_ubifs=setenv bootargs console=$consoledev,$baudrate noinitrd rootwait=
1 rootfstype=ubifs root=ubi0:rootfs rw ubi.mtdblock=8,512 init=/init $othbootarg
s;run uImage_read;run fdt_read;bootm $uImage_ram_addr - $fdt_ram_addr
UBIFS error (pid 1): ubifs_mount: cannot open "ubi8:rootfs", error -19
VFS: Cannot open root device "ubi8:rootfs" or unknown-block(0,0): error -19
Please append a correct "root=" boot option; here are the available partitions:
1f00 256 mtdblock0 (driver?)
1f01 7168 mtdblock1 (driver?)
1f02 20480 mtdblock2 (driver?)
1f03 1024 mtdblock3 (driver?)
1f04 512 mtdblock4 (driver?)
1f05 512 mtdblock5 (driver?)
1f06 1024 mtdblock6 (driver?)
1f07 4096 mtdblock7 (driver?)
1f08 10240 mtdblock8 (driver?)
1f09 7168 mtdblock9 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Call Trace:
[ef03fe40] [c0006e50] show_stack+0x4c/0x168 (unreliable)
Thanks again.