linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PPCBOOT Questions
@ 2000-12-30  6:06 wangxuelong
  2000-12-30 11:27 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: wangxuelong @ 2000-12-30  6:06 UTC (permalink / raw)
  To: linuxppc-embedded


 Dear Sir or Madam,
      I am a freshman of the development of embedded system, and it is my honor to contact with you .
      I'd like to ask you the following questions.
      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 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?
      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.
      Thank you for your reading my letter and thank you for your considering my questions. I¡¯d like to expect to get answers as soon as possible. Thank you very much.

      Best Regards

                            yours sincerely  Micael Balow

----------------------------------------------
»¶Ó­Ê¹Óà 0451.com µç×ÓÓʼþϵͳ http://mail.0451.com
Thank you for useing 0451.com Email system


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PPCBOOT Questions
  2000-12-30  6:06 PPCBOOT Questions wangxuelong
@ 2000-12-30 11:27 ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2000-12-30 11:27 UTC (permalink / raw)
  To: wangxuelong; +Cc: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* ppcboot Questions
@ 2001-01-06  2:20 Micael balow
  2001-01-06  9:10 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Micael balow @ 2001-01-06  2:20 UTC (permalink / raw)
  To: linuxppc-embedded


Dear Sir,
      I am a freshman of the development of embedded
system, and it is my honor to contact with you .
      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 board.
      I'd like to ask you the following questions.
      1.I think,in order to get a kernel image and let
it run on that board,I need a Linux OS with a right
version to complie a kernel. When I used Redhat 6.0
and 6.1 Linux to make ppcboot.0.4.4-pre1,I got the
following error mesages:

>      Makefile:24:***unterminated call to >function
'shell' : missing '('. stop.

     But when I use Redhat 6.2 Linux to make
ppcboot.0.4.4-pre1,the message is something like the
following:

>Make[1]:Entering directory '/ppcboot/ppc'
>Make[1]:'.depend' is up to date.
            ...
>Make[1]:Entering directory '/ppcboot/tools'
>Make[1]:***No rule to make target 'crc32.c'needed >by
'.depend'. stop.
>Make[1]:Leaving directory '/ppcboot/tools'

     I do not  know the reason that I got so much
error messages.Did I use the wrong Linux version? Did
I use the wrong Bash version? How can I make changes
to let it run well.

     Thank you for your reading my letter and thank
you for your considering my questions. I’d like to
expect to get answers as soon as possible. Thank you
very much.

      Best Regards

                      yours sincerely  Micael Balow


_________________________________________________________
Do You Yahoo!? 登录免费雅虎电邮! http://mail.yahoo.com.cn
创建雅虎俱乐部,真我个性尽施展!http://cn.clubs.yahoo.com

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ppcboot Questions
  2001-01-06  2:20 ppcboot Questions Micael balow
@ 2001-01-06  9:10 ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2001-01-06  9:10 UTC (permalink / raw)
  To: Micael balow; +Cc: linuxppc-embedded


Dear Micael,

in message <20010106022001.34890.qmail@web11704.mail.yahoo.com> you wrote:
>
>       I'd like to ask you the following questions.

Why? You've asked the very same questions 4 days ago on  the  PPCBoot
mailing list, and I replied to you and the list.

> version to complie a kernel. When I used Redhat 6.0
> and 6.1 Linux to make ppcboot.0.4.4-pre1,I got the
> following error mesages:
>
> >      Makefile:24:***unterminated call to >function
> 'shell' : missing '('. stop.

The Makefile in that old version of PPCBoot used  a  shell  construct
which  was  only  available in bash version 2.x, while RH 6.0 and 6.1
use an older version of bash. The Makefile has been fixed since,  and
works in RH-6.0 and 6.1, too.

>      But when I use Redhat 6.2 Linux to make
> ppcboot.0.4.4-pre1,the message is something like the
> following:
>
> >Make[1]:Entering directory '/ppcboot/ppc'
> >Make[1]:'.depend' is up to date.
>             ...
> >Make[1]:Entering directory '/ppcboot/tools'
> >Make[1]:***No rule to make target 'crc32.c'needed >by
> '.depend'. stop.
> >Make[1]:Leaving directory '/ppcboot/tools'

It seems you are missing the symbolic link "crc32.c" in  the  "tools"
directory, which points to the C source fine in the "ppc" directory:

	-> ls -l tools/crc32.c
	lrwxrwxrwx    1 wd       users          14 Nov 16 09:58 tools/crc32.c -> ../ppc/crc32.c

>      I do not  know the reason that I got so much
> error messages.Did I use the wrong Linux version? Did
> I use the wrong Bash version? How can I make changes
> to let it run well.

Well, yes, PPCBoot 0.4.x is AWFULLY old; you'd be better off  with  a
more current version.


Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Machines take me by surprise with great frequency.      - Alan Turing

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-01-06  9:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-30  6:06 PPCBOOT Questions wangxuelong
2000-12-30 11:27 ` Wolfgang Denk
  -- 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

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).