Jump to content
26.albertsilva@gmail.com

(URG) How to enable serial console on tinker board 3N?

Recommended Posts

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

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

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

Estamos probando el Tinkerboard 3N en el siguiente escenario:

Tinkerboard 3N instalado con debian 11, arrancando desde micro-SD

  1. Debemos conectar dos pantallas al tinkerboard 3N. Ambas pantallas deben funcionar como pantallas extendidas (no reflejadas)
    1. La pantalla principal está conectada al puerto HDMI de la pizarra (resolución actual 1024x600)
    2. 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.
  2. El resultado de esta prueba es que no se detecta el monitor secundario.
    1. No se crea card1-EDP-1 en /sys/class/drm, solo podemos ver card0-HDMI-A-1 (HDMI funciona)
    2. xrandr -q solo emite HDMI-1 como conectado, no se muestra información sobre DP-1
  3. Modificación realizada
    1. Cambiamos algunas variables en el entorno u-boot, pero sin éxito. Mismo resultado que el indicado en el punto 3.
      1. setenv display0 hdmi-default
      2. Setenv Pantalla1 EDP-1920x1080
      3. setenv display2
      4. saveenv
    2. Otros cambios
      1. setenv display0 hdmi-default
      2. Setenv Pantalla1 EDP-1024x600
      3. setenv display2
      4. saveenv     
  4. Otras pruebas que hemos realizado cambiando vars en el entorno uboot, pero los mismos resultados HDMI funciona y EDP no funciona
    1. Resoluciones predeterminadas
      1. setenv display0 hdmi-default
      2. Setenv Pantalla1 EDP-1366x768
      3. setenv display2
        1. saveenvsolo una interfaz (eDP)
          1. Setenv Pantalla0 EDP-1366x768
          2. setenv display1 
          3. setenv display2
          4. saveenv

 

  1. Observaciones
    1. Creemos que el kernel debe detectar el DP-1, esperamos detectar en /sys/class/card1-DP-A-1 o dispositivo similar la pantalla secundaria
    2. ¿El kernel necesita alguna cmdline para configurar la pantalla secundaria?
    3. ¿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:

image.png

 

Gracias de antemano por su apoyo.
Saludos
cordiales Albert Silva

Share this post


Link to post
Share on other sites
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: 

  1. Tinkerboard 3N installed with debian 11, booting from micro-SD
  2.  We must connect two displays to the tinkerboard 3N. Both displays must be working as extended displays (not mirrored)
    1.  Primary display is connected to the tinkerboard HDMI port (current resolution 1024x600)
    2.  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. 
  3. The result of this test is that the secondary monitor is not detected.
    1. No card1-EDP-1 is created in /sys/class/drm , we can oly see card0-HDMI-A-1 (HDMI works)
    2. xrandr -q  outputs only HDMI-1  as connected, no information about DP-1 is showed
  4. Modification performed
    1. We changed some vars in the u-boot environment, but with no success. Same result as stated in point 3.
      1. setenv display0 hdmi-default
      2. setenv display1 edp-1920x1080
      3. setenv display2
      4. saveenv
    2. Other changes
      1. setenv display0 hdmi-default
      2. setenv display1 edp-1024x600
      3. setenv display2
      4. saveenv
  5. Observations
    1. 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
    2. The kernel needs any cmdline to setup the secondary display?
    3. 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:

image.png

Thank you in advance for your support.

Best regards

Share this post


Link to post
Share on other sites

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: 

6eDXco3.png

 

modify /boot/config.txt, uncomment the overlay line, save /boot/config.txt and reboot tinker 3n:

q4GT4X8.png

once the overlay comes effective and the edp is recognised, you can change it to either primary or secondary display in the display settings:

 

1m0B8ql.png

  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...