I have a xilinx v4 project running mv linux 2.6.10. I have a custom peripheral I made that includes DMA on the opb bus and is therefore master/slave. The SDRAM that the linux .elf file loads to/boots from is also on the opb. Unless I disconnect the custom peripheral linux dies at "uncompressing linux...". I believe this means that there are data errors from the sdram, but everything works fine stand-alone. I know the dma isn't running, for example, and I've made sure to reset every other register related to that peripheral but linux just won't boot unless I disconnect it. Any ideas? Thanks, Clark
opb master kills linux?
Started by ●November 27, 2006
Reply by ●November 29, 20062006-11-29
Hi Clark, Anonymous wrote:> I have a xilinx v4 project running mv linux 2.6.10. I have a custom > peripheral I made that includes DMA on the opb bus and is therefore > master/slave. The SDRAM that the linux .elf file loads to/boots from is also > on the opb. Unless I disconnect the custom peripheral linux dies at > "uncompressing linux...". > > I believe this means that there are data errors from the sdram, but > everything works fine stand-alone. I know the dma isn't running, for > example, and I've made sure to reset every other register related to that > peripheral but linux just won't boot unless I disconnect it.Can you run the auto-generated TestApp_Memory sucessfully when your peripheral is in the system? More broadly, are you able to confirm that your core is behaving itself on the OPB bus? Either through simulation or by running standalone testslike TestApp_Memory etc? John
Reply by ●November 30, 20062006-11-30
"John Williams" <jwilliams@itee.uq.edu.au> wrote in message news:newscache$j4li9j$qze$1@lbox.itee.uq.edu.au...> Hi Clark, > > Anonymous wrote: > > > I have a xilinx v4 project running mv linux 2.6.10. I have a custom > > peripheral I made that includes DMA on the opb bus and is therefore > > master/slave. The SDRAM that the linux .elf file loads to/boots from isalso> > on the opb. Unless I disconnect the custom peripheral linux dies at > > "uncompressing linux...". > > > > I believe this means that there are data errors from the sdram, but > > everything works fine stand-alone. I know the dma isn't running, for > > example, and I've made sure to reset every other register related tothat> > peripheral but linux just won't boot unless I disconnect it. > > Can you run the auto-generated TestApp_Memory sucessfully when yourperipheral> is in the system? > > More broadly, are you able to confirm that your core is behaving itself onthe> OPB bus? Either through simulation or by running standalone testslike > TestApp_Memory etc? > > JohnYes, all my stand alone applications work fine including one that DMAs data from the offending peripheral to the main memory where the linux .elf is loaded. Thanks, Clark