UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
2,292 Views
Registered: ‎05-01-2017

zedboard linaro OS crash

Jump to solution

Hi Xilinx,

 

I am working on a DMA loop-back test on Linaro X-window with zedboard.

 

vivado 2015.4 outputs hardware of " HDMI + an extra DMA loopback " ;

then petalinux 2015.4 generates " BOOT.BIN + Image.ub ";

finally from SD card, zedboard boot-up with a linaro X-window desktop on 1920x1080 monitor.

 

However, the linaro X-window tends to crash. Looks just like log-out, and I have to input a password to login again.

 

The only thing I can catch is that, the source address and the destination address of the DMA loopback,

 

    dma_set(virtual_address, S2MM_DESTINATION_ADDRESS, 0x0f000000); // Write destination address
    dma_set(virtual_address, MM2S_START_ADDRESS, 0x0e000000); // Write source address

 

Zedboard has total 512MB DDR, while 0x0e00_0000 ~0x0f00_0000 is around middle ~~around 256MB.

The above code works fine in a petalinux project only (without Linaro), However, linaro tends to occupy/manage the whole DDR space.

 

Please advise how to setup a dedicate DDR memory area for DMA loopback test without interference to Linaro OS.

 

Thanks in advance

 

Mike

0 Kudos
1 Solution

Accepted Solutions
Adventurer
Adventurer
4,292 Views
Registered: ‎05-01-2017

Re: zedboard linaro OS crash

Jump to solution
0 Kudos
1 Reply
Adventurer
Adventurer
4,293 Views
Registered: ‎05-01-2017

Re: zedboard linaro OS crash

Jump to solution
0 Kudos