From: Ralph Stickley <rstickley@datalux.com>
To: "linux-embedded@waste.org" <linux-embedded@waste.org>,
mtd-list <mtd@infradead.org>
Subject: CF Works !?
Date: Thu, 16 Mar 2000 13:29:51 -0500 [thread overview]
Message-ID: <38D1281F.63D57D8E@datalux.com> (raw)
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
next reply other threads:[~2000-03-16 18:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-16 18:29 Ralph Stickley [this message]
2000-03-16 21:37 ` CF Works !? Kyle Harris
2000-03-17 15:13 ` Ralph Stickley
2000-03-17 17:03 ` Kyle Harris
2000-03-24 2:53 ` Sebastien Huet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=38D1281F.63D57D8E@datalux.com \
--to=rstickley@datalux.com \
--cc=linux-embedded@waste.org \
--cc=mtd@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox