element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Or 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development port QNX 6.6 to microzed
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 3 replies
  • Subscribers 175 subscribers
  • Views 694 views
  • Users 0 members are here
  • microzed
  • qnx6.6
Related

port QNX 6.6 to microzed

exds75
exds75 over 4 years ago

Hi Kevin,

 

       qnx 6.6, microzed, vivado/sdk 2016.2, BSP_xilinx-zynq-7000-zc702_br-660_be-660_SVN848518_JBN92.zip

 

Previously, following your post in Porting QNX to Zedboard | Zedboard

I have successfully ported zc702 BSP to microzed in qnx 6.5SP1.

 

However, the porting process failed when migrating to qnx6.6. None of the function components is active, except usb.

 

System page at phys:0081b000 user:fc408000 kern:fc408000

Starting next program at vfe05ee3c

cpu_startnext: cpu0 -> fe05ee3c

Starting Clock driver (/dev/clock)...

Unable to start "clock-xzynq" (13)

Unable to start "devc-serxzynq" (13)

Unable to access "/dev/console" (2)

Welcome to QNX Neutrino 6.6.0 on the Zynq7000 ZC702 (ARM Cortex-A9 MPCore)

Starting SDHC driver (/dev/hd0)...

Unable to start "devb-sdmmc-xzynq_generic" (13)

Starting OCM driver (/dev/ocm/)...

Unable to start "ocm-xzynq" (13)

Starting XADC driver (/dev/xadc)...

Unable to start "xadc-xzynq" (13)

Starting FPGA driver (/dev/fpga)...

Unable to start "fpga-xzynq" (13)

Starting USB Host driver (/dev/io-usb/)...

Starting Network driver...

ksh: No controlling tty (open /dev/tty: No such device or address)

ksh: warning: won't have full job control

#

 

Below is what I have done of the porting, basically the same procedure as described in your post.

 

1. replace ps7_init, comment out xil_io.h, add one extra line in ps7_init.h

 

          #define XZYNQ_CONSOLE_BASE        XZYNQ_XUARTPS_UART1_BASE

 

2. modified main.c to not call ps7_init.

3. modified the build file to turn off QSPI, I2C and CAN. Also turned off DHCP and set the IP address (hardcode mac address 00:0a:35:00:01:23). 

4. nothing to change of control.c , which is different from qnx6.5SP1 where reqires I2C EEPROM to load the MAC address.

5. rebuilt the QNX code with the Momentics IDE.

6. modified the boot.bif file to use my FSBL and added the Zynq bit file,

7. ./mkflashimage to create BOOT.bin and QNX_IFS.

8. copied BOOT.bin and QNX_IFS to the MicroZed SD card and selected the SD card boot option from the IPL menu. select 'M'

 

Please advise, thanks in advance

 

Mike

  • Sign in to reply
  • Cancel

Top Replies

  • kevinkeryk
    kevinkeryk over 4 years ago +1 verified
    Hi Mike, We do not have an official support agreement in place with QNX but that older post you linked to was based upon some Proof-of-Concept work that I had going on for a side project in my spare time…
  • exds75
    exds75 over 4 years ago in reply to kevinkeryk +1
    Hi Kevin, sorry for the late report. After chown/chmod the imported BSP directory and rebuild the BSP project, Microzed now is working fine with QNX 6.6. Thanks for your pioneer expedition. Mike
  • kevinkeryk
    0 kevinkeryk over 4 years ago

    Hi Mike,

     

    We do not have an official support agreement in place with QNX but that older post you linked to was based upon some Proof-of-Concept work that I had going on for a side project in my spare time.

     

    I do see that their appears to be 6.6 BSP experimental support for Zynq-7000 according to this information here:

     

    https://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/XilinxZc702

     

    Is this the QNX BSP that you are using for your porting work?  If so, you might want to contact QNX to see if they can offer you some support for your MicroZed target as we cannot provide any official support for this at this time.

     

    Best Regards,

     

    -Kevin

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • exds75
    0 exds75 over 4 years ago in reply to kevinkeryk

    Hi Kevin,

     

    sorry for the late report.

     

    After chown/chmod the imported BSP directory and rebuild the BSP project, Microzed now is working fine with QNX 6.6.

     

    Thanks for your pioneer expedition.

     

    Mike

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kevinkeryk
    0 kevinkeryk over 4 years ago in reply to exds75

    Hi Mike,

     

    Thank you for posting back on your success!  Hearing from you makes the late night work on side projects even more rewarding!

     

    If you happen to find any other tidbits on using QNX with MicroZed, please post them here.  Without official support from the vendor, this community benefits greatly from the knowledge and experience of folks like you!

     

    Best Regards,

     

    -Kevin

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