linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Rpxlite Booting
@ 2002-08-20 14:07 Priyadarshini K
  2002-08-20 15:24 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Priyadarshini K @ 2002-08-20 14:07 UTC (permalink / raw)
  To: linuxppc-embedded


Hi
   I am trying to recompile the Hardhat kernel for Embedded Planet rpxlite
board and boot the target. But I have problems.

   I want these details:

   1) Are there any specific options I need to set/change while compiling
the Hardhat kernel (with menuconfig or the compiler options)?
      One of the compiler options is mcpu=860. The Rpxlite board is based on
MPC823e. Should the mcpu option be changed for it?

   2) What is the bfdformat of the image expected by the rpxlite board?
Should I build the kernel image in S record format?

   3) If so can I compress the image using gzip? Should the compression be
done before mkimage or after mkimage?

   Can anyone help me with these?

   Right now, I am doing the following:

   ppc_8xx-objcopy -S -O binary vmlinux vmlinux-raw
   gzip vf9 vmlinux-raw
   ./mkimage -n 'Linux RpxLite' -A ppc -O linux -T kernel -C gzip -d
vmlinux-raw.gz rpxlite-image

   I am able to tftp the rpxlite-image onto the target. But I cannot run the
image on the target. Is there anything wrong with the options I am using?

   Thanks in advance for any help

   Regards
   Priya


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

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

* Re: Rpxlite Booting
  2002-08-20 14:07 Rpxlite Booting Priyadarshini K
@ 2002-08-20 15:24 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2002-08-20 15:24 UTC (permalink / raw)
  To: priyadk; +Cc: linuxppc-embedded


In message <000501c24852$fa3e4be0$1106140a@future.futsoft.com> you wrote:
>
>    I am trying to recompile the Hardhat kernel for Embedded Planet rpxlite
> board and boot the target. But I have problems.

... which are  probably  caused  by  not  reading  the  mailing  list
archives and other documentation.

>    1) Are there any specific options I need to set/change while compiling
> the Hardhat kernel (with menuconfig or the compiler options)?

I guess you mean the Linux kernel.

>       One of the compiler options is mcpu=860. The Rpxlite board is based on
> MPC823e. Should the mcpu option be changed for it?

No.

ALl you need to do to get a working default configuration is:

	bash$ make mrproper
	bash$ make rpxlite_config
	bash$ make oldconfig
	bash$ make dep
	bash$ make pImage

The last step assumes that you have PPCBoot enabled  kernel  sources;
I'm  not  sure  what version of kernel tree you're using, so I cannot
comment on this.

>    2) What is the bfdformat of the image expected by the rpxlite board?

This depends on the boot loader you use.

> Should I build the kernel image in S record format?

If your bootloader needs S-records, then yes.

>    3) If so can I compress the image using gzip? Should the compression be
> done before mkimage or after mkimage?

Since you mention "mkimage" I assume you use PPCBoot as boot loader -
and actually this is the only reason I reply at all.

Why don't you just read the README that comes with PPCBoot?

If there is anything in this README file which is  not  clear  please
let me know, and I will try to improve it.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
It all seemed, he thought, to be rather a lot of  trouble  to  go  to
just sharpen a razor blade.  - Terry Pratchett, _The Light Fantastic_

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

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

end of thread, other threads:[~2002-08-20 15:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-20 14:07 Rpxlite Booting Priyadarshini K
2002-08-20 15:24 ` 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).