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
Software Application Development Problem with App Note 1078
  • 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 9 replies
  • Subscribers 328 subscribers
  • Views 1292 views
  • Users 0 members are here
Related

Problem with App Note 1078

Former Member
Former Member over 11 years ago

RE: Xilinx App Note 1078 "Simple AMP Running Linux and Bare-Metal System on Both Zynq SoC Processors"
http://www.xilinx.com/support/documentation/application_notes/xapp1078-amp-linux-bare-metal.pdf
http://www.wiki.xilinx.com/XAPP1078+Latest+Information


Hi,

I've been trying to work through Xilinx App Note 1078, without any success.

I'm using the files from here:
http://zedboard.org/design/1521/11
specifically:
http://zedboard.org/sites/default/files/design/xapp1078_zedboard.zip

I'm trying to run the pre-prepared binary files in the zip file:
xapp1078_zedboarddesignwork_zedboard_14_3zedboard_osl_3_8_kernel_SDcard

The kernel boots OK, but when I run the apps there is no sign of life from CPU1:

rcS Complete
zynq> /mnt/softUart.elf &
zynq> /mnt/rwmem.elf 0xfffffff0 0x18000000
zynq>
zynq>
zynq> /mnt/rwmem.elf 0xffff8000
0x00000000ffff8000 = 0x00000000
zynq> /mnt/rwmem.elf 0xffff8000
0x00000000ffff8000 = 0x00000000
zynq> /mnt/rwmem.elf 0xffff8000
0x00000000ffff8000 = 0x00000000
zynq> /mnt/rwmem.elf 0xffff8000
0x00000000ffff8000 = 0x00000000
zynq>
zynq> /mnt/rwmem.elf 0x78600000 1
zynq>
zynq>
zynq>
zynq> /mnt/rwmem.elf 0xffff8000
0x00000000ffff8000 = 0x00000000
zynq>

I've got two zedboards, neither work.

I also tried the binaries prepared by vcesson (see link), but they fail in the same way.
http://www.zedboard.org/content/amp-running-linux-and-bare-metal-system-both-zynq-soc-processors

I guess there are two possible causes of my problem (i) something in my u-boot environment is wrong, or (ii) I have a newer (different) version of zedboard or zynq hardware?

Any ideas?

The output from my kernel booting, and a copy of my u-boot environment is here:
http://pastebin.com/raw.php?i=nXA5vtmU


Many thanks, Sam.

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Has anybody else had problems with these binaries? 

    I'd be very grateful if somebody who can run them would post a copy of their u-boot settings...

    I have a Rev D zedboard, is there an issue with this version?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    help....anybody?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Ok. I just did try boot with files from "xapp1078_zedboarddesignwork_zedboard_14_3zedboard_osl_3_8_kernel_SDcard" folder and it failed same way - no counting.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Thanks d9, so it's not just me, good to know.

    Reading other threads here, it seems some people have had these files running, so I'm as puzzled as ever....?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    hi,
    i had the same problem with the rev D board. my design worked on rev c zedboard and cpu1 did not start with the bare metal app.
    then i found that wiki http://www.wiki.xilinx.com/XAPP1078+Latest+Information the xilinx board also has a newer, production silicon zynq with different boot process. so i changed the bootvector.bin according to the wiki page:
    "00 FF FF FF" to "2C FF FF FF"
    --> worked.
    maybe that could be the answer to your problem.

    -Charles

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    when I copy them(BOOT.BIN, devicetree.dtb, uImage, uramdisk.image.gz, rwmem.elf and softuart.elf) into SD card to boot,  in serial port shows this:
    U-Boot 2013.01-00004-g6f13889-dirty (Apr 16 2013 - 09:31:48)

    DRAM:  384 MiB
    WARNING: Caches not enabled
    MMC:   zynq_sdhci: 0
    SF: Detected S25FL256S with page size 64 KiB, total 32 MiB
    In:    serial
    Out:   serial
    Err:   serial
    Net:   Gem.e000b000
    Hit any key to stop autoboot:  0
    Device: zynq_sdhci
    Manufacturer ID: 27
    OEM: 5048
    Name: SD04G
    Tran Speed: 50000000
    Rd Block Len: 512
    SD version 2.0
    High Capacity: Yes
    Capacity: 3.7 GiB
    Bus Width: 4-bit
    Booting Xillinux...
    reading xillydemo.bit
    ** Unable to read file xillydemo.bit **
    zynq-uboot>

    why the *.bit is xillydemo.bit? The reference xapp is wrong?

    Thx!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    You seem to be mixing files for a Xillinux demo with the XAP1078 reference design.

     

    If you want to implement the XAP1078 I would suggest using the current Vivado based version:

     

    http://www.wiki.xilinx.com/XAPP1078+Latest+Information

     

    -Gary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    I have the same problem as the first post. I have not mixed files as well. I use an avnet zedboard on windows 7. Please help.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • 1_jiten
    0 1_jiten over 2 years ago in reply to Former Member

    Hey Charles, I was facing the same problem with Rev F and I did your suggested changes and it started working.

    Thanks Slight smile

    • 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