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 Pulsar DTB - device tree blob
  • 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 Verified Answer
  • Replies 4 replies
  • Subscribers 328 subscribers
  • Views 595 views
  • Users 0 members are here
Related

Pulsar DTB - device tree blob

Former Member
Former Member over 9 years ago

I am trying to understand a complication with using a custom device tree blob while using the prebuilt Pulsar image for microZed (http://microzed.org/sites/default/files/design/Pulsar-SoM-Image-Creation_0.zip).

I do not know too much about U-boot, but I have added my own .dtb file in the OVERCBOOT partition and I stop u-boot to add my own commands (build from petalinux tools 2015.2).  Taking a look at the getting started guide (http://zedboard.org/sites/default/files/documentations/Wind-River-Getting-Started-with-Pulsar-Linux-OS_2.pdf), i can boot using the commands shown there using the provided blob

> fatload mmc 0 0x3000000 uImage
> fatload mmc 0 0x2A00000 dtb
> setenv bootargs 'console=ttyPS0,115200 root=/dev/mmcblk0p3
rw rootfstype=btrfs softdog.nowayout=0 rootwait'
> bootm 0x3000000 - 0x2a00000

If I change dtb to my own system.dtb, the boot seems to always hang after uncompressing the image.

Ultimately, I would like to add my own seperate .bin file for the PL during u-boot, as well (can do this, and will boot if I use the default dtb file).

I would like to solve this as it seems pretty much the easiest way to get rolling with the Pulsar persistent image.  I would like to use my own device tree as I have created my own DMA drivers.

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

    Hi,

      Yup, don't know why just yet, but I've found the same thing when I attempt to boot Pulsar with with a device tree file created from a PetaLinux project, using the same hardware.   It simply doesn't work, and hangs as soon as the kernel decompresses.

    I'm working with Wind River to resolve this, but at present the workaround is to modify the source provided in the wr-core project (Wind River OpenSourceLabs) and compile that.  Or if you haven't installed wr-core on a Linux host, you can decompile the dtb file in the OVERCBOOT partition of the image and modify the resulting DTS and compiling that back into a DTB.

    Ron

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

    Thanks, as a U-boot noob, I was very mystified.  If you can get this resolved with Wind River, please post!

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

    Thanks, as a U-boot noob, I was very mystified.  If you can get this resolved with Wind River, please post!

    • 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