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 384CFC433F5 for ; Wed, 1 Dec 2021 12:46:54 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8036D80F89; Wed, 1 Dec 2021 13:46:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (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=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="f4arX8Vt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1416983082; Wed, 1 Dec 2021 07:31:11 +0100 (CET) Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (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 6354A8305E for ; Wed, 1 Dec 2021 07:31:08 +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=backupdrive117@gmail.com Received: by mail-lj1-x22d.google.com with SMTP id 207so45935347ljf.10 for ; Tue, 30 Nov 2021 22:31:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=J7eFjKxaypHKVtJCKQRRo1Vby2kLo9CT3JNCfVzBCZM=; b=f4arX8VtAttj64O38jHKUEGxN7X4pUaESon2ch/h0Maueksw8ZzIv0bfVU07cCBHBK LnrVsgSlXwXF5hV1w0kJOOo8u/QCEZ8oikBh5Y50RjkcuSwFBo2c1emqTLiCOCOJAmu7 YcFLZhfHBICtZnyMkJ8YZTXKk4gk6ggBMft7onAoK+RiWYE+HQuMQPXMPJdbevVyjI7s JEqIbLHBqqad1qqUbMvdCOR5lZRkLmy7shJm6rAcVPdDTxK/oBEQYJOITCkOVkVtEoxW h99jCCQaSI+dC7aeD+azK4T3eucTk2dfcXLfzVkw387Lh7a0cfu38JujqCF67vNOmU+z oSwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=J7eFjKxaypHKVtJCKQRRo1Vby2kLo9CT3JNCfVzBCZM=; b=5zPwCQG7qQibmjHXiOEawrXByR3VEjQlxWR9xdBQ1mWnTNR43chwv/yWMi1BA15XSQ MHxFKw2eLDM6ZffcFlqu8ns9hf4aUEpJKyVYo73DJgabrzSEYw69+i3ZcJMw943JnTwu cpaCj52HW1f+7ejgIdhQHM1U2I8zNvUtI8ktdwfwa/xkj6JzD0Mug50YyuNyWBXf/BNh HkB2wUuCeqiZCHH7r84tEeSj+MZVHn4rVRdldHblUtWBZhzBpGAlT7utmpIHsYq5HlPG WiUKle9EyI9b5UclM6q1HTG0ZA6sRDG8MbJ4snjCYLUsFll3rstAazqlZteXkwzQfTiv QlCw== X-Gm-Message-State: AOAM530zvauQjOQXDP0JsvLec5AZC1/g7kr8EonVjo8tmV1/zylxfFwX SZQdJVWNL1lgaBuf9CWcmekedMdeEiBjMgu8sy9s6SIm0HG77A== X-Google-Smtp-Source: ABdhPJxFpMf7FEt7Daint5lCTLi3yNbUt5n8Z0fdyc8lpttxM3RjwZo1WH8hfZ1Grt3ZH7bwLYo3T5UXRILkDRF0Tx0= X-Received: by 2002:a2e:b88b:: with SMTP id r11mr3714074ljp.280.1638340267582; Tue, 30 Nov 2021 22:31:07 -0800 (PST) MIME-Version: 1.0 From: backup drive Date: Wed, 1 Dec 2021 12:00:56 +0530 Message-ID: Subject: enabling two UARTs at the uboot level (one of debug port and other for communication) To: u-boot@lists.denx.de X-Mailman-Approved-At: Wed, 01 Dec 2021 13:46:49 +0100 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.37 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 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.2 at phobos.denx.de X-Virus-Status: Clean Hi, I am using NXP Imx6 mx6sabresd processor board. it has three UARTs available for the board. UART1, UART2 and UART5. In that UART5 is the debug port and all UARTs are initialized in dts file and board.c files. Now at U-boot stage I have UART5 as a debug port and also initialized UART1. 1. Can you please help me to find out a way to read/write using UART1? 2. Do I need to make any u-boot code changes to read/write some custom data via UART1 at uboot stage? If yes which files I should change? and I am not aware of the exact changes. I am using uboot 2020.04 Thanks in advance