Rpxlite Booting
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/
Quoted 3 lines · In message <[email protected]> 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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 1 line
2) What is the bfdformat of the image expected by the rpxlite board?
This depends on the boot loader you use.
Quoted 1 line
Should I build the kernel image in S record format?
If your bootloader needs S-records, then yes.
Quoted 2 lines
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: [email protected] 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/