Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux/AM3359: Segmentation fault when running icss_emac loopback test (LPSDK 5.0)

$
0
0

Part Number:AM3359

Tool/software: Linux

Hi, I was able to build AM335x Linux Processor SDK 5.0 (RT and non-RT) following below links:

processor-sdk-linux-building-the-sdk

  • I created the SD card using windows method,
  • I also was able to build ICSS-EMAC loopback demo following this link: Processor_SDK_Linux_ICSS-EMAC_User_Space
  • As mentioned in above link  I replaced am335x-icev2.dtb with am335x-icev2-pru-excl-uio.dtb
  • I copied "icss_emacMainTest_am335x.out" from "packages-split/icss-emac-lld-test/usr/bin" to my /home in the SD card but when running it, I am getting segmentation fault

root@am335x-evm:/home# ./icss_emacMainTest_am335x.out
Segmentation fault (core dumped)

As a test, instead of using prebuild SD card images from ti.com, I copied /boot and rootfs files from PSDK tisdk/build/arago-tmp-external-linaro-toolchain/deploy/images/am335x-evm

  • In boot partition copied MLO and u-boot.img
  • In rootfs partition I untar arago-base-tisdk-imag-am335x-evm.tar.xz
  • Again I replaced am335x-icev2.dtb with am335x-icev2-pru-excl-uio.dtb
  • and run ./icss_emacMainTest_am335x.out
  • Same segmentation fault

Questions:

  • is there any known issue for running UIO demos with LPSDK 5.0?
  • Maybe, I am missing something?

thanks for your help,

Paula


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>