All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geoffrey Espin <espin@idiom.com>
To: Matthew Dharm <mdharm@momenco.com>
Cc: linux-mips@oss.sgi.com
Subject: Re: Does anyone know how HHL boots?
Date: Thu, 24 Jan 2002 08:37:23 -0800	[thread overview]
Message-ID: <20020124083723.A47711@idiom.com> (raw)
In-Reply-To: <20020124015042.B29933@momenco.com>; from Matthew Dharm on Thu, Jan 24, 2002 at 01:50:42AM -0800

Matt,

> MontaVista has HHL support for several MIPS boards... including one that my
>... 
> I mean, our boards have an elementary boot loader that can load a kernel
> from the network, and disk-booting is something we're trying to figure out.
> But how does HHL accomplish this?  And is it a general solution for
> multiple platforms?

I went thru the same pain and confusion myself 9 months ago.  My
understanding is MontaVista uses whatever the manufacturer supplies
with the hardware.  And/or they have an internal version of PMON.
There are probably a dozen differernt MIPS loaders... some of
which you might be able to find source for, but probably won't
be even close to working on your board without weeks+ of effort.

If you have some assembly startup code that turns off interrupts,
sets up the memory controller then you maybe able to use my "LinuxMon"
solution which only works on the Korva(Markham) NEC Vr41xx chip
but is very generic.  Sheese, every monitor says it's generic.
After turning off interrupts and setting up the memory controller
it copies (optionally gunzips) the remainder of flash then jumps
to your linux kernel.  A 1-stage boot.  It can then be used
to load a second linux kernel if it has been linked elsewhere.

I wasn't successful in getting it submitted/accepted unfortunately.

You can get a copy of my 2.4.16 release containing it, at:

    http://www.idiom.com/~espin/nec

The important files are arch/mips/korva/{Boot.make,vrboot.S,misc.c}
If you have an already working linux kernel then these few files
should turn it into a boot monitor.  These were posted to
linux-mips-kernel@lists.sourceforge.net so you can find them in
the mail archive in Nov/Dec.  Or I can post.

Geoff
-- 
Geoffrey Espin
espin@idiom.com

  reply	other threads:[~2002-01-24 17:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-24  9:50 Does anyone know how HHL boots? Matthew Dharm
2002-01-24 16:37 ` Geoffrey Espin [this message]
2002-01-24 18:02   ` Pete Popov
2002-01-24 16:51 ` Pete Popov
2002-01-24 18:14 ` Jun Sun

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=20020124083723.A47711@idiom.com \
    --to=espin@idiom.com \
    --cc=linux-mips@oss.sgi.com \
    --cc=mdharm@momenco.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.