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 63AE8C433F5 for ; Tue, 15 Mar 2022 20:57:14 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 64CBF83ADD; Tue, 15 Mar 2022 21:57:12 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=web.de 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; secure) header.d=web.de header.i=@web.de header.b="Ndni/Hsd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 22C3C83BEE; Tue, 15 Mar 2022 21:57:10 +0100 (CET) Received: from mout.web.de (mout.web.de [212.227.17.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6B85783AB6 for ; Tue, 15 Mar 2022 21:57:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=web.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=smoch@web.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1647377804; bh=CabuLOqRMfUs9uCsq0eCRyQikRM7AhUQJZ1ixWi8ti0=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=Ndni/Hsdj9Dd8/K44iBsQ32ikn6Eh9bzH+7AiWszrQA2wKdtKLx0esPOCslSI9Sbe f+yqwUhFteVBqZzuatG11+Fuj+Mg/AhOK4C+jEpxEXfbzDxqNttTzLQjs8PgCSzQVQ 9tYV/tQ2r2ZyZAeYfuDgWhb0S/6qU2S00IEGHEs0= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.1.27] ([77.11.107.138]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MLRYf-1nmaJr00wt-00IcrH; Tue, 15 Mar 2022 21:56:44 +0100 Message-ID: Date: Tue, 15 Mar 2022 21:56:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 2/2] board: tbs2910: Convert to DM_SERIAL Content-Language: en-GB To: Fabio Estevam , Tom Rini Cc: Simon Glass , Stefano Babic , U-Boot Mailing List References: <20220314082626.96395-1-smoch@web.de> <20220314082626.96395-2-smoch@web.de> <20220314182829.GK9986@bill-the-cat> <0774d566-5c4b-28be-9254-dfadd27c7f40@web.de> <20220314223809.GT9986@bill-the-cat> From: Soeren Moch In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:hSedwB2QQTGQZjryM8zEFMRhlyAvzyqP8GNMOo6AlRZX0Wo6/9b ovzmoQzhaIrthRoaM+V3wKMShT66KLVYLBINEaGc0Z8UrwdRTgh/lLzkd3EJeyeusBloeWs fMwI0fIdznQOWsKB5va3mpQOgLA/C7QbVlZzn7kGXBMDwVH3rqqzVVH6RHUVByeKHgeQGG/ O7ia9xDLT2IQAN6Ugp3rw== X-UI-Out-Filterresults: notjunk:1;V03:K0:wtvUQuvlc50=:M9DOmrqN4nR5FIa5+9oz13 aL2g2ilYrTMbFb7mQfHkkvrXEsElXVMxLLCX/jhzXxaiMjSD1ogMac0vY7VYSrTIaA77EWSMx qYr8sTL5o2P7IaP0Qd1Vx1b8BJv0zmZrNuKUh5AtdeFdO5svjnJ/eofJhWIvyxwE0Lga9nWDT 9RgeBqLM8ZnskfzzZhGVmuyiH1GEe64vjU5qhzZULZQNCjnbZI4kdB3c22s1KRDKsdVhexqLm 334yInHCqYKNhzK+CkkM2XoyfDIHmxMmojO+rE6slCWnKUemdu19kF8dNL3L6OrWCaibCJ5Tn AchbVaXTCE/LT4pv5+VsAv8TwnOaI1i4GSC3RL9Tnf7SeluL5A5n67XbCnt6joAmbmxXhrZ1A fnlF7S/bcwP7oU24OJe4pk/t5Ok4IfIu6CHoJD1ZbfYbiqmEykvH7xRCkOKpO+XjbkCRSytIN ZLllcffvzjyHubhlMNI0VuzObDyMPtzo/xsTssPNiX1xs7zwzSvBI4DQTdKQ08bt2sEzHv18w fg88/JJRvMJWrLIMxO7Aq61NgxptImBIyLaFgqpufoqeTITGlkceCg8/+ef9IzwAQVzE6u4M5 5Sj0avb0DZTQARSWnVe9Lu/H00zI382OrEoVBrXKad62j501R5SZ/sRVc0sNcybyb50fm/hJh o8XDcP1Yxrkl5oNz+FPVheCEGrCMZQxcxwvFkOIz9t0QSkDMbtpAFlbR/si+Zlq3orvxAVkIP iW2aLtyPnJfv1ManGjLDGNOfZQnp4jHHJ/R8S/okvk6WwyBzZm0z3EYS50A/e5QdlGDoi/Mzi QezNQ1g/1Ihz2VWVsUTlIFNjT1hXl9gAHzEsvPiNermrxZNBMwoP+EnjE0TlPeEsGZf43nn/a eyDbBt6PcmPhevpSzTC67PprvfbiiwwI3a+FjLGsiKNSmX2ts2ha++S1EaSdZDk4lFrydNByo 5oieKZRC/w5ydXpDRR+kwqCyhRPv+Z2Xm1aac962WwsO65qSfNY48IyDh7alIdWNGyBBwIOYm /XE8s1ohl/8VcVOUY+av7UMh1p+kdcj8RyFa5EE17gJBvRrEzicpOAQlElg7hNXKmA== 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 Fabio, On 15.03.22 00:16, Fabio Estevam wrote: > Hi Soeren, > > On Mon, Mar 14, 2022 at 7:38 PM Tom Rini wrote: > >> Again, DM_SERIAL can be enabled on the board as he's already shown by >> setting two options, which silences the warning, increases the size and >> doesn't make anything better. That's likely what the other boards are >> doing, or they're just having some console output be missing. What >> would need to be set where, so that serial output isn't missing, withou= t >> having to manually call setup_iomux_uart() like so many imx platforms >> are doing. > Does the attached patch work for you? > > I tested a similar patch on warp7 and it works fine here and the early > U-Boot messages are shown. This looks quite similar to my first attempt on this, but with additional pre-reloc attributes on aips1, pinctrl_uart1, and soc. Quite promising, probably exactly the right solution that I was looking fo= r. I promise to test this still this week, but may not be able to do so before the weekend. Thanks for working on this, Soeren