linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: wangxuelong@0451.com
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: PPCBOOT Questions
Date: Sat, 30 Dec 2000 12:27:11 +0100	[thread overview]
Message-ID: <200012301127.eBUBRB728194@denx.local.net> (raw)
In-Reply-To: Your message of "Sat, 30 Dec 2000 14:06:30 +0800." <D0998769859369.13745@fmail1.hl.cninfo.net>


Dear Micael,

in message <D0998769859369.13745@fmail1.hl.cninfo.net> you wrote:
>

> 1.I have already had a custom PBX board with a embedded CPU named
> MPC823, and a monitor has already been flashed into a EPROM on the

If you are using PPCBoot  (the  Open  source  firmware  for  embedded
PowerPC  systems)  on  your  board,  as  the  subject  suggests, such
questions  are  better  directed  to  the  PPCBoot  mailing  list  at
ppcboot-users@lists.sourceforge.net

> board. In this case, this embedded system can run the monitor
> normally. Now I get a kernel image corresponding to my PBX board
> with the format of SRECORD. How can I use the monitor command
> "netloads" to download the kernel image from a TFTP server to the
> embedded system through a LAN network?

On the other hand, PPCBoot does not have  a  "netloads"  command;  so
probably you are using any other firware?

With PPCBoot, S-Record files can be downloaded over the  serial  port
using  the  "loads" command. You can load binary images over ethernet
using the "tftp", "rarp" or "bootp"  commands;  or  can  load  binary
images  over  the  serial port with the "loadb" command (using kermit
binary protocol).

You can convert a S-record file into a binary image with the help  of
the  "objcopy"  command  which  is  part of the binutils package (and
probably also part of your CDK).

> 2.I think, the TFTP server is also a BOOTP server, and it should
> provide NFS function. How can I set this server to play such a
> important role.

Well, BOOTP is just used to retrieve configuration information;  TFTP
is  then  used to load an image. I don't know of any embedded PowerPC
firmware that supports NFS, so you probably mean mounting  the  Linux
root  filesystem  over  NFS  - but that's a Linux kernel issue, not a
problem of the firmware.

Hope that helps,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
For every problem there is one solution which is  simple,  neat,  and
wrong.                                                - H. L. Mencken

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

  reply	other threads:[~2000-12-30 11:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-30  6:06 PPCBOOT Questions wangxuelong
2000-12-30 11:27 ` Wolfgang Denk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-01-06  2:20 ppcboot Questions Micael balow
2001-01-06  9:10 ` Wolfgang Denk

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=200012301127.eBUBRB728194@denx.local.net \
    --to=wd@denx.de \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=wangxuelong@0451.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;
as well as URLs for NNTP newsgroup(s).