26.albertsilva@gmail.com 0 Posted December 21, 2023 Hello How do I enable the serial console on tinker board 3N? I'm running TinkerOS Debian 11, I'm trying to enable LVDS output on the uboot without success. Any suggestions? Share this post Link to post Share on other sites
tooz 47 Posted December 21, 2023 hello @26.albertsilva@gmail.com, the uart serial console is enabled by default. which pins did you connect to? Share this post Link to post Share on other sites
26.albertsilva@gmail.com 0 Posted December 21, 2023 I'm connected to the dbug port, on the 3-pin board, we think it's that one, I'm not sure, I've enabled the UART from the tinker-config but I'm also not sure if they're the right ones. In addition to this, the parameters that must be configured in the standard 11, in the fw_env.config file for the fw_printenv utilities to work, and set_printenv to be able to access via Linux in case of not being able to get the serial connection. Share this post Link to post Share on other sites
26.albertsilva@gmail.com 0 Posted December 21, 2023 (edited) We're connecting to these pins Edited December 21, 2023 by 26.albertsilva@gmail.com Description missing Share this post Link to post Share on other sites
26.albertsilva@gmail.com 0 Posted December 21, 2023 I've already been able to access, ok now my query is how do I enable the LVDS output for a second display? in /proc/sys/class I only see HDMI Share this post Link to post Share on other sites
tooz 47 Posted December 22, 2023 hello @26.albertsilva@gmail.com, lvds was bridged and converted from mipi dsi, therefore only dsi logs present if you're using lvds to enable lvds, please modify the /boot/config.txt sudo vi /boot/config.txt overlay=mipi2lvds2_the lvds panel you are using save & reboot for instance, if you're using auo 21.5" lvds panel, then the overlay line in the config.txt should be: overlay=mipi2lvds2_G215HAN01 there are 2 lvds that are supported on tinker board 3n so far: Tinker Board 3N QVL Share this post Link to post Share on other sites
26.albertsilva@gmail.com 0 Posted December 22, 2023 Hi I said LVDS because the same connector is used for dual LVDS and eDP but, the secondary monitor is connected to the eDP port, the primary is connected to the HDMI port. We set the uboot vars for display0 and display1 as follows setenv display0 hdmi-default setenv display1 edp-1366x768 setenv display2 saveenv reset But the DP monitor is not working and in /sys/class/drm only one card is showed the hdmi one. Do we need configuring the kernel, modify dtb ..etc? Regards Share this post Link to post Share on other sites
tooz 47 Posted December 25, 2023 hello @26.albertsilva@gmail.com, what's the edp you're using? it might be that the edp you're using is not ported/ supported. Share this post Link to post Share on other sites
26.albertsilva@gmail.com 0 Posted December 26, 2023 Estamos probando el Tinkerboard 3N en el siguiente escenario: Tinkerboard 3N instalado con debian 11, arrancando desde micro-SD Debemos conectar dos pantallas al tinkerboard 3N. Ambas pantallas deben funcionar como pantallas extendidas (no reflejadas) La pantalla principal está conectada al puerto HDMI de la pizarra (resolución actual 1024x600) La pantalla secundaria se conecta al conector eDP interno de la pizarra mediante un cable eDP - DP personalizado. El monitor secundario es un monitor HP estándar (resolución actual de 1920x1080), solo para fines de prueba. El resultado de esta prueba es que no se detecta el monitor secundario. No se crea card1-EDP-1 en /sys/class/drm, solo podemos ver card0-HDMI-A-1 (HDMI funciona) xrandr -q solo emite HDMI-1 como conectado, no se muestra información sobre DP-1 Modificación realizada Cambiamos algunas variables en el entorno u-boot, pero sin éxito. Mismo resultado que el indicado en el punto 3. setenv display0 hdmi-default Setenv Pantalla1 EDP-1920x1080 setenv display2 saveenv Otros cambios setenv display0 hdmi-default Setenv Pantalla1 EDP-1024x600 setenv display2 saveenv Otras pruebas que hemos realizado cambiando vars en el entorno uboot, pero los mismos resultados HDMI funciona y EDP no funciona Resoluciones predeterminadas setenv display0 hdmi-default Setenv Pantalla1 EDP-1366x768 setenv display2 saveenvsolo una interfaz (eDP) Setenv Pantalla0 EDP-1366x768 setenv display1 setenv display2 saveenv Observaciones Creemos que el kernel debe detectar el DP-1, esperamos detectar en /sys/class/card1-DP-A-1 o dispositivo similar la pantalla secundaria ¿El kernel necesita alguna cmdline para configurar la pantalla secundaria? ¿Se debe agregar o habilitar algún módulo nuevo en la configuración del kernel? --------------- Se está evaluando con un monitor secundario es un monitor HP estándar (resolución actual de 1920x1080), solo con fines de prueba. ¿Puede compartir un adaptador de cable pasivo eDP1.3 a DP esquemático recomendado por ASUS que funcione con Tinker 3N y un monitor HP estándar con entrada DP? Señal eDP en el cabezal de 40 pines: Señal de pin del conector DP: Gracias de antemano por su apoyo. Saludos cordiales Albert Silva Share this post Link to post Share on other sites
26.albertsilva@gmail.com 0 Posted December 26, 2023 On 12/25/2023 at 7:42 AM, tooz said: hello @26.albertsilva@gmail.com, what's the edp you're using? it might be that the edp you're using is not ported/ supported. Hi to give you more context on what we are doing. We are testing the Tinkerboard 3N in the following scenary: Tinkerboard 3N installed with debian 11, booting from micro-SD We must connect two displays to the tinkerboard 3N. Both displays must be working as extended displays (not mirrored) Primary display is connected to the tinkerboard HDMI port (current resolution 1024x600) Secondary display is connected to the tinkerboard internal eDP connector using a custom eDP - DP cable. The secondary monitor is a standard HP monitor (current resolution 1920x1080), just for testing purposes. The result of this test is that the secondary monitor is not detected. No card1-EDP-1 is created in /sys/class/drm , we can oly see card0-HDMI-A-1 (HDMI works) xrandr -q outputs only HDMI-1 as connected, no information about DP-1 is showed Modification performed We changed some vars in the u-boot environment, but with no success. Same result as stated in point 3. setenv display0 hdmi-default setenv display1 edp-1920x1080 setenv display2 saveenv Other changes setenv display0 hdmi-default setenv display1 edp-1024x600 setenv display2 saveenv Observations We think the kernel must detect the DP-1, we expect to detect in /sys/class/card1-DP-A-1 or similar device the secondary display The kernel needs any cmdline to setup the secondary display? Any new module must be added or enabled in the kernel config? --------------- Customer is evaluating with a secondary monitor is a standard HP monitor (current resolution 1920x1080), just for testing purposes. can you share a passive cable adapter eDP1.3 to DP schematic recommended by ASUS that work with Tinker 3N and a standard HP monitor with DP input? eDP signal on header 40pin.: DP connector pin signal: Thank you in advance for your support. Best regards Share this post Link to post Share on other sites
tooz 47 Posted December 27, 2023 hello @26.albertsilva@gmail.com, 19 hours ago, 26.albertsilva@gmail.com said: can you share a passive cable adapter eDP1.3 to DP schematic recommended by ASUS that work with Tinker 3N and a standard HP monitor with DP input? edp-dp converter is not supported on tinker 3n, the edp connectors can only be used for the edp display panels that are on the qvl: https://tinker-board.asus.com/download/Tinker_Board_3N_QVL.pdf to test out dual screen setup, here i use a hdmi tv and an 15" auo g156hab02 edp panel, with tinker 3n debian 11 image v.1.0.7: modify /boot/config.txt, uncomment the overlay line, save /boot/config.txt and reboot tinker 3n: once the overlay comes effective and the edp is recognised, you can change it to either primary or secondary display in the display settings: 1 Share this post Link to post Share on other sites