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
ZUBoard ZUBoard PYNQ with eMMC and SSD - an easier way?
  • 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 2 replies
  • Subscribers 328 subscribers
  • Views 87 views
  • Users 0 members are here
  • ssd
  • ZU Board 1CG
  • emmc
  • pynq
  • kernel
  • m.2
  • ZUBoard
  • boot
  • zub1cg
  • zu1cgboard
Related

ZUBoard PYNQ with eMMC and SSD - an easier way?

tjaekel
tjaekel 8 days ago

I was thinking...:
is there an easier way to add and enable eMMC (and even SSD/M.2 module) for ZUBoard running PYNQ?

Potentially, there is!

Tests done:

If I image SD card with PYNQ image, boot it, afterwards I copy/overwrite the BOOT.bin and image.ub with the one from a PetaLinux image
(used to demonstrate that eMMC and SSD/M.2 works):
- oh, yes, I see eMMC and even nvme device
- I can mount and use: all looks fine

BUT:
the FPGA Manager is not enabled!
So, even PYNQ seems to boot fine - just: it cannot load any overlay.bit file!
Obvious: the FPGA Manager is not enabled, not added in the (BSP and) PetaLinux kernel.

So, what about to build a new PetaLinux kernel for the ZUBoard (only the kernel, not all, not the entire PYNQ image)?

I assume,

  • if you use a newer BSP, e.g. "zub1cg_sbc_base_2022_2.bsp", not the original one used in ZUBoard PYNQ build as "zuboard_1cg.bsp"
  • you build just the PetaLinux kernel and u-boot
  • but before the build: you configure the PetaLinux project to enable/add the FPGA Manager (petalinux-config)

maybe, it is enough to exchange the kernel (image.ub, and UBOOT.BIN) so that:

  • a PYNQ SD Card (with patched BOOT.BIN and image.ub) boots fine
  • sees also if eMMC module is connected
  • sees also if SSD/M.2 module is connected instead (and you can mount SSD/M.2 as a drive in system)
  • and you can also load dynamically custom overlay.bit files

So, I think:

supporting eMMC or SSD/M.2 is just an issue with the PetaLinux kernel (image.ub) itself:
changing the kernel with one supporting both (optional) devices, but having also FPGA Manager enabled in it...
should do the job.

Just: build a PetaLinux image based on a newer BSP repository, change the files on the PYNQ image (e.g. after system has booted,
to overwrite the BOOT.BIN and esp. image.ub)... and it should be done.

I am testing this approach right...

Please:
can anybody generate a PetaLinux kernel (image.ub) which would support eMMC and SSD/M.2?
It should be OK to image SD card with original PYNQ image but after it has booted - to overwrite (patch) these files,
so that is sees both devices and still works to load custom overlay.bit files in Python.
It should not be big deal.

  • Sign in to reply
  • Cancel
Parents
  • tjaekel
    0 tjaekel 7 days ago

    It is not yet working:
    I get build errors...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tjaekel
    0 tjaekel 7 days ago in reply to tjaekel

    But, for now, at least to get eMMC working:

     ZUBoard PYNQ - patch for eMMC support 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • tjaekel
    0 tjaekel 7 days ago in reply to tjaekel

    But, for now, at least to get eMMC working:

     ZUBoard PYNQ - patch for eMMC support 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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