FriendlyELEC sells an 11.6inch eDP FHD LCD Display with Capacitive Touch for the nanoPC-T4. I'm trying my hardest to get it working with Armbian. Unfortunately, Armbian doesn't seem to detect the display:
It works in the stock lubuntu image they provide so I'm trying to gather as much configuration information as I can from lubuntu to see what I need to do to get it working.
I want to try a few different experiments.. I have a kernel.img file from lubuntu that I'd like to try booting with Armbian but I don't understand uboot very well and simply copying the kernel.img file to /boot under the same name as the existing vmlinuz file seemed to only brick the install (even after I copied back the old image). Is there a way to properly get uboot to boot that image with Armbian?
Here's what I've gotten so far from lubuntu configuration:
I did notice that lcd=LC116LF1L01 line.. I have no idea what that's for and adding that to Armbian kernel command line did nothing :/
root@FriendlyELEC:~# xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1920x1080 60.00*
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
root@FriendlyELEC:~# xrandr --listmonitors
Monitors: 1
0: +eDP-1 1920/508x1080/286+0+0 eDP-1
Xorg.0.log:
X.Org X Server 1.18.4
Release Date: 2016-07-19
[1713143.338] X Protocol Version 11, Revision 0
[1713143.338] Build Operating System: Linux 4.6.0-1-amd64 x86_64 Debian
[1713143.338] Current Operating System: Linux FriendlyELEC 4.4.179 #1 SMP Thu Aug 13 12:57:41 CST 2020 aarch64
[1713143.339] Kernel command line: earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 console=ttyFIQ0 rootwait coherent_pool=1m root=/dev/mmcblk0p1 rw rootfstype=ext4 data=/dev/mmcblk0p2 consoleblank=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 lcd=LC116LF1L01 storagemedia=sd uboot_logo=0x02000000@0xf5c00000 loader.timestamp=2020-03-16_16:45:22 SecureBootCheckOk=0
[1713143.339] Build Date: 23 December 2016 10:24:38AM
[1713143.339] xorg-server 2:1.18.4-1 (http://www.debian.org/support)
[1713143.339] Current version of pixman: 0.33.6
[1713143.339] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[1713143.339] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[1713143.340] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Sep 7 01:09:37 2020
[1713143.341] (==) Using config directory: "/etc/X11/xorg.conf.d"
[1713143.341] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[1713143.342] (==) No Layout section. Using the first Screen section.
[1713143.342] (==) No screen section available. Using defaults.
[1713143.342] (**) |-->Screen "Default Screen Section" (0)
[1713143.343] (**) | |-->Monitor "<default monitor>"
[1713143.343] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[1713143.343] (**) | |-->Device "Rockchip Graphics"
[1713143.343] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[1713143.343] (==) Automatically adding devices
[1713143.343] (==) Automatically enabling devices
[1713143.343] (==) Automatically adding GPU devices
[1713143.343] (==) Max clients allowed: 256, resource mask: 0x1fffff
[1713143.343] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[1713143.343] Entry deleted from font path.
[1713143.343] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[1713143.343] Entry deleted from font path.
[1713143.344] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[1713143.344] Entry deleted from font path.
[1713143.344] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
built-ins
[1713143.344] (==) ModulePath set to "/usr/lib/xorg/modules"
[1713143.344] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[1713143.344] (II) Loader magic: 0x16af40
[1713143.344] (II) Module ABI versions:
[1713143.344] X.Org ANSI C Emulation: 0.4
[1713143.344] X.Org Video Driver: 20.0
[1713143.344] X.Org XInput driver : 22.1
[1713143.344] X.Org Server Extension : 9.0
[1713143.348] (--) using VT number 2
[1713143.348] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[1713143.350] (II) xfree86: Adding drm device (/dev/dri/card0)
[1713143.368] (II) no primary bus or device found
[1713143.368] falling back to /sys/devices/platform/display-subsystem/drm/card0
[1713143.368] (II) LoadModule: "glx"
[1713143.369] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[1713143.374] (II) Module glx: vendor="X.Org Foundation"
[1713143.374] compiled for 1.18.4, module version = 1.0.0
[1713143.374] ABI class: X.Org Server Extension, version 9.0
[1713143.374] (==) AIGLX enabled
[1713143.374] (II) LoadModule: "modesetting"
[1713143.374] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[1713143.375] (II) Module modesetting: vendor="X.Org Foundation"
[1713143.375] compiled for 1.18.4, module version = 1.18.4
[1713143.375] Module class: X.Org Video Driver
[1713143.375] ABI class: X.Org Video Driver, version 20.0
[1713143.375] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[1713143.450] (II) modeset(0): using drv /dev/dri/card0
[1713143.451] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[1713143.451] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[1713143.451] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[1713143.451] (**) modeset(0): Option "AccelMethod" "glamor"
[1713143.451] (==) modeset(0): RGB weight 888
[1713143.451] (==) modeset(0): Default visual is TrueColor
[1713143.451] (II) Loading sub module "glamoregl"
[1713143.451] (II) LoadModule: "glamoregl"
[1713143.452] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[1713143.489] (II) Module glamoregl: vendor="X.Org Foundation"
[1713143.489] compiled for 1.18.4, module version = 1.0.0
[1713143.490] ABI class: X.Org ANSI C Emulation, version 0.4
[1713143.490] (II) glamor: OpenGL accelerated X.org driver based.
[1713143.494] (II) glamor: EGL version 1.4 Midgard-"r14p0-01rel0":
[1713143.494] EGL_KHR_surfaceless_gles2 required.
[1713143.498] (II) modeset(0): Using GLES2.
[1713143.498] (WW) modeset(0): Glamor is using GLES2 but GLX needs GL. Indirect GLX may not work correctly.
[1713143.498] (II) modeset(0): glamor initialized
[1713143.501] (II) modeset(0): Output eDP-1 has no monitor section
[1713143.501] (II) modeset(0): Output HDMI-1 has no monitor section
[1713143.501] (II) modeset(0): Output DP-1 has no monitor section
[1713143.502] (II) modeset(0): EDID for output eDP-1
[1713143.502] (II) modeset(0): Printing probed modes for output eDP-1
[1713143.502] (II) modeset(0): Modeline "1920x1080"x60.0 138.65 1920 1968 2000 2080 1080 1083 1088 1111 +hsync +vsync (66.7 kHz)
[1713143.502] (II) modeset(0): EDID for output HDMI-1
[1713143.502] (II) modeset(0): EDID for output DP-1
[1713143.502] (II) modeset(0): Output eDP-1 connected
[1713143.502] (II) modeset(0): Output HDMI-1 disconnected
[1713143.502] (II) modeset(0): Output DP-1 disconnected
[1713143.502] (II) modeset(0): Using sloppy heuristic for initial modes
[1713143.502] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[1713143.502] (II) modeset(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[1713143.502] (==) modeset(0): DPI set to (96, 96)
[1713143.502] (II) Loading sub module "fb"
[1713143.502] (II) LoadModule: "fb"
[1713143.503] (II) Loading /usr/lib/xorg/modules/libfb.so
[1713143.503] (II) Module fb: vendor="X.Org Foundation"
[1713143.503] compiled for 1.18.4, module version = 1.0.0
[1713143.503] ABI class: X.Org ANSI C Emulation, version 0.4
[1713143.504] (==) Depth 24 pixmap format is 32 bpp
[1713143.727] (==) modeset(0): Backing store enabled
[1713143.728] (==) modeset(0): Silken mouse enabled
[1713143.728] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[1713143.728] (==) modeset(0): DPMS enabled
[1713143.728] (WW) modeset(0): Option "DRI" is not used
[1713143.728] (II) modeset(0): [DRI2] Setup complete
[1713143.728] (II) modeset(0): [DRI2] DRI driver: rockchip
[1713143.728] (II) modeset(0): [DRI2] VDPAU driver: rockchip
[1713143.750] (--) RandR disabled
[1713143.761] (II) SELinux: Disabled on system
[1713143.762] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/rockchip_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/rockchip_dri.so: cannot open shared object file: No such file or directory)
[1713143.762] (EE) AIGLX: reverting to software rendering
[1713143.812] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[1713143.813] (II) AIGLX: Loaded and initialized swrast
[1713143.813] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[1713143.835] (II) modeset(0): Setting screen physical size to 508 x 285
[1713143.917] (II) config/udev: Adding input device adc-keys (/dev/input/event2)
[1713143.917] (**) adc-keys: Applying InputClass "evdev keyboard catchall"
[1713143.917] (II) LoadModule: "evdev"
[1713143.917] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[1713143.918] (II) Module evdev: vendor="X.Org Foundation"
[1713143.918] compiled for 1.18.1, module version = 2.10.1
[1713143.918] Module class: X.Org XInput Driver
[1713143.918] ABI class: X.Org XInput driver, version 22.1
[1713143.918] (II) Using input driver 'evdev' for 'adc-keys'
[1713143.918] (**) adc-keys: always reports core events
[1713143.919] (**) evdev: adc-keys: Device: "/dev/input/event2"
[1713143.919] (--) evdev: adc-keys: Vendor 0x1 Product 0x1
[1713143.919] (--) evdev: adc-keys: Found keys
[1713143.919] (II) evdev: adc-keys: Configuring as keyboard
[1713143.919] (**) Option "config_info" "udev:/sys/devices/platform/adc-keys/input/input2/event2"
[1713143.919] (II) XINPUT: Adding extended input device "adc-keys" (type: KEYBOARD, id 6)
[1713143.919] (**) Option "xkb_rules" "evdev"
[1713143.919] (**) Option "xkb_model" "pc105"
[1713143.919] (**) Option "xkb_layout" "us"
[1713143.921] (II) config/udev: Adding input device Typec_Headphone (/dev/input/event0)
[1713143.921] (II) No input driver specified, ignoring this device.
[1713143.921] (II) This device may have been added with another device file.
[1713143.922] (II) config/udev: Adding input device EP0790M09 (/dev/input/event1)
[1713143.922] (**) EP0790M09: Applying InputClass "evdev touchscreen catchall"
[1713143.922] (II) Using input driver 'evdev' for 'EP0790M09'
[1713143.922] (**) EP0790M09: always reports core events
[1713143.922] (**) evdev: EP0790M09: Device: "/dev/input/event1"
[1713143.922] (--) evdev: EP0790M09: Vendor 0 Product 0
[1713143.922] (--) evdev: EP0790M09: Found absolute axes
[1713143.922] (--) evdev: EP0790M09: Found absolute multitouch axes
[1713143.922] (II) evdev: EP0790M09: No buttons found, faking one.
[1713143.922] (--) evdev: EP0790M09: Found x and y absolute axes
[1713143.922] (--) evdev: EP0790M09: Found absolute touchscreen
[1713143.922] (II) evdev: EP0790M09: Configuring as touchscreen
[1713143.922] (**) evdev: EP0790M09: YAxisMapping: buttons 4 and 5
[1713143.922] (**) evdev: EP0790M09: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[1713143.922] (**) Option "config_info" "udev:/sys/devices/platform/ff3d0000.i2c/i2c-4/4-0038/input/input1/event1"
[1713143.922] (II) XINPUT: Adding extended input device "EP0790M09" (type: TOUCHSCREEN, id 7)
[1713143.922] (II) evdev: EP0790M09: initialized for absolute axes.
[1713143.922] (**) EP0790M09: (accel) keeping acceleration scheme 1
[1713143.922] (**) EP0790M09: (accel) acceleration profile 0
[1713143.922] (**) EP0790M09: (accel) acceleration factor: 2.000
[1713143.922] (**) EP0790M09: (accel) acceleration threshold: 4
[1713143.923] (II) config/udev: Adding input device EP0790M09 (/dev/input/mouse0)
[1713143.923] (II) No input driver specified, ignoring this device.
[1713143.923] (II) This device may have been added with another device file.
[1713143.924] (II) config/udev: Adding input device gpio-keys (/dev/input/event4)
[1713143.924] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"
[1713143.924] (II) Using input driver 'evdev' for 'gpio-keys'
[1713143.924] (**) gpio-keys: always reports core events
[1713143.924] (**) evdev: gpio-keys: Device: "/dev/input/event4"
[1713143.924] (--) evdev: gpio-keys: Vendor 0x1 Product 0x1
[1713143.924] (--) evdev: gpio-keys: Found keys
[1713143.924] (II) evdev: gpio-keys: Configuring as keyboard
[1713143.924] (**) Option "config_info" "udev:/sys/devices/platform/gpio-keys/input/input4/event4"
[1713143.924] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 8)
[1713143.924] (**) Option "xkb_rules" "evdev"
[1713143.924] (**) Option "xkb_model" "pc105"
[1713143.924] (**) Option "xkb_layout" "us"
[1713143.925] (II) config/udev: Adding input device realtek,rt5651-codec Headphones (/dev/input/event3)
[1713143.925] (II) No input driver specified, ignoring this device.
[1713143.925] (II) This device may have been added with another device file.
[1713190.723] (II) config/udev: Adding input device Logitech K400 Plus (/dev/input/mouse1)
[1713190.723] (II) No input driver specified, ignoring this device.
[1713190.723] (II) This device may have been added with another device file.
[1713190.735] (II) config/udev: Adding input device Logitech K400 Plus (/dev/input/event5)
[1713190.735] (**) Logitech K400 Plus: Applying InputClass "evdev pointer catchall"
[1713190.735] (**) Logitech K400 Plus: Applying InputClass "evdev keyboard catchall"
[1713190.735] (II) Using input driver 'evdev' for 'Logitech K400 Plus'
[1713190.735] (**) Logitech K400 Plus: always reports core events
[1713190.735] (**) evdev: Logitech K400 Plus: Device: "/dev/input/event5"
[1713190.736] (--) evdev: Logitech K400 Plus: Vendor 0x46d Product 0x404d
[1713190.736] (--) evdev: Logitech K400 Plus: Found 20 mouse buttons
[1713190.736] (--) evdev: Logitech K400 Plus: Found scroll wheel(s)
[1713190.736] (--) evdev: Logitech K400 Plus: Found relative axes
[1713190.736] (--) evdev: Logitech K400 Plus: Found x and y relative axes
[1713190.736] (--) evdev: Logitech K400 Plus: Found absolute axes
[1713190.736] (II) evdev: Logitech K400 Plus: Forcing absolute x/y axes to exist.
[1713190.736] (--) evdev: Logitech K400 Plus: Found keys
[1713190.736] (II) evdev: Logitech K400 Plus: Configuring as mouse
[1713190.736] (II) evdev: Logitech K400 Plus: Configuring as keyboard
[1713190.736] (II) evdev: Logitech K400 Plus: Adding scrollwheel support
[1713190.736] (**) evdev: Logitech K400 Plus: YAxisMapping: buttons 4 and 5
[1713190.736] (**) evdev: Logitech K400 Plus: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[1713190.736] (**) Option "config_info" "udev:/sys/devices/platform/usb1/fe900000.dwc3/xhci-hcd.9.auto/usb5/5-1/5-1:1.2/0003:046D:C52B.0003/0003:046D:404D.0004/input/input5/event5"
[1713190.736] (II) XINPUT: Adding extended input device "Logitech K400 Plus" (type: KEYBOARD, id 9)
[1713190.736] (**) Option "xkb_rules" "evdev"
[1713190.736] (**) Option "xkb_model" "pc105"
[1713190.736] (**) Option "xkb_layout" "us"
[1713190.736] (WW) Option "xkb_variant" requires a string value
[1713190.736] (WW) Option "xkb_options" requires a string value
[1713190.738] (II) evdev: Logitech K400 Plus: initialized for relative axes.
[1713190.738] (WW) evdev: Logitech K400 Plus: ignoring absolute axes.
[1713190.738] (**) Logitech K400 Plus: (accel) keeping acceleration scheme 1
[1713190.738] (**) Logitech K400 Plus: (accel) acceleration profile 0
[1713190.738] (**) Logitech K400 Plus: (accel) acceleration factor: 2.000
[1713190.738] (**) Logitech K400 Plus: (accel) acceleration threshold: 4
[1713296.783] (II) config/udev: removing device Logitech K400 Plus
[1713296.789] (II) evdev: Logitech K400 Plus: Close
[1713296.789] (II) UnloadModule: "evdev"
[1713366.491] (II) config/udev: Adding input device Logitech K400 Plus (/dev/input/mouse1)
[1713366.491] (II) No input driver specified, ignoring this device.
[1713366.491] (II) This device may have been added with another device file.
[1713366.520] (II) config/udev: Adding input device Logitech K400 Plus (/dev/input/event5)
[1713366.520] (**) Logitech K400 Plus: Applying InputClass "evdev pointer catchall"
[1713366.520] (**) Logitech K400 Plus: Applying InputClass "evdev keyboard catchall"
[1713366.520] (II) Using input driver 'evdev' for 'Logitech K400 Plus'
[1713366.520] (**) Logitech K400 Plus: always reports core events
[1713366.520] (**) evdev: Logitech K400 Plus: Device: "/dev/input/event5"
[1713366.520] (--) evdev: Logitech K400 Plus: Vendor 0x46d Product 0x404d
[1713366.520] (--) evdev: Logitech K400 Plus: Found 20 mouse buttons
[1713366.520] (--) evdev: Logitech K400 Plus: Found scroll wheel(s)
[1713366.520] (--) evdev: Logitech K400 Plus: Found relative axes
[1713366.520] (--) evdev: Logitech K400 Plus: Found x and y relative axes
[1713366.520] (--) evdev: Logitech K400 Plus: Found absolute axes
[1713366.520] (II) evdev: Logitech K400 Plus: Forcing absolute x/y axes to exist.
[1713366.520] (--) evdev: Logitech K400 Plus: Found keys
[1713366.520] (II) evdev: Logitech K400 Plus: Configuring as mouse
[1713366.520] (II) evdev: Logitech K400 Plus: Configuring as keyboard
[1713366.520] (II) evdev: Logitech K400 Plus: Adding scrollwheel support
[1713366.520] (**) evdev: Logitech K400 Plus: YAxisMapping: buttons 4 and 5
[1713366.520] (**) evdev: Logitech K400 Plus: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[1713366.520] (**) Option "config_info" "udev:/sys/devices/platform/usb1/fe900000.dwc3/xhci-hcd.9.auto/usb5/5-1/5-1:1.2/0003:046D:C52B.0007/0003:046D:404D.0008/input/input6/event5"
[1713366.520] (II) XINPUT: Adding extended input device "Logitech K400 Plus" (type: KEYBOARD, id 9)
[1713366.520] (**) Option "xkb_rules" "evdev"
[1713366.520] (**) Option "xkb_model" "pc105"
[1713366.521] (**) Option "xkb_layout" "us"
[1713366.521] (WW) Option "xkb_variant" requires a string value
[1713366.521] (WW) Option "xkb_options" requires a string value
[1713366.522] (II) evdev: Logitech K400 Plus: initialized for relative axes.
[1713366.522] (WW) evdev: Logitech K400 Plus: ignoring absolute axes.
[1713366.522] (**) Logitech K400 Plus: (accel) keeping acceleration scheme 1
[1713366.522] (**) Logitech K400 Plus: (accel) acceleration profile 0
[1713366.522] (**) Logitech K400 Plus: (accel) acceleration factor: 2.000
[1713366.522] (**) Logitech K400 Plus: (accel) acceleration threshold: 4
[1713389.710] (II) config/udev: removing device Logitech K400 Plus
[1713389.718] (II) evdev: Logitech K400 Plus: Close
[1713389.718] (II) UnloadModule: "evdev"
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
ethDreamer
FriendlyELEC sells an 11.6inch eDP FHD LCD Display with Capacitive Touch for the nanoPC-T4. I'm trying my hardest to get it working with Armbian. Unfortunately, Armbian doesn't seem to detect the display:
It works in the stock lubuntu image they provide so I'm trying to gather as much configuration information as I can from lubuntu to see what I need to do to get it working.
I want to try a few different experiments.. I have a kernel.img file from lubuntu that I'd like to try booting with Armbian but I don't understand uboot very well and simply copying the kernel.img file to /boot under the same name as the existing vmlinuz file seemed to only brick the install (even after I copied back the old image). Is there a way to properly get uboot to boot that image with Armbian?
Here's what I've gotten so far from lubuntu configuration:
Kernel command line: earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 console=ttyFIQ0 rootwait coherent_pool=1m root=/dev/mmcblk0p1 rw rootfstype=ext4 data=/dev/mmcblk0p2 consoleblank=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 lcd=LC116LF1L01 storagemedia=sd
I did notice that lcd=LC116LF1L01 line.. I have no idea what that's for and adding that to Armbian kernel command line did nothing :/
root@FriendlyELEC:~# xrandr Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1920x1080 60.00* HDMI-1 disconnected (normal left inverted right x axis y axis) DP-1 disconnected (normal left inverted right x axis y axis) root@FriendlyELEC:~# xrandr --listmonitors Monitors: 1 0: +eDP-1 1920/508x1080/286+0+0 eDP-1
Xorg.0.log:
Link to comment
Share on other sites
27 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.