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 C1FBAC433EF for ; Wed, 1 Dec 2021 12:47:04 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F37CC83097; Wed, 1 Dec 2021 13:46:54 +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="GH0HAVEA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 59CA582FF5; Wed, 1 Dec 2021 10:31:52 +0100 (CET) Received: from mail-vk1-xa2e.google.com (mail-vk1-xa2e.google.com [IPv6:2607:f8b0:4864:20::a2e]) (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 59F7882FAF for ; Wed, 1 Dec 2021 10:31: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=dandeshiva@gmail.com Received: by mail-vk1-xa2e.google.com with SMTP id m16so14620178vkl.13 for ; Wed, 01 Dec 2021 01:31:49 -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=lckASH+0Geavx7TSLYco26g1tFHqla9//qvnBiZFVlw=; b=GH0HAVEAGZKEoAz4xOsORbLH4A6beOR25m5dFIvUtnZGRADgYUZwrp9DB6Y6NYBhwu xEEEJPfV13rqJwYoMz5eLk2EWs0Rm0Jt1sW1SZrCBThhmWsmOvBQgVnsXhPG9KIMpcJH Dz7s5sJ+qiY68W42dvp8fXs8toGM+5MCC9OTEFQPDO7JevYh/q1a0YdDBYuIPHYDyLKg Lpq4bnKasdcHMcLZ4qqxAnE2VtVE5X6cStQstKmboq06y8RQ3SXZ5Ew8P+D3Tu03iHHg ZZRtBWPPTWD9VIcD9FYKW819tZwQ+e6f/fNn3mH5kufS/loSXfKCFKDytA97AWhQBAvO 2Ttg== 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=lckASH+0Geavx7TSLYco26g1tFHqla9//qvnBiZFVlw=; b=ejAyHVt9FtteltKYr9sdFvEfktztGD6sbYhSMvPi58c7agsXwHRWimCHr+L5u1gYbm sA2CioID0r2oaANI8RjjktB4BUt7cYj3HUB+kLYQt0y/VRA5WaRssqHu1OAL3HICfWQV +5v6iqKLx046dvYEeDJL/27sCYzevDl8aJHQws8cB6WTPfV3BKaJFJKCD1zIpomizbvz RFXctOYP84DCkI7Fvn41G16jJRp8mVNR0wZQPNVOfneNFB+khyFciRMwhZPBBrc1ddig sxEc3nU4VuPYBlvUDQuTFNXidgQtnNSKBtUmX2aUWSixQXms7lI5eKqMbej3S8GROcAP u6uw== X-Gm-Message-State: AOAM531fhg4feilc3sig7LQoKcC9qeGe/+h1ofgKM81LJZd7bcgYWCf0 IJcTqQG47O9AD+njgYaMVKru1H6rRqJDtjR4IzG7WLbJEzSzYt/nB/8= X-Google-Smtp-Source: ABdhPJzc/8Vt4+a/paBOljginTSU/A5izzZoMKt+Y41Em4sZ8SPpNQwJfFsFCPrGlBJYPI5kZhygv+U1ROMThPNBLKk= X-Received: by 2002:a05:6122:a13:: with SMTP id 19mr5769847vkn.3.1638351107803; Wed, 01 Dec 2021 01:31:47 -0800 (PST) MIME-Version: 1.0 From: SHIVA KUMAR Date: Wed, 1 Dec 2021 15:01:37 +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