[uClinux-dev] Wrong CLEANMARKER Position on MTD

Greg Ungerer gerg at snapgear.com
Sun Oct 2 23:44:45 EDT 2005


Hi Zhigao,

Chen Zhigao wrote:
> I try to boot my IXP425 board with a JFFS2 root FS on the MTD, into 
> which I burned two images, "zImage" and "jffs2". I got a lot of messages 

How did you "burn" then images into flash?


> regarding wrong CLEANMARKER position during booting, although I can use 
> the root FS. What's wrong here?
> 
> ============================================
> 6 RedBoot partitions found on MTD device IXP425 Flash
> Creating 6 MTD partitions on "IXP425 Flash":
> 0x00000000-0x00040000 : "RedBoot"
> 0x00040000-0x00100000 : "zImage"
> 0x00100000-0x00f00000 : "jffs2"
> 0x00f00000-0x00fc0000 : "unallocated"
> 0x00fc0000-0x00fc1000 : "RedBoot config"
> mtd: partition "RedBoot config" doesn't end on an erase block -- force 
> read-only
> 0x00fe0000-0x01000000 : "FIS directory"
> <snip>
> Empty flash at 0x0000fffc ends at 0x00010000
> CLEANMARKER node found at 0x00010000, not first node in block (0x00000000)
> Empty flash at 0x0002fffc ends at 0x00030000
> CLEANMARKER node found at 0x00030000, not first node in block (0x00020000)
> Empty flash at 0x0004fffc ends at 0x00050000
> CLEANMARKER node found at 0x00050000, not first node in block (0x00040000)
> Empty flash at 0x0006fffc ends at 0x00070000
> CLEANMARKER node found at 0x00070000, not first node in block (0x00060000)
> <snip>
> CLEANMARKER node found at 0x00310000, not first node in block (0x00300000)
> Empty flash at 0x0032ffd4 ends at 0x00330000
> CLEANMARKER node found at 0x00330000, not first node in block (0x00320000)
> CLEANMARKER node found at 0x00350000, not first node in block (0x00340000)
> CLEANMARKER node found at 0x00370000, not first node in block (0x00360000)
> CLEANMARKER node found at 0x00390000, not first node in block (0x00380000)
> Empty flash at 0x003afffc ends at 0x003b0000
> CLEANMARKER node found at 0x003b0000, not first node in block (0x003a0000)
> CLEANMARKER node found at 0x003d0000, not first node in block (0x003c0000)
> VFS: Mounted root (jffs2 filesystem).
> ====================================================
> 
> Another problem is that I can not find any "/dev/mtd*" in the FS, though 
> "cat /proc/mtd" can return me the flash partition infor.

Did you create any mtd device nodes in your jffs2.img?

(I assume you are working with uClinux-dist or snapgear source
package?  Which target did you build for?  Perhaps it does not
be default create the mtd devices as part of its build).

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg at snapgear.com
SnapGear -- a CyberGuard Company            PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com



More information about the uClinux-dev mailing list