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 7EB43C38A2D for ; Tue, 25 Oct 2022 21:48:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5B01C84ECE; Tue, 25 Oct 2022 23:48:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1666734523; bh=AjVmVRTwqatX6PiSCOfQAMSxFtpUUvpiyLdMgDQfoGA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=iZwbEVybkYpaMmRy3ID+2rLt9sR5VJdGT3lmydiBcdRCwbck7bN8bDCbKoOuASogX E1T28AleApE1cvyT7PLcBrJbuHhDOy+lwUTQWv2R4HAiYA0InycGjHYJZoBQ1mmOng BA1x4vPQpRN/mNfh4AOEJ9+5TibTU+hWCBMK6F4y9lNYadZ5oy6zCe5wQGGD43FqHL KmmNRVmgMdR8hSktSOg9bOPw2n1PfMkxXs77J8NU10Lzp91s2U0q1Hnh7qLWwkNeUo hecVK0xM7QXTiodBD4I+B8oeFjQ0YF32HnmPf/Fm5F1W1xn6iKK1yZk2ShusFOtEV9 sdkhmYLc5UwTw== Received: from mail.denx.de (unknown [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: festevam@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 80D4483EB9; Tue, 25 Oct 2022 23:48:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1666734519; bh=AjVmVRTwqatX6PiSCOfQAMSxFtpUUvpiyLdMgDQfoGA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SUa6Ym/8w6bcXLhEs2VsdKYDd6IYL6RZodBXti8SKoH7v9NBgTXgjTVeGTeKnGyBd yfJv5gJmSoYVbuYS9QSwO9OnT7FIxDB7CZeerBxF2PEalmQUv2r6BcBEkbVsbaxC1X yv8/2vTybacnRWbika8y1aI5v5eh1/Yo/tbrQU/BP1s6yeD+Ca0lquLEMNmz719BLH XO0879ula1KyopGJ7eNCWFZmBF1o5BgLuTMEr6Xoyadt4gHcIL2HqSFLeWs9LOKzZ3 3GFXRTckrlskwiYlNqyvi66minmbXlFgh4pJxOMT0E8r4AeUUpY/O7EOScjson/e3S 8wHCCSkA6x3LA== MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 25 Oct 2022 18:48:39 -0300 From: Fabio Estevam To: Tim Harvey Cc: =?UTF-8?Q?Pali_Roh=C3=A1r?= , Johannes Schneider , u-boot@lists.denx.de, peng.fan@oss.nxp.com, sbabic@denx.de, trini@konsulko.com, bsp-development.geo@leica-geosystems.com, Peng Fan Subject: Re: [PATCH v5 2/2] serial: mxc: have putc use the TXFIFO In-Reply-To: References: <20220906121504.2200171-1-johannes.schneider@leica-geosystems.com> <20220906121504.2200171-3-johannes.schneider@leica-geosystems.com> <20221025202335.k5isd54j6ubhdglu@pali> <4e715158a0c58e2ae42b7748676851ff@denx.de> Message-ID: <64a453101ff3f38b5b1df6d873297872@denx.de> X-Sender: festevam@denx.de User-Agent: Roundcube Webmail/1.3.6 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 Tim, On 25/10/2022 18:37, Tim Harvey wrote: > Fabio and Pali, > > Seems reasonable but this does not resolve the problem. Whatever I > print in board_init gets cutoff by the print from dm_announce. You are right. I managed to reproduce it: --- a/board/warp7/warp7.c +++ b/board/warp7/warp7.c @@ -71,6 +71,7 @@ int board_init(void) /* address of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; + printf("******************* 0123456789012345678901234567890123456789\n"); return 0; } It does not print correctly: U-Boot 2022.10-00796-gf9d16f2c0daf-dirty (Oct 25 2022 - 18:46:05 -0300) CPU: Freescale i.MX7S rev1.2 800 MHz (running at 792 MHz) CPU: Extended Commercial temperature grade (-20C to 105C) at 49C Reset cause: POR Model: Element14 Warp i.MX7 Board Board: WARP7 in secure mode OPTEE DRAM 0x9d000000-0xa0000000 DRAM: 464 MiB �Core: 73 devices, 17 uclasses, devicetree: separate3456789 PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11 MMC: FSL_SDHC: 3, FSL_SDHC: 0 Loading Environment from MMC... OK In: serial@30860000 Out: serial@30860000 Err: serial@30860000 SEC0: RNG instantiated Net: No ethernet found. Hit any key to stop autoboot: 0