element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MiniZed Hardware Design AXI Transer between linux and FPGA
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 7 replies
  • Subscribers 324 subscribers
  • Views 921 views
  • Users 0 members are here
Related

AXI Transer between linux and FPGA

shanbhagm
shanbhagm over 7 years ago

Hi,

My requirement is to transfer data from FPGA to ARM(linux) and back. I want to use the AXI bus interface.

Can some one point me to aworking example of data transfer from linux to the FPGA and vise versa.

A quick help will be appreciable.

-Madhav

  • Sign in to reply
  • Cancel
Parents
  • jafoste4
    0 jafoste4 over 7 years ago

    Hello,

    Please use the suggested tool set to complete this Speedway. That would be 2017.4 or 2017.1 tool sets.

    --Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • jafoste4
    0 jafoste4 over 7 years ago

    Hello,

    Please use the suggested tool set to complete this Speedway. That would be 2017.4 or 2017.1 tool sets.

    --Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • shanbhagm
    0 shanbhagm over 7 years ago in reply to jafoste4

    I installed 2017.4 and I get same error:

    Are you sure it worked with 2017.4?

     

    training@training-VirtualBox:~/labs/lab1/petalinux-min$ petalinux-config --get-hw-description=/home/training/hdl/Projects/minized_sensor_fusion/MINIZED/minized_sensor_fusion.sdk
    INFO: Getting hardware description...
    cp: omitting directory '/home/training/hdl/Projects/minized_sensor_fusion/MINIZED/minized_sensor_fusion.sdk/minized_sensor_fusion_bsp'
    cp: omitting directory '/home/training/hdl/Projects/minized_sensor_fusion/MINIZED/minized_sensor_fusion.sdk/minized_sensor_fusion_hw'
    cp: omitting directory '/home/training/hdl/Projects/minized_sensor_fusion/MINIZED/minized_sensor_fusion.sdk/zynq_fsbl_app'
    cp: omitting directory '/home/training/hdl/Projects/minized_sensor_fusion/MINIZED/minized_sensor_fusion.sdk/zynq_fsbl_bsp'
    INFO: Rename minized_sensor_fusion_hw.hdf to system.hdf
    [INFO] generating Kconfig for project
                                                                                    
    [INFO] menuconfig project
    /home/training/labs/lab1/petalinux-min/build/misc/config/Kconfig.syshw:30:warning: defaults for choice values not supported
    /home/training/labs/lab1/petalinux-min/build/misc/config/Kconfig:568:warning: config symbol defined without type
    configuration written to /home/training/labs/lab1/petalinux-min/project-spec/configs/config
     
    *** End of the configuration.
    *** Execute 'make' to start the build or try 'make help'.
     
    [INFO] sourcing bitbake
    [INFO] generating plnxtool conf
    [INFO] generating meta-plnx-generated layer
    ~/labs/lab1/petalinux-min/build/misc/plnx-generated ~/labs/lab1/petalinux-min
    ~/labs/lab1/petalinux-min
    [INFO] generating machine configuration
    [INFO] generating bbappends for project . This may take time ! 
    ~/labs/lab1/petalinux-min/build/misc/plnx-generated ~/labs/lab1/petalinux-min
    ~/labs/lab1/petalinux-min
    [INFO] generating u-boot configuration files
                                                                                    
    [INFO] generating kernel configuration files
    [INFO] generating kconfig for Rootfs
    Generate rootfs kconfig
    [INFO] oldconfig rootfs
    [INFO] generating petalinux-user-image.bb
    training@training-VirtualBox:~/labs/lab1/petalinux-min$ petalinux-build
    [INFO] building project
    [INFO] sourcing bitbake
    INFO: bitbake petalinux-user-image
    Loading cache: 100% |############################################| Time: 0:00:01
    Loaded 3258 entries from dependency cache.
    Parsing recipes: 100% |##########################################| Time: 0:00:02
    Parsing of 2466 .bb files complete (2429 cached, 37 parsed). 3259 targets, 226 skipped, 0 masked, 0 errors.
    NOTE: Resolving any missing task queue dependencies
    Initialising tasks: 100% |#######################################| Time: 0:00:07
    Checking sstate mirror object availability: 100% |###############| Time: 0:00:31
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    ERROR: device-tree-generation-xilinx+gitAUTOINC+3c7407f6f8-r0 do_configure: Function failed: do_configure (log file is located at /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_configure.31780)
    ERROR: Logfile of failure stored in: /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_configure.31780
    Log data follows:
    | DEBUG: Executing python function sysroot_cleansstate
    | DEBUG: Python function sysroot_cleansstate finished
    | DEBUG: Executing shell function do_configure
    | MISC_ARG is  -yamlconf /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/device-tree-generation.yaml
    | APP_ARG is  -app "device-tree"
    | cmd is: xsct /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/dtgen.tcl -ws /home/training/labs/lab1/petalinux-min/build/../components/plnx_workspace/device-tree -pname device-tree-generation -rp /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/git -processor ps7_cortexa9_0 -hdf /home/training/labs/lab1/petalinux-min/build/tmp/deploy/images/plnx_arm/Xilinx-plnx_arm.hdf -arch 32  -app "device-tree"  -yamlconf /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/device-tree-generation.yaml
    | CRITICAL WARNING: [Board 49-71] The board_part definition was not found for em.avnet.com:minized:part0:1.2. The project's board_part property was not set, but the project's part property was set to xc7z007sclg225-1. Valid board_part values can be retrieved with the 'get_board_parts' Tcl command. Check if board.repoPaths parameter is set and the board_part is installed from the tcl app store.
    | INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
    | hsi::open_hw_design: Time (s): cpu = 00:00:05 ; elapsed = 00:00:06 . Memory (MB): peak = 420.281 ; gain = 83.949 ; free physical = 144 ; free virtual = 6269
    | ERROR: [Common 17-55] 'get_property' expects at least one object.
    | Resolution: If [get_<value>] was used to populate the object, check to make sure this command returns at least one valid object.
    | ERROR: [Hsi 55-1545] Problem running tcl command ::sw_device_tree::post_generate : ERROR: [Common 17-55] 'get_property' expects at least one object.
    | Resolution: If [get_<value>] was used to populate the object, check to make sure this command returns at least one valid object.
    | 
    |     while executing
    | "get_property IP_NAME [get_cells -hier $proc_name]"
    |     (procedure "update_cpu_node" line 23)
    |     invoked from within
    | "update_cpu_node $os_handle"
    |     (procedure "::sw_device_tree::post_generate" line 4)
    |     invoked from within
    | "::sw_device_tree::post_generate device_tree"
    | ERROR: [Hsi 55-1443] Error(s) while running TCL procedure post_generate()
    | generate_target failed
    |     while executing
    | "error "generate_target failed""
    |     invoked from within
    | "if {[catch {hsi generate_target -dir $project} res]} {
    | error "generate_target failed"
    | }"
    |     (file "/home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/dtgen.tcl" line 33)
    | WARNING: /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/run.do_configure.31780:1 exit 1 from 'eval xsct /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/dtgen.tcl -ws /home/training/labs/lab1/petalinux-min/build/../components/plnx_workspace/device-tree -pname device-tree-generation -rp /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/git -processor ps7_cortexa9_0 -hdf /home/training/labs/lab1/petalinux-min/build/tmp/deploy/images/plnx_arm/Xilinx-plnx_arm.hdf -arch 32 ${APP_ARG} ${MISC_ARG}'
    | ERROR: Function failed: do_configure (log file is located at /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_configure.31780)
    ERROR: Task (/opt/petalinux-v2017.4-final/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb:do_configure) failed with exit code '1'
    ERROR: fsbl-2017.4+gitAUTOINC+77448ae629-r0 do_configure: Function failed: do_configure (log file is located at /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/temp/log.do_configure.9413)
    ERROR: Logfile of failure stored in: /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/temp/log.do_configure.9413
    Log data follows:
    | DEBUG: Executing python function sysroot_cleansstate
    | DEBUG: Python function sysroot_cleansstate finished
    | DEBUG: Executing shell function do_configure
    | MISC_ARG is  -yamlconf /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/fsbl.yaml
    | APP_ARG is  -app "Zynq FSBL"
    | cmd is: xsct /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/app.tcl -ws /home/training/labs/lab1/petalinux-min/build/../components/plnx_workspace/fsbl -pname fsbl -rp /opt/petalinux-v2017.4-final/tools/hsm/data/embeddedsw -processor ps7_cortexa9_0 -hdf /home/training/labs/lab1/petalinux-min/build/tmp/deploy/images/plnx_arm/Xilinx-plnx_arm.hdf -arch 32  -app "Zynq FSBL"  -yamlconf /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/fsbl.yaml
    | Starting xsdk. This could take few seconds... Picked up _JAVA_OPTIONS: -Duser.home=/home/training/labs/lab1/petalinux-min/build/tmp/xsctenv
    | done
    | Importing project fsbl... [DONE]
    | INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
    | CRITICAL WARNING: [Board 49-71] The board_part definition was not found for em.avnet.com:minized:part0:1.2. The project's board_part property was not set, but the project's part property was set to xc7z007sclg225-1. Valid board_part values can be retrieved with the 'get_board_parts' Tcl command. Check if board.repoPaths parameter is set and the board_part is installed from the tcl app store.
    | hsi::open_hw_design: Time (s): cpu = 00:00:05 ; elapsed = 00:00:06 . Memory (MB): peak = 359.957 ; gain = 82.336 ; free physical = 133 ; free virtual = 4899
    | INFO: create app using fsbl_hwproj project
    | Project with name 'fsbl' already exists in workspace.
    | Failed to create Application project fsbl.Project with name fsbl already exists in workspace.
    |     while executing
    | "error [dict get $msg err]"
    |     (procedure "xsdk_eval" line 15)
    |     invoked from within
    | "xsdk_eval $chan "Xsdk" createProject "o{$fmt}" e [list $data]"
    |     (procedure "createapp" line 76)
    |     invoked from within
    | "createapp -name $params(pname) -proc $params(processor)  -hwproject $params(hwpname)  -os $params(osname) -lang c -app $params(app) -arch $params(arch..."
    |     invoked from within
    | "if { $params(ws) ne "" } {
    | #Local Work Space available
    | setws $params(ws)
    | if { [catch {importprojects $params(ws)} result] } {
    | puts "XSCTHELPER IN..."
    |     (file "/home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/app.tcl" line 120)
    | WARNING: /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/temp/run.do_configure.9413:1 exit 1 from 'eval xsct /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/app.tcl -ws /home/training/labs/lab1/petalinux-min/build/../components/plnx_workspace/fsbl -pname fsbl -rp /opt/petalinux-v2017.4-final/tools/hsm/data/embeddedsw -processor ps7_cortexa9_0 -hdf /home/training/labs/lab1/petalinux-min/build/tmp/deploy/images/plnx_arm/Xilinx-plnx_arm.hdf -arch 32 ${APP_ARG} ${MISC_ARG}'
    | ERROR: Function failed: do_configure (log file is located at /home/training/labs/lab1/petalinux-min/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/fsbl/2017.4+gitAUTOINC+77448ae629-r0/temp/log.do_configure.9413)
    ERROR: Task (/opt/petalinux-v2017.4-final/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/fsbl/fsbl_git.bb:do_configure) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 2343 tasks of which 1873 didn't need to be rerun and 2 failed.
     
    Summary: 2 tasks failed:
      /opt/petalinux-v2017.4-final/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb:do_configure
      /opt/petalinux-v2017.4-final/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/fsbl/fsbl_git.bb:do_configure
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
    ERROR: Failed to build project
     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube