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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Avnet Boards General Enabling POST in Uboot
  • 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 5 replies
  • Subscribers 359 subscribers
  • Views 1007 views
  • Users 0 members are here
Related

Enabling POST in Uboot

Former Member
Former Member over 10 years ago

I need to enable the uboot POST for testing memory on the Zed board (Xilinx Zynqu00AE-7000 All-Programmable SoC - ARM dual-core Cortexu2122-A9 + 28 nm programmable logic with Analog Devices AD-FMCOMMS3-EBZ FMC module featuring the AD9361).

Can this be achieved only by modification of the uboot source code ? Or, is there any sequence of keystrokes at the time of booting, for enabling the same?

I added the define directive #define CONFIG_POST  CONFIG_SYS_POST_MEMORY in the zynq_zed.h
file. in directory include/configs of u-boot source(2014.07). But when I built it the following errors are displayed:

1)t_POST_WORD_ADDR currently not implemented for this platform! (file include/post.h).

2)tpost_word_load() undeclared (file include/post.h).

3)tPost_word_store() undeclared (file include/post.h).


What other modifications are required to enable POST ?

- Suresh

  • Sign in to reply
  • Cancel
  • zedhed
    0 zedhed over 10 years ago

    Hi Suresh,

    According to this article, there may be some other #defines that need to be in place for POST to become enabled.

    http://blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:post

    Regards,

    -Kevin

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

    Hi Suresh,

      I confess I'd never heard of the U-boot POST tests before I saw your forum entry.   As you probably did before me, I did some fruitless searching for decent documentation on this feature, but I really didn't find much beyond implementations for the Blackfin.   Looking at the latest U-boot code from mainline, I see that only a very limited number of boards have been included to date, so I suspect this is not a very popular feature. 

    Since there is no code for the Zynq architecture, and no source implementation for specific Zynq boards, enabling the configuration items is not sufficient, as you have found.   If I had to implement this myself, I would start with the <u-boot-dir>/post/post.c file and use the implementation there to augment to code for a chosen board.  It looks like there will be numerous files you would have to create in that directory to fully implement the POST operations for a new architecture.

    It might be worth posting a question on the Xilinx community forum to see if anyone is currently working on this.

    That's about the best I've got for this.  Sorry!

    Ron

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

    Hi Ron,

    Thanks for providing the information that POST is not currently implemented for Zynq architecture. I did not have a detailed study of the u-boot code. I only had a quick glance through the directories, when I happened to notice the files like post.c and directives like CONFIG_POST.  I also came across some memory test functions in a file named memory.c   in the <u-boot-dir>/post/drivers directory. I wrongly assumed that these memory test functions will be executed by all boards, once POST is enabled.

    Now, I understand that implementation of POST for a new architecture is not an easy task. I have already posted a question to Xilinx community forum. Hope someone is currently working on this.

    Suresh

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

    Hi Suresh!

    Have you got to write something? Could you share it?

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

    I'm currently poring over the code for POST support in U-Boot, not specifically for Zedboard, but when I'm done, I plan on writing up a decent tutorial and posting it online. If someone has any sample tests for Zedboard they'd like to share, I can add them to my tutorial for a more comprehensive explanation. Thank you kindly.

    rday

    • 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 © 2026 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