From patchwork Fri Mar 3 13:26:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrejs Cainikovs X-Patchwork-Id: 1751469 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=LMoLM/kg; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PSpkk2kfDz2467 for ; Sat, 4 Mar 2023 00:30:38 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B897A85D70; Fri, 3 Mar 2023 14:29:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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; unprotected) header.d=gmail.com header.i=@gmail.com header.b="LMoLM/kg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AD35F85D80; Fri, 3 Mar 2023 14:27:07 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (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 24A7985D69 for ; Fri, 3 Mar 2023 14:27:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andrejs.cainikovs@gmail.com Received: by mail-ed1-x52b.google.com with SMTP id o12so10215056edb.9 for ; Fri, 03 Mar 2023 05:27:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IzZX1QPYKXAxBwoMJFW1qMBXwifLF6SGgzQC1Bw17a0=; b=LMoLM/kgoBCX5Pz5cP6jzF1Y7ZQcS46B6eFEHaAGOUQvIuwH1EBT5kO9fikxZeDgHz Vfdb9l8PPc16VR1mSEvqxulovHZC4mJTYt7XpgtZroJB4Oy3CoN92+6AZRqyJ1n8HxkA i+VT+PjFh8oBi3gALZNfZjKdRG9e4zQBj42sZojxOaU3yhCcQoyYTff1SC2KVaXAtqBD tK1MgS9STJ+trUkMEFE0LunzcwTi8KofIxCuNcchIlwB4MvZnHS4kKH3BZjBx5hD7Cjg x+3mZwvcFl+wdrHDmgHV2LoWKwnNk7iR4GnPub0c0VlvSv00oO8U+BupJNpfXRq3/9GB mQ1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IzZX1QPYKXAxBwoMJFW1qMBXwifLF6SGgzQC1Bw17a0=; b=E9w79cDkyR55qW5pWiYfgk/6IflMg3uRuLnRw3CKRG7rusCbuFm5iT2OJsW1Lh3mjh jKGxqW5bqfc68Yj2VLIw7EMvBiZdocoO8SMkFoiyUjW16jyRGiDvMKqTquQmi09fxFT+ hQXC2yPUSCPEwc3ZV1Um2TNbrk9uf/aAa2Tokql+vRwEj8bXS5rJi/kIYMFfe8RXqATt f8bXnmT3IsXzVQtWRSGW6r918yzofRf44wfajlMmnCHpXxmRUZQNWIEnet7AkOoDc8y0 6gSBtcrnUwpp2ZsUovjLGWg/wC68grsrZB3/gt2j9RN4MYG/sG2Exao3a615We1CwwbP UzpQ== X-Gm-Message-State: AO0yUKXTjpKLtlBkm3tTvpuAYIqkbftYGW5Vz+2OHzAjx+GPXlncW66q c0EMWKNB3146xWS07a5a3GWc2MyJPZp3Gg== X-Google-Smtp-Source: AK7set+3OWzeHaYKWKh+5Q+0oHTAbZOm2LlOw+wj5yZsW3hnlzO7pgkVT89fU0ZHNHe2piwgwHdgvQ== X-Received: by 2002:a17:906:3503:b0:8af:40b0:3dd1 with SMTP id r3-20020a170906350300b008af40b03dd1mr1697460eja.27.1677850022737; Fri, 03 Mar 2023 05:27:02 -0800 (PST) Received: from localhost.localdomain (35.145.195.178.dynamic.wline.res.cust.swisscom.ch. [178.195.145.35]) by smtp.gmail.com with ESMTPSA id pv16-20020a170907209000b009079442dd11sm948645ejb.154.2023.03.03.05.27.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 05:27:02 -0800 (PST) From: Andrejs Cainikovs X-Google-Original-From: Andrejs Cainikovs To: Stefano Babic , Fabio Estevam , Francesco Dolcini , Marcel Ziswiler , "NXP i . MX U-Boot Team" Cc: u-boot@lists.denx.de, Philippe Schenker , Andrejs Cainikovs Subject: [PATCH v1 02/17] colibri-imx8x: Remove baudrate from console argument Date: Fri, 3 Mar 2023 14:26:27 +0100 Message-Id: <20230303132642.15574-3-andrejs.cainikovs@toradex.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230303132642.15574-1-andrejs.cainikovs@toradex.com> References: <20230303132642.15574-1-andrejs.cainikovs@toradex.com> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 03 Mar 2023 14:29:41 +0100 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 From: Philippe Schenker This commit does remove the options argument from the console kernel-argument as it prevents the serial driver from outputting anything. Do this by switchting to use the variable "setup" as it is done on other Toradex modules. Signed-off-by: Philippe Schenker Signed-off-by: Andrejs Cainikovs --- include/configs/colibri-imx8x.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/colibri-imx8x.h b/include/configs/colibri-imx8x.h index 3ec36aa773e..b337ef28533 100644 --- a/include/configs/colibri-imx8x.h +++ b/include/configs/colibri-imx8x.h @@ -64,7 +64,7 @@ MEM_LAYOUT_ENV_SETTINGS \ "boot_file=Image\0" \ "boot_script_dhcp=boot.scr\0" \ - "consoleargs=console=ttyLP3,${baudrate} earlycon\0" \ + "console=ttyLP3\0" \ "fdt_addr=0x83000000\0" \ "fdt_file=fsl-imx8qxp-colibri-dsihdmi-eval-v3.dtb\0" \ "fdtfile=fsl-imx8qxp-colibri-dsihdmi-eval-v3.dtb\0" \ @@ -77,6 +77,8 @@ "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \ "mmcpart=1\0" \ "panel=NULL\0" \ + "setup=setenv setupargs console=tty1 console=${console},${baudrate} " \ + "consoleblank=0 earlycon\0" \ "update_uboot=askenv confirm Did you load u-boot-dtb.imx (y/N)?; " \ "if test \"$confirm\" = \"y\"; then " \ "setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt " \