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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD3E7C433EF for ; Tue, 26 Oct 2021 13:06:26 +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 D5FB760F6F for ; Tue, 26 Oct 2021 13:06:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D5FB760F6F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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 74CF381F0B; Tue, 26 Oct 2021 15:06:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org 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=kernel.org header.i=@kernel.org header.b="qGZtpLo+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DA12D81F0B; Tue, 26 Oct 2021 15:06:20 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 017D180F5F for ; Tue, 26 Oct 2021 15:06:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kabel@kernel.org Received: by mail.kernel.org (Postfix) with ESMTPSA id A074060FD7; Tue, 26 Oct 2021 13:06:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635253575; bh=NuFiG9Miz1Jmdv3Y5g12/6fzWda5As/U1QVW+6GixYs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qGZtpLo+Bc9wo+xCyMVZMoge24mCovxoZWHTfnxQIj4+24YOJCkTEBAYAS0Q56sGy KFT7xLwPHupVVOZVj5R01Nnx813fZXPjX0hGIKlHXAbHQ8TbnDA0gejsOQneg4o3q5 PALJogLHw6tFl5PZIjYSplGskV5XLzMlcj0xQ8p/h8T5xA0TQGOdv8S1fmSM8C3cYt X4UQ2eJoQtF+6naXDVcmfQpaBIAcWVD/5UICyE3Ej1dH3ylTvHnar2ZKQaPE89Rnk3 IBijzkE44GM72gi/GvBA42upBSnnsJF0pAfVo4BA/VlweIEI9AtxMmn2nUIqwY6F3F 1ZaxngqWJdBSA== Date: Tue, 26 Oct 2021 15:06:10 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Pali =?UTF-8?B?Um9ow6Fy?= Cc: Stefan Roese , u-boot@lists.denx.de, Marek =?UTF-8?B?QmVo?= =?UTF-8?B?w7pu?= Subject: Re: [PATCH u-boot-marvell 00/13] Yet another kwboot improvements Message-ID: <20211026150610.44a5e98d@thinkpad> In-Reply-To: <20211026124048.lprqsoqow63cwqom@pali> 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> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 Tue, 26 Oct 2021 14:40:48 +0200 Pali Roh=C3=A1r 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? 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. Marek