From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABAFAC433EF for ; Thu, 7 Oct 2021 21:55:39 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D0D0B61075 for ; Thu, 7 Oct 2021 21:55:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D0D0B61075 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7955283561; Thu, 7 Oct 2021 23:55:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1633643736; bh=Z9kc87r2EhZ1ypYbrknrR6UUqI3NrP/hWZzMesvMSTM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=L0slbGwKmRi3xdMMn9X0GPP6BadBqDGcoZE/FnEM39iwTaUPIYs9/wYk/ct860PdG Vb4a7wvzteuxd69toT3XQJe2bOtHUkS2J5JomG8TL+j6FaS9USLFvRCnxwq1oMv0LR Vp+BCZKUblvz8lNzvqf7SRQbTgN3YO8yeWAYEKNH+UYDlTyzhTjXf3FIkUqsK28c/Z wMb8MhO4wZpGwqwdKcTcEl5EdvpzSyxmMyQi0A+QB8fTbvVkAiA63570s5rDATrL7Y 62VZS0pHImXJYu0tVsr8Iqh6jgm7p0OjJtghPzPnmy/ZCuBCySZrXWdlhGDhcwHtJy sb6ImroZNzHAQ== Received: from crub (p508b6c1c.dip0.t-ipconnect.de [80.139.108.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: agust@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id B721D83560; Thu, 7 Oct 2021 23:55:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1633643734; bh=Z9kc87r2EhZ1ypYbrknrR6UUqI3NrP/hWZzMesvMSTM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dFEgtHdLN10eRB8ha8G/1SCjYYORthG30eHnSx9BScm4GXEchZbd73LhNHntF6QEh ZM1T7puufylnGFLiOEenMzPA+tJdZnkCeXbnsDWTBbo+bwbmlqeanukGiSsOxU/hfH 04TgX46TKwwQHytzsD4Mkvi2PyKBqdATSXbjAog6Dh2nYBykjYQ51pcuAzt0hfbdjE pq8nNYpbNRHUoX04z8YUIdR+Yz0M/TOjc4QUKr5MTiNk+9ZAb9KEnID4FskNWAQ424 jVSEAkP7+k4+eHzyl0hNgowuhEDDtTpVoQZc+sVtBxOY3nHsM934oGrcVhSwqdQZAg RpoXc4oyNU5ag== Date: Thu, 7 Oct 2021 23:55:34 +0200 From: Anatolij Gustschin To: Tim Harvey Cc: Fabio Estevam , u-boot , Stefano Babic Subject: Re: imx6 DM_VIDEObroken Message-ID: <20211007235534.7b64de00@crub> In-Reply-To: References: <20210928145519.649314fd@crub> <20211004154804.6fc1a7f2@crub> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean 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