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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id BC83AC433FE for ; Mon, 21 Nov 2022 17:34:58 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 80697853E2; Mon, 21 Nov 2022 18:34:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="UAynJOVm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0534285392; Mon, 21 Nov 2022 18:34:27 +0100 (CET) Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6BA7A853C8 for ; Mon, 21 Nov 2022 18:34:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2e.google.com with SMTP id k2so7270405qvo.1 for ; Mon, 21 Nov 2022 09:34:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Ae9cSfV8P9IfEOmC4fEw8HihGBrGUTDtiD0KBCY2jgI=; b=UAynJOVmJOkAL1STZEJDFaCBzIXrd24jcetd6u4q4zsd4IpkeuJuSr5Aqhyc4vfF9D YcYTS6VfRK9vh2YcSKC860WH7Btlt1WUBqpQFH7lWknJKKEbKfeN4tMt9mQnNoD/7hzp 8Bw32RjziRaS+Aeq/CcJj4jN+U4j9MFpLF8JM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ae9cSfV8P9IfEOmC4fEw8HihGBrGUTDtiD0KBCY2jgI=; b=L98kWsVEq7HkyE+4+/iSKlW2I8tyiO1kC4m1UtlCHa6Rg2qapIzY3gNYd6k/qpXbB9 7iTzh0eXnC9MXxx/pNZ52sgBGiTGJI+9IN30rKIrUgmRsT+Lqtr63DIZZtHzrEx0c++8 CyUrV3zGKg9Hi0EoPnLI52YlmGDzUWkXEJ18007xxxeNIMzeXvNLI64txfFEtP54CdaQ Qgok4UCIZ6w5/J1HY9+q6wx+agohoDyeoEWWJ0qOIp0ufCyU9HCeQ4d5vz1ykRCf2miF Jsmq4vvvGOXmPMB2bbVgmU17jfrwCNbgtaVSZer5ftXHH+KdhcT5Mp2UXGIcw440IYYn /IxA== X-Gm-Message-State: ANoB5pk2GzGBDwbEqi/JGVQzEXWG52iy/PaLzl8Pb1nL+XYcaZpF45iA nw3kvvTRh9U2UjEGUiahfbonFQ== X-Google-Smtp-Source: AA0mqf4EViBRHfl0IWitoZiVMFwDV4Fb6SijFIWQarMvDVHL0TbShqt3b0/NuBmQiVOThlfmmUEOQg== X-Received: by 2002:a05:6214:5f8c:b0:4c6:b433:f6f6 with SMTP id ls12-20020a0562145f8c00b004c6b433f6f6mr1755467qvb.104.1669052063201; Mon, 21 Nov 2022 09:34:23 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-91a3-6c7b-3405-8039.res6.spectrum.com. [2603:6081:7b00:6400:91a3:6c7b:3405:8039]) by smtp.gmail.com with ESMTPSA id t7-20020a37ea07000000b006fa2cc1b0fbsm8523999qkj.11.2022.11.21.09.34.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 09:34:22 -0800 (PST) Date: Mon, 21 Nov 2022 12:34:20 -0500 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: u-boot@lists.denx.de, maemo-leste@lists.dyne.org Subject: Re: [PATCH 1/3] arm32: Fix relocation of env_addr if POSITION_INDEPENDENT=y Message-ID: <20221121173420.GR7282@bill-the-cat> References: <20221120165628.14661-1-pali@kernel.org> <20221120165628.14661-2-pali@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/LSm8UPTCLHL4o89" Content-Disposition: inline In-Reply-To: <20221120165628.14661-2-pali@kernel.org> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean --/LSm8UPTCLHL4o89 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 20, 2022 at 05:56:26PM +0100, Pali Roh=E1r wrote: > Apply commit 534f0fbd6520 ("arm64: Fix relocation of env_addr if > POSITION_INDEPENDENT=3Dy") also for 32-bit ARM. >=20 > This change fixes crashing of U-Boot on ARMv7 (Omap3 / Cortex-A8) Nokia N= 900 > phone (real HW). Note that qemu emulator of this board with same u-boot.b= in > binary has not triggered this crash. >=20 > Crash happened after U-Boot printed following debug lines to serial conso= le: >=20 > initcall: 0001ea8c (relocated to 8fe0aa8c) > Loading Environment from ... Using default environment > Destroy Hash Table: 8fe25a98 table =3D 00000000 > Create Hash Table: N=3D387 >=20 > Signed-off-by: Pali Roh=E1r Applied to u-boot/master, thanks! --=20 Tom --/LSm8UPTCLHL4o89 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmN7tpwACgkQFHw5/5Y0 tyyNZgv/fH3tzBNEO+MWEiwcZ9drjlc2QlxHnMj0mglQQpg0FjpRXMKdrl3VW4IY dGJwipbQBUahTDyoCL0jBusmcKvIutt1MJovn4J0SXXFOCegHNAMQTxYzFF1+qwV IBKoEQV2gx6tGb37WgIUkGkOwVr2j1aBN3uC5QLNpoYmyqzwc6RCdVmccduPIFEg rcJtvhGrnOrOieJUDjJmvlfVaqCPuaRo4xo8Vph3xvVXIsYUUn2JU8NdEupHojN7 FWlpKZiJuAQFNPNFWlkUQRCWwE0akM18wUpDLqe0UrhmL0IUBMKyGNV10c24eZK6 2oA7kui4X6s454RBEmuumzh+8lFhw5xSbAy3sDIv0zSylnzGgqkNU3I+Dx37M5RR VT2YqIHt+Tf8APBNUar9qcQ0XmESk8WxRZZ04nLhMEzyD2lseGmwOwaN+CAASpBy La/DyYOZ92WNxI5hPm0WdiINwA81ieYRX2qtdmOPsFJ5wmV8quZZQXu8qVkxvK5+ NjWf6g29 =9P1C -----END PGP SIGNATURE----- --/LSm8UPTCLHL4o89--