public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* CF Works !?
@ 2000-03-16 18:29 Ralph Stickley
  2000-03-16 21:37 ` Kyle Harris
  0 siblings, 1 reply; 5+ messages in thread
From: Ralph Stickley @ 2000-03-16 18:29 UTC (permalink / raw)
  To: linux-embedded@waste.org, mtd-list

Ok, 
After a long drawn out battle (mostly documented on these lists :-)
here's what I had to do to make my card boot. I got this working on 
the card I've been using all week - then pulled a fresh card
out of it's package and did the following:

(using PQI compact Flash card - 32MB; PC-Engines IDE-CF adaptor )

1. Set the BIOS to autodetect HDD #1...all others are "uninstalled"
2. run fdisk on /dev/hdb
  - delete any existing partitions (factory partition is DOS FAT16 <32M)
  - using fdisk expert mode, set cylinders to 31 (changed from default
8)
  - set heads to 32 (default was also 8)
  - set sectors to 63 (default was 1014)
  - create a new partition for cylinders 1-31
  - REBOOT!!! critical here ??!! NOT power off ??

3. format /dev/hdb1 as ext2
4. sync/umount  then fsck.ext2 /dev/hdb1 - checks OK
5. mount and copy file system (12M)
6. sync/umount
7. REBOOT - (this seemed like the biggest help)
8. mount / lilo
   - include "linear" flag (thanks for hint on that one :-)
   - give kernel hdd parameters append="hd=31/32/63"
9. sync/reboot/power off
10. REMOVE HDD - set CF adaptor for Master mode, power up and *poof* it
boots!
   
Notes:
The kernel boot "Partition check" still reports [32/32/63] for CHS
Initial access to the device *sometimes* generates "DriveReady
SeekComplete error"
fsck.ext2 doesn't seem to work after all the files are copied

==========

Geeze, what a pain. I fully expect this to NOT work for anybody
else...might
not work for me tomorrow...Your mileage WILL vary!

Anybody know something else to try??

Good luck
Ralph

P.S. FYI (not trying to sell anything here...FYI only)

The adaptor I used (the one that worked) was from PC Engines -
http://www.pcengines.com/

PQI cards can be found at:
http://www.pqiusa.com
(about 30% cheaper than SanSombody...support is a bit tougher...)

*** Linux - All Beta, All the time! ***


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

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

end of thread, other threads:[~2000-03-31 19:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-16 18:29 CF Works !? Ralph Stickley
2000-03-16 21:37 ` Kyle Harris
2000-03-17 15:13   ` Ralph Stickley
2000-03-17 17:03     ` Kyle Harris
2000-03-24  2:53       ` Sebastien Huet

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