From: David Woodhouse <dwmw2@infradead.org>
To: Vadim Khmelnitsky <VadimK@m-sys.com>
Cc: 'Ilguiz Latypov' <ilatypov@superbt.com>,
Mark Meade <mark@lakeshoremicro.com>,
linux-mtd@lists.infradead.org
Subject: Re: DiskOnChip 2000 and Millenium support in GRUB bootloader
Date: Tue, 26 Feb 2002 01:06:48 +0000 [thread overview]
Message-ID: <12174.1014685608@redhat.com> (raw)
In-Reply-To: <AEA9DCA73595D411A6D4009027DE9C5E019BF9E3@MSI-EX6>
VadimK@m-sys.com said:
> [Ilguiz] Vadim, should the Millennium SPL check sum include IPL?
> [Vadim] No . IPL of Millennium chip copies 7K of data out of offset
> 0x400 and calculates the checksum , which should be 0x55 . If it's
> not 0x55 IPL returns to BIOS without executing SPL .
What we want to achieve here is to install a tiny INT 19h handler which
instead of bootstrapping the normal way, loads the Grub bootloader from the
DiskOnChip IPL area and runs it.
That tiny INT 19h handler and the code to install it ought to fit in the
512-byte IPL space on the Millennium, so I think we should be writing our
own version of the IPL code on the Millennium, rather than using the
existing IPL which tries to load a whole 8KiB of SPL.
On the DiskOnChip 2000, the IPL in ROM loads the whole 8KiB, but still we
only use 512 bytes for our own INT 19h-installer code, and that later
reloads the whole of Grub from the flash. You can see this code at
ftp://www.uk.linux.org/pub/people/dwmw2/mtd/cvs/mtd/grub/doc_stage1.S
ftp://www.uk.linux.org/pub/people/dwmw2/mtd/cvs/mtd/grub/doc_stage1b.S
Some documentation is in the 'README' file in the same directory.
--
dwmw2
next prev parent reply other threads:[~2002-02-26 0:55 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-26 0:26 DiskOnChip 2000 and Millenium support in GRUB bootloader Vadim Khmelnitsky
2002-02-26 1:06 ` David Woodhouse [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-03-15 22:05 Mark Meade
2002-03-11 18:06 Mark Meade
2002-03-12 21:07 ` Ilguiz Latypov
[not found] <Pine.LNX.4.44.0203041529100.20113-100000@server.superbt.com>
2002-03-04 21:48 ` Mark Meade
2002-03-04 20:54 ilatypov
2002-03-02 2:51 Mark Meade
[not found] <87k7sxevml.wl@enter.planet.of.kuicr.kyoto-u.ac.jp>
2002-03-01 2:44 ` Ilguiz Latypov
2002-03-01 7:19 ` David Woodhouse
2002-03-20 8:48 ` Yoshinori K. Okuji
2002-02-26 0:39 Vadim Khmelnitsky
2002-02-23 0:23 Vadim Khmelnitsky
2002-02-21 22:50 Vadim Khmelnitsky
2002-02-22 5:37 ` Ilguiz Latypov
2002-02-22 16:17 ` Mark Meade
2002-02-22 16:59 ` Ilguiz Latypov
2002-02-22 20:32 ` Mark Meade
2002-02-22 22:38 ` Ilguiz Latypov
2002-02-20 22:25 Mark Meade
2002-02-20 23:38 ` Ilguiz Latypov
2002-02-21 1:01 ` Mark Meade
2002-02-21 22:08 ` Ilguiz Latypov
2002-02-21 22:13 ` Ilguiz Latypov
2002-02-21 22:32 ` Mark Meade
2002-02-19 22:51 Ilguiz Latypov
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=12174.1014685608@redhat.com \
--to=dwmw2@infradead.org \
--cc=VadimK@m-sys.com \
--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