RE: HZ to MHZ, 2.4.2 kernel

2 messages, 2 authors, 2001-08-17 · open the first message on its own page

RE: HZ to MHZ, 2.4.2 kernel

From: Petersen, David (MED, GEMS-IT) <hidden>
Date: 2001-08-17 19:25:28

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/

Re: HZ to MHZ, 2.4.2 kernel

From: Dan Malek <hidden>
Date: 2001-08-17 20:04:37

"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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help