From: Pete Popov <ppopov@pacbell.net>
To: Matthew Dharm <mdharm@momenco.com>
Cc: linux-mips <linux-mips@oss.sgi.com>
Subject: Re: Does anyone know how HHL boots?
Date: Thu, 24 Jan 2002 08:51:37 -0800 [thread overview]
Message-ID: <1011891098.1390.15.camel@localhost.localdomain> (raw)
In-Reply-To: <20020124015042.B29933@momenco.com>
On Thu, 2002-01-24 at 01:50, Matthew Dharm wrote:
> I'm somewhat curious...
>
> MontaVista has HHL support for several MIPS boards... including one that my
> company makes. We've never actually seen their HHL distribution for our
> board, tho... and we're wondering, how does it boot?
>
> 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?
HHL, or now MontaVista Linux, MVL, is a cross dev environment. The tools
and all apps are installed on the host system. The target boots over the
net, which requires that the boot code support net booting, and then
mounts the root fs over nfs. You can then proceed to develop your apps
on the host system, install it in the target directory, test it, etc.
When you're ready for deployment, you can use the Target Configurator
Tool to build a custom file system.
How you deploy the system varies. I'll give you an example of a board
I'm working on right now. The Pb1500 from Alchemy has yamon as the boot
code. I've added boot from flash support so you can compile a zImage
kernel. The image is then turned to srecords, which yamon can download
directly to flash (if the srecords' addresses are those of the flash).
You can then set a "start" variable in yamon which is a string that
yamon parses, such as: "go bfd00000 root=/dev/mtdblock0". Assuming that
you have the zImage at 0xbfd00000, yamon will just jump there and the
kernel loader that's part of the zImage will do the rest. The root file
system, in this case, is in flash. This means that you need mtd and jffs
or jffs2 support. Another option for this board is to put the root fs on
a pcmcia card or on a hard disk, since the board has the HPT370A IDE
controller. I've tested both.
I guess the short answer is that MVL boots over the network and mounts
the root fs over nfs. For deployment, it depends on what you need or
what your customers need. It also depends on the features of your boot
code and the level of support for your board in the kernel tree (mtd,
jffs, etc). It might be very easy to deploy the board, or you might
have to either pay someone PS or add the additional features you need
yourself.
Pete
next prev parent reply other threads:[~2002-01-24 17:54 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
2002-01-24 18:02 ` Pete Popov
2002-01-24 16:51 ` Pete Popov [this message]
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=1011891098.1390.15.camel@localhost.localdomain \
--to=ppopov@pacbell.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox