Skip to contentSkip to conversation

HZ to MHZ, 2.4.2 kernel

DISCUSSION Kevin Fry 3 participants 4 messages Aug 17, 2001 – Aug 21, 2001

lore
Share & tools
lore

Kevin Fry

author
#0 lore raw

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/

author
#1 lore raw

Re: HZ to MHZ, 2.4.2 kernel / update on my progress

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/

#2 lore raw

Re: HZ to MHZ, 2.4.2 kernel / update on my progress

Quoted 1 line · Kevin Fry

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/

#3 lore raw

RE: HZ to MHZ, 2.4.2 kernel / update on my progress

Quoted 2 lines · Dan

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/