Trying to upgrade Sunxi_Jessie_3.4.103 to Stretch (or anything higher):
- Set new distro in /etc/apt/sources.list
- apt-get update --> success
- apt-get dist-upgrade --> no major problems
BUT: After rebooting no X desktop.
Xorg.0.log says:
X.Org X Server 1.19.2
Release Date: 2017-03-02
[ 174.615] X Protocol Version 11, Revision 0
[ 174.615] Build Operating System: Linux 5.10.0-10-armmp-lpae armv7l Debian
[ 174.615] Current Operating System: Linux A20-OLinuXino 3.4.103-00033-g9a1cd034181a-dirty #49 SMP PREEMPT Fri May 18 16:07:20 EEST 2018 armv7l
[ 174.616] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10
[ 174.616] Build Date: 29 December 2021 06:06:12PM
[ 174.616] xorg-server 2:1.19.2-1+deb9u9 (https://www.debian.org/support)
[ 174.617] Current version of pixman: 0.34.0
[ 174.617] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 174.617] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 174.619] (==) Log file: "/home/olimex/.local/share/xorg/Xorg.0.log", Time: Fri Jun 3 23:50:31 2022
[ 174.620] (==) Using config file: "/etc/X11/xorg.conf"
[ 174.624] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 174.626] (==) No Layout section. Using the first Screen section.
[ 174.626] (**) |-->Screen "My Screen" (0)
[ 174.626] (**) | |-->Monitor "My Monitor"
[ 174.627] (**) | |-->Device "fbturbo device"
[ 174.627] (**) | |-->GPUDevice "Allwinner A10/A13 FBDEV"
[ 174.627] (==) Automatically adding devices
[ 174.627] (==) Automatically enabling devices
[ 174.627] (==) Automatically adding GPU devices
[ 174.627] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 174.627] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 174.627] Entry deleted from font path.
[ 174.627] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 174.627] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 174.628] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 174.628] (II) Loader magic: 0xb6f35f60
[ 174.628] (II) Module ABI versions:
[ 174.628] X.Org ANSI C Emulation: 0.4
[ 174.628] X.Org Video Driver: 23.0
[ 174.628] X.Org XInput driver : 24.1
[ 174.628] X.Org Server Extension : 10.0
[ 174.632] (++) using VT number 1
[ 174.641] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c4
[ 174.642] (II) no primary bus or device found
[ 174.642] (II) LoadModule: "glx"
[ 174.643] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 174.653] (II) Module glx: vendor="X.Org Foundation"
[ 174.653] compiled for 1.19.2, module version = 1.0.0
[ 174.653] ABI class: X.Org Server Extension, version 10.0
[ 174.653] (II) LoadModule: "fbturbo"
[ 174.654] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[ 174.655] (II) Module fbturbo: vendor="X.Org Foundation"
[ 174.655] compiled for 1.16.4, module version = 0.4.0
[ 174.656] Module class: X.Org Video Driver
[ 174.656] ABI class: X.Org Video Driver, version 18.0
[ 174.656] (EE) fbturbo: module ABI major version (18) doesn't match the server's version (23)
[ 174.656] (II) UnloadModule: "fbturbo"
[ 174.656] (II) Unloading fbturbo
[ 174.656] (EE) Failed to load module "fbturbo" (module requirement mismatch, 0)
[ 174.656] (EE) No drivers available.
[ 174.656] (EE)
Fatal server error:
[ 174.656] (EE) no screens found(EE)
[ 174.657] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 174.657] (EE) Please also check the log file at "/home/olimex/.local/share/xorg/Xorg.0.log" for additional information.
[ 174.657] (EE)
[ 174.668] (EE) Server terminated with error (1). Closing log file.
So we got a version conflict: "fbturbo: module ABI major version (18) doesn't match the server's version (23)"
Where do I get a matching version of fbturbo_drv.so ?
Any idea is welcome.
PS: And NO! - Olimage with its crap graphic driver is NO solution.
Maybe what you already found - LibreELEC - and go hunting for how they did it. Probably not open source or it would be in mainline.
John