From: Karim Yaghmour <karim@opersys.com>
To: Linux-MTD <linux-mtd@lists.infradead.org>
Cc: David Woodhouse <dwmw2@infradead.org>,
Ilguiz Latypov <ilatypov@superbt.com>,
Mark Meade <mark@lakeshoremicro.com>
Subject: No more DoC hotplug on Grub fail [tested & working]
Date: Sun, 11 Aug 2002 04:00:25 -0400 [thread overview]
Message-ID: <3D561999.593157B6@opersys.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]
I modified doc_stage1.S to check whether the user is holding
down the "ctrl" key while booting. If so, then it uses the
BIOS's original bootstrap handler instead of its own. This
avoids having to hotplug the DOC in case you misconfigure it
or if it fails to boot adequately for some other reason.
I had suggested this idea earlier on this list, but I figured
I'd dig up some of my old real-mode witchcraft and get it over
with. I sent a preliminary version of the code earlier, but
now that I tested it out, I know that that version doesn't
work. The version attached with the current e-mail, however,
does work.
The scheme works as described in my earlier emails.
Hopefully this saves some folks some cold sweat (me included).
Karim
P.S.: For some reason, gas 2.9.5 is unable to build my modified
doc_stage1.S in the prescribed 512 bytes. gas 2.12, nevertheless,
works just fine.
===================================================
Karim Yaghmour
karim@opersys.com
Embedded and Real-Time Linux Expert
===================================================
[-- Attachment #2: doc_stage1.S.bz2 --]
[-- Type: application/octet-stream, Size: 4734 bytes --]
next reply other threads:[~2002-08-11 7:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-11 8:00 Karim Yaghmour [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-09-04 14:58 No more DoC hotplug on Grub fail [tested & working] Mark Meade
2002-09-04 15:27 ` Henrik Nordström
2002-09-04 15:59 ` Karim Yaghmour
2002-09-04 16:41 ` Henrik Nordstrom
2002-09-04 17:40 ` Mark Meade
2002-09-04 18:07 ` Mark Meade
2002-09-04 18:33 ` Karim Yaghmour
2002-09-04 19:15 ` Mark Meade
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=3D561999.593157B6@opersys.com \
--to=karim@opersys.com \
--cc=dwmw2@infradead.org \
--cc=ilatypov@superbt.com \
--cc=linux-mtd@lists.infradead.org \
--cc=mark@lakeshoremicro.com \
/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