No HDMI output when booting & booted, but HDMI output in boot menu

Hi,

I have designed my own carrier board for the iMX6Q processor module. Unfortunately I have come across some problems. My first peculiar problem is the HDMI output. When powering on the module I get a nice debug output on the serial port and let it run. However I get no power up data stream visible at the display nor any video output when linux has started. But when I enter the bootloader at startup, I get the Toradex logo on my display. Thus there is something happening what I cant grasp. Has someone any idea what I could try to fix this?

I known designing your own carrier board can come with some problems. Therefore, I followed the “Apalis System on Modules: Carrier Board Design Guide”. Also i have tested the module with the Ixora carrierboard if there is some HDMI output. And on the Ixora carrierboard I get a nice HDMI output on all the stages.

Any help is welcome and thanks in advance.

Kind regards,

Remco

Hi Remco

Please have a look here. I guess you did not change the U-Boot environment variable vidargs.

Note that in U-Boot, when a HDMI monitor is connected you get the U-Boot splash screen on the HDMI output. Linux on the other hand takes whatever is set on the kernel cmdline.

Max

Hi Max,

I have tried your suggestion in different configurations, but still no output visible on the HDMI.

When I am in U-Boot, I have the splash screen. But when I boot Linux, the splash screen disappears. But the status light, if you may call it that way on the monitor, on the power button goes from green to orange after 2 seconds.

Also, I get no display output when I put the device in recovery mode and upload Toradex easy installer (the handy screen to select an OS to be installed).

I don’t know if it any useful, but the following is the output from the serial console for: “cat /var/log/Xorg.0.log”.

root@apalis-imx6:~# cat /var/log/Xorg.0.log
[     8.634] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[     8.634] X Protocol Version 11, Revision 0
[     8.634] Build Operating System: Linux 4.9.0-7-amd64 x86_64 
[     8.634] Current Operating System: Linux apalis-imx6 4.9.87-2.8.4+g3bb6e3284a1b #1 SMP Fri Oct 5 16:02:39 UTC 2018 armv7l
[     8.635] Kernel command line: vmalloc=400M user_debug=30 ip=off root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fec_mac=00:14:2d:4e:a6:83 consoleblank=0 no_console_suspend=1 console=tty1 console=ttymxc0,115200n8 mxc_hdmi.only_cea=0 video=mxcfb0:dev=hdmi,1024x768M,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=32M
[     8.635] Build Date: 05 October 2018  07:42:01PM
[     8.635]  
[     8.635] Current version of pixman: 0.34.0
[     8.635] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     8.635] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     8.636] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct 11 09:24:33 2018
[     8.641] (==) Using config file: "/etc/X11/xorg.conf"
[     8.641] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     8.643] (==) No Layout section.  Using the first Screen section.
[     8.643] (==) No screen section available. Using defaults.
[     8.643] (**) |-->Screen "Default Screen Section" (0)
[     8.644] (**) |   |-->Monitor "<default monitor>"
[     8.644] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[     8.644] (**) |   |-->Device "i.MX Accelerated Framebuffer Device"
[     8.644] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     8.644] (**) Option "BlankTime" "0"
[     8.644] (**) Option "StandbyTime" "0"
[     8.644] (**) Option "SuspendTime" "0"
[     8.644] (**) Option "OffTime" "0"
[     8.644] (==) Automatically adding devices
[     8.644] (==) Automatically enabling devices
[     8.645] (==) Automatically adding GPU devices
[     8.645] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     8.649] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[     8.649] 	Entry deleted from font path.
[     8.649] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[     8.649] 	Entry deleted from font path.
[     8.650] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
[     8.650] 	Entry deleted from font path.
[     8.651] (==) FontPath set to:
	/usr/share/fonts/X11/misc/,
	/usr/share/fonts/X11/100dpi/,
	/usr/share/fonts/X11/75dpi/
[     8.651] (==) ModulePath set to "/usr/lib/xorg/modules"
[     8.651] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     8.651] (II) Loader magic: 0x13d008
[     8.651] (II) Module ABI versions:
[     8.651] 	X.Org ANSI C Emulation: 0.4
[     8.651] 	X.Org Video Driver: 23.0
[     8.651] 	X.Org XInput driver : 24.1
[     8.651] 	X.Org Server Extension : 10.0
[     8.653] (II) xfree86: Adding drm device (/dev/dri/card0)
[     8.654] (II) no primary bus or device found
[     8.654] 	falling back to /sys/devices/platform/Vivante GCCore/drm/card0
[     8.654] (II) LoadModule: "glx"
[     8.656] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     8.745] (II) Module glx: vendor="X.Org Foundation"
[     8.745] 	compiled for 1.19.3, module version = 1.0.0
[     8.745] 	ABI class: X.Org Server Extension, version 10.0
[     8.745] (II) LoadModule: "vivante"
[     8.758] (II) Loading /usr/lib/xorg/modules/drivers/vivante_drv.so
[     8.762] (II) Module vivante: vendor="X.Org Foundation"
[     8.762] 	compiled for 1.19.3, module version = 1.0.0
[     8.762] 	ABI class: X.Org Video Driver, version 23.0
[     8.762] (II) VIVANTE: fb driver for vivante: VivanteGC500, VivanteGC2100,
	VivanteGCCORE
[     8.762] (++) using VT number 7

[     8.778] (WW) Falling back to old probe method for vivante
[     8.778] (II) Loading sub module "fbdevhw"
[     8.778] (II) LoadModule: "fbdevhw"
[     8.778] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[     8.780] (II) Module fbdevhw: vendor="X.Org Foundation"
[     8.780] 	compiled for 1.19.3, module version = 0.0.2
[     8.780] 	ABI class: X.Org Video Driver, version 23.0
[     8.780] (II) VIVANTE(0): using default device
[     8.781] (II) VIVANTE(0): Device preferred mode 'fb0':U:1280x720p-60 
[     8.781] (II) VIVANTE(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 16/16
[     8.781] (==) VIVANTE(0): Depth 16, (==) framebuffer bpp 16
[     8.781] (==) VIVANTE(0): RGB weight 565
[     8.781] (==) VIVANTE(0): Default visual is TrueColor
[     8.781] (==) VIVANTE(0): Using gamma correction (1.0, 1.0, 1.0)
[     8.781] (**) VIVANTE(0): mExaHwType:1
[     8.781] (II) VIVANTE(0): checking modes against framebuffer device...
[     8.781] (II) VIVANTE(0): checking modes against monitor...
[     8.781] (--) VIVANTE(0): Virtual size is 0x0 (pitch 0)
[     8.781] (==) VIVANTE(0): DPI set to (96, 96)
[     8.781] (II) Loading sub module "fb"
[     8.781] (II) LoadModule: "fb"
[     8.781] (II) Loading /usr/lib/xorg/modules/libfb.so
[     8.785] (II) Module fb: vendor="X.Org Foundation"
[     8.785] 	compiled for 1.19.3, module version = 1.0.0
[     8.785] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     8.785] (II) Loading sub module "exa"
[     8.785] (II) LoadModule: "exa"
[     8.786] (II) Loading /usr/lib/xorg/modules/libexa.so
[     8.788] (II) Module exa: vendor="X.Org Foundation"
[     8.788] 	compiled for 1.19.3, module version = 2.6.0
[     8.788] 	ABI class: X.Org Video Driver, version 23.0
[     8.920] (II) VIVANTE(0): printing discovered frame buffer 'fb0' supported modes:
[     8.920] (II) VIVANTE(0): Modeline "U:640x480p-59"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync -csync (31.5 kHz e)
[     8.921] (II) VIVANTE(0): Modeline "U:1280x720p-60"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync -csync (45.0 kHz eP)
[     8.985] (II) VIVANTE(0): Output DISP3 BG has no monitor section
[     8.985] (II) VIVANTE(0): Printing probed modes for output DISP3 BG
[     8.985] (II) VIVANTE(0): Modeline "U:1280x720p-60"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync -csync (45.0 kHz eP)
[     8.985] (II) VIVANTE(0): Modeline "U:640x480p-59"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync -csync (31.5 kHz e)
[     8.985] (II) VIVANTE(0): Output DISP3 BG connected
[     8.985] (II) VIVANTE(0): Using exact sizes for initial modes
[     8.985] (II) VIVANTE(0): Output DISP3 BG using initial mode U:1280x720p-60 +0+0
[     8.985] (II) VIVANTE(0): imxDisplayPreInit: virtual set 1280 x 720, display width 0
[     8.985] (II) VIVANTE(0): VivPreInit: adjust display width 1280
[     9.088] (II) VIVANTE(0): reserve 4177920 bytes for on screen frame buffer; total fb memory size 8360960 bytes; offset of shadow buffer 4177920
[     9.155] (II) VIVANTE(0): hardware: DISP3 BG (video memory: 8165kB)
[     9.170] (II) VIVANTE(0): FB Start = 0x75ea9000  FB Base = 0x75ea9000  FB Offset = (nil)
[     9.171] (II) VIVANTE(0): test Initializing EXA
[     9.542] (II) EXA(0): Driver allocated offscreen pixmaps
[     9.542] (II) EXA(0): Driver registered support for the following operations:
[     9.542] (II)         Solid
[     9.542] (II)         Copy
[     9.542] (II)         Composite (RENDER acceleration)
[     9.542] (II)         UploadToScreen
[     9.542] (==) VIVANTE(0): Backing store enabled
[     9.543] (==) VIVANTE(0): DPMS enabled
[     9.543] (II) VIVANTE(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[     9.545] drmOpenDevice: node name is /dev/dri/card0
[     9.546] drmOpenDevice: open result is 14, (OK)
[     9.546] drmOpenDevice: node name is /dev/dri/card0
[     9.546] drmOpenDevice: open result is 14, (OK)
[     9.546] drmOpenByBusid: Searching for BusID platform:Vivante GCCore:00
[     9.546] drmOpenDevice: node name is /dev/dri/card0
[     9.546] drmOpenDevice: open result is 14, (OK)
[     9.546] drmOpenByBusid: drmOpenMinor returns 14
[     9.546] drmOpenByBusid: drmGetBusid reports platform:Vivante GCCore:00
[     9.546] (II) [drm] DRM interface version 1.4
[     9.546] (II) [drm] DRM open master succeeded.
[     9.546] (II) VIVANTE(0): [drm] Using the DRM lock SAREA also for drawables.
[     9.546] (II) VIVANTE(0): [drm] framebuffer handle = 0x84800000
[     9.546] (II) VIVANTE(0): [drm] added 1 reserved context for kernel
[     9.547] (II) VIVANTE(0): X context handle = 0x1
[     9.547] (II) VIVANTE(0): [drm] installed DRM signal handler
[     9.547] (II) VIVANTE(0): [DRI] installation complete
[     9.547] (--) RandR disabled
[     9.547] (II) AIGLX: Screen 0 is not DRI2 capable
[     9.547] (EE) AIGLX: reverting to software rendering
[     9.680] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[     9.683] (II) IGLX: Loaded and initialized swrast
[     9.683] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[     9.683] (II) VIVANTE(0): Setting screen physical size to 338 x 190
[     9.881] (II) config/udev: Adding input device gpio-keys (/dev/input/event1)
[     9.881] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"
[     9.881] (II) LoadModule: "evdev"
[     9.882] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[     9.888] (II) Module evdev: vendor="X.Org Foundation"
[     9.888] 	compiled for 1.19.3, module version = 2.10.5
[     9.888] 	Module class: X.Org XInput Driver
[     9.888] 	ABI class: X.Org XInput driver, version 24.1
[     9.888] (II) Using input driver 'evdev' for 'gpio-keys'
[     9.888] (**) gpio-keys: always reports core events
[     9.888] (**) evdev: gpio-keys: Device: "/dev/input/event1"
[     9.889] (--) evdev: gpio-keys: Vendor 0x1 Product 0x1
[     9.889] (--) evdev: gpio-keys: Found keys
[     9.889] (II) evdev: gpio-keys: Configuring as keyboard
[     9.889] (**) Option "config_info" "udev:/sys/devices/soc0/gpio-keys/input/input1/event1"
[     9.889] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 6)
[     9.889] (**) Option "xkb_rules" "evdev"
[     9.894] (II) config/udev: Adding input device stmpe-ts (/dev/input/event0)
[     9.894] (**) stmpe-ts: Applying InputClass "evdev touchscreen catchall"
[     9.894] (II) Using input driver 'evdev' for 'stmpe-ts'
[     9.895] (**) stmpe-ts: always reports core events
[     9.895] (**) evdev: stmpe-ts: Device: "/dev/input/event0"
[     9.899] (--) evdev: stmpe-ts: Vendor 0 Product 0
[     9.899] (--) evdev: stmpe-ts: Found absolute axes
[     9.899] (--) evdev: stmpe-ts: Found x and y absolute axes
[     9.899] (--) evdev: stmpe-ts: Found absolute touchscreen
[     9.899] (II) evdev: stmpe-ts: Configuring as touchscreen
[     9.899] (**) evdev: stmpe-ts: YAxisMapping: buttons 4 and 5
[     9.899] (**) evdev: stmpe-ts: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[     9.899] (**) Option "config_info" "udev:/sys/devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-2/2-0041/stmpe-ts/input/input0/event0"
[     9.899] (II) XINPUT: Adding extended input device "stmpe-ts" (type: TOUCHSCREEN, id 7)
[     9.899] (II) evdev: stmpe-ts: initialized for absolute axes.
[     9.901] (**) stmpe-ts: (accel) keeping acceleration scheme 1
[     9.901] (**) stmpe-ts: (accel) acceleration profile 0
[     9.901] (**) stmpe-ts: (accel) acceleration factor: 2.000
[     9.901] (**) stmpe-ts: (accel) acceleration threshold: 4
[     9.904] (II) config/udev: Adding input device stmpe-ts (/dev/input/mouse0)
[     9.904] (II) No input driver specified, ignoring this device.
[     9.904] (II) This device may have been added with another device file.

hi @Remcovh

Could you provide the dmesg log? Are you using exactly the same software and settings on the both carrier board except the needed differences for your custom board?

Hi @Remcovh , you are using 1204768 display by command line ‘mxc_hdmi.only_cea=0 video=mxcfb0:dev=hdmi,1024x768M,if=RGB24’. By default 1024768 is not defined. You can add following to mxc_edid.c. And recompile uImage or zImage for v2.8 Linux BSP. It is similar with this thread.

[48] = { 
    NULL, 56, 1024, 768, 19230, 80, 48, 15, 3, 32, 4,
    FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_4_3, 0
},