[U-Boot] jffs2 & ubi rootfs in nor flash

I have an MPC8323ERDB and I need to boot jffs2 and ubi root filesystem images and I am hung up a bit in mtdparts/mtdids and various u-boot and linux config settings. I *think* I have the correct config settings in both u-boot and linux, but cant quite get to the last step (that is, past the "no init found" step and to a bash login).
I am searching for a little advice to help me bridge my slightly incomplete understanding of the boot process from flash.
Flash Layout 0xFE000000 - 0xFE7FFFFF u-boot (4 sectors) 0xFE080000 - 0xFE09FFFF dtb (1 sector) 0xFE0A0000 - 0xFE2FFFFF uImage (19 sectors) 0xFE300000 - endOfFlash rootfs
I have in the u-boot configuration CONFIG_MTD_DEVICE CONFIG_CMD_MTDPARTS CONFIG_MTD_PARTITIONS
And in the linux configuration CONFIG_MTD CONFIG_MTD_PARTITIONS
In the u-boot environment, I have mtdids=nor0=nor mtdparts=nor:3072k(u-boot),-(jffs2) bootargs=root=/dev/mtdblock1 rootfstype=jffs2 rw mtdparts=nor:3072k(u-boot),-(jffs2) rw console=ttyS0,115200
I must be missing something simple here, but I do not see what it is. As soon as I get the jffs2 partition booting, ubifs is the very next step.
participants (1)
-
Charles Krinke