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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1AB1BC433F5 for ; Tue, 26 Oct 2021 14:06:53 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 495AF60C41 for ; Tue, 26 Oct 2021 14:06:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 495AF60C41 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B227E80F5F; Tue, 26 Oct 2021 16:06:49 +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=1635257210; bh=NAn1dSLWzY9J3eSAW8s+FnJ71RCC27xfMQDQ1exMsJ4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Pp1fQXkuuJFZ2Ha+busx9ishqrVMYmEQbX3JICxIxJz4m40aAarhEJNLSysYjNSHG Y48UGbVxkzgxTJpPUJWsE0PBWf9QcyO0j2ZD0xvqTSsB9q5IoAndN7WZgM3yKPxQgh dYmPKhgfK/5BWn7R4Imua3pIzqfm3fzpFGcyUgxPUBWuUP4KMmGMmYZXpDBSdVjZty XEPScHWWh2CU58D2QeP/KXAhb+Nn8VVyQeWvUDJHkcqiSHXeDxKuvof6oiJsvG5Ivm vttHfiW3ehw5ugFn5MwyPy12dk8gV477TwdEMfqrkn5HyTMW1pNnkI7fH38qJj5++T lliYEVkP4TWnw== Received: by phobos.denx.de (Postfix, from userid 109) id 82ED181F0B; Tue, 26 Oct 2021 16:06:47 +0200 (CEST) Received: from mout-u-204.mailbox.org (mout-u-204.mailbox.org [IPv6:2001:67c:2050:1::465:204]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 498C580F1A for ; Tue, 26 Oct 2021 16:06:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp202.mailbox.org (unknown [91.198.250.118]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-204.mailbox.org (Postfix) with ESMTPS id 4Hdtsw1GMLzQkd8; Tue, 26 Oct 2021 16:06:44 +0200 (CEST) Subject: Re: [PATCH u-boot-marvell 00/13] Yet another kwboot improvements To: =?UTF-8?Q?Marek_Beh=c3=ban?= , =?UTF-8?Q?Pali_Roh=c3=a1r?= Cc: u-boot@lists.denx.de, =?UTF-8?Q?Marek_Beh=c3=ban?= References: <20211025131304.21310-1-kabel@kernel.org> <20211025144237.667ktcmuge4r2tpw@pali> <20211026083305.bm3lvoevgp62y4fe@pali> <1d9e63ba-bb86-8a86-d7f0-02fdf6e1da52@denx.de> <20211026090620.eilcjqkc33wavm5b@pali> <872e26ac-77ff-f19b-b3c9-debff1af58b0@denx.de> <20211026124048.lprqsoqow63cwqom@pali> <20211026150610.44a5e98d@thinkpad> From: Stefan Roese Message-ID: Date: Tue, 26 Oct 2021 16:06:39 +0200 MIME-Version: 1.0 In-Reply-To: <20211026150610.44a5e98d@thinkpad> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BD3181313 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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 On 26.10.21 15:06, Marek Behún wrote: > On Tue, 26 Oct 2021 14:40:48 +0200 > Pali Rohár wrote: > >> What is happening here? I do not know. But as Marek told me that >> observed same issue and replacing USB-UART cable by another decreased >> transfer time. So I think that issue is somewhere in USB-UART >> transmitter. My guess is that USB-UART transmitter send at 921600 speed: >> start bit, 8 bits of data, stop bit and then loooong idle pause (logical >> one). After that sends another 10 bits. > > Yes, my FT232RL USB-UART converters do not send at higher speeds, > although they report baudrate change. > > I do not really know what is going on. Maybe the ftdi-sio driver needs > to be looked at. (It definitely needs to be looked at, because of other > things. Last I looked into it the baudrate change code seemed okay.) > > Using pl2303 converter works like a charm. > > Note that I have another FT232RL converter for MOX, which works at > 1.8V, and on MOX higher speeds work correctly. > > Maybe some of the FT232RL chips are those fake ones? Maybe. Unfortunately, on this Armada XP board this FTDI chip is soldered on the target, so I can't easily switch adapters. > Stefan, could you check in a different way whether your converter can > transfer at higher speed? For example with another device, or in U-Boot > via kermit / ymodem, or whatnot. Connecting with 230400 baud and booting into U-Boot etc shows this: $ cu -s 230400 -l /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A1019EGY-if00-port0 Connected. �������������▒�����`�▒3������▒�▒�▒�▒30�▒0����`f憞~�▒���������f�` So it seems, that baudrate change seems to work fine with the chip. Thanks, Stefan