From: Robert Kaiser <rob@sysgo.de>
To: "Alex Lennon" <ajlennon@arcom.co.uk>
Cc: <mtd@infradead.org>
Subject: RE: Elan SC520 - problem with MTD
Date: Mon, 23 Apr 2001 15:54:52 +0200 [thread overview]
Message-ID: <01042316161301.01109@rob> (raw)
In-Reply-To: <NEBBKJHOALKOLCFPGELEIEJJCJAA.ajlennon@arcom.co.uk>
On Mon, 23 Apr 2001 you wrote:
> >> However, if you want to get rid of the BIOS, you have to write your own
> startup
> >> code for the board, which is not a trivial task. Actually, I'm currently
> >> working on something like that, but it is not ready for release yet and
> I'm
> >> making only slow progress as I have about a hundred other things to do.
> >> However, I believe, Vipin Malik has gotten this to work for himself.
> Maybe if
> >> you ask him nicely...
>
> I this BIOS compressed ? If not you should be able to write a simple BIOS
> extension
> to hook INT13h or INT19h. Then when your BIOS proper executes the interrupt
> your
> custom BIOS extension code loads your kernel out of linear flash - or do you
> see a
> problem with this approach ?
Interesting idea -- a bit like the DOC approach ;-)
Though I'm not sure if I understand that BIOS extension part right. As far as I
can tell, the BIOS is not compressed, but it occupies the only ROM socket on the
board. A BIOS extension would have to be put in a seperate ROM, along with an
0xaa55 header and a checksum so the BIOS calls it, right ?
In principle this could work. One would basically have to put part of the
MTD code into the BIOS extension to do the flash accesses. Keep in mind though
that the BIOS must be entered and left in real-mode (i.e. no access beyond
1MB), so the BIOS extension would have to make the transition to protected mode
and back. I've done this a couple of times but this stuff is sooo ugly
that I always want to forget all about it immediately after the job is done ;-)
To be honest, I don't think this is worth the trouble, I'd rather dump the BIOS
completely and write my own startup code.
Rob
----------------------------------------------------------------
Robert Kaiser email: rkaiser@sysgo.de
SYSGO RTS GmbH
Am Pfaffenstein 14 phone: (49) 6136 9948-762
D-55270 Klein-Winternheim / Germany fax: (49) 6136 9948-10
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
next prev parent reply other threads:[~2001-04-23 14:16 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.21.0104161208120.12472-100000@dagobert.svc.sysgo.de>
[not found] ` <01041713245700.01481@rob>
[not found] ` <005801c0cbd3$2bdb3c60$4d02010a@lrpeople.com>
2001-04-23 9:59 ` Elan SC520 - problem with MTD Robert Kaiser
2001-04-23 13:10 ` David Woodhouse
2001-04-23 13:45 ` Alex Lennon
2001-04-23 13:54 ` Robert Kaiser [this message]
2001-04-23 14:26 ` Alex Lennon
2001-04-23 14:43 ` Robert Kaiser
2001-04-23 23:07 ` Vipin Malik
2001-04-24 7:56 ` Robert Kaiser
2001-04-24 12:28 ` David Woodhouse
2001-04-24 14:07 ` Ronald G Minnich
[not found] ` <3AE5950D.D10C1F8B@daniel.com>
2001-04-27 12:03 ` Boot kernel from flash on CDPSC520 w/o BIOS! Alexander Melichenko
2001-04-27 16:57 ` Vipin Malik
2001-04-28 7:27 ` Alexander Melichenko
2001-04-26 18:23 Elan SC520 - problem with MTD mark.langsdorf
[not found] <Pine.LNX.4.21.0104151822270.6721-100000@dagobert.svc.sysgo.de>
2001-04-16 8:35 ` Alexander Melichenko
-- strict thread matches above, loose matches on Subject: below --
2001-04-11 6:12 Alexander Melichenko
2001-04-11 12:22 ` Robert Kaiser
2001-04-11 14:33 ` Vipin Malik
2001-04-12 5:23 ` Alexander Melichenko
2001-04-17 13:38 ` David Woodhouse
2001-04-17 13:42 ` Robert Kaiser
2001-04-17 13:54 ` David Woodhouse
2001-04-17 13:58 ` Robert Kaiser
2001-04-17 14:08 ` David Woodhouse
2001-04-17 15:35 ` Vipin Malik
2001-04-17 16:26 ` David Woodhouse
2001-04-17 16:47 ` Vipin Malik
2001-04-17 22:16 ` David Woodhouse
2001-04-19 18:11 ` Robert Kaiser
2001-04-18 13:50 ` Robert Kaiser
2001-04-18 13:14 ` Robert Kaiser
2001-04-18 16:05 ` Vipin Malik
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=01042316161301.01109@rob \
--to=rob@sysgo.de \
--cc=ajlennon@arcom.co.uk \
--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