
--- David Woodhouse <dwmw2@infradead.org> wrote:
>
>zeusj@firstlinux.net said:
>>  Thanks, I have checked the devices.txt, so I got why the odd mtd
>> "permission denied". But if the device nodes with major 31 ,mi 0-7 are
>> ROM card (as the device.txt said),why my flash can works without
>> nothing wrong? I think the minor number should be 8-15 , isnt it?
>
>Hmmm. That's out of date - I reused the major number. I thought the change
>had propagated to devices.txt by now. We don't actually distinguish between
>flash and ROM 'cards'.

Thanks, I'll check it out.

>> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0014: 0x552f instead
>
>Did you erase the flash completely before putting the JFFS2 image on there?

I think there is no relation to Jffs2 image, now I show you my mtd partition:

0x00000000-0x00020000 : "Perseus Bootloader"

0x00020000-0x00800000 : "Perseus Kernel"

0x00800000-0x01000000 : "Perseus Rootfs"

0x01000000-0x02000000 : "Perseus JFFS2"

and if  you check the message you will find that "the Magic bitmask 0x1985 not found at 0x000e0014" are all in Perseus Kernel partition, moreover, I erased all the first 16M (from bootloader to rootfs) , so I think its none of jffs2.image's business  (the rootfs is jffs2 and the root filesystem )
And it still cant explain why jffs is ok.

>> VFS: Mounted root (jffs2 filesystem) readonly.
>
>Add 'rw' to the kernel command line (and/or remove 'ro') ?

I dont have kernel command line :<

Thanks

Jim Zeus

_____________________________________________________________
Want a new web-based email account ? ---> http://www.firstlinux.net

_____________________________________________________________
Run a small business? Then you need professional email like you@yourbiz.com from Everyone.net  http://www.everyone.net?tag


