khadas / fenix

One-stop script set to build Ubuntu/Debian images
GNU General Public License v2.0
208 stars 135 forks source link

Khadas Edge-V + TS050 + Linux does not work #242

Closed nvitya closed 4 months ago

nvitya commented 10 months ago

Hi,

I have a Khadas Edge-V with the TS050 MIPI Display. The TS050 Display works fine with Android-10 (Qt), using this Khadas provided Android Image:

edge-android-10-v230524.img

I did not find a way to get the TS050 MIPI (DSI) Display working with Linux, basically working full-time over that for a week. The Khadas provided images do not work with the Display. I've tested these pre-compiled images: edge-ubuntu-20.04-gnome-linux-5.18-fenix-1.1.1-220725.img edge-ubuntu-18.04-lxde-linux-4.4-fenix-1.1.1-220725-emmc.img edge_ubuntu-lxde-bionic_linux-4.4_arm64_emmc_v1.0.10-220108.img

I've tried to compile own fenix images too: edge1-ubuntu-18.04-lxde-linux-4.4-fenix-1.5.2-231020-develop.img edge1-ubuntu-20.04-lxde-linux-6.0-fenix-1.5.2-231023-develop.img edge1-ubuntu-22.04-lxde-linux-4.4-fenix-1.5.2-231023-develop.img edge1-ubuntu-22.04-lxde-linux-6.0-fenix-1.5.2-231018-develop.img

Generally the Kernel 4.4 images turn on the LCD Backlight, but there is no proper picture, just some green lines that with the time become more intense, and the display warms up significantly (so I don't let it run too long).

I've enabled the display in the env.txt. I've also tried to add the following to the user kernel parameters: lcd_panel=newts050 Unfortunately that did not help.

The Fenix with Kernels 6.x.y do not even turn on the LCD Backlight.

I just checked the display, it still works with Android 10 (Kernel 4.19.111).

I've also tried Armbian. Armbian works fine with the HDMI (better than fenix), but I did not find a way there to activate the MIPI display (TS050). I miss the proper examples of the kernel configuration and device tree configuration. I've seen, that the TS050 panel is even added to the mainline kernel (at least in 6.1): panel-khadas-ts050.c But I have no idea, how to configure it.

At first I would need a properly working Linux (Ubuntu or Debian), to check

Please give me some instructions, how can I use the MIPI display properly on Ubuntu / Debian Linux. (I would like to use it as the primary display, I don't need the HDMI.)

br. Viktor