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 B6BEAC636CC for ; Mon, 13 Feb 2023 09:12:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3061180B98; Mon, 13 Feb 2023 10:12:49 +0100 (CET) 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=1676279569; bh=M2x8/Yn+8NhFnWul+uTjIErT2KH5BLNblpTK7jL7uD8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=XINJ3woCEEiWa6Cakafk/k/7GHCURWNqGclye/0qaamkCIRE3A+5pze3zOcHJjDfn clRmWBs52UrhTw0OoBknE9wKRIavfYdibviqX5bNPWDpWXh7s32kaoWk2AYWBDywV4 wbDHRlDwSJO7S256+AJgeaqlhTijtg+uBU5yRdB4yvtryiBcU1sAI+bMIEtAQ0zM3r Bzsgb6fcgM6gSAtDqJBkO/FwORR0ssojkU4IF7gevGlnH4CAQaZZsa+a5Y4j3D/Z1c Fw3ap0BcNzf9usB4uMJSNs+0kxjXmV+qhZ+DsRNDsDZfD9gtD9zu4MQUB5XrEdz+o/ do6FgBScXNHhA== Received: by phobos.denx.de (Postfix, from userid 109) id 73F9780BA1; Mon, 13 Feb 2023 10:12:46 +0100 (CET) Received: from mout-u-204.mailbox.org (mout-u-204.mailbox.org [80.241.59.204]) (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 A6DBE80AE1 for ; Mon, 13 Feb 2023 10:12:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-204.mailbox.org (Postfix) with ESMTPS id 4PFdsN13VMz9sSP; Mon, 13 Feb 2023 10:12:40 +0100 (CET) Message-ID: Date: Mon, 13 Feb 2023 10:12:39 +0100 MIME-Version: 1.0 Subject: Re: [PATCH] arm: kirkwood: Enable uart0 dm-pre-reloc for Pogoplug V4 board Content-Language: en-US To: Michael Walle Cc: Tony Dinh , U-Boot Mailing List , Tom Rini , =?UTF-8?B?UGFsaSBSb2jvv71y?= , Peng Fan References: <20230210210818.32387-1-mibodhi@gmail.com> <839ca41d-d21f-c9c9-d935-6b6a41b5574e@denx.de> From: Stefan Roese In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4PFdsN13VMz9sSP 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.6 at phobos.denx.de X-Virus-Status: Clean Hi Michael, On 2/13/23 09:48, Michael Walle wrote: > Am 2023-02-13 09:43, schrieb Stefan Roese: >> On 2/10/23 22:08, Tony Dinh wrote: >>> When DM_SERIAL is enabled, the device-tree tag u-boot,dm-pre-reloc is >>> required for this board to boot over UART with kwboot. Enable this in >>> kirkwood-pogoplug-series-4-u-boot.dtsi. >>> >>> Signed-off-by: Tony Dinh >> >> Reviewed-by: Stefan Roese > > If I understood it correctly, this is a workaround, right? Maybe we > can include a link to the original discussion here for the case when > someone stumbles over this commit: > > Link: https://lore.kernel.org/r/20230201080210.ypz4nrj4y2igwxz3@pali/ Correct, it's not fully understood, why this property is really needed. Some bug still might be hidden in the early DT console code. Still we want to move forward with this board, so this dm-pre-reloc property helps here. I'll add the link to the discussion to the commit text. Good idea. Thanks, Stefan