From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 19 Apr 2022 11:09:46 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ngjrn-007fXz-LD for lore@lore.pengutronix.de; Tue, 19 Apr 2022 11:09:46 +0200 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ngjrk-00024M-9k for lore@pengutronix.de; Tue, 19 Apr 2022 11:09:45 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XD9Ry+Hak9O9zWJsNVa3w/z/tJiRQbQca9yb0fMQ9f8=; b=Y1lOgQ+o8s0WY7 bG64It+mQK6FmRSOQMq9ekLsgMeKkNVF3HqDVmD0d2hByG39FMAywqaA2XOG5EUeMEtB5i+jBNu42 Xug58ATY3LqlKgAB/ktwspt4DTdri+j/szs6ZNff9schJBfQ+0fqr5tKcs3YXK+TCPeY04aqePVyS vL7br7HvVg2pxk1Oz0QdB0IVbadGyqlfe511TIqjqHP/kn4IjEELla89er4ghxEUNQOadCPzbA71k 9ILcxrXtkHBlVyq47PgvSsEecDzAwfJHlrMOXngeZ8GgdhDXjdSdBZ4x8jLcjk/AVgmIHyABk1TKL N09PTkVTUBunM3hbcucw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngjqK-002V6A-Vk; Tue, 19 Apr 2022 09:08:17 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngjqE-002V45-Sj for barebox@lists.infradead.org; Tue, 19 Apr 2022 09:08:13 +0000 Received: by mail-pl1-x629.google.com with SMTP id s17so4110448plg.9 for ; Tue, 19 Apr 2022 02:08:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ItQGehN6MSKdrKVcLC3tXYwoHqf2w1otfhcF/U+Nf2w=; b=IbvsqnpoZPSf77ig7JsOBu2IA7js7y1Ypm2ra5Y3LlT0gKOVTgGtN2Rglxq9rDDTgR og556e9aa3Ecr2TEmgO706OuCKvi/IYfYasbRM5+0QDx1xyZ39YFtpAjBu1e6hjcymMy uwuCXPGd9WGHE7shJMHpfqqvZM+hKo/b1OF3OUJ3j4C6mNNl1miRRShY+ISG0BzHQuO0 NpNHsVa9ifkFomwZFj++5fi9fNT8tdbZIQOSD8qXuv8qH1LoXglNgV7Tgiae0ayeL97y oOmii1+RUHkaXofSuzZYaBas9wIOBJEfhPwOXoJCcNwKXLB3Ev1+OnZS92fO5hJiJrRG KG0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ItQGehN6MSKdrKVcLC3tXYwoHqf2w1otfhcF/U+Nf2w=; b=w5fS+NSsum9+Ph6LBa2yPxRpTP2sggOSyzqEdOSbG2a2ORXfnYGuVmHvpPtybiS/tI D3XEsje/8Fb88gBx1OxEsC3VE3KSt1MkTOI8mftLPiDOsQcngenmoz/aKAy1kB+MEVzt aUphWVJpol9NVUjwLrW66FBXjxSxmUlPP0ZVnFzc7NrPZaLaPtikdgeTZXWhpQY8Band 4h3QHSwxr0kTl/+HFe+1kha//UQLEju+++ocj5iFyTz+9YJv5rHf1HSxt00AnqHMQFbx djwAqoNCwnB93WkLusW3Un4sfNI9H+KN9+YTcu737AIVlSnFi30zRYuorXWgg3kMNF44 OVbg== X-Gm-Message-State: AOAM530BxN+SoNthodiyR8bcPU88uOdkPQzQKLRZEOl+hVcURYjK2cnq 7a58CQPykPOKT/pMyPpg08RVwTJbbC0//iXxdKy4A4M6SVHUFg== X-Google-Smtp-Source: ABdhPJwyvMWmvCoWG4oknvWpofn79Ki6nQY3KY+uwA0WBHt8b3cXZl5e8qvYHSK8ELz5ChHMCWaBhsn2K74DTPQnNag= X-Received: by 2002:a17:902:bd05:b0:158:544d:6557 with SMTP id p5-20020a170902bd0500b00158544d6557mr15154258pls.70.1650359286892; Tue, 19 Apr 2022 02:08:06 -0700 (PDT) MIME-Version: 1.0 References: <20220419082738.GO4012@pengutronix.de> In-Reply-To: <20220419082738.GO4012@pengutronix.de> From: Alexander Shiyan Date: Tue, 19 Apr 2022 12:07:54 +0300 Message-ID: To: Sascha Hauer Cc: barebox@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220419_020810_974466_6849CB6A X-CRM114-Status: GOOD ( 39.59 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:e::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-4.7 required=4.0 tests=AWL,BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: Re: AM335x MLO failed to boot X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) SGVsbG8gU2FzY2hhLgoKUGF0Y2ggd29ya3MgYXMgZXhwZXh0ZWQhCgpUaGFua3MhCi0tLS0KCmJv b3RpbmcgZnJvbSBOQU5ECgpiYXJlYm94IDIwMjIuMDMuMC0wMDQ4Mi1nMTNiMTcyMTJlMGY2LWRp cnR5ICM4MiBUdWUgQXByIDE5IDEyOjAxOjQ1IE1TSyAyMDIyCkJvYXJkOiBNZWdhLU1pbGFzIElu Zm9ybWVyL1NwaWRlciBBTTMzNXgKY3Bzdy1tZGlvIDRhMTAxMDAwLm1kaW9AMTAwMC5vZjogZGV0 ZWN0ZWQgcGh5IG1hc2sgMHgxMAptZGlvX2J1czogbWlpYnVzMDogcHJvYmVkCmV0aDA6IGdvdCBw cmVzZXQgTUFDIGFkZHJlc3M6IGQwOjAzOmViOmVmOmMyOmE2CmkyYy1vbWFwIDQ0ZTBiMDAwLmky Y0AwLm9mOiBidXMgMCByZXYwLjExIGF0IDQwMCBrSHoKb21hcC1oc21tYyA0ODA2MDAwMC5tbWNA MC5vZjogcmVnaXN0ZXJlZCBhcyBtbWMwCm9tYXBfd2R0IDQ0ZTM1MDAwLndkdEAwLm9mOiBPTUFQ IFdhdGNoZG9nIFRpbWVyIFJldiAweDAxCm5hbmRfYmFzZTogZGV2aWNlIGZvdW5kLCBNYW51ZmFj dHVyZXIgSUQ6IDB4MmMsIENoaXAgSUQ6IDB4Z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5zaWduZWQgaW50IHBlYl9sYXN0LCB2b2lkICpidWYsIHNpemVfdCBsZW4pCj4gK3sK PiArICAgICAgIGludCByZXQsIHBudW07Cj4gKwo+ICsgICAgICAgcG51bSA9IHBlYl9zdGFydDsK PiArCj4gKyAgICAgICB3aGlsZSAobGVuKSB7Cj4gKyAgICAgICAgICAgICAgIHNpemVfdCBub3cg PSBtaW5fdChzaXplX3QsIG10ZC0+ZXJhc2VzaXplLCBsZW4pOwo+ICsKPiArICAgICAgICAgICAg ICAgaWYgKHBudW0gPiBwZWJfbGFzdCkKPiArICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4g LUVJTzsKPiArCj4gKyAgICAgICAgICAgICAgIGlmIChtdGRfcGViX2lzX2JhZChtdGQsIHBudW0p KSB7Cj4gKyAgICAgICAgICAgICAgICAgICAgICAgcG51bSsrOwo+ICsgICAgICAgICAgICAgICAg ICAgICAgIGNvbnRpbnVlOwo+ICsgICAgICAgICAgICAgICB9Cj4gKwo+ICsgICAgICAgICAgICAg ICByZXQgPSBtdGRfcGViX3JlYWQobXRkLCBidWYsIHBudW0sIDAsIG5vdyk7Cj4gKyAgICAgICAg ICAgICAgIGlmIChyZXQpCj4gKyAgICAgICAgICAgICAgICAgICAgICAgZ290byBvdXQ7Cj4gKwo+ ICsgICAgICAgICAgICAgICBsZW4gLT0gbm93Owo+ICsgICAgICAgICAgICAgICBwbnVtKys7Cj4g KyAgICAgICAgICAgICAgIGJ1ZiArPSBub3c7Cj4gKyAgICAgICB9Cj4gKwo+ICsgICAgICAgcmV0 ID0gMDsKPiArb3V0Ogo+ICsgICAgICAgcmV0dXJuIHJldDsKPiArfQo+ICsKPiAgLyoqCj4gICAq IG10ZF9wZWJfZXJhc2UgLSBlcmFzZSBhIHBoeXNpY2FsIGVyYXNlYmxvY2suCj4gICAqIEBtdGQ6 IG10ZCBkZXZpY2UKPiBkaWZmIC0tZ2l0IGEvaW5jbHVkZS9tdGQvbXRkLXBlYi5oIGIvaW5jbHVk ZS9tdGQvbXRkLXBlYi5oCj4gaW5kZXggY2ZjYzBiZTYxMS4uY2Y4ZDhmZjhkYSAxMDA2NDQKPiAt LS0gYS9pbmNsdWRlL210ZC9tdGQtcGViLmgKPiArKysgYi9pbmNsdWRlL210ZC9tdGQtcGViLmgK PiBAQCAtMjMsNiArMjMsOCBAQCBpbnQgbXRkX251bV9wZWJzKHN0cnVjdCBtdGRfaW5mbyAqbXRk KTsKPiAgaW50IG10ZF9wZWJfY3JlYXRlX2JpdGZsaXBzKHN0cnVjdCBtdGRfaW5mbyAqbXRkLCBp bnQgcG51bSwgaW50IG9mZnNldCwKPiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg IGludCBsZW4sIGludCBudW1fYml0ZmxpcHMsIGludCByYW5kb20sCj4gICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBpbnQgaW5mbyk7Cj4gK2ludCBtdGRfcGViX3JlYWRfZmlsZShz dHJ1Y3QgbXRkX2luZm8gKm10ZCwgdW5zaWduZWQgaW50IHBlYl9zdGFydCwKPiArICAgICAgICAg ICAgICAgICAgICAgdW5zaWduZWQgaW50IHBlYl9sYXN0LCB2b2lkICpidWYsIHNpemVfdCBsZW4p Owo+ICBpbnQgbXRkX3BlYl93cml0ZV9maWxlKHN0cnVjdCBtdGRfaW5mbyAqbXRkLCBpbnQgcGVi X3N0YXJ0LCBpbnQgbWF4X3BlYnMsCj4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCB2b2lk ICpidWYsIHNpemVfdCBsZW4pOwo+Cj4gLS0KPiAyLjMwLjIKPgo+Cj4gLS0KPiBQZW5ndXRyb25p eCBlLksuICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgfAo+IFN0ZXVlcndhbGRlciBTdHIuIDIxICAgICAgICAgICAgICAgICAgICAgICB8IGh0 dHA6Ly93d3cucGVuZ3V0cm9uaXguZGUvICB8Cj4gMzExMzcgSGlsZGVzaGVpbSwgR2VybWFueSAg ICAgICAgICAgICAgICAgIHwgUGhvbmU6ICs0OS01MTIxLTIwNjkxNy0wICAgIHwKPiBBbXRzZ2Vy aWNodCBIaWxkZXNoZWltLCBIUkEgMjY4NiAgICAgICAgICAgfCBGYXg6ICAgKzQ5LTUxMjEtMjA2 OTE3LTU1NTUgfAoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X18KYmFyZWJveCBtYWlsaW5nIGxpc3QKYmFyZWJveEBsaXN0cy5pbmZyYWRlYWQub3JnCmh0dHA6 Ly9saXN0cy5pbmZyYWRlYWQub3JnL21haWxtYW4vbGlzdGluZm8vYmFyZWJveAo=