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

OLED build in Petalinux for Zedboard

Unsolved
4 posts / 0 new
rubinstu's picture
rubinstu
Junior(0)
OLED build in Petalinux for Zedboard

Can anyone please explain how to build in the OLED driver using the Petalinux tools for Zedboard?
There are some references to building and using the OLED in the "old" or "plain" Linux build, but I'm sort of torn. The Xilinx documentation now seems to revolve around Petalinux, but the OLED is not in the build, as far as I can tell. The "old" out-of-the-box Linux has the OLED driver (and a script to use it), but I think it's old and not part of the current tools.
I have looked around the settings in "petalinux-config" but didn't see anything.
Thank you!
 

zedhed's picture
zedhed
Moderator(22)
RE: OLED build in Petalinux for Zedboard

Hi rubinstu,

From what I recall, the out-of-box image was build using the ISE tools so you are right, this is an older design.

However, the OLED driver used GPIOs to format the SPI interface to the OLED controller so it is possible that you could get this working with by using the latest GPIO calls in the more recent kernels.

Here is the OLED driver that Digilent created:

https://github.com/Digilent/linux-digilent/blob/86b46b6606eea44c59af56b7...

It does not appear to be mainlined so you would need to manually insert this into a more modern Linux kernel build tree if you want to migrate forward to a newer Linux kernel than the one this driver was originally created for.

Regards,

-Kevin

slot867's picture
slot867
Junior(0)
Hi Kevin,

Hi Kevin,
Can you provide detailed Vivade diagram design of " use GPIOs to format the SPI interface to the OLED controller ". I have got pmodoled-gpio.ko with petalinux 2015.4 ready. " insmod pmodoled-gpio.ko " shows " /dev/zed_oled ", but " cat logo.bin > /dev/zed_oled " displays nothing.
Please advise, Thanks in advace
Mike
 
 

zedhed's picture
zedhed
Moderator(22)
RE: OLED build in Petalinux for Zedboard

Hi Mike,

Sorry, I don't have any Vivado designs along those lines of implementing the OLED that I can provide.

If you decide to build this out on your own, please feel free to share back with our community!

Best Regards,

-Kevin