All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mark A. Greer" <mgreer@mvista.com>
To: Zhaobin Zhu <zzhu@emc.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: <kernel-image-name>
Date: Fri, 13 Oct 2000 13:29:15 -0700	[thread overview]
Message-ID: <39E7709B.D9A6AAA9@mvista.com> (raw)
In-Reply-To: 39E766CF.74B9C039@emc.com


Zhaobin Zhu wrote:

> Hi,
>
> I am setting up host (Redhat 6.2 i386) for sp7400 boot over NFS.
>
> I do this following instructions on manual for Hardhat CDK 1.2
>
> When configuring TFTP, to create a symbolic link to boot file
> in /tftpboot,
>
> ln -s /opt/hardhat/devkit/ppc/82xx/target/boot/<kernel-image-name>
> <kernel-image-name>
>
> What should I give to <kernel-image-name> ?
>
> When I do "make zImage", I got two binaries, vmlinux and zvmlinux. I also
> create a S-record file.
> Which of the 3 files do I use as <kernel-image-name> ?
>
> BTW, what is the role of tftp in kernel boot on NFS ?
> I don't see any tftp message when kernel is booting ?

I may have misunderstood your email but if I did understand the email
correctly, you have some incorrect expectations of "booting over NFS".

You can do a "network boot" and then "NFS mount" the root filesystem but DINK
doesn't support net boot on the sandpoint so you can NOT actually BOOT over
the network.  Just as bad, DINK doesn't support booting from a disk either so
you can't actually boot from an IDE drive (even though an IDE ctlr is embedded
on that board).  You _can_ put a root filesystem on an IDE drive and use that
for your root filesystem but you have the same issue of getting the kernel
into memory in the first place.

 You must get the kernel into memory some other way.  That's were DINK's
download over serial, a JTAG probe, or putting the kernel into flash comes
in.  You don't actually get the kernel itself over NFS (chicken & egg--you
need a kernel to NFS mount so you can't use NFS to get the kernel).

When people (such as myself) say "booting over NFS" we usually mean simply
mounting the root filesystem over NFS.  You need firmware support to get the
kernel from over the network (net boot) which DINK doesn't have.

I recommend building a kernel you're happy with (the one in
arch/ppc/boot/zvmlinux), stripping off the first 64KB, and putting it into
flash (do NOT overwrite DINK).  When you power on the system, let DINK run,
then run the zvmlinux at the address you burned it into flash.  You can have
DINK automatically jump to an address with the "env" cmd, I believe.  Someone
else will have to help you with the DINK cmds to get your kernel into flash.

I think my response to a previous email may have caused this confusion.  If
so, I apologize.  I meant to say, I "NFS mount the root filesystem" all the
time but I download the actual kernel into memory using my JTAG probe.

Mark


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  parent reply	other threads:[~2000-10-13 20:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-11 16:05 PCMCIA on the FADS Paolo Scaffardi
2000-10-13 19:47 ` <kernel-image-name> Zhaobin Zhu
2000-10-13 20:07   ` NFS boot hangs Zhaobin Zhu
2000-10-13 20:29   ` Mark A. Greer [this message]
2000-10-24 12:55     ` <kernel-image-name> Topi Kanerva
2000-10-24 21:04       ` <kernel-image-name> Mark A. Greer

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=39E7709B.D9A6AAA9@mvista.com \
    --to=mgreer@mvista.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=zzhu@emc.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.