All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Wolf <mwolf@sgi.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: booting sequence for embedded kernels
Date: Fri, 28 Jan 2000 12:55:05 -0600	[thread overview]
Message-ID: <3891E609.298E1F8A@sgi.com> (raw)


Hi,
  I'm new to kernel development and I have some questions regarding
running linux on the IBM-403.  I have gotten the 2.3.39 kernel and
Grant Erickson's patches.  When I attempt to boot the board just hangs.
I'm using bootp and tftp to load.  I see the following and have some
questions

I see an ARP/RARP exchange followed by a bootp request reply.  Then tftp
kicks in and downloads the file.  The board reports that the entry point
is 0x200000.

>From now on I see nothing coming over the serial line and on the
workstation
the snoop is showing the workstation sending an RARP that should be
picked
up by the board.

My questions.

1)  How is the serial console specified?  When configuring the kernel
for
    compilation I answered y to CONFIG_SERIAL_CONSOLE.  In
arch/ppc/treeboot/
    main.c, I set the boot command line [static char *cmdline =
"console=ttyS0,
    9600].  I noticed that in init/main.c in the start_kernel routine
that
    a printk of the banner is done.  I'm not seeing this banner, so
where
    do I start debugging?

2)  Where does the kernel start setting up the network interface?  I
assume
    this is why I'm seeing an arp/rarp exhange after the tftp completes.

3)  What is the general sequence of a typical bootp?
    a) run bootp to find out image to load
    b) run tftp to download and load into memory
    c) jump to start location and start executing?

    Is a,b,c the general step or is there more.

Sorry if these are obvious questions, I've looked on the net and in some
linux kernel books and have not found the answers.

The board is an IBM 403 and I'm using IBM's rom monitor to load the
image.
The workstation is a Sun sparc station 5 running solaris 2.7.

--
Mike Wolf
Cray Research
655-F Lone Oak Drive, Eagan, MN 55121
mwolf@cray.com          (651)683-5313

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

                 reply	other threads:[~2000-01-28 18:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3891E609.298E1F8A@sgi.com \
    --to=mwolf@sgi.com \
    --cc=linuxppc-embedded@lists.linuxppc.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 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.