Hi...<br>  <br>  We are using linux kernel 2.6.9 and mpc8540 as a network card in the host x86.mpc8540 acts as a agent and runs on u-boot.<br>  <br>  The steps that we followed to accomplish the above task is as follows:-<br>  <br>  1.)Allocated memory using kmalloc and returned the ptrdata....<br>  <br>  &nbsp; ptrdata = (unsigned long *) kmalloc( sizeof (unsigned long) , GFP_KERNEL);<br>  <br>  2.)We write to pci outbound registers......<br>  <br>  (a)pci translation register (b)pci base register (c) pci attribute register.<br>  <br>  &nbsp; ulTemp&nbsp; = ( unsigned volatile long&nbsp; ) virt_to_bus( ( void * ) ptrdata);<br>  &nbsp; ulTemp =&nbsp; swap(ulTemp &gt;&gt; 12) ;<br>  <br>  &nbsp;//Outbound Translatiom Register<br>  <br>  &nbsp; writel(ulTemp,&nbsp; (unsigned long)ioaddr+ 0x8C20);<br>  &nbsp;&nbsp;&nbsp; <br>  //ioaddr is address that we got after remapping&nbsp; <br>  ioaddr = ioremap_nocache((pio_start), pio_len);<br>  <br>  //Outbound Base Address
 Register<br>  <br>  &nbsp;&nbsp;&nbsp; writel((swap(0xE0000000 &gt;&gt; 12)) ,&nbsp; (unsigned long)ioaddr+ 0x8C28);<br>  <br>  &nbsp;//Outbound Attribute Register<br>  <br>  &nbsp;&nbsp;&nbsp; writel(swap(0x8005501C),&nbsp; (unsigned long)ioaddr+ 0x8C30);<br>  <br>  3.)We used the minicom to check whether we are able to access the host  memory from the agent by doing md 0xE000_0000.But we are getting all  values as zeroes.<br>  <br>  Cud anybody solve our problem. tell us if we are missing anything,any step.Please respond to our request.It is urgent.<br>  <br>  Thanks<br>  Aishwariya<br>  <br>  <p>&#32;

<hr size=1>Expecting? Get great news right away with <a href="http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html">email Auto-Check.</a><br>Try the <a href="http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html">Yahoo! Mail Beta.</a>