Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

SDP 7.0 ZCU102 BSP: Boot with the QNX IPL from QSPI flash storage
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: ZCU102 Boot from QSPI Flash Storage
  • SDP: 7.0.0
  • Target: ZCU102
________________________________________________________________________

Question
________________________________________________________________________

For the ZCU102 target, how do I boot with the QNX IPL from QSPI flash storage?

________________________________________________________________________

Recommendation
________________________________________________________________________

In the ZCU102 BSP User's Guide, the offset specified to write the QNX IFS image to QSPI flash storage is 0xC00000 (12M). Since the BOOT.BIN file size has increased (~ 25 MB), the QSPI mappings need to be changed in the IPL to successfully boot. Below is the summary:

--- IPL ---

In qspi.h (located in ../src/hardware/ipl/boards/xzynq-zcu102/):

- IFS Offset have been changed to 0x02000000
- Max size for BOOT.BIN and IFS has been increased to 32 MB.

--- reflash-image.sh and reflash-ipl.sh ---

- Changed the offset to 0x02000000 for the IFS
- Limit was increased to 32M for both, BOOT.BIN and IFS, when using flashctl.

The following relevant files are attached:

- qspi.h
- reflash-ipl.sh
- reflash-image.sh
- BOOT.BIN (built with the modified IPL)

The Bootgen utility, which is used in the mkflashimage script to rebuild the BOOT.BIN file, is available via the Xilinx website - https://www.xilinx.com/. For more information about Bootgen, please review the Bootgen User Guide:


________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 Attachment Name Size Last Modified
 zcu102_files.zip 180KB 2/6/2021 8:57 PM





Please contact us with your questions or concerns.