From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 11 Apr 2002 17:03:41 -0700 From: Tom Rini To: andrew may Cc: Armin , John Tyner , linuxppc-embedded@lists.linuxppc.org Subject: Re: [PATCH] early serial init Message-ID: <20020412000341.GM759@opus.bloom.county> References: <3CB5A370.4080409@pacbell.net> <20020411153642.C18158@ecam.san.rr.com> <20020411231056.GJ759@opus.bloom.county> <20020411162849.F18158@ecam.san.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20020411162849.F18158@ecam.san.rr.com> Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: On Thu, Apr 11, 2002 at 04:28:49PM -0700, andrew may wrote: > On Thu, Apr 11, 2002 at 04:10:56PM -0700, Tom Rini wrote: > > On Thu, Apr 11, 2002 at 03:36:42PM -0700, andrew may wrote: > > > > > This patch is to remove the need for the BASE BAUD define. > > > > Only if you get this information from somewhere else, yes? This isn't > > currently something we grab from OpenBIOS, or could, right? > > If you look at the patch you see the only thing we need to know is the clock > rate of the CPU. Then you can to a mfdcr() to calc the base baud. If there > is an external clock then we need the basebaud from somewhere else. Ah, right.. [snip] > > More seriously, if someone wants to try and do that there's lots of > > other things which would need to be changed first. > > Yes there is a lot of work to do, but I would like to see it happen. > Right now we have to do seperate builds for our custum board and one for > our Walnut boards and that is a pain. I assume once the custom HW is 'ready', you'll be able to stop doing that tho. I think you'll spend more time trying to get everything just right than you would building 2 kernels a few times (I bet much of the pain comes from the current kbuild crap. You might wanna play w/ the current kbuild-2.5 stuff if you're going to pick a kernel rev & stay for a while, it gets the deps right so you only recompile the needed files in cases like this). -- Tom Rini (TR1265) http://gate.crashing.org/~trini/ ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/