Questions on the MPC8xx-2.3.10 realease.
Hi PPCpeople;
I worked recently on the mpc8xx-2.3.10 sources, and I had less problem for compilation than with the 2.2.5 release, but it stays some 'undefined reference to :kbd_pt_regs, fg_console, no_scroll.....'.
I think it is a configuration problem, but I don't find any solution (and I wonder if I will find the good configuration one day). I noticed like Brendan that some parameter are configured even if you didn't want.
I edited the autoconf.h but no really changes.
According to Dan, it seems to be tooo difficult to cross compile on a host pentium machine (I begin to be mainly agree with him),so I'm going to obtain a powermac station.
However I would like to know before if someone has already succeeded to build a zImage or zImage.initrd configured for a MPC860 MBX board on a host pentium (II 400) station?
Good Day.
Sébastien Tadéoni
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 8 lines · sébastien tadéoni
Hi PPCpeople;
I worked recently on the mpc8xx-2.3.10 sources, and I had less problem for compilation than with the 2.2.5 release, but it stays some 'undefined reference to :kbd_pt_regs,
fg_console,no_scroll.....'.
Quoted 6 lines
I think it is a configuration problem, but I don't find any solution (and I wonder if I will find the good configuration one day). I noticed like Brendan that some parameter are configured even if you didn't want.
I edited theautoconf.hbut no really changes.
I suggest tracking down the Makefile that is building the unwanted feature and comment out the lines that build it. It's not the cleanest solution, but it has worked for me.
Quoted 10 lines
According to Dan, it seems to be tooo difficult to cross compile on a host pentium machine (I begin to be mainly agree with him),so I'm going to obtain a powermac station.
However I would like to know before if someone has already succeeded to build a zImage or zImage.initrd configured for a MPC860 MBX board on a host pentium (II 400) station?
I have successfully built both a zImage and zImage.initrd for kernel 2.2.5 for an RPX-Lite (MPC850) board on a PII-350 station running RedHat 5.2. I used binutils-2.9.1.0.19a and egcs-1.1.2 cross-compiler.
Quoted 3 lines
Good Day.
Sébastien Tadéoni
Signature · 7 lines
+---------------------+----------------------+ | Scott Wood | Systems Engineer | |=====================+======================| | BroadLink Communications | +--------------------------------------------+ ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 7 lines · sébastien tadéoni
Hi PPCpeople;
I worked recently on the mpc8xx-2.3.10 sources, and I had less problem for compilation than with the 2.2.5 release, but it stays some 'undefined reference to :kbd_pt_regs,
fg_console,no_scroll.....'.
Quoted 6 lines
I think it is a configuration problem, but I don't find any solution (and I wonder if I will find the good configuration one day). I noticed like Brendan that some parameter are configured even if you didn't want.
I edited theautoconf.hbut no really changes.
Dan suggests (look at the mailing list archives) that linux-2.3.18.tgz is what you should use instead of mpc8xx-2.3.10.tgz. He also suggested that he might remove the mpc8xx-2.3.10.tgz archive and I think that would be a good idea if it has problems compiling or has some confusing elements. Since it is a bleeding edge release you must expect problems. I have reverted back to the embedded-2.2.5.tgz archive for my port. It compiles fine with the right options. I would probably recommend the 2.2.5 stuff for first timers (like me) as this is the most stable version and there are apparently lots of MPC8xx boards using this kernel.
Quoted 9 lines
According to Dan, it seems to be tooo difficult to cross compile on a host pentium machine (I begin to be mainly agree with him),so I'm going to obtain a powermac station.
However I would like to know before if someone has already succeeded to build a zImage or zImage.initrd configured for a MPC860 MBX board on a host pentium (II 400) station?
I have had no problems compiling the kernel with the x86->ppc cross-compiler, though I would still love to have a PowerPC machine instead of an x86. The only problems I had have been choosing the right configuration options. Once you have sorted this out you should be fine. Have you installed a x86-ppc cross-compiler ? I can help you if you are having problems with it (building the compiler or using it to compile the kernel). Note that any questions on building an i86->ppc cross-compiler should be sent to the crossgcc mailing list. See
http://www.objsw.com for FAQ and subscription details. I am using egcs-1.1.2 and there is a prebuilt egcs-1.1.1 cross-compiler available from the LinuxPPC web pages.
Brendan Simon.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 9 lines · sébastien tadéoni
According to Dan, it seems to be tooo difficult to cross compile on a host pentium machine (I begin to be mainly agree with him),so I'm going to obtain a powermac station.
However I would like to know before if someone has already succeeded to build a zImage or zImage.initrd configured for a MPC860 MBX board on a host pentium (II 400) station?
I build all PPC-Linux stuff on a ix86 PII - kernels and user-space stuff. Recently only for a custom board, but previously I've built MBX, ADS and FADS kernels.
There's nothing special about cross-compiling from ix86-->PPC, except the cross compiling itself. If you haven't built a cross-compiler before I suggest you have a look at:
http://members.home.net/mmporter/linux/cross/
and
http://www.objsw.com/CrossGCC/
//Marcus
Signature · 6 lines
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan/
Royal Institute of Technology | Phone: +46 707 295404
Stockholm, Sweden | E-Mail: [email protected]
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/