RE: Linux 2.6.10-rc3 8xx: debugging (over-writing) content of b d_info structure in the kernel booting code
From: Povolotsky, Alexander <hidden>
Date: 2005-01-18 20:30:19
also in my embed_config(bd_t **bdp) function (in
arch/ppc/boot/simple/embed_config.c) I see
(and use, that is I have ported this from 2.4 to 2.6):
// timebase_period_ns = 1000000000 / bd->bi_tbfreq;
timebase_period_ns = 320; // value adjusted by hand
Could anyone knowledgeable make a guess why this was done (on 2.4) and would
it be OK to re-use on 2.6 ?
Thanks,
Alex
-----Original Message-----
From: Povolotsky, Alexander
Sent: Tuesday, January 18, 2005 2:08 PM
To: 'John W. Linville'
Cc: 'Mark Chambers'; 'linuxppc-embedded@ozlabs.org'; 'Tom Rini'; 'Steven
Blakeslee'
Subject: RE: Linux 2.6.10-rc3 8xx: debugging (over-writing) content of
bd_info structure in the kernel booting code
My board is using:
bd->bi_intfreq = 50000000;
bd->bi_busfreq = 50000000;
While RPX-Lite is using
bd->bi_intfreq = 48000000;
bd->bi_busfreq = 48000000;
Is this what makes RPX-Lite work and my (MPC 880) not ?
-----Original Message-----
From: Povolotsky, Alexander
Sent: Tuesday, January 18, 2005 1:53 PM
To: 'John W. Linville'
Cc: 'Mark Chambers'; 'linuxppc-embedded@ozlabs.org'; 'Tom Rini'; 'Steven
Blakeslee'
Subject: RE: Linux 2.6-10.rc3 8xx: debugging (over-writing) content of b
d_in fo structure in the kernel booting code
The "one, I am using" from my previous e-mail relates to 2.6.10-rc3
My processor is MPC880.
-----Original Message-----
From: Povolotsky, Alexander
Sent: Tuesday, January 18, 2005 1:19 PM
To: 'John W. Linville'
Cc: 'Mark Chambers'; 'linuxppc-embedded@ozlabs.org'; 'Tom Rini'; 'Steven
Blakeslee'
Subject: RE: Linux 2.6.10-rc3 8xx: debugging (over-writing) content of b
d_in fo structure in the kernel booting code
Aren't there still generic problems w/ 8xx and 2.6.x?
Allegedly - yes (with memory initialization) but ... both Tom Rini and Steve Blakeslee were able to boot their RPXLite Variant of 8xx on 2.6.10-rc3 (the one I am using) -----Original Message----- From: John W. Linville [mailto:linville@tuxdriver.com] Sent: Tuesday, January 18, 2005 1:11 PM To: Povolotsky, Alexander Cc: 'Mark Chambers'; 'linuxppc-embedded@ozlabs.org' Subject: Re: Linux 2.6.10-rc3 8xx: debugging (over-writing) content of b d_in fo structure in the kernel booting code On Tue, Jan 18, 2005 at 10:45:53AM -0500, Povolotsky, Alexander wrote:
Forgot to mention - this board boots (and works) well with Linux 2.4.26
Aren't there still generic problems w/ 8xx and 2.6.x? -- John W. Linville linville@tuxdriver.com