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 A78C8C433FE for ; Thu, 3 Nov 2022 15:33:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4FB978518F; Thu, 3 Nov 2022 16:33:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=tkos.co.il Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; secure) header.d=tkos.co.il header.i=@tkos.co.il header.b="vk6LhOXr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 60BAB8518A; Thu, 3 Nov 2022 16:33:24 +0100 (CET) Received: from mail.tkos.co.il (guitar.tkos.co.il [84.110.109.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E984B8518F for ; Thu, 3 Nov 2022 16:33:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=tkos.co.il Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=baruch@tkos.co.il Received: from tarshish (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.tkos.co.il (Postfix) with ESMTPS id 607FD440F39; Thu, 3 Nov 2022 17:31:00 +0200 (IST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1667489460; bh=ZZN9gxOTFAzMny4rhuFN2tg/lgFCXjOdIcKlC4fTNG4=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=vk6LhOXrCvYOJ1V3bWFi5AnrdgP/HGDYX6tp5GaFvZ9FxwW6Kwxc8bvQau1aX3fMb dqpyYGlq4sdeCuZQw5z+ICM6MgtsUfgwiZw5NdcIJBv6veewhCpvTf5gbYTiL9TBW0 m7y+BRDBidVVJ0zLTlXS+WZrqzgRUx0GWmCZOxWoqKnYYTiRUkOPc264dVRqZv/OtZ wqY8pPVpPMS+a2JDCNVJqhHmOoWgqKcdqjTZgVuSnbse+P/igQtX91g/nVQQhJdvjV 9oFDf/NHwZCTwiKRXWxhOT33gihiI/MhWGLPc2N7Nt/OGiZPUINLDpsVzTosqeWfCo Kboi/MEHWt4fw== References: <877d0cp6fg.fsf@tarshish> <8735b0p1yd.fsf@tarshish> User-agent: mu4e 1.8.10; emacs 27.1 From: Baruch Siach To: Fabio Estevam Cc: u-boot@lists.denx.de Subject: Re: DM_SERIAL for i.MX6 Hummingboard/Cubox-i Date: Thu, 03 Nov 2022 17:31:49 +0200 In-reply-to: Message-ID: <87tu3gnjcv.fsf@tarshish> MIME-Version: 1.0 Content-Type: text/plain 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 Fabio, On Thu, Nov 03 2022, Fabio Estevam wrote: > On Thu, Nov 3, 2022 at 11:28 AM Fabio Estevam wrote: >> On Thu, Nov 3, 2022 at 11:15 AM Fabio Estevam wrote: >> >> > Please try using u-boot,dm-spl for all nodes instead. >> >> In addition to using u-boot,dm-spl, please try calling >> spl_early_init() like done here: >> https://source.denx.de/u-boot/u-boot/-/commit/7cf388fa6977136dd2384bd746d237efc306c829 > > Interestingly, on a wandboard I did: > > diff --git a/configs/wandboard_defconfig b/configs/wandboard_defconfig > index 70b4cf9ffaa3..33d9db56e1cb 100644 > --- a/configs/wandboard_defconfig > +++ b/configs/wandboard_defconfig > @@ -72,6 +72,7 @@ CONFIG_PINCTRL_IMX6=y > CONFIG_DM_PMIC=y > CONFIG_DM_PMIC_PFUZE100=y > CONFIG_DM_SCSI=y > +CONFIG_DM_SERIAL=y > CONFIG_MXC_UART=y > CONFIG_DM_THERMAL=y > CONFIG_USB=y > > and it boots fine. Without any u-boot,dm-pre-reloc or u-boot,dm-spl? I don't see any for wandboard DT files in current master. baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -