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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 105EBC433F5 for ; Sat, 12 Mar 2022 05:03:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C0D0A83B25; Sat, 12 Mar 2022 06:03:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="h+ALU1W/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 51D9283B06; Sat, 12 Mar 2022 06:03:08 +0100 (CET) Received: from mail-ua1-x92b.google.com (mail-ua1-x92b.google.com [IPv6:2607:f8b0:4864:20::92b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6483383B11 for ; Sat, 12 Mar 2022 06:02:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-ua1-x92b.google.com with SMTP id b37so4467638uad.12 for ; Fri, 11 Mar 2022 21:02:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=VqPUHnljHBFCFGSqBojlvouy+R3bEWoiVCsp81RkMd8=; b=h+ALU1W/qJ0E64rim0l6ZDkzSGNLcB4jf6nyHumnR9utPgnQ3owD9Q40DRfitd85yV 9WJbK6yN046iYODhfVpM+xkuSjcFHxl1MpJiuQ+8M4aRxE5OgvnGXb8+Y5ZWsJBLBx3d xeia3PljmQS+Pv7Z7LpzWdN/f4ce1gXIojql8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=VqPUHnljHBFCFGSqBojlvouy+R3bEWoiVCsp81RkMd8=; b=xvPLdGISZ6heQYeT5ijd0fP9AehRUn5mdlOMO6wG1B3vzus5ymJ1irNsmQChPVXwdH 9uWmC+6WqCPtYv3v8+UvAdSFBaWV1PfAllhlAL7Z1KATTdPdhzGEGqV+cdNY9eEhIqSh FO3mEECG7ZxXEqpNe1JNp2uKUz1kmMVP4fptmr+X3cyWGAmT3y1nqqp7hqMslpJ4XDZI 5E5bGdHzdcanZbU6nfYh+eJDkC93dlTYJYlA8SIR4FkxdRlEMSR+kJQyaEkSdJajAODa 7HuW2yVS6kDNEWAqCIegQ2xkRVCUfMHcq7IZ+x+tI/rog53bsb/vQAfkq0nODeuD3Hma y4Ow== X-Gm-Message-State: AOAM531qQECYWLu5e0k6yo601tVKhAhRgNMyJ88JAY8tmFBekAeMusPz e0sZ4q0yXaW3jPbv3HvjR8f6pJgWovD8g4Ny4woTUA== X-Google-Smtp-Source: ABdhPJz0uj//5rKctsKGcaMiJe2H5qTTp0mXnEij3XVIIL0f1AD5Z36hy2RVdC+vhBqc6DRCiKacGmddwFeY1UkaS14= X-Received: by 2002:ab0:3b6:0:b0:347:7791:d310 with SMTP id 51-20020ab003b6000000b003477791d310mr5974461uau.97.1647061371868; Fri, 11 Mar 2022 21:02:51 -0800 (PST) MIME-Version: 1.0 References: <20220217095339.7d950fe3@crub> <20220217122043.nhjd7o467pkcrnas@pali> <20220306115141.gb4y6fsgqmrtg4ce@pali> <20220306141706.k3vfxd4bhzth6duy@pali> <20220306152540.nom7dernmwqctbdd@pali> <20220309194450.ilqjv44lx7jbkmyl@pali> <20220309232011.01982cec@crub> <20220311185816.zpswpbkpii52hllg@pali> In-Reply-To: <20220311185816.zpswpbkpii52hllg@pali> From: Simon Glass Date: Fri, 11 Mar 2022 22:02:39 -0700 Message-ID: Subject: Re: [PATCH] WIP: Nokia RX-51: Convert to CONFIG_DM_VIDEO To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: Anatolij Gustschin , Tom Rini , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean Hi Pali, On Fri, 11 Mar 2022 at 11:58, Pali Roh=C3=A1r wrote: > > On Wednesday 09 March 2022 23:20:11 Anatolij Gustschin wrote: > > Hi Pali, > > > > On Wed, 9 Mar 2022 20:44:50 +0100 > > Pali Roh=C3=A1r pali@kernel.org wrote: > > > > > On Sunday 06 March 2022 11:44:22 Simon Glass wrote: > > > > Hi Pali, > > > > > > > > On Sun, 6 Mar 2022 at 08:25, Pali Roh=C3=A1r wrot= e: > > > > > > > > > > On Sunday 06 March 2022 07:42:03 Simon Glass wrote: > > > > > > Yes let's go with that. > > > > > > > > > > Done, I sent final version of the patch. > > > > > > > > > > > > > > > > > Second thing is that CONFIG_VIDEO_LOGO is broken an= d does not work even it > > > > > > > > > > > > is enabled in config file. I do not know why too. > > > > > > > > > > > > > > > > > > > > > > > > Any idea? > > > > > > > > > > > > > > > > > > > > > > Not yet. There were some logo related changes recentl= y, but if I > > > > > > > > > > > remember correctly, I tested them on wandboard and ni= trogen6q > > > > > > > > > > > targets and with sandbox, and logo drawing worked the= re. > > > > > > > > > > > > > > > > Can you be more specific than 'broken'? What is broken abou= t it? > > > > > > > > > > > > > > Does not work, logo is not drown on the screen. > > > > > > > > > > > > See video_bmp_display() - I wonder if the particular depth you= are > > > > > > using is not supported? > > > > > > > > > > Depth is 16bit which should be supported. > > > > > > > > But apparently isn't , at least in this case :-) > > > > > > Yea, something is broken there. > > > > > > > > > > > > > > Anyway you should be able to debug it there or > > > > > > using the bmp command. The file is drivers/video/u_boot_logo.bm= p > > > > > > > > > > CONFIG_CMD_BMP=3Dy is broken too. When I enable it then U-Boot fr= eeze > > > > > after the line 'Loading Environment from ... OK'. > > > > > > > > OK I'm not sure why, but please investigate if you have time. > > > > > > I have looked at it and do not know. But probably it is because I > > > somehow have not caught how this new video code works... > > > > > > Anyway, I sent documentation update how to run u-boot for n900 in qem= u: > > > https://patchwork.ozlabs.org/project/uboot/patch/20220308175956.4522-= 1-pali@kernel.org/ > > > > > > So it could help other people to look at issues which do not work > > > correctly in n900's u-boot without need to have n900 hardware. > > > > I've tested your v2 patches, and logo drawing works, but the logo > > appears for short time. Then it is later overwritten by boot menu. > > > > -- > > Anatolij > > Hello! Thank you for checking. It is possible that qemu rending is > slower and reason why I did not see any logo. > > Anyway, this is now how CONFIG_VIDEO_LOGO worked. In previous U-Boot > version it drew logo on the screen and it was visible also in the boot > menu. > > Any idea what was changed? Or is there missing some another config > option to make logo visible? I believe the cfb_console code had a way to keep the logo at the top with the text scrolling underneath. This has not been implemented in the video/vidconsole uclasses, although I suppose it could be. Regards, Simon