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 420C9C43334 for ; Sat, 9 Jul 2022 12:43:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 27756843A6; Sat, 9 Jul 2022 14:43:10 +0200 (CEST) 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="XEfjjawb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BC5BB845EB; Sat, 9 Jul 2022 14:43:08 +0200 (CEST) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (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 049F2842D1 for ; Sat, 9 Jul 2022 14:43:06 +0200 (CEST) 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-qk1-x72f.google.com with SMTP id 20so800450qky.5 for ; Sat, 09 Jul 2022 05:43:05 -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; bh=nFIs8/x2ipIvvelpcxwrQUc3Rp+a02isos4SzMA3e1M=; b=XEfjjawbqGxZXrqBr4oBlrb8+dc+kfP0dAZtXVK2aSHNJQfnKK47arxDMhASJQBv3K vqWzuAryr+QI5sPLlhQnR+gYWiNM6wPctn2Azoi+0ytEoZmsvCUym0+llVH9Z8x5zUSD MXh2Y8ydqlx7r+7aeLEbIVk1O9EPzHSt1E2Jk= 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; bh=nFIs8/x2ipIvvelpcxwrQUc3Rp+a02isos4SzMA3e1M=; b=gCj3xHLZ6zJL88dQzmtrcPYvsBMMYk7LaE1N6Xa01DahIY+5QhWLScpRq4ACnEskiP bbhYXiz/YpZyR+FZvUcfkiPRd72nCbS0Plp0e0OUp8Jyi4rQFdvGBiDM1uEyvF7MPcuh YObwMPI36XzWGcKHGaFPErDNlMQTkdFHq88dHm2wIVqAnCyeRjPGk3DFA2jDWTCoEzD2 pRz4mPXda+kN651oWQVnRFONh0A+Mfzd8UHqSlNK++jC9YPvIWgdHKSE7sRp8koH0FKj fzEH+Ydv1m2JfrtFkA0lxt0AsiUqgwb8mxvOIoIT+YNrPw1tuwEk6+mc1+VqLc6RqDYE +oaA== X-Gm-Message-State: AJIora8Vbcbhf6M8t5d2AXleuseX/0eaSS14j3hTAJhZ5A2zYVQtCCtn if4s4A3BAGXQptjDo+NJGcd1oQf8qQW0Rg== X-Google-Smtp-Source: AGRyM1s+BVfDZbrIVHmfR5+mk0qpJe42B5WfH8hTAuSNbkk+iqWl0wMXz4YBvsfJ9Bs5WeW8WLx1WQ== X-Received: by 2002:a05:620a:280e:b0:6a6:ee16:8c78 with SMTP id f14-20020a05620a280e00b006a6ee168c78mr5563199qkp.122.1657370584814; Sat, 09 Jul 2022 05:43:04 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id p62-20020a37bf41000000b006af3bc9c6bbsm1191034qkf.52.2022.07.09.05.43.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Jul 2022 05:43:04 -0700 (PDT) Date: Sat, 9 Jul 2022 08:43:02 -0400 From: Tom Rini To: Daniel Schwierzeck Cc: Weijie Gao , u-boot@lists.denx.de Subject: Re: [PULL] u-boot-mips for u-boot/next (v2022.10) Message-ID: <20220709124302.GH1146598@bill-the-cat> References: <20220708152148.21816-1-daniel.schwierzeck@gmail.com> <20220708165046.GN1146598@bill-the-cat> <236ddd8a-3c7f-96fa-7949-b23e114dc8a6@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DJtMGS8rqVPQ+tvk" Content-Disposition: inline In-Reply-To: <236ddd8a-3c7f-96fa-7949-b23e114dc8a6@gmail.com> 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 --DJtMGS8rqVPQ+tvk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 09, 2022 at 02:01:01PM +0200, Daniel Schwierzeck wrote: > Hi Tom, >=20 > On 08.07.22 18:50, Tom Rini wrote: > > On Fri, Jul 08, 2022 at 05:21:48PM +0200, Daniel SchwierzeckHi Tom, wro= te: > > >=20 > > > Gitlab CI: > > > https://source.denx.de/u-boot/custodians/u-boot-mips/-/pipelines/1= 2656 > > >=20 > > > Azure: > > > https://dev.azure.com/danielschwierzeck/u-boot/_build/results?buil= dId=3D30&view=3Dresults > > >=20 > > >=20 > > > The following changes since commit 2d2c61ff0460740d9ec5a44dbef9255a8c= 690696: > > >=20 > > > Merge tag 'efi-2022-07-rc7' of https://source.denx.de/u-boot/custo= dians/u-boot-efi (2022-07-06 09:17:08 -0400) > > >=20 > > > are available in the Git repository at: > > >=20 > > > https://source.denx.de/u-boot/custodians/u-boot-mips.git/ tags/mip= s-pull-2022-07-08 > > >=20 > > > for you to fetch changes up to e5fc4022af3cfd59e3459276305671a595ac5f= f0: > > >=20 > > > MAINTAINERS: update maintainer for MediaTek MIPS platform (2022-07= -08 15:13:29 +0200) > > >=20 > > > ---------------------------------------------------------------- > > > - MIPS: add drivers and board support for Mediatek MT7621 SoC > >=20 > > OK, we need a few changes here, sorry. There's now migrated CONFIG > > symbols, most of which are easy to do and I was about to, and then I saw > > this: > > #ifdef CONFIG_TPL_BUILD > > #define CONFIG_SPL_START_S_PATH "arch/mips/mach-mtmips/mt7621/t= pl" > > /* .bss will not be used by TPL */ > > #define CONFIG_SPL_BSS_START_ADDR 0x80000000 > > #define CONFIG_SPL_BSS_MAX_SIZE 0 > > #else > > #define CONFIG_SPL_START_S_PATH "arch/mips/mach-mtmips/mt7621/s= pl" > > #define CONFIG_SPL_BSS_START_ADDR 0x80140000 > > #define CONFIG_SPL_BSS_MAX_SIZE 0x80000 > > #define CONFIG_SPL_MAX_SIZE 0x30000 > > #endif > >=20 > > No, you cannot abuse CONFIG_TPL_BUILD to set CONFIG_SPL_foo. Those need > > to become CONFIG_TPL_foo, and set appropriately. And then for > > [ST]PL_START_S_PATH, you need to set head-$(CONFIG_ARCH_xxx) to the > > right file, for SPL/TPL instead. > >=20 >=20 > do you already have patches for converting stuff like > CONFIG_SPL_BSS_START_ADDR prepared? Than I would wait with the pull reque= st > until those patches are applied to mainline and I would adapt the MT7621 > patches. >=20 > I could also assist with converting CONFIG_SPL_START_S_PATH because that's > only used on MIPS and one ARM board. See what's in -next already? SPL_BSS_START_ADDR is migrated, but there were no TPL_BSS_START_ADDR cases. For START_S_PATH, the platform just needs to be reworked as I suggested above I believe, to achieve the desired result. --=20 Tom --DJtMGS8rqVPQ+tvk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmLJd9YACgkQFHw5/5Y0 tyzd7wv/bQSjRES5p0HjR+KzlmWgyV6NVbmyZkKVr+nFywT6+WTZnlzwDeJXfiVw W4TLa7IhrzYwXBoN+T1Lvli/VlA2CS28uO+SDo+2ax50wkkR4Nduu+KKYk4x78g8 pIM7xTt8t4ULpr1Z2JqS4IQLb60N2iWgT1CW3A6LrQmCbAtEJUKpWWxQN8eJ9YV4 iqgWqTYFqZKmFLVEJvticj+WiOo5I7YZoDbuC6TseZyR9kS11wWUf2Cb1Tz5kUmE z+ruJI0xd3jtVQ5LV2FPJAP+G21DCE1U7QCej+JCmQt5zHBmD1jucfHdZtXOVYSZ JbiAJXNsLSFTxTnr3wym5Ndm1lwlG9ix9X5hBqy+r6m3Z65EVacqemYZoJmVK0jQ efkhCtWD5/B0Z2WR64yiozcikvEwzuiKRXmzt1KdKBhHz0a4OUdaugzrZrvtxV6P kLmVEoSoM13VpOJC056faOvMd1TquYCSqfecUOQwevPv8hvspc3eSUT+//OuGO7Z Yxmd1GhE =34LS -----END PGP SIGNATURE----- --DJtMGS8rqVPQ+tvk--