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 C25D9C433EF for ; Sat, 9 Jul 2022 12:01:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6F029845CB; Sat, 9 Jul 2022 14:01:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="MZtnOTbL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A4C7B845D9; Sat, 9 Jul 2022 14:01:12 +0200 (CEST) Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) (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 28324805FE for ; Sat, 9 Jul 2022 14:01:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=daniel.schwierzeck@gmail.com Received: by mail-ej1-x62a.google.com with SMTP id u12so1687117eja.8 for ; Sat, 09 Jul 2022 05:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=MAndhY1G3Lrmmw07fPiI5KVDHWBrF1iH+HVw12nT9s4=; b=MZtnOTbLs707UaNBaoraLr7Qf6f3Rd2kqdR0gjTA5JP6HYySfCXoWQi2v1kB3P1whW 6yvWCzhlQppJJnKXcedWEkQGi8XKCSegbY3CSHCVPbtvmBWZDG3PbJbW8awqBfRVU83z h01uMkIBquaBKK4QpHP213t4rQtU2nc0So0oyuH4sx5W0lEs5YpFlEckMNu9XfAju/0q i09TvWQs07to4kHMR8J3AgWvxEy9ZmaWTrYjArlA9CYv5yz8HC157xLGNPXcnYU2USm7 SPXC7IS1DvVH+jA9rtZquAp1h4IyZYIVBK657bQUoCwfFUlRtSQlIJd6/7fg4+pSpLVC AV8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=MAndhY1G3Lrmmw07fPiI5KVDHWBrF1iH+HVw12nT9s4=; b=dMdA/g4CoSdRUIT8rgxBK2wUcud3KWEymqEddfnVFzg4zLLP+rZykMsUgBW3woR3tG cN6JCFLz1b5y+J3VJs4Wy3pXuVOfLmAXjInJHeXSZ1uFzi5TRq9AFCo754eNHEg1yrBA bYBs4LheqtHU0jIrGmswflLh//Tn//Y851kUo80NxwMGiNeWpMJfBNQ+MIexvCBqGOpx RrhOuQKZftpGcp+hxK2IpsNKBWBjl/7kERCo2hu7JSEK++B0Uc9kI3i24EkpXbs9f60b oZXJoz580DjBzJnpaXM21D9375Lm7TUPRJwNRp5N4Js8w71AaCsSOdf6el/1TeZOi69A W7UA== X-Gm-Message-State: AJIora9OT6XWtJ7xv2E+J9qmPcOz13bunb9olqodvqNFwPyddJhklkM/ tcXotTJD3T68aCrqK9JEV1w= X-Google-Smtp-Source: AGRyM1upkX8vHYiNM2LBepPPoIOSZkTfM7mYu9euIWTqFftVrE4Inf0BFvD+EjmJnXsCqbRyuENhGw== X-Received: by 2002:a17:907:7ba8:b0:72b:1491:c73c with SMTP id ne40-20020a1709077ba800b0072b1491c73cmr8313718ejc.415.1657368069618; Sat, 09 Jul 2022 05:01:09 -0700 (PDT) Received: from [192.168.10.30] (i5E8605B8.versanet.de. [94.134.5.184]) by smtp.gmail.com with ESMTPSA id e26-20020aa7d7da000000b00431962fe5d4sm854793eds.77.2022.07.09.05.01.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 09 Jul 2022 05:01:04 -0700 (PDT) Message-ID: <236ddd8a-3c7f-96fa-7949-b23e114dc8a6@gmail.com> Date: Sat, 9 Jul 2022 14:01:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PULL] u-boot-mips for u-boot/next (v2022.10) Content-Language: en-US To: Tom Rini , Weijie Gao Cc: u-boot@lists.denx.de References: <20220708152148.21816-1-daniel.schwierzeck@gmail.com> <20220708165046.GN1146598@bill-the-cat> From: Daniel Schwierzeck In-Reply-To: <20220708165046.GN1146598@bill-the-cat> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 Hi Tom, On 08.07.22 18:50, Tom Rini wrote: > On Fri, Jul 08, 2022 at 05:21:48PM +0200, Daniel SchwierzeckHi Tom, wrote: >> >> Gitlab CI: >> https://source.denx.de/u-boot/custodians/u-boot-mips/-/pipelines/12656 >> >> Azure: >> https://dev.azure.com/danielschwierzeck/u-boot/_build/results?buildId=30&view=results >> >> >> The following changes since commit 2d2c61ff0460740d9ec5a44dbef9255a8c690696: >> >> Merge tag 'efi-2022-07-rc7' of https://source.denx.de/u-boot/custodians/u-boot-efi (2022-07-06 09:17:08 -0400) >> >> are available in the Git repository at: >> >> https://source.denx.de/u-boot/custodians/u-boot-mips.git/ tags/mips-pull-2022-07-08 >> >> for you to fetch changes up to e5fc4022af3cfd59e3459276305671a595ac5ff0: >> >> MAINTAINERS: update maintainer for MediaTek MIPS platform (2022-07-08 15:13:29 +0200) >> >> ---------------------------------------------------------------- >> - MIPS: add drivers and board support for Mediatek MT7621 SoC > > 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/tpl" > /* .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/spl" > #define CONFIG_SPL_BSS_START_ADDR 0x80140000 > #define CONFIG_SPL_BSS_MAX_SIZE 0x80000 > #define CONFIG_SPL_MAX_SIZE 0x30000 > #endif > > 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. > do you already have patches for converting stuff like CONFIG_SPL_BSS_START_ADDR prepared? Than I would wait with the pull request until those patches are applied to mainline and I would adapt the MT7621 patches. I could also assist with converting CONFIG_SPL_START_S_PATH because that's only used on MIPS and one ARM board. -- - Daniel