Thread (9 messages) 9 messages, 3 authors, 2010-06-03

Re: [PATCH] PowerPC: Remove hardcoded BAT configuration of IMMR in CPM early debug console

From: Martyn Welch <hidden>
Date: 2010-06-03 09:12:26

Scott Wood wrote:
On 06/02/2010 03:06 AM, Martyn Welch wrote:
quoted
quoted
quoted
quoted
I think that's a more fundamental change to CPM early debug than I
can
handle right now.
Is IMMRBASE on your board at some address that has a low likelihood of
conflicting when treated as a kernel effective address?
It's at 0x0f000000, is seems ok, but then I'm not sure I fully
understand kernel effective addresses.
That overlaps userspace -- is the BAT cleared before userspace starts?
To be honest, once I'd got the device booting past the early debug
stage, I rebuilt the kernel without udbg in it...
If you don't want to do the fixmap stuff, might want to at least just
leave it at the current arbitrary effective address, which hasn't
seemed to cause much trouble so far.
Given that I've now switched udbg off in the kernel config, I really
can't substantiate spending much more time on this. This patch was
mainly to help others that maybe struggling to bring up Linux on a
device with CPM serial.

I'll try and get a revised patch out soon which keeps the current
arbitrary effective address.

Martyn
But fixmap is the right way to do it.

-Scott

-- 
Martyn Welch (Principal Software Engineer)   |   Registered in England and
GE Intelligent Platforms                     |   Wales (3828642) at 100
T +44(0)127322748                            |   Barbirolli Square, Manchester,
E martyn.welch@ge.com                        |   M2 3AB  VAT:GB 927559189
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help