Results 1 to 2 of 2
I have a board which has powerpc processor running with linux-2.4.25 kernel
The board has ATM chip along with PHY.
I have added the atm & phy driver for the ...
- 04-08-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 21
[SOLVED] ATM tools for powerpc processor
I have a board which has powerpc processor running with linux-2.4.25 kernel
The board has ATM chip along with PHY.
I have added the atm & phy driver for the chip along with the kernel
The driver got successfully loaded. Now, I need to test the driver by using atm
tools such as awrite and aread. The linux-atm-2.4.1 package is given for intel processor
I need to make the atm tools for powerpc environment.
Is the same package available for powerpc processor ?
If not Please help me how to cross compile linux-atm-2.4.1 package for powerpc environment..
- 04-09-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
Since I see that you had the other questions about building a 2.4 kernel for the ppc chip, I assume these are related. As to whether or not you can cross-compile the atm package for the ppc instead of intel chip, the answer has to be "it depends". This is a porting exercise and you will (unless impossibly lucky) be doing a lot of debugging. Hopefully you have access to the JTAG debugging lines on the board, and a good JTAG debugger?
Right...
Anyway, you need to set up your build environment for building the kernel and kernel drivers. This means that you need to edit the kernel Makefile so it knows what architecture you are building for and where the cross-compiler toolchain is to be found, etc. There are probably a half-dozen things to edit there. Ditto for the atm package Makefile. Since this is for a 2.4 kernel and my current kernel and driver build experience is with 2.6, there are likely differences I am not qualified to address. Hopefully some other lurker on the forums with more knowledge of building 2.4 kernels will see this and give you some more pointers.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


