Tuesday, March 31, 2020

Getting an ODriod VU-5A Display Working with the ODroid N2

I love the tiny little single-board computers from ODroid, but their VU-5A display comes with no instructions at all, and the wiki is not a lot more helpful. It wasn't even clear what connections to make when I got the display!

Here, anyway, is what I had to do to connect the VU-5A to my N2.

There are three relevant connections on the VU-5A. One is marked "Display", and it is a normal female HDMI plug. Obviously, we want to connect that to the HDMI port on the N2 (or whatever). The other two are micro USB ports, marked "Touch" and "DC". I initially thought I'd need to connect both of these (and the display came with two USB cables). But, in fact, you can just connect the one marked "Touch", and that will power the display, as well. I would guess that if for some reason one needs more power (e.g., you have other USB devices that are sucking current), then you could connect the "Power" jack, as well.

With those connections made, the display came up right away. But the second time, it came up in 1920x1080 resolution, which was a bit hard to read on a 5" screen, let me tell you! So the auto-detection was not working right, and I had to make some changes to the /media/boot/boot.ini file. The touchscreen was also not working out of the box, and that required similar changes. Thus:

--- boot.ini.old    2020-03-31 02:32:14.000000000 +0000
+++ boot.ini    2020-03-31 03:36:26.000000000 +0000
@@ -4,7 +4,7 @@
 setenv condev "console=ttyS0,115200n8"   # on both

 # Auto Detection of Monitor settings based on your Screen information
-setenv display_autodetect "true"
+setenv display_autodetect "false"

 # HDMI Mode
 # Resolution Configuration
@@ -47,7 +47,7 @@
 #    "2560x1440p60hz"   | 2560x1440 Progressive 60Hz
 #    "2560x1600p60hz"   | 2560x1600 Progressive 60Hz
 #    "3440x1440p60hz"   | 3440x1440 Progressive 60Hz
-setenv hdmimode "1080p60hz"
+setenv hdmimode "800x480p60hz"

 # Monitor output
 # Controls if HDMI PHY should output anything to the monitor
@@ -70,8 +75,8 @@

 # Hardkernel ODROID-VU7 support
 # By default VU7 support is disabled
-setenv disable_vu7 "true"
-# setenv disable_vu7 "false"
+# setenv disable_vu7 "true
+setenv disable_vu7 "false"

 # max cpu frequency for big core, A73 in MHz unit
 # setenv max_freq_a73 "2004"  # 2.004 GHz 

With that done, everything seems golden.

No comments:

Post a Comment

Comments welcome, but they are expected to be civil.
Please don't bother spamming me. I'm only going to delete it.