[U-Boot-Users] Motorola PPC827x
Matias Sundman (AL/EAB)
matias.sundman at ericsson.com
Wed Oct 29 19:22:59 CET 2003
Yuli,
I have a PQ2FADS_VR ( ppc8275 ) board from motorola which has a 66000000 Hz clock.
Is it worthwhile to insert this anomaly to the u-boot code? I have done changes
in MPC8260ADS.h file in order to make it run for me.
Regards // Matias
-------------------------------------------------------------------------------
>>>>> Matias Sundman writes:
Matias> Hi Yuli, I am not sure if I have understood the file
Matias> structure of U-boot. I downloaded U-boot-0.4.0, but I cant
Matias> find ppc8270 under the CPU folder, nor can I find the
Matias> PQ2FADS board under the board folder...
Matias> Can you explain me where the code for PPC8270 resides in the
Matias> file structure?
First of all, download the latest version from CVS (0.4.7 or CVS HEAD).
Differences between 8260 and 8270 do not justify creating a separate CPU
directory. In fact, all the differences result in some 10-20 lines of
code, so look at cpu/mpc8260. Use `grep' to find HiP7 and you'll see the
changes I made to support 8270/75/80. The same is true for PQ2FADS. I
ported U-Boot to this board but since it's very similar to older
MPC8260ADS I modified existing port to support all Motorola evaluation
boards (MPC8260ADS/MPC8266ADS/PQ2FADS). Some differences are handled by
#ifdefs. Cloning an existing port and changing ten lines to support new
board as it's done in many cases creates maintenance nightmare. So the
right place to look is board/mpc8260ads. BTW, I think it's mentioned in
README.
Hope this helps,
--
========================================================================
Yuli Barcohen | Phone +972-9-765-1788 | Software Project Leader
yuli at arabellasw.com | Fax +972-9-765-7494 | Arabella Software, Israel
========================================================================
More information about the U-Boot
mailing list