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=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 5679FC433EF for ; Thu, 16 Sep 2021 19:17:25 +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 5D1DA6108F for ; Thu, 16 Sep 2021 19:17:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5D1DA6108F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.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 9C5F482FC0; Thu, 16 Sep 2021 21:17:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (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="kFP55U9d"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C93448312F; Thu, 16 Sep 2021 21:17:18 +0200 (CEST) Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (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 8378682E03 for ; Thu, 16 Sep 2021 21:17:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82c.google.com with SMTP id u4so6619057qta.2 for ; Thu, 16 Sep 2021 12:17:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=bisxg8Vvnmn9Gu4e1Ffdir+94c4TldxtKQaa1s3+UbM=; b=kFP55U9djkurAxhCSgP6Tx+W01V5uXKlNQcS0MqRZTEk6j6tjB///cMGDLk03Ik7qZ rEa9T/jsezYpvbbGYEOAk13psnIg36WIQYdL32oJTXReXmy65KuFJXfhBYtf2Jqp0/pX YXAXDx/VxxZPw4yzgub6dqVpempeVD+LzfYd8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=bisxg8Vvnmn9Gu4e1Ffdir+94c4TldxtKQaa1s3+UbM=; b=Xq0pN66ltfq7Ve97w/azRRwwkWMgSWuL0ScCQE6zeblfZZLKYtFnBzyDCbdSGxIlLN 3MdU53+w5GKBWb5BBfP+ac2yy5LAkwURaxcFwTLaR9xCRcyTyZIdHbBSnpuGV07tNvOM D4z1oOI6rA136YS403q3qHg1KWlY4Jk68jW4CoXuzYxqHyKZlEsnLf9TbOc+hzShzwuc UauS6cO3rdKqSnF7jbI+vu36TLlR1wLSGdRLUSlUXDU1XglgFS8HYJ/1bRsVTN9MiAwH QkmHEDPWkZz+shGoD0q6kM1irG/3kxoYY0lsfLAoZv+xNEcSTtGWQNXU2cAskYpAw45r d/6Q== X-Gm-Message-State: AOAM530nRbj56WwfbwdunIeEBuCKH8LjlZdQo9AJBNZHZdXrXYWhFxoA dhlmtSDFQZXFiFw9mriurZo5Zw== X-Google-Smtp-Source: ABdhPJwhAAZitTQlPh85L5V2vZsXh5fbKzD6YqzsAXByLQ8E6vavD87EZJLtlQ8cHJTTszmA1SQx5Q== X-Received: by 2002:ac8:7959:: with SMTP id r25mr987818qtt.29.1631819833100; Thu, 16 Sep 2021 12:17:13 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-d880-4580-a9ce-9f2f.res6.spectrum.com. [2603:6081:7b01:cbda:d880:4580:a9ce:9f2f]) by smtp.gmail.com with ESMTPSA id r23sm2712654qtp.60.2021.09.16.12.17.11 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Sep 2021 12:17:12 -0700 (PDT) Date: Thu, 16 Sep 2021 15:17:10 -0400 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Simon Glass , Heinrich Schuchardt , Alexander Graf , Huan Wang , Angelo Dureghello , Wolfgang Denk , Priyanka Jain , Christophe Leroy , Bin Meng , Marek =?iso-8859-1?Q?Beh=FAn?= , u-boot@lists.denx.de Subject: Re: [PATCH v2] powerpc: mpc: Put U-Boot version string at correct place by linker script Message-ID: <20210916191710.GC12964@bill-the-cat> References: <20210802131838.21097-8-pali@kernel.org> <20210808112038.7942-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ofGRIQre7xkQTGW7" Content-Disposition: inline In-Reply-To: <20210808112038.7942-1-pali@kernel.org> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) 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 --ofGRIQre7xkQTGW7 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 08, 2021 at 01:20:38PM +0200, Pali Roh=E1r wrote: > It is unknown why version string is placed at specific position on these > powerpc mpc platforms. But there is no need to overload version_string > symbol. Just use common definition of version_string and modify linker > script to put it at "correct place". >=20 > Signed-off-by: Pali Roh=E1r > --- > Changes in v2: > * Put explicit ".section" keyword before declaring ".text_pre" section as > some gcc versions cannot recognize specifying custom section without it. > * Tested compilation for: > $ make CROSS_COMPILE=3Dpowerpc-linux-gnu- MCR3000_defconfig u-boot.bin > and checked that u-boot.bin header is same with and without this patch Please note that qemu-ppce500 still fails to build, now with a different error: https://source.denx.de/u-boot/u-boot/-/jobs/323027 which I am investigating how to resolve. --=20 Tom --ofGRIQre7xkQTGW7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFDmDIACgkQFHw5/5Y0 tyxi5AwApLfiVgB5kPmjh7b4BkX9FGvyt29xfu+6dHTSNFnAOGDRVpdAi1F61fNZ BH1nR4Ty64fUb1ZZAkbl0CQM5iMIw+R+GL0b6eTzGui878SU+m9JLxKs51aviSTZ RDN4VExBdTNfIFMY8z46GfcYSwdn2YpRmXgNotriAhYve8ymX0sXOjATC1ZqgaF3 3umc65dj8Svjqb14LQ2hUmZWJnDFjFkBehREWHSouCO7HPIGiKLyMHaZWSYWz+WW qHU1AxOI2VUheNYUw4NjwFLSTvw763BIi40yi8SHpPgLL7m3sPMLHi8K6FNZAWRB HVYznd84Dfx/+QjuPwQ1WemCuBCUFRWDcduvz5O0c8gTNnwl/NjS/2DkSIoY0ayd GkcIWKscO2XMMfZr4uSB3sXAAXEffD++Z4mAFvqvmUriJceylMhuGDCTinTscWB0 PIxDJme7Z/7NkAurl8B0iS695QgSHOPfV2X7laiCFvpI77jdGrsZwQlycEXGKEDg TsBH4hO0 =oyQ1 -----END PGP SIGNATURE----- --ofGRIQre7xkQTGW7--