Sorry, you need to enable JavaScript to visit this website.

MicroZed and QNX6.5 SP1

Unsolved
5 posts / 0 new
Geoff.Roberts's picture
Geoff.Roberts
Junior(0)
MicroZed and QNX6.5 SP1

Does anyone have QNX 6.5 SP1 working on the MicroZed board and prepared to share how they got it to work?

I have tried to adapt the BSP for the Zync-702 Zedboard obtained from off the QNX website but without success. I can build an image and have followed the instructions regarding the SD card but it simply won't work. I know there are hardware differences such as no serial port but elsewhere on another forum it is stated that it is possible to run QNX6 on the MicroZed.

If I can't get it to work I may have to dump the MicroZed and try another product.

Regards,

Geoff.

zedhed's picture
zedhed
Moderator(22)
RE: MicroZed and QNX6.5 SP1

Hi Geoff,

I looked back at my build and it looks like I also used QNX 6.5 SP1 to rebuild the Adeneo QNX ZC702 BSP for MicroZed.

You will need to create your own hardware platform using the Xilinx Vivado tools so that you can get a FSBL that matches your MicroZed hardware rather than the Xilinx ZC702 board.

What version of Xilinx Vivado are you using?

Also, I am going to link to the other forum post here so others can find it:

http://microzed.org/content/porting-qnx-zedboard

Regards,

-Kevin

Geoff.Roberts's picture
Geoff.Roberts
Junior(0)
Hi Kevin,

Hi Kevin,

I have Vivado 2014.2 installed but recently downloaded the SDK 2014.4. Do I need the full suite?

The effort to date has been with 2014.2.

I wouldn't know where to start with the FSBL so I may require some spoon feeding with it. I know what it is but don't know much about the microzed specifics or how to make one. Yet! :-)

FYI I have a son who is familiar with Vivado and FPGA (uses it for his PhD work) but is weak when it comes to software such as C/C++ and operating systems (he's an optical hardware engineer). Hopefully he can help me navigate through Vivado but I doubt he knows how to put a bootloader together.

Thanks,

Geoff.

zedhed's picture
zedhed
Moderator(22)
RE: MicroZed and QNX6.5 SP1

Hi Geoff,

I think you are going to see the best results if you use a version of Vivado that matches the SDK that you are using.

For example, if you are comfortable with SDK 2014.4, you should also be using Vivado Design Suite 2014.4 as well.

We have some SpeedWay trainings that might be useful to you to get more familiar with the tools. The hands on labs were written for the 2013.3 tools but the concepts, such as the FSBL, are the same.

http://microzed.org/support/trainings-and-videos

Basically, the FSBL is the First Stage Boot Loader which is available as an SDK application template. It is pretty easy to create the FSBL once you get the hardware platform exported from the Vivado tools. Those training videos I pointed out might be useful to show you where to go for the FSBL.

Regards,

-Kevin

Geoff.Roberts's picture
Geoff.Roberts
Junior(0)
RE: MicroZed and QNX6.5 SP1

Hi Kevin,

I have been occupied with other things for a couple of weeks and only read your latest post today.

I have downloaded and installed the Vivado 2014.4 Design Suite so I think I have all I need in that regard.

I am now in the process of downloading the Speedway training docs/videos (the ZIP file) and will start using them once this is complete. I suspect that there will be more than an hour or two required to soak it all up, and more than likely multiple readings/viewings required to retain it all.

Is there any chance of you providing me with the build image that you used when you booted up on QNX6.5.0 SP1? I am still confused about how the serial debugging works when the microzed doesn't have a serial port as such. In other words, what does display_msg use to output debugging messages? (Presumably the micro USB port in some way). And does the microzed require devc-serxzynq or something else I don't have? Currently I am using the build image and suporing files as supplied in the ZC702 Zedboard BSP that I obtained from off the QNX website.

I also believe that the I2C and CAN drivers are not required with the zedboard. I am still coming to grips with the ZYNQ-7000 architecture and specifically, the microzed implementation of it. I presume the SD, QSPI, OCM, XADC, FPGA, USB, and networking drivers as supplied in the BSP are OK for use in the microzed. Is this correct?

I will try to get the FSBL built over the next few days. I have a steep learning curve to climb and it will take a while.

Thanks,

Geoff.