linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* HZ to MHZ, 2.4.2 kernel
@ 2001-08-17 19:16 Kevin Fry
  2001-08-20 20:13 ` HZ to MHZ, 2.4.2 kernel / update on my progress Kevin Fry
  0 siblings, 1 reply; 6+ messages in thread
From: Kevin Fry @ 2001-08-17 19:16 UTC (permalink / raw)
  To: linuxppc emb3dd3d list


I remember someone having a problem with the kernel using hz and
expecting MHZ or the other way around and it seems I'm running into this
problem right now.   Are there any patches or anything that address this
issue with regards to the 8260 serial and also the time.c code? This is
in HHL 2.0, 2.4.2 kernel
Thanks!

Kevin Fry


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: HZ to MHZ, 2.4.2 kernel
@ 2001-08-17 19:25 Petersen, David (MED, GEMS-IT)
  2001-08-17 20:04 ` Dan Malek
  0 siblings, 1 reply; 6+ messages in thread
From: Petersen, David (MED, GEMS-IT) @ 2001-08-17 19:25 UTC (permalink / raw)
  To: linuxppc emb3dd3d list


Look at the board information structure you are passing to linux. hh2.0
is expecting the cpu clock in HZ.
Look at commproc.c in arch/ppc/8260_io to see how the cpu freq is used
for baud rates.

> 	David Petersen
> 	g		GE Medical Systems
> 			Information Technologies
> 	________________________________
> 	David T Petersen
> 	Engineer, Clinical Information Systems
> 	8200 W. Tower Avenue
> 	Milwaukee, WI  53223
> 	Phone:  414-362-2565  Fax:  414-362--2676
> 	Mailto:david.petersen@med.ge.com
> 	Visit Us On The Internet: http://www.gemedicalsystems.com
>


-----Original Message-----
From: Kevin Fry [mailto:kevin@carts.com]
Sent: Friday, August 17, 2001 2:16 PM
To: linuxppc emb3dd3d list
Subject: HZ to MHZ, 2.4.2 kernel



I remember someone having a problem with the kernel using hz and
expecting MHZ or the other way around and it seems I'm running into this
problem right now.   Are there any patches or anything that address this
issue with regards to the 8260 serial and also the time.c code? This is
in HHL 2.0, 2.4.2 kernel
Thanks!

Kevin Fry


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HZ to MHZ, 2.4.2 kernel
  2001-08-17 19:25 HZ to MHZ, 2.4.2 kernel Petersen, David (MED, GEMS-IT)
@ 2001-08-17 20:04 ` Dan Malek
  0 siblings, 0 replies; 6+ messages in thread
From: Dan Malek @ 2001-08-17 20:04 UTC (permalink / raw)
  To: Petersen, David (MED, GEMS-IT); +Cc: linuxppc emb3dd3d list


"Petersen, David (MED, GEMS-IT)" wrote:
>
> Look at the board information structure you are passing to linux. hh2.0
> is expecting the cpu clock in HZ.

All of this is "self contained" between the zImage bootloader and
Linux itself.  If you have something that boots a kernel directly, you
have to track these changes and make them to your bootloader.

FYI, there are some major changes coming soon where the 8xx and 8260
will start to use bi_recs like all of the other PowerPCs.  That's really
going to mess you up if you aren't booting a zImage.


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HZ to MHZ, 2.4.2 kernel / update on my progress
  2001-08-17 19:16 HZ to MHZ, 2.4.2 kernel Kevin Fry
@ 2001-08-20 20:13 ` Kevin Fry
  2001-08-20 20:19   ` Dan Malek
  0 siblings, 1 reply; 6+ messages in thread
From: Kevin Fry @ 2001-08-20 20:13 UTC (permalink / raw)
  To: linuxppc emb3dd3d list


Thanks for all the replies about the bd_info struct and the hz and mhz problem
i was having.

I got linux booting and running great on Friday, and everything seems to work
wonderfully. My problem was that linux (2.4.2) was expecting all clock freqs
in hz and ppcboot was giving them all in mhz.. i should've seem this way
sooner, but hey-at least it works now :)  After i changed that the timer code
started working correctly, and then I was able to take out the hacks I had in
the SMC serial code that had gotten the serial port to work. With the serial
code back to normal, I finally got output in user space and everything worked.
Yay!
Couldnt have done it w/o you guys either, thanks again

Kevin Fry


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HZ to MHZ, 2.4.2 kernel / update on my progress
  2001-08-20 20:13 ` HZ to MHZ, 2.4.2 kernel / update on my progress Kevin Fry
@ 2001-08-20 20:19   ` Dan Malek
  2001-08-21 16:56     ` Elan Feingold
  0 siblings, 1 reply; 6+ messages in thread
From: Dan Malek @ 2001-08-20 20:19 UTC (permalink / raw)
  To: Kevin Fry; +Cc: linuxppc emb3dd3d list


Kevin Fry wrote:

> Couldnt have done it w/o you guys either, thanks again

I wish they were all this easy :-).

By the way, I pushed a bunch of new stuff for 8260 into the
linuxppc_2_4_devel tree last night.


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: HZ to MHZ, 2.4.2 kernel / update on my progress
  2001-08-20 20:19   ` Dan Malek
@ 2001-08-21 16:56     ` Elan Feingold
  0 siblings, 0 replies; 6+ messages in thread
From: Elan Feingold @ 2001-08-21 16:56 UTC (permalink / raw)
  To: Dan Malek; +Cc: linuxppc emb3dd3d list


Dan said:
> By the way, I pushed a bunch of new stuff for 8260 into the
> linuxppc_2_4_devel tree last night.

Is there a ChangeLog anywhere that would describe the changes that went in?
Or perhaps I need to "use-the-source-luke" 8-)

Best regards,

-elan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-08-21 16:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-17 19:16 HZ to MHZ, 2.4.2 kernel Kevin Fry
2001-08-20 20:13 ` HZ to MHZ, 2.4.2 kernel / update on my progress Kevin Fry
2001-08-20 20:19   ` Dan Malek
2001-08-21 16:56     ` Elan Feingold
  -- strict thread matches above, loose matches on Subject: below --
2001-08-17 19:25 HZ to MHZ, 2.4.2 kernel Petersen, David (MED, GEMS-IT)
2001-08-17 20:04 ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).