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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74E58C433F5 for ; Wed, 8 Sep 2021 12:21:08 +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 A0A6C61131 for ; Wed, 8 Sep 2021 12:21:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A0A6C61131 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=saabgroup.com 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 4293E832FB; Wed, 8 Sep 2021 14:21:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=saabgroup.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 6FC9182BB4; Wed, 8 Sep 2021 09:35:55 +0200 (CEST) Received: from weald2.air.saab.se (weald2.air.saab.se [136.163.212.4]) (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 72CCB832CC for ; Wed, 8 Sep 2021 09:35:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=saabgroup.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andreas.sjoberg2@saabgroup.com Received: from mailhub1.air.saab.se ([136.163.213.4]) by weald2.air.saab.se (8.14.7/8.14.7) with ESMTP id 1887ZotF018157 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 8 Sep 2021 09:35:50 +0200 Received: from corpappl17773.corp.saab.se ([10.12.196.80]) by mailhub1.air.saab.se (8.15.2/8.15.2) with ESMTPS id 1887ZZf53342945 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 8 Sep 2021 09:35:35 +0200 Received: from corpappl17775.corp.saab.se (10.12.196.82) by corpappl17773.corp.saab.se (10.12.196.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.15; Wed, 8 Sep 2021 09:35:50 +0200 Received: from corpappl17775.corp.saab.se ([fe80::78eb:a448:434b:7759]) by corpappl17775.corp.saab.se ([fe80::78eb:a448:434b:7759%16]) with mapi id 15.02.0858.015; Wed, 8 Sep 2021 09:35:50 +0200 From: =?iso-8859-1?Q?Sj=F6berg_Andreas?= To: "u-boot@lists.denx.de" Subject: U-boot patches Thread-Topic: U-boot patches Thread-Index: Adekg66lHuqQi7kOQt2S1kIjcbfW1w== Date: Wed, 8 Sep 2021 07:35:50 +0000 Message-ID: <32b052578281473d9061ca8c74edea80@saabgroup.com> Accept-Language: sv-SE, en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [136.163.101.122] Content-Type: multipart/mixed; boundary="_005_32b052578281473d9061ca8c74edea80saabgroupcom_" MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 08 Sep 2021 14:21:01 +0200 X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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 --_005_32b052578281473d9061ca8c74edea80saabgroupcom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, We have two patch files for u-boot: Bootelf_async_abort_fix.patch: Booting a .elf files sometimes triggers an asynchronous abort error disabli= ng the icache and dcahe before boot turned out to prevent this and this pat= ch adds disabling of these caches as a part of the bootelf command. Tftp_next_ack_update: When running tftp without any additional options (i.e no oack gets sent) th= e client does not change the expected block number of the next package from= 0 to tftp_windowsize preventing acknowledgement of received data. There al= so was no prober mreset for this counter that instead only reset upon recei= veing an oack. This patch increments the value of next_ack when receiving = a data packet instead of an oack and also ensures that sending a new read r= equest or write request resets the counter to 0, indicating that the next p= acket should be an oack. /Andreas Sj=F6berg --_005_32b052578281473d9061ca8c74edea80saabgroupcom_ Content-Type: application/octet-stream; name="tftp_next_ack_update.patch" Content-Description: tftp_next_ack_update.patch Content-Disposition: attachment; filename="tftp_next_ack_update.patch"; size=652; creation-date="Wed, 08 Sep 2021 07:35:44 GMT"; modification-date="Tue, 07 Sep 2021 12:52:18 GMT" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL25ldC90ZnRwLmMgYi9uZXQvdGZ0cC5jCmluZGV4IDJjZmEwYjE0ODYuLjQ3 OWJmYTcyYTggMTAwNjQ0Ci0tLSBhL25ldC90ZnRwLmMKKysrIGIvbmV0L3RmdHAuYwpAQCAtMzU1 LDYgKzM1NSw3IEBAIHN0YXRpYyB2b2lkIHRmdHBfc2VuZCh2b2lkKQogCXN3aXRjaCAodGZ0cF9z dGF0ZSkgewogCWNhc2UgU1RBVEVfU0VORF9SUlE6CiAJY2FzZSBTVEFURV9TRU5EX1dSUToKKwkg ICAgICAgIHRmdHBfbmV4dF9hY2sgPSAwOwogCQl4cCA9IHBrdDsKIAkJcyA9ICh1c2hvcnQgKilw a3Q7CiAjaWZkZWYgQ09ORklHX0NNRF9URlRQUFVUCkBAIC02MzEsNiArNjMyLDcgQEAgc3RhdGlj IHZvaWQgdGZ0cF9oYW5kbGVyKHVjaGFyICpwa3QsIHVuc2lnbmVkIGRlc3QsIHN0cnVjdCBpbl9h ZGRyIHNpcCwKIAkJdGZ0cF9jdXJfYmxvY2sgJT0gVEZUUF9TRVFVRU5DRV9TSVpFOwogCiAJCWlm ICh0ZnRwX3N0YXRlID09IFNUQVRFX1NFTkRfUlJRKQorCQkgIHRmdHBfbmV4dF9hY2sgKz0gdGZ0 cF93aW5kb3dzaXplOwogCQkJZGVidWcoIlNlcnZlciBkaWQgbm90IGFja25vd2xlZGdlIGFueSBv cHRpb25zIVxuIik7CiAKIAkJaWYgKHRmdHBfc3RhdGUgPT0gU1RBVEVfU0VORF9SUlEgfHwgdGZ0 cF9zdGF0ZSA9PSBTVEFURV9PQUNLIHx8Cg== --_005_32b052578281473d9061ca8c74edea80saabgroupcom_ Content-Type: application/octet-stream; name="bootelf_async_abort_fix.patch" Content-Description: bootelf_async_abort_fix.patch Content-Disposition: attachment; filename="bootelf_async_abort_fix.patch"; size=365; creation-date="Wed, 08 Sep 2021 07:35:46 GMT"; modification-date="Tue, 07 Sep 2021 12:37:48 GMT" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2NtZC9lbGYuYyBiL2NtZC9lbGYuYwppbmRleCBkNDRiOTVkOTAzLi43N2Q4 YWJmOTk3IDEwMDY0NAotLS0gYS9jbWQvZWxmLmMKKysrIGIvY21kL2VsZi5jCkBAIC0yNSw2ICsy NSw4IEBAIHN0YXRpYyB1bnNpZ25lZCBsb25nIGRvX2Jvb3RlbGZfZXhlYyh1bG9uZyAoKmVudHJ5 KShpbnQsIGNoYXIgKiBjb25zdFtdKSwKIAkJCQkgICAgIGludCBhcmdjLCBjaGFyICpjb25zdCBh cmd2W10pCiB7CiAJdW5zaWduZWQgbG9uZyByZXQ7CisJaWNhY2hlX2Rpc2FibGUoKTsKKwlkY2Fj aGVfZGlzYWJsZSgpOwogCiAJLyoKIAkgKiBwYXNzIGFkZHJlc3MgcGFyYW1ldGVyIGFzIGFyZ3Zb MF0gKGFrYSBjb21tYW5kIG5hbWUpLAo= --_005_32b052578281473d9061ca8c74edea80saabgroupcom_--