Yea, it works. I now have a Yaffs and NAND build that works. For some reason the config entries for the RB532 are wrong for the 1xx, in particular you must NOT have YAFFS do the ECC. Interestingly FreeWrt have this turned off for their RB532 support.
So the config options to be added to the config/default are:- # CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set CONFIG_YAFFS_AUTO_YAFFS2=y # CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set # CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set # CONFIG_YAFFS_DOES_ECC is not set # CONFIG_YAFFS_ECC_WRONG_ORDER is not set CONFIG_YAFFS_FS=y CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y CONFIG_YAFFS_YAFFS1=y CONFIG_YAFFS_YAFFS2=y Also you need to change CONFIG_MTD_BLOCK2MTD=y in config/default. Two different top level configs are requires, one which includes initramfs and the other of which puts everything in a tar file. It is a shame that when you turn on initramfs (ramdisk) in menuconfig all the other target options get turned off. I will now write a script /sbin/tftp2nand to download the tar file and initialise the NAND partitions. The rbmipsnand.c file is as I last sent to you Florian. BUT, I can only get this to work in the ADM5120-2.6 target, I can not get the kernel in rb1xx-2.6 to boot cleanly. It get a bit further than when I pointed the problem to you Florian, but you get a kernel trap about the time it should be starting the console. Obviously this needs to be fixed. David _______________________________________________ openwrt-devel mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
