xu4 xorg and console setup

Moderators: mdrjr, odroid

xu4 xorg and console setup

Unread postby phaseshifter » Mon Oct 31, 2016 8:38 pm

yep it`s good to go ctrl+alt-F1 for console and ctrl+alt-F7 for xorg
if you want to run the l.c.d you must detach the hdmi cable before you start the xu4
..i.e it works with the cable detached.


Code: Select all
sudo apt-get install fbset


enable touch driver
Code: Select all
sudo apt-get install device-tree-compiler
sudo cp /media/boot/exynos5422-odroidxu3.dtb /media/boot/exynos5422-odroidxu3.dtb.old
sudo fdtput -t s /media/boot/exynos5422-odroidxu3.dtb /hsi2c@12CB0000/sx865x@49 status "okay"
sudo reboot
t

Add following lines in "/etc/modprobe.d/lcd35.conf" file.
Code: Select all
 joe /etc/modprobe.d/lcd35.conf

enter this code
Code: Select all
options fbtft_device name=flexpfb rotate=270
options flexfb chip=ili9488

save and exit
Add following lines in "/etc/modules" file.
Code: Select all
joe /etc/modules

Code: Select all
fbtft_device
flexfb
sx865x

ad the following line to the "/etc/rc.local"
Code: Select all
joe /etc/rc.local


Code: Select all
con2fbmap 0 1

create a new xorg.conf file

Code: Select all
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
sudo rm -fr /etc/X11/xorg.conf.d/exynos.conf



Add following lines in "/etc/X11/xorg.conf" file.

Code: Select all
joe /etc/X11/xorg.conf

enter this code
Code: Select all
Section "Device"
        Identifier    "C fbdev"
        Driver        "fbdev"
        Option        "fbdev" "/dev/fb0"
EndSection


for the screen calibrator
Code: Select all
sudo apt-get install xinput-calibrator


this is a little bare bones..how ever i got it running for fourdee so he could fix his script on his installer
Last edited by phaseshifter on Tue Nov 01, 2016 12:24 am, edited 5 times in total.
odroid N-1 16Gb emmc orange..
phaseshifter
 
Posts: 2873
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well

Return to 3.5inch LCD Shield

Who is online

Users browsing this forum: No registered users and 1 guest