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 F02D0C4332F for ; Thu, 3 Nov 2022 12:29:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 42D6C85150; Thu, 3 Nov 2022 13:29:45 +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="SHLETin+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 373AE8514D; Thu, 3 Nov 2022 13:29:44 +0100 (CET) Received: from mail.tkos.co.il (wiki.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 F3E658514B for ; Thu, 3 Nov 2022 13:29:40 +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 14AEF440EB8; Thu, 3 Nov 2022 14:27:19 +0200 (IST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1667478439; bh=X0soMILPLx20h42wPV8UY1RVybUaO+ElGEntcEm4Y+A=; h=From:To:Cc:Subject:Date:From; b=SHLETin+EvabQxCOtv6Zsc/zX2ghR6pQV8vx/dyQXheBgTl1fhay1bEiQH+JAttg8 Oixxh+Bu9FeQ6yb5xjnSsYZafnXY/Ci6zroITqqh2SfHUic9bueWPsve2PcFHyuAES h6aeiwHiHM3Ug3DHNuAN2NPLUQ9+7YFRwIQqxVjo6TIoJUXjlgzsCTlyC1mjFnyDSg 1mXFw2sVl/IbRqaXps1eKy6z5+FJUWB+eVLmI6dLUkrRw/A091/8+JpQ3PDewqvVc/ ODFx6oVnlCV4aSn4M/Alucaa++E6ntUUMfxy9PQHK78m7fVUmq68LGA9nHu8TT6UKA JQBNm4G2T5ctQ== User-agent: mu4e 1.8.10; emacs 27.1 From: Baruch Siach To: u-boot@lists.denx.de Cc: Fabio Estevam Subject: DM_SERIAL for i.MX6 Hummingboard/Cubox-i Date: Thu, 03 Nov 2022 14:22:36 +0200 Message-ID: <877d0cp6fg.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 u-boot list, I am trying to migrate the Hummingboard platform to DM_SERIAL. See below what I got so far. Booting this on top of master (as of commit 8bc87a4c5) shows nothing on the serial console. Next thing I plan to try is toggle GPIOs in entry code to see how far the code proceeds. Any idea where to look before I go down that way? Thanks, baruch diff --git a/arch/arm/dts/imx6qdl-hummingboard2-emmc-som-v15-u-boot.dtsi b/arch/arm/dts/imx6qdl-hummingboard2-emmc-som-v15-u-boot.dtsi index 400b885e4370..8507b818d4cf 100644 --- a/arch/arm/dts/imx6qdl-hummingboard2-emmc-som-v15-u-boot.dtsi +++ b/arch/arm/dts/imx6qdl-hummingboard2-emmc-som-v15-u-boot.dtsi @@ -15,6 +15,10 @@ }; }; +&uart1 { + u-boot,dm-pre-reloc; +}; + &gpio2 { u-boot,dm-pre-reloc; }; diff --git a/configs/mx6cuboxi_defconfig b/configs/mx6cuboxi_defconfig index 9de5e77c75ad..a29e973eccce 100644 --- a/configs/mx6cuboxi_defconfig +++ b/configs/mx6cuboxi_defconfig @@ -46,7 +46,6 @@ CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y CONFIG_OF_LIST="imx6dl-hummingboard2-emmc-som-v15 imx6q-hummingboard2-emmc-som-v15" CONFIG_MULTI_DTB_FIT=y -CONFIG_SPL_OF_PLATDATA=y CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y @@ -68,6 +67,8 @@ CONFIG_PINCTRL=y CONFIG_PINCTRL_IMX6=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y +CONFIG_SPECIFY_CONSOLE_INDEX=y +CONFIG_DM_SERIAL=y CONFIG_MXC_UART=y CONFIG_DM_THERMAL=y CONFIG_IMX_THERMAL=y -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -