imx6 DM_VIDEObroken
Anatolij Gustschin
agust at denx.de
Thu Oct 7 23:55:34 CEST 2021
On Thu, 7 Oct 2021 12:50:04 -0700
Tim Harvey tharvey at 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 at 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 at 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
More information about the U-Boot
mailing list