element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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 & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Ultra96 Hardware Design PL-PS configuration in Ultra96 v2
  • 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 Suggested Answer
  • Replies 8 replies
  • Answers 2 answers
  • Subscribers 346 subscribers
  • Views 1956 views
  • Users 0 members are here
  • ultra96v2
  • pl-ps
  • ultra96
  • ddr
Related

PL-PS configuration in Ultra96 v2

bengugu
bengugu over 6 years ago

Hello,

 

With ultra96-v1 I can establish PS-PL axi interconnection and transfer processed data from PL to PS DDR, but no luck with Ultra96-V2.

 

I have changed the PS DDR configuration according to

LPDDR4 Memory differences between Ultra96-V1 and Ultra96-V2

And I also tried to lower the clock frequency for the data transmission but nothing helped.

Can I have some hint for solving this problem?

Is there anything else has to be changed for V2 from V1?

 

Thanks

  • Sign in to reply
  • Cancel
Parents
  • bhfletcher
    0 bhfletcher over 6 years ago

    After making the memory changes, did you first perform a basic memory test to make sure everything was working?

     

    There are no other changes at the FSBL level than the memory controller parameters between V1 and V2. The only other major change is the Wi-Fi Radio Linux drivers, so I don't think that is the issue here.

     

    Bryan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bengugu
    0 bengugu over 5 years ago in reply to bhfletcher

    Hi

     

    Since I can make every works ok by using vivado hardware manager to directly program the device using the bitstream file.

    I tried another way to prove my thought.

    I enabled the fpga manager in the petalinux-config and create the BOOT.BIN without bitstream inside it.

    After the board is booted, i used the fpga-manager in the linux OS and program the device with the *.bit.bin file I put in the SD card, which is generated by the bootgen command in the petalinux.

    And as it is expected everything works ok.

     

    So, I think maybe there is something need to be modified for the fsbl.elf before the petalinux-build.

    The last thing left for what I can try is to create the fsbl.elf in the vivado SDK and overwrite it in the petalinux-build images/linux then do the package thing to create BOOT.BIN.

     

    Do you have any other advices?

    Gu

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • drozwood90
    0 drozwood90 over 5 years ago in reply to bengugu

    Hi there,

     

    Have you gone through any of the training courses that we created?  There are some details around creating a boot.bin, however for the most part the tool takes care of everything for you.  To me, it sounds like you are swapping the order of the pieces in the boot.bin, or possibly not actually loading them by hand.

     

    To explain why, if you just create your Vivado design, then export to SDK directly from the Vivado tool, everything will be setup for you in SDK without the need to do anything.

     

    --Dan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bengugu
    0 bengugu over 5 years ago in reply to drozwood90

    Hi Dan

     

    Thank you for the reply.

    The thing is that I want to use petalinux OS in my design so i am now creating the BOOT.bin and image.ub with the petalinux 2018.3 tool.

    After creating the project with Ultra96 v2 bsp, i replaced the hdf with my own design and i followed the manual of UG1144 to create boot files.

    Am I am aware of that almost everything can be handled by the petalinux tool.

     

    I think the order in boot.bin is a good point to check. Can you tell me how to check or configure it in petalinux tool?

     

    Regards,

    Gu

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • bengugu
    0 bengugu over 5 years ago in reply to drozwood90

    Hi Dan

     

    Thank you for the reply.

    The thing is that I want to use petalinux OS in my design so i am now creating the BOOT.bin and image.ub with the petalinux 2018.3 tool.

    After creating the project with Ultra96 v2 bsp, i replaced the hdf with my own design and i followed the manual of UG1144 to create boot files.

    Am I am aware of that almost everything can be handled by the petalinux tool.

     

    I think the order in boot.bin is a good point to check. Can you tell me how to check or configure it in petalinux tool?

     

    Regards,

    Gu

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • narrucmot
    0 narrucmot over 5 years ago in reply to bengugu

    Hi Gu,

     

    Can you share with me the steps you went through - the commands you ran - to import your new custom hw platform into the PetaLinux project?  Was the bitstream included in the imported HDF?  It may not have been as the bitstream is not included in the HDF by default.

     

    --Tom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bengugu
    0 bengugu over 5 years ago in reply to narrucmot

    Hi Tom,

     

    The bitstream should have been included in the HDF because after i boot the board with the BOOT.BIN I created, i can see the blue led which means the board is programmed.

     

    After I created a new template with the provided bsp.

    The command I went through:

    1. petalinux-config --get-hw-description=../ULTRA96_V2.sdk

    => the customized hdf file is included in ULTRA96_V2.sdk, i didnt change any configuration and just go next step

    2. petalinux-build

    3. petalinux-package --boot --force --fsbl images/linux/zynqmp_fsbl.elf --fpga images/linux/system.bit --u-boot

    4. copy the BOOT.BIN and image.ub to the SD card

     

    And as i have mentioned this is not working, i have to reprogram the fpga with the bitstream file to make my application work.

    I wonder is there something i have to modificate before i do the petalinux-build

     

    Regards,

    Gu

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bengugu
    0 bengugu over 5 years ago in reply to narrucmot

    Hi Tom,

     

    As Daniel mentioned the problem maybe caused by the inappropriate order of the pieces in the boot.bin,

    can you how to check or configure it in petalinux?

    Currently I am using the default configuration of the bsp.

     

    • 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