All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: Tim Harvey <tharvey@gateworks.com>
Cc: Fabio Estevam <festevam@gmail.com>, u-boot <u-boot@lists.denx.de>,
	Stefano Babic <sbabic@denx.de>
Subject: Re: imx6 DM_VIDEObroken
Date: Thu, 7 Oct 2021 23:55:34 +0200	[thread overview]
Message-ID: <20211007235534.7b64de00@crub> (raw)
In-Reply-To: <CAJ+vNU37RfFB_sLK+EXyK18E4J8t2EoNsbDmt7nkaVLmrWhNkw@mail.gmail.com>

On Thu, 7 Oct 2021 12:50:04 -0700
Tim Harvey tharvey@gateworks.com wrote:
...
> > then vidconsole should be enabled.  
> 
> Anatolij,
> 
> That is my configuration yet vidconsole does not enable until I
> 'setenv stdout serial,vidconsole':
> Ventana > print stdout
> stdout=serial,vidconsole
> ^^^ see splash, yet no vidconsole
> Ventana > setenv stdout serial,vidconsole
> ^^^ now I see vidconsole

Tim,

something in your board config or code must be different, then.
Do you use HDMI or LVDS display?

> Do you perhaps have another board to check this behavior with on master?

I've tested with current master and a modified wandboard configuration:

U-Boot SPL 2021.10-00525-g7a508a7245-dirty (Oct 07 2021 - 23:32:09 +0200)
Trying to boot from MMC1


U-Boot 2021.10-00525-g7a508a7245-dirty (Oct 07 2021 - 23:32:09 +0200)

CPU:   Freescale i.MX6SOLO rev1.1 at 792 MHz
Reset cause: WDOG
DRAM:  512 MiB
MMC:   FSL_SDHC: 4, FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... OK
auto-detected panel HDMI
Display: HDMI (1024x768)
In:    serial
Out:   vidconsole
Err:   vidconsole
Board: Wandboard rev B1
Net:   eth0: ethernet@2188000
Hit any key to stop autoboot:  0 
=> print stdout 
stdout=serial,vidconsole

HDMI monitor displays logo and video console text output starting with:
Board: Wandboard rev B1
Net:   eth0: ethernet@2188000
Hit any key to stop autoboot:  0 

It works on wandboard.

The wandboard_defconfig in master has CONFIG_CONSOLE_MUX disabled
and CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE enabled. Therefore I enabled
CONFIG_CONSOLE_MUX and disabled CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
via menuconfig for this test.
And additionally I used below patch to enable building this configuration:

diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c
index da995dd0f5..73e1a0701f 100644
--- a/board/wandboard/wandboard.c
+++ b/board/wandboard/wandboard.c
@@ -391,11 +391,11 @@ int power_init_board(void)
 /*
  * Do not overwrite the console
  * Use always serial for U-Boot console
- */
 int overwrite_console(void)
 {
        return 1;
 }
+ */
 
 #ifdef CONFIG_CMD_BMODE
 static const struct boot_mode board_boot_modes[] = {


--
Anatolij

      reply	other threads:[~2021-10-07 21:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-28  0:25 imx6 DM_VIDEObroken Tim Harvey
2021-09-28 12:55 ` Anatolij Gustschin
2021-09-28 17:00   ` Tim Harvey
2021-09-29  1:51     ` Fabio Estevam
2021-09-29 15:55       ` Tim Harvey
2021-09-29 16:33         ` Tim Harvey
2021-10-04 13:48           ` Anatolij Gustschin
2021-10-07 19:50             ` Tim Harvey
2021-10-07 21:55               ` Anatolij Gustschin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211007235534.7b64de00@crub \
    --to=agust@denx.de \
    --cc=festevam@gmail.com \
    --cc=sbabic@denx.de \
    --cc=tharvey@gateworks.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.