ODROID-Vu8M
Prerequisite
Please check the versions of Linux kernel and Petitboot before setting ODROID-Vu8M, update firmware blobs if required.
Petitboot
Version of Petitboot must be v20220424 or later.
Linux kernel version
$ dpkg -s linux-image-4.19.219-odroid-arm64 | grep -i version Version: 4.19.219-202204111511~focal
Configuration
COMMON
First, Add panel value to notice to bootloader or petitboot.
- On the Linux / Android
fw_setenv panel display_vu8m
- On the U-BOOT
setenv panel display_vu8m
And, It is necessary to add display_vu8m to the line starts with overlays= in config.ini to enable DSI port. The change will affect after rebooting.
Linux
$ vi /boot/config.ini [generic] ... overlays="i2c0 i2c1 display_vu8m" ...
Android
$ vi /fat/config.ini [generic] ... overlays="i2c0 uart0 spi0 display_vu8m" ...
Display rotation
Gnome Desktop
Gnome login screen
In order to change the orientation of log in screen of Gnome Desktop, it's required to copy the monitor setup as well.
sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config/ sudo reboot
Change the VU8M orientation in Android
The default oriention is portrait mode, you can change orientation to landscape.
$ adb remount # busybox vi /fat/config.ini ... overlays="i2c0 uart0 spi0 display_vu8m" user_def_args="orientation=landscape" ... # busybox vi /vendor/default.prop ... ro.surface_flinger.primary_display_orientation=ORIENTATION_270 ...