mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* i.MX51 & MMU
@ 2011-02-23 20:34 Eric Benard
  2011-02-24  8:39 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Benard @ 2011-02-23 20:34 UTC (permalink / raw)
  To: barebox

Hi,

has anyone recently tested barebox master on a babbage board with MMU enabled 
? Here (not on a babbage, with a TO2 i.MX515 with 1 bank of DDR2), enabling 
MMU crash the board (which works fine with barebox with MMU disabled and with 
Linux 2.6.38-rc6 so the hardware seems not to be the root of the problem).

Thanks,
Eric


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: i.MX51 & MMU
  2011-02-23 20:34 i.MX51 & MMU Eric Benard
@ 2011-02-24  8:39 ` Sascha Hauer
  2011-02-24  9:01   ` Eric Benard
  2011-02-24  9:01   ` Eric Benard
  0 siblings, 2 replies; 4+ messages in thread
From: Sascha Hauer @ 2011-02-24  8:39 UTC (permalink / raw)
  To: Eric Benard; +Cc: barebox

Hi Eric,

On Wed, Feb 23, 2011 at 09:34:46PM +0100, Eric Benard wrote:
> Hi,
> 
> has anyone recently tested barebox master on a babbage board with
> MMU enabled ? Here (not on a babbage, with a TO2 i.MX515 with 1 bank
> of DDR2), enabling MMU crash the board (which works fine with
> barebox with MMU disabled and with Linux 2.6.38-rc6 so the hardware
> seems not to be the root of the problem).

The memory space of the i.MX51 is a bit tight. It may be that you shadow
registers with the dma coherent memory space. Can you please post your
mmu setup code sniplet?
The babbage works with mmu enabled.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: i.MX51 & MMU
  2011-02-24  8:39 ` Sascha Hauer
@ 2011-02-24  9:01   ` Eric Benard
  2011-02-24  9:01   ` Eric Benard
  1 sibling, 0 replies; 4+ messages in thread
From: Eric Benard @ 2011-02-24  9:01 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

Hi Sascha,

On 24/02/2011 09:39, Sascha Hauer wrote:
> On Wed, Feb 23, 2011 at 09:34:46PM +0100, Eric Benard wrote:
>> Hi,
>>
>> has anyone recently tested barebox master on a babbage board with
>> MMU enabled ? Here (not on a babbage, with a TO2 i.MX515 with 1 bank
>> of DDR2), enabling MMU crash the board (which works fine with
>> barebox with MMU disabled and with Linux 2.6.38-rc6 so the hardware
>> seems not to be the root of the problem).
>
> The memory space of the i.MX51 is a bit tight. It may be that you shadow
> registers with the dma coherent memory space. Can you please post your
> mmu setup code sniplet?
> The babbage works with mmu enabled.
>
OK so the problem is on my side. For the moment the mmu part is the one of the 
babbage. But I must investigate as I only have one DDR2 bank on this board 
(for a 256MB total size) when the babbage has 2 (for a 512MB total size).

Thanks,
Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: i.MX51 & MMU
  2011-02-24  8:39 ` Sascha Hauer
  2011-02-24  9:01   ` Eric Benard
@ 2011-02-24  9:01   ` Eric Benard
  1 sibling, 0 replies; 4+ messages in thread
From: Eric Benard @ 2011-02-24  9:01 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

On 24/02/2011 09:39, Sascha Hauer wrote:
> On Wed, Feb 23, 2011 at 09:34:46PM +0100, Eric Benard wrote:
>> Hi,
>>
>> has anyone recently tested barebox master on a babbage board with
>> MMU enabled ? Here (not on a babbage, with a TO2 i.MX515 with 1 bank
>> of DDR2), enabling MMU crash the board (which works fine with
>> barebox with MMU disabled and with Linux 2.6.38-rc6 so the hardware
>> seems not to be the root of the problem).
>
> The memory space of the i.MX51 is a bit tight. It may be that you shadow
> registers with the dma coherent memory space. Can you please post your
> mmu setup code sniplet?
> The babbage works with mmu enabled.
>
btw: NAND support for i.MX51 works fine here (with a 8 bits width 2k pages 
size NAND).

Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-24  9:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-23 20:34 i.MX51 & MMU Eric Benard
2011-02-24  8:39 ` Sascha Hauer
2011-02-24  9:01   ` Eric Benard
2011-02-24  9:01   ` Eric Benard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox