public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* re[2]: SBC-MediaGX
@ 2000-09-29 17:47 Tony Questad
  2000-09-30 11:19 ` SBC-MediaGX Alex J Lennon
  0 siblings, 1 reply; 19+ messages in thread
From: Tony Questad @ 2000-09-29 17:47 UTC (permalink / raw)
  To: mtd

>>  My understanding (you better check this before trying anything) is that
>>   the BIOS extension only contains the VBF code needed for DOS to see the VBF 
>>  volume. If you trash it, all that will happen is that you won't be able to
>>  access the VBF volume, and you can always reinstall it from the Arcom
>>   floppy.  The BIOS itself is in another flash chip entirely. I think.

That sounds right -- on the MediaGX the BIOS is contained in a seperate BIOS ROM, and the FlashFX BIOS Extension is stored in the beginning of the flash array.  Erasing this will remove the FlashFX driver, but if this is not a concern at this time, you can always reprogram it from the original Arcom disks.

>>  >Another question: why is the BIOS extension area soo big as
>>  >the extension itself is only about 14kB? The autoexec.bat file
>>  >on the Arcom bootfloppy mentions that the extension was enlarged
>>  >some time ago to 256KB in order to accomodate the Windows CE
>>  >registry???
>>  Don't know. I stuck with 256kB on my board for the same reason you did. I 
>>  don't think it's critical; what's the maximum size for a ROM extension?
>>   16kB?  32kB?

What is the erase zone size on that board?  You would need to reserve space in erase zone sized chunks; On a flash part with 128KB erase zones, the minimum you would need to reserve would be 128KB, no matter how large your BIOS extensions are.  You do not want the area that your BIOS extension is in being moved around by FlashFX, or any wear leveling system as it would need to stay put in the beginning of the flash -- The reason for 256k escapes me at this moment, as I remember that the BIOS Extension for FlashFx is probably 16kb, but I am sure they were using the other area for CE related issues.  It may very well be that the first 128k (or 64k) was reserved as a full sector to handle the 16kb BIOS extension, and the rest was done for future growth.

****************************************************************************
 Senior Development Support Engineer   Datalight, Inc
 tel: 425 951 8086 x142                21520 30th Drive SE, Suite 110
 fax: 425 951 8094                     Bothell, WA
 email: tony.questad@datalight.com     98021


Leverage over 100 man-years of embedded system experience!  24-hour/7-day 
support is found at: http://datalight.custhelp.com/cgi-bin/datalight
****************************************************************************


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] 19+ messages in thread
* SBC-MediaGX
@ 2000-09-29 12:55 Michiel Ronsse
  2000-09-29 15:15 ` SBC-MediaGX David Given
  0 siblings, 1 reply; 19+ messages in thread
From: Michiel Ronsse @ 2000-09-29 12:55 UTC (permalink / raw)
  To: mtd



Hi,

after checking all the messages in the archive of this
mailing list I managed to access the Intel Strataflash
chip on our Arcom SBC-MediaGX board. I 'repartitioned' the flash:
256kB for the BIOS extension, 1.5MB for DOS and the remainder
for Linux. The linux partition was formatted with JFFS.
Everything seems to work find although JFFS makes a lot
of noise when mounting the partition, moreover it finds only
13MB free and df only reports 4MB free... 

The next logical step would be to make the flash bootable
by overwriting the BIOS extension. I'm a bit reluctant to
do this as I don't want to make my board unbootable. E.g.
what happens if there is something wrong with the new BIOS?
Can you prevent somehow the BIOS on the board 
from executing the BIOS extension in the flash? 


Another question: why is the BIOS extension area soo big as
the extension itself is only about 14kB? The autoexec.bat file
on the Arcom bootfloppy mentions that the extension was enlarged
some time ago to 256KB in order to accomodate the Windows CE
registry???



Michiel Ronsse.


-- 
+- Michiel Ronsse --- michiel.ronsse@rug.ac.be -+
| Parallel Information Systems Group            |
| ELIS - Ghent University  - Ghent, Belgium     |
| Phone: +32/9/264.33.67   Fax: +32/9/264.35.94 |
+------ http://www.elis.rug.ac.be/~ronsse ------+

In a train station the train stops, in a work station ...


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] 19+ messages in thread
[parent not found: <39C08AB9.1DF0409B@arcom.co.uk>]
* sbc-mediagx
@ 2000-09-13 16:27 David Given
  2000-09-13 16:43 ` sbc-mediagx David Woodhouse
  0 siblings, 1 reply; 19+ messages in thread
From: David Given @ 2000-09-13 16:27 UTC (permalink / raw)
  To: mtd

I have a Arcom systems development board with a Datalight FlashFX flash device 
on it. When I heard that the new MTD system supported this, I rejoiced, 
because the Datalight binary-only FlashFX driver sucks beyond belief. (It's 
120kB. It only works on 2.2.10. When writing, it leaves interrupts off for 
long periods. It takes several minutes to write a few hundred kB --- with 
interrupts off. If you run strings on it, you discover that it seems to have a 
number of DOS executables compiled into it.)

So, I checked the latest MTD out of CVS, got 2.4.0test7 (test8 locks up on 
me), and got it working.

* MTD only works with kernels compiled with*out* MODVERSIONS. This is because 
the dynamic loading code in map.h doesn't know about the mangled symbols used 
with this option turned on.

* The device claims to see only 8MB of my flash medium.

* The device sees three partitions on the disk. DOS sees one. I suspect that 
they use different concepts of partitions.

* MTD doesn't work with devfs, so you have to create device nodes manually --- 
/dev/mtd is at c,90,0..2 and /dev/mtdblock is at b,31,0..2, right?

* There does seem to be data in the partitions. mtd0 and mtd1 seem to be 
identical, and they look suspiciously like a PC ROM --- I'm steering well 
clear of them. mtd2 is strange. There are visible strings here and there, but 
nothing that seems to make any sense. DOS thinks there's a FAT12 filesystem on 
it.

mtd0 & 1 are 640kB. mtd2 is 1.44MB. mtdblock0 is 640kB, mtdblock1 is 1.44MB, 
and mtdblock2 is 6MB. The data in them all seem to repeat after 1MB.

Would anyone like to explain to me what's going on, if anyone knows? I 
*really* don't want to go back to using flashfx.o. I don't want to experiment 
as I could easily render my board unbootable. Which would be a shame.

BTW, anyone know how frequently the kernel syncs with the CVS tree?

-- 
+- David Given ---------------McQ-+ "`Aplysia californica' is your taxonomic
|  Work: dg@tao-group.com         | nomenclature.
|  Play: dgiven@iname.com         | A slug, by any other name, is still a slug
+- http://wired.st-and.ac.uk/~dg -+ by nature." --- drushel on a.f.c           






To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2000-09-30 11:20 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <NEBBLLDBMLGONJHPHHEKGEMLCHAA.ajlennon@arcom.co.uk>
2000-09-14 12:54 ` sbc-mediagx David Woodhouse
2000-09-14 13:12   ` sbc-mediagx Alex J Lennon
2000-09-14 13:20     ` sbc-mediagx David Woodhouse
2000-09-15 20:23     ` sbc-mediagx Scott Anderson
2000-09-29 17:47 re[2]: SBC-MediaGX Tony Questad
2000-09-30 11:19 ` SBC-MediaGX Alex J Lennon
  -- strict thread matches above, loose matches on Subject: below --
2000-09-29 12:55 SBC-MediaGX Michiel Ronsse
2000-09-29 15:15 ` SBC-MediaGX David Given
2000-09-29 17:20   ` SBC-MediaGX Michiel Ronsse
     [not found] <39C08AB9.1DF0409B@arcom.co.uk>
2000-09-14 10:59 ` sbc-mediagx David Given
2000-09-14 11:45   ` sbc-mediagx Kira Brown
2000-09-13 16:27 sbc-mediagx David Given
2000-09-13 16:43 ` sbc-mediagx David Woodhouse
2000-09-13 17:08   ` sbc-mediagx David Given
2000-09-13 17:37     ` sbc-mediagx David Given
2000-09-13 18:10     ` sbc-mediagx David Given
2000-09-14  9:04       ` sbc-mediagx David Woodhouse
2000-09-14 10:03         ` sbc-mediagx David Given
2000-09-14 11:15           ` sbc-mediagx David Given
2000-09-14  9:35   ` sbc-mediagx David Vrabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox