<div>Hi,</div>
<div> </div>
<div>You could call <strong>io_block_mapping</strong> function from your setup.c file that will add the entry into MMU.</div>
<div> </div>
<div>regards</div>
<div>Bhupi</div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">On 7/11/07, <b class="gmail_sendername">Nicolas Mederle</b> <<a href="mailto:mederle_nicolas@yahoo.fr">mederle_nicolas@yahoo.fr</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br> I am porting linux on a custom board equipped with a PPC750, and I<br>will like to have some advices on the MMU. I used the powerpc arch, and
<br>I built my device tree.<br> I will like to know in which files we can configure the<br>authorizations access for the I/O registers. When I use the function<br>md_ppc.progress, I have a data access fault. I modified the head. S
<br>files, for add the BAT config. But I think that it is not correct, and<br>that it is possible to do it elsewhere (platform_init?). Moreover the<br>kernel modify the MMU config, it removes the BATs, and configures the<br>
Registers Segments. So, must I remake the configuration? Or is it<br>possible to indicate, at the beginning, which space is reserved for I/O?<br> I studied several patch (sandpoint, PrPMC2800) but none configures<br>really the MMU for I/O registers. In the same way, I read several books,
<br>but I am not able to have information that I seek, therefore I am really<br>blocked. I warmly thank you for the assistance which you will be able to<br>bring to me.<br><br> Mapping : 0x0000 0000 -> 0x0FFF FFFF : RAM
<br> 0x2000 0000 -> 0x201F FFFF : ASIC (<br>UART, DMA, GPIO, PIC...)<br> 0x8000 0000 -> 0x8FFF FFFF : PCI<br> 0xF000 0000 -> 0xFFFF FFFF : Flash
<br> The kernel is load at 0x0, an the system is a Run In Memory.<br>Currently, I don't use the flash.<br><br><br>Best regards,<br>Nicolas MEDERLE<br><br>--<br>Cordialement,<br><br>Nicolas MEDERLE.<br><br>_______________________________________________
<br>Linuxppc-embedded mailing list<br><a href="mailto:Linuxppc-embedded@ozlabs.org">Linuxppc-embedded@ozlabs.org</a><br><a href="https://ozlabs.org/mailman/listinfo/linuxppc-embedded">https://ozlabs.org/mailman/listinfo/linuxppc-embedded
</a><br></blockquote></div><br>