Giter VIP home page Giter VIP logo

lmac_core2's People

Contributors

kirateys avatar lewiz-sunny avatar lewiz-support avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lmac_core2's Issues

Segmentation fault (core dumped)

Hi,
I am trying to follow the steps that is mentioned in the readme to get the system working.
But at the very end when I have run the ./qemu-run.sh command in the shell, I am getting this Segmentation error

  • set -e
  • QEMU=/home/dipal/lewiz/qemu/build/aarch64-softmmu/qemu-system-aarch64
  • MACHINE=-M arm-generic-fdt
  • HW_DTB=-hw-dtb /home/dipal/dts/LATEST/SINGLE_ARCH/zcu102-arm.cosim.dtb
  • DTB=-dtb ./zcu102.dtb
  • SERIAL=-serial mon:stdio -display none
  • NETDEV0=-netdev user,id=net0
  • NETDEV1=-netdev user,id=net1
  • NETDEV2=-netdev user,id=net2
  • NETDEV3=-netdev user,id=net3
  • NETDEV4=-netdev user,id=net4
  • NET0=-net nic,model=cadence_gem,netdev=net0
  • NET1=-net nic,model=cadence_gem,netdev=net1
  • NET2=-net nic,model=cadence_gem,netdev=net2
  • NET3=-net nic,model=cadence_gem,netdev=net3
  • NET4=-device remote-port-net,rp-adaptor0=/amba@0/cosim@0,rp-chan0=256,rp-chan1=266,netdev=net4
  • NET_TRACE0=-object filter-dump,netdev=net0,id=dump0,file=trace0.pcap
  • NET_TRACE1=-object filter-dump,netdev=net1,id=dump1,file=trace1.pcap
  • NET_TRACE2=-object filter-dump,netdev=net2,id=dump2,file=trace2.pcap
  • NET_TRACE3=-object filter-dump,netdev=net3,id=dump3,file=trace3.pcap
  • NET_TRACE4=-object filter-dump,netdev=net4,id=dump4,file=trace4.pcap
  • MACHINE_PATH=-machine-path /home/dipal/lewiz/machine-zynqmp
  • IMAGE=/home/dipal/lewiz/linux/arch/arm64/boot/Image
  • /home/dipal/lewiz/qemu/build/aarch64-softmmu/qemu-system-aarch64 -M arm-generic-fdt -hw-dtb /home/dipal/dts/LATEST/SINGLE_ARCH/zcu102-arm.cosim.dtb -machine-path /home/dipal/lewiz/machine-zynqmp -serial mon:stdio -display none -netdev user,id=net0 -netdev user,id=net1 -netdev user,id=net2 -netdev user,id=net3 -netdev user,id=net4 -net nic,model=cadence_gem,netdev=net0 -net nic,model=cadence_gem,netdev=net1 -net nic,model=cadence_gem,netdev=net2 -net nic,model=cadence_gem,netdev=net3 -device remote-port-net,rp-adaptor0=/amba@0/cosim@0,rp-chan0=256,rp-chan1=266,netdev=net4 -object filter-dump,netdev=net0,id=dump0,file=trace0.pcap -object filter-dump,netdev=net1,id=dump1,file=trace1.pcap -object filter-dump,netdev=net2,id=dump2,file=trace2.pcap -object filter-dump,netdev=net3,id=dump3,file=trace3.pcap -object filter-dump,netdev=net4,id=dump4,file=trace4.pcap -m 2G -machine linux=yes -kernel

/home/dipal/lewiz/linux/arch/arm64/boot/Image -dtb ./zcu102.dtb -append rdinit=/sbin/init console=ttyPS0 earlycon=cdns,mmio,0xFF000000,115200n8
Segmentation fault (core dumped)

I am trying to understnd where is the error but can't figure it out

@lewiz-support can you please give me any idea how I can resolve this that would be really great?

Thank you

References to absolute paths (C:/) found in code?

The code has absolute paths in it, these are not great because;

  • Linux and Windows have different concepts of the best absolute path
  • Code needs to be at a given location to work correctly.

Here are some examples;

data_file = $fopen("C:/LMAC2_INFO/PHY_EMULATOR/data_file.txt", "w"); //open file
ctrl_file = $fopen("C:/LMAC2_INFO/PHY_EMULATOR/ctrl_file.txt", "w"); //open file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.