Skip to contentSkip to conversation

i.MX51 & MMU

DISCUSSION Eric Benard 2 participants 4 messages Feb 23, 2011 – Feb 24, 2011

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw

Hi Eric,

Quoted 7 lines · Eric Benard

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

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw

Hi Sascha,

Quoted 9 lines · Sascha Hauer
Quoted 7 lines · Eric Benard

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).

Quoted 5 lines

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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#3 lore raw
In reply to Sascha Hauer
Quoted 9 lines · Sascha Hauer
Quoted 7 lines · Eric Benard

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).

Quoted 5 lines

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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox