Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4483409rwl; Mon, 3 Apr 2023 05:48:39 -0700 (PDT) X-Google-Smtp-Source: AKy350bbTjcADEoq4ECXR/7dFXKU2cvuvPcUkpaAhm8u0291P2r8obXmNykc3cMEZKrMvo66YtDW X-Received: by 2002:a17:906:9748:b0:947:3330:c97e with SMTP id o8-20020a170906974800b009473330c97emr17950200ejy.71.1680526119481; Mon, 03 Apr 2023 05:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680526119; cv=none; d=google.com; s=arc-20160816; b=n5AIKBYLwbKv1LzbCp41s/L+KK/C4wqdA6VsgpvRk1h7UIyvxI2Dy3UBNbzqhSo0Qi q8/WjLPbmIKSmTnJL/Cb1NRiF+fRfG5Zboq/EnF9s42WXPPyjE5T3/rdEj4G6LhZrBUM 7sJGt6Te/cY4idhuoZLHbBabMsZIp3EVwQLVogy9owpsueQSCnc5c7GSMzjGXeWxAMA+ 8fA60OZQUw8CqPUdztstGErSRrTs1kJC6s/veVW9eP6KEVEY4RwFei+ZfLaLFPIWl1cn 2j40j7tP+zBtETpbKZrrMVzlCeRyL3cMMxQxgCeBstAkAS6kXZ4GJQrOVI0tZgPMUW5w Scqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=FLPlu0sWNUCD/FCOc4F16aGgvco0RMjmGGMgtnt3I0E=; b=i2sUuyqbkdSgo1RCnKhagc9BKxo1q78O7OGIDSPRQWugfUget/LRPOFt7iv1U2MeWm RhQAPdHT0MZDK2qUrXZ3/Q5fbIUmjKw5Q0gJWUZcuminB2LLWIbgpX0yzriUOh2WNwZd jEE5tgakCi209T8cD8J3Q0/cDOyjxEd21UCZ/4DcOUK469kKU3Yb93MJRyY6qVSmThn0 DJbbYMIv8i0TlW65knyNQJ3rLCPZ6nQsoXEGoW3JgO9dOgPdJ3iMfTx+83jZ8ik/Ev2N VcKOHUM/ZTdkrS3dW0iDSurqj81W+U6WPNKITyYL3ON/HKK+eFIrq3PXCaylXbsfB10O xD9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=E+aRNVEu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l25-20020a056402125900b004fafb8d85e2si7265054edw.309.2023.04.03.05.48.13; Mon, 03 Apr 2023 05:48:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=E+aRNVEu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232299AbjDCMno (ORCPT + 99 others); Mon, 3 Apr 2023 08:43:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232297AbjDCMnm (ORCPT ); Mon, 3 Apr 2023 08:43:42 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFF0B9767; Mon, 3 Apr 2023 05:43:41 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 107476603105; Mon, 3 Apr 2023 13:43:40 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680525820; bh=pfKKC24shtvA/rXAR9B/Z1hLIkyt7OJi4x4sgnOzJ4w=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=E+aRNVEux5sMeLcJ+vqHmQ5aDu98LjC4Bo2QRef0rixMvao06HXBb+qFWc+tSis7K Liy8m21xm8aQetY1koAG4OJFoStg9e/TQCy4NSEN7UqfGpjxNcebUI2Di5pdEQSIWE 82falL+mlPGFsCKcrEPSEqiDARZ33Ks0IFi8YixFnxRaN9P7jLwBgPpcGAyM04KAcy Of85MiIOq4BkW/IqSim9YFPMf0vJTJB8/r+4nIvR7WzYs6GoTZMxYQ3XnhfKAvu/RB RBIZQt3gXzvDoQ3XAOZESH5at6jdwGmx0B6jflGyeTfaYKdJqZ+U9w2HsxzqPv3ncm DsrKSa9YYwyOg== Message-ID: <601a8435-8e2a-2c25-5fe3-40be62269469@collabora.com> Date: Mon, 3 Apr 2023 14:43:37 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [RFC] arm64: dts: use size of reserved partition for bl2 Content-Language: en-US To: Frank Wunderlich , linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230403105818.29624-1-linux@fw-web.de> From: AngeloGioacchino Del Regno In-Reply-To: <20230403105818.29624-1-linux@fw-web.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 03/04/23 12:58, Frank Wunderlich ha scritto: > From: Frank Wunderlich > > To store uncompressed bl2 more space is required than partition is > actually defined. > > Signed-off-by: Frank Wunderlich If this doesn't get changed anymore, I'm fine with it... but a question arises: did you send patches to add your BPI-r3 board(s) to upstream u-boot? > --- > I used the definition i got from mtk used in their SDK uboot. > > Openwrt uses also the first reserved partition to give bl2 more > space: > > https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3-nor.dts;h=f597b869abc80d1a73f44ebb85ad4da17376bb52;hb=HEAD#l22 > > so imho it should be same in mainline to not require complex bl2 > compression. Regards, Angelo