Getting this error when mounting the jffs2 partition created using mkImage..

Pedro Luis D. L. carcadiz at hotmail.com
Wed Dec 19 20:38:09 EST 2007


Ravi wrote:
>
> Hi All,
>       I have u-boot based bootloader on our custom board based on ppc405EP.
> Various partitions are..
> Amd/Fujitsu Extended Query Table at 0x0040
> RoadRunner: CFI does not contain boot bank location. Assuming top.
> number of CFI chips: 2
> cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
> Creating 5 MTD partitions on "RoadRunner":
> 0x03fc0000-0x04000000 : "U-Boot based RR Boot loader"
> 0x03fa0000-0x03fc0000 : "U-Boot Env Storage"
> 0x03f80000-0x03fa0000 : "U-Boot Redundant Env Storage"
> 0x027c0000-0x03f80000 : "Kernel Image"
> 0x00000000-0x027c0000 : "JFFS2 Linux FS"
>
> I have used the following command to create the jffs2 file system image.
> $BLDTOOLS/mkfs.jffs2 -b -e 0x10000 -d $JFFS2 -p 0x27c0000 -o rr-app_64.img
> ${MKIMAGE} -T filesystem -n 'RR App Image for AMD' -d rr-app_64.img uRR-app_64

Hi,
I'm not using that board so I can not tell which is the correct value, but looking at the output you send it looks like the erase size you passed when creating the image file is wrong. I suggest you to find the appropiate value and create the image. For an mpc5200b it happened to be 0x20000. May this would help.

Good luck.

Pedro.

_________________________________________________________________
La vida de los famosos al desnudo en MSN Entretenimiento
http://entretenimiento.es.msn.com/


More information about the Linuxppc-embedded mailing list