* [U-Boot-Users] Motorola PPC827x
@ 2003-10-29 18:22 Matias Sundman
2003-10-31 15:33 ` [U-Boot-Users] " Yuli Barcohen
0 siblings, 1 reply; 2+ messages in thread
From: Matias Sundman @ 2003-10-29 18:22 UTC (permalink / raw)
To: u-boot
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
========================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] Re: Motorola PPC827x
2003-10-29 18:22 [U-Boot-Users] Motorola PPC827x Matias Sundman
@ 2003-10-31 15:33 ` Yuli Barcohen
0 siblings, 0 replies; 2+ messages in thread
From: Yuli Barcohen @ 2003-10-31 15:33 UTC (permalink / raw)
To: u-boot
>>>>> Matias Sundman writes:
Matias> I have a PQ2FADS_VR ( ppc8275 ) board from motorola which
has a 66000000 Hz clock.
Matias> Is it worthwhile to insert this anomaly to the u-boot
code? I have done changes
Matias> in MPC8260ADS.h file in order to make it run for me.
What do you mean by "anomaly"? If the only thing you had to change
is clock frequency, I'd say it's OK.
My MPC8260ADS board, for example, uses 40MHz clock so I too have
to change the default value.
I tried to set default values to the frequencies of the
oscillators the boards are shipped with. MPC826xADS
are shipped with 66MHz clock while PQ2FADS-ZU is shipped with
100MHz. PQ2FADS-VR is shipped
with 66MHz clock because VR chips are limited to 66MHz frequency.
It's the only difference between ZU
and VR boards. Do you think we have to create additional
CFG_ADSTYPE for VR boards to handle this
difference? Changing clock in MPC8260ADS.h looks simpler.
--
==================================================================
======
Yuli Barcohen | Phone +972-9-765-1788 | Software
Project Leader
yuli at arabellasw.com | Fax +972-9-765-7494 | Arabella
Software, Israel
==================================================================
======
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-31 15:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-29 18:22 [U-Boot-Users] Motorola PPC827x Matias Sundman
2003-10-31 15:33 ` [U-Boot-Users] " Yuli Barcohen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox