* Footbridge / 21285 phsical/virtual address selection patch
@ 2009-12-28 22:26 Steve Moskovchenko
2010-01-01 20:24 ` Russell King - ARM Linux
0 siblings, 1 reply; 2+ messages in thread
From: Steve Moskovchenko @ 2009-12-28 22:26 UTC (permalink / raw)
To: linux-arm-kernel
Hello
I've got my hands on a weird-ish ARM board with an SA-110 and a 21285
footbridge. It is NOT the EBSA285 (it actually used to be a Quantum
netdisk NAS) but it is close and I have the kernel configured in
"EBSA285 Host" mode because it is close enough. (I had to comment out a
beq instruction in the platform checker to get the kernel to boot on
this board).
Well...
I've run into some issues. The MMU code seems broken somewhere, and the
kernel only works for me in NOMMU mode. However, in the (MM)I/O address
mapping for the 21285 driver, the footbridge code completely ignores
CONFIG_MMU and has all the I/O addresses #defined as if they were all
virtual. This is obviously not going to work if the MMU is disabled and
all the addresses will be wrong.
I've attached a patch (-p0) that adds an #ifdef to select between
physical and virtual addresses for the 21285 chip, depending on
CONFIG_MMU. I do not have a real EBSA285 to test this on, but this board
does have a real 21285 and it is working for me.
I've run into some additional problems, specifically with the uart
driver, but I will prepare some of those patches in a bit.
What do you guys think?
Thanks
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: footbridge-nommu.patch
Type: text/x-patch
Size: 1793 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20091228/4d5417d8/attachment.bin>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Footbridge / 21285 phsical/virtual address selection patch
2009-12-28 22:26 Footbridge / 21285 phsical/virtual address selection patch Steve Moskovchenko
@ 2010-01-01 20:24 ` Russell King - ARM Linux
0 siblings, 0 replies; 2+ messages in thread
From: Russell King - ARM Linux @ 2010-01-01 20:24 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Dec 28, 2009 at 05:26:59PM -0500, Steve Moskovchenko wrote:
> Well...
>
> I've run into some issues. The MMU code seems broken somewhere, and the
> kernel only works for me in NOMMU mode.
I don't believe you. I've been booting kernels on the Netwinder and
EBSA285 platforms (with varing amounts of success because of IDE/PATA
issues.) Nothing fundamental, just plain buggy storage driver issues.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-01 20:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-28 22:26 Footbridge / 21285 phsical/virtual address selection patch Steve Moskovchenko
2010-01-01 20:24 ` Russell King - ARM Linux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).