Yes I am using Non continuous memory. I have two variants of the boards. On one type of board. I use two DDRs of 128MB each on CSD0 and CSD1. In that case it works, also I see Linux utilizing 256MB memory.<br><br>On board with 32MB DDRs on CSD0 and CSD1 each, I see that ping commands calls fec_send in fec_imx.c (FEC driver for imx27) and after enabling dma it hangs.<br>
<br>Is there any change required for initiazation of DMA due change id DDR size from 128MB to 32 MB on each chipselect CSD0 and CSD1.<br><br><div class="gmail_quote">On Mon, Aug 23, 2010 at 12:46 PM, Juergen Beisert <span dir="ltr"><<a href="mailto:jbe@pengutronix.de">jbe@pengutronix.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">kuldeep ghan wrote:<br>
> [...]<br>
<div class="im">> I am adding two device using armlinux_add_dram() each with 32MB size and<br>
> map_base address of 0xA0000000 and 0xB0000000 respectively.. Is that fine<br>
> or Can I have one device registered with map_base address of 0xA0000000 and<br>
> 64MB size??<br>
<br>
</div>You are using non continuous memory. I'm not sure, if that is handled in<br>
barebox correctly. Also Linux may have a problem with this kind of memory<br>
organization.<br>
<br>
jbe<br>
<font color="#888888"><br>
--<br>
Pengutronix e.K. | Juergen Beisert |<br>
Linux Solutions for Science and Industry | Phone: +49-8766-939 228 |<br>
Vertretung Sued/Muenchen, Germany | Fax: +49-5121-206917-5555 |<br>
Amtsgericht Hildesheim, HRA 2686 | <a href="http://www.pengutronix.de/" target="_blank">http://www.pengutronix.de/</a> |<br>
</font></blockquote></div><br>