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 78A61C433EF for ; Fri, 1 Oct 2021 10:28:47 +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 84A0E61A6E for ; Fri, 1 Oct 2021 10:28:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 84A0E61A6E 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 4129981725; Fri, 1 Oct 2021 12:28:44 +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=1633084124; bh=pbWtRpH6hk+pUPT5OOEdn3WQd/nxOxEfM0SPnfyYCOc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=uOqEB2hdGZIxvFBcSTM8HGu6CCvBPREdxDU80Q3LAGzuDw856x/j2kDhM0/UEZt/l ppVgP9AAqo2pJW/kUcBxxkSbIp3I8SJlqmaUTanZEs1VxAklPGIZhw0woyRzlxWZTY MzZV4DXyM2GYHpywp1Uwa1XL8Y8C1ewsUZIGUMhF79z1loYTjMK2Umq6qCYli82xfo wqpbrm/LYfN9Gal8A0N6FUF35agHFY6OvaZvo62bNpCkBHIVLwG+v/6v8HOw8ptMyt GzcEoP5OOJTATnu7F6WshPvAjVYQWhjfNIv5S3JfrMoX+JThwZitaqRkBpJZRaZBbB Fm0gNdhGWgtlQ== Received: by phobos.denx.de (Postfix, from userid 109) id AFA8C8187B; Fri, 1 Oct 2021 12:28:41 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [IPv6:2001:67c:2050:1::465:107]) (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 75BE1815A8 for ; Fri, 1 Oct 2021 12:28:38 +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 smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (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-107.mailbox.org (Postfix) with ESMTPS id 4HLRCp2SR0zQkKq; Fri, 1 Oct 2021 12:28:38 +0200 (CEST) Subject: Re: [PATCH u-boot-marvell v3 00/39] kwboot higher baudrate To: =?UTF-8?Q?Pali_Roh=c3=a1r?= Cc: =?UTF-8?Q?Marek_Beh=c3=ban?= , u-boot@lists.denx.de, Chris Packham , Baruch Siach , Dennis Gilmore , Mario Six , Jon Nettleton , =?UTF-8?Q?Marek_Beh=c3=ban?= References: <20210924210716.29752-1-kabel@kernel.org> <20210930181419.ylymgidnzzifpz2x@pali> <4dc716e5-3d86-1b81-d761-08713a824f6d@denx.de> <20211001092856.gpagytudmfu45oht@pali> <20211001100904.n6njnf7bdfrqym2h@pali> From: Stefan Roese Message-ID: <39d82d32-0cdb-7a27-a328-d5aa312a746a@denx.de> Date: Fri, 1 Oct 2021 12:28:34 +0200 MIME-Version: 1.0 In-Reply-To: <20211001100904.n6njnf7bdfrqym2h@pali> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: F02B41813 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 Hi Pali, On 01.10.21 12:09, Pali Rohár wrote: > Hello! > > On Friday 01 October 2021 11:58:14 Stefan Roese wrote: >> I checked by quickly starting a terminal app and it does not seem that >> the CPU did go through a reboot. Nothing on the UART at this stage. >> >> BUT: >> The tests I did in this mail were done with your 39 patches applied >> on top of "master-kwboot" [1]. Here booting with 115k works as explained >> below. >> >> Now I applied the same 39 patches on top of "next" [2]. And here not >> even booting with 115k works on my AXP target. It always hangs at this >> stage: > > So default baudrate 115200 works fine on master+39patches and does not > work on next+39patches? Could you check if it works on next without > applying any patch? Sure, here you go: First the test on "next" without the 39 patches: [stefan@ryzen u-boot (next)]$ ./tools/kwboot -p -b u-boot-spl.kwb -t /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A1019EGY-if00-port0 Sending boot message. Please reboot the target...| Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 2 % [......................................................................] 4 % [......................................................................] 5 % [......................................................................] 7 % [......................................................................] 8 % [......................................................................] 9 % [......................................................................] 11 % [......................................................................] 12 % [......................................................................] 14 % [... U-Boot SPL 2021.10-rc5-00392-g7fde64c004ea (Oct 01 2021 - 12:27:27 +0200) High speed PHY - Version: 2.1.5 (COM-PHY-V20) High speed PHY - Ended Successfully DDR3 Training Sequence - Ver 5.7.4 DDR3 Training Sequence - Ended Successfully Trying to boot from BOOTROM Returning to BootROM (return address 0xffff0aa0)... +xmodem: Protocol error Not working! And now test on "master" without the 39 patches: [stefan@ryzen u-boot (master)]$ ./tools/kwboot -p -b u-boot-spl.kwb -t /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A1019EGY-if00-port0 Sending boot message. Please reboot the target...| Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 2 % [......................................................................] 4 % [......................................................................] 5 % [......................................................................] 7 % [......................................................................] 8 % [......................................................................] 9 % [......................................................................] 11 % [......................................................................] 12 % [......................................................................] 14 % [... U-Boot SPL 2021.10-rc5-00012-gbf9fcc20000c (Oct 01 2021 - 12:25:35 +0200) High speed PHY - Version: 2.1.5 (COM-PHY-V20) High speed PHY - Ended Successfully DDR3 Training Sequence - Ver 5.7.4 DDR3 Training Sequence - Ended Successfully Trying to boot from BOOTROM Returning to BootROM (return address 0xffff0aa0)... ...................................................................] 15 % [......................................................................] 16 % [......................................................................] 18 % [......................................................................] 19 % [......................................................................] 21 % [......................................................................] 22 % [......................................................................] 23 % [......................................................................] 25 % [......................................................................] 26 % [......................................................................^C Seems to okay. Thanks, Stefan