ts-7000
[Top] [All Lists]

Re: [ts-7000] 2.6 derevo18 patch

To:
Subject: Re: [ts-7000] 2.6 derevo18 patch
From: Matthieu Crapet <>
Date: Fri, 23 Jun 2006 01:16:46 +0200
>     6 RedBoot partitions found on MTD device
>     phys_mapped_flash                     
>     Creating 6 MTD partitions on
>     "phys_mapped_flash":                              
>     0x00000000-0x00e20000 :
>     "(reserved)"                                           
>     mtd: Giving out device 0 to
>     (reserved)                                         
>     0x00e20000-0x00e60000 :
>     "RedBoot"                                              
>     mtd: Giving out device 1 to
>     RedBoot                                            
>     0x00e60000-0x00fa0000 :
>     "zImage"                                               
>     mtd: Giving out device 2 to
>     zImage                                             
>     0x00fa0000-0x00fc0000 :
>     "unallocated"                                          
>     mtd: Giving out device 3 to
>     unallocated                                        
>     0x00fc0000-0x00fc1000 : "RedBoot
>     config"                                       
>     mtd: Giving out device 4 to RedBoot
>     config                                     
>     0x00fe0000-0x01000000 : "FIS
>     directory"                                        
>     mtd: Giving out device 5 to FIS
>     directory                                      
>
>     -bash-3.1# mount -t jffs2 -o ro /dev/mtdblock/0
>     /mnt                           
>     jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
>     0x00000000: 0x5243 in
>     stead                                                                     
>      
>
>

No ! You are trying to mount the "(reserved)" partition, which is in 
fact TS-BOOTROM + the jffs2 image.
You can give a try to the command line partition table parsing 
(CONFIG_MTD_CMDLINE_PATRS).

For exemple: 
mtdparts=phys_mapped_flash:@0x00020000(FS)

You can also make your own map driver and don't use anymore the physmap 
driver.
You'll have to comment the physmap_configure line in 
arch/arm/mach-ep93xx/ts72xx.c.
I can send it to you if you are interested.

# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00800000 00020000 "Full TS-7200 NOR flash"
mtd1: 00020000 00020000 "TS-BOOTROM"
mtd2: 00600000 00020000 "RootFS"
mtd3: 001e0000 00020000 "Redboot"


Matthieu


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU