Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4597302rwl; Mon, 3 Apr 2023 07:11:50 -0700 (PDT) X-Google-Smtp-Source: AKy350a+2GuyMug5GWfXvyeprgGdc//LJoFiWQoO1gkHbveYmRKqrfiiVe+/V149tXIKRIFaP4vs X-Received: by 2002:a05:6402:2749:b0:4af:740d:fde with SMTP id z9-20020a056402274900b004af740d0fdemr15937401edd.20.1680531110508; Mon, 03 Apr 2023 07:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680531110; cv=none; d=google.com; s=arc-20160816; b=Ibr1sgC8SGYE9xIsM9dnTHhvOQb1Hb3VmvfeDdv4ubnTI15tYef2g7hibtbrmqfD9k ulfdRtzoKdLiB1d4sjUi0QMo5IJJesQFkDlCsy2G8YqWBp2lB0YVDRpXmauOYLayy1eq nLOimmSKd3cW1n94EDUadxpa620JweJ0IB/j30EBDptaK6DuJ8nc1YdUSCC8FUP0uaK8 Alg3JGHp6tsTpOCbF6oC0W8zDnE+wMchhkiCr1FsixyjT5qK4yP+ZaRJDi9CooJap5hE 8foHhZfvLLZMp8hZoP3QXvYfeHkUbwCqBBlH6VZV84R+OraOSf0Yx9dLgAHkx+AlS3O1 cEzQ== 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=ruQIKbbV7ltrUl4ha1lt4h8TKsDqT+ZlFG8jdS+QLLU=; b=IWaGtasO8WlJ1IJgvA8H0TMS5pdx4aJELhSfyFiWmYBHGyky6lkgxVh2JyNkHPfAqx SRPQ2itWIXzOfbj1X3f3/A28SENmBjpddfo/rmuLunvXpUA8YM8FR6pKidUafIwB/zHn TSvHp31Qnnhpw8TV2h0cwVhXNLPmCNQOKHJZwimIYL3YXE8BAbbNWwEhBIGbzPiApCrU WXygGEvvSYRX3nKs2LnfEZIIttHDtXNNng/0Ne32cZoYKQunnwv7JsYVvxpUtBJL7BkN 5Fz/pkYPnfVUUW+d1uUDCRgP85gwTL/pZ06KSXV0Gbsp9Ml4s8hV1vnDo21OM2tXi7h3 ODpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="MvR6/K8j"; 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 lf5-20020a170906ae4500b00933397c9d67si6877823ejb.815.2023.04.03.07.11.19; Mon, 03 Apr 2023 07:11:50 -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="MvR6/K8j"; 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 S232647AbjDCOEs (ORCPT + 99 others); Mon, 3 Apr 2023 10:04:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231895AbjDCOEr (ORCPT ); Mon, 3 Apr 2023 10:04:47 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17D8210F2; Mon, 3 Apr 2023 07:04:46 -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) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 60AF66601F5E; Mon, 3 Apr 2023 15:04:44 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680530684; bh=GKaAx3+5Ax97RQ4VPVq2IxeRpyITun/3Pzk7Dq/QVuI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=MvR6/K8jhi+hHTg5bGz2zLgrghp4HW92etYaUQO0wiSu+gYJE9Q/B/6TRkVmjBaq9 tre03Ee/Z10cziGDjOSbkeCPQjQmgG0sPcCVtKy/whRB1/RZYT3DSy3+XEildhXBQe cJ5eqt9GibrNb82boxgMwwtuxoceUs8xzRzd7OaAIzV5su8D+3kRg9lDvAbPw+Stz4 WR9b5G4wn+qwGYlmvavgxlSS+5E78nSzl25MloSqjZaq1lpmp3pKp74DItfTp/dLw2 wOAjKCpZxYof9sHblByTDDdfm6mpwIc4+IKiPc470IVlPlsSrcK9MxEuT92+BF81Wg dwNJe/jbZuhAg== Message-ID: <0f43fa98-4fe6-bc9c-ed8d-be7cec0dda42@collabora.com> Date: Mon, 3 Apr 2023 16:04:42 +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: Aw: Re: [RFC] arm64: dts: use size of reserved partition for bl2 Content-Language: en-US To: Frank Wunderlich Cc: Frank Wunderlich , linux-mediatek@lists.infradead.org, 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> <601a8435-8e2a-2c25-5fe3-40be62269469@collabora.com> From: AngeloGioacchino Del Regno In-Reply-To: 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 15:56, Frank Wunderlich ha scritto: >> Gesendet: Montag, 03. April 2023 um 14:43 Uhr >> Von: "AngeloGioacchino Del Regno" >> 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? > > currently i use the rfb dts for r3 in uboot: arch/arm/dts/mt7986a-sd-rfb.dts > > this file in upstream uboot has no partitions defined > > https://source.denx.de/u-boot/u-boot/-/blob/master/arch/arm/dts/mt7986a-sd-rfb.dts#L144 > > but i added them there too and i wrote content by offsets to main device (not to partitions). > > https://github.com/frank-w/u-boot/blob/2023-04-bpi/arch/arm/dts/mt7986a-sd-rfb.dts#L154 > > so yes basicly it needs to be send there too, maybe as additional dts. > I strongly encourage you to send this change to u-boot as well as changing the kernel devicetree... and when you do, you can add a reference to the list and/or commit @ u-boot on the commit that you'll send here for the kernel... but there's another question... ...what happens if you run the kernel on a device with an older partition layout? Does anything break? I don't think that anything does, since this is read-only anyway, but just to be sure... :-) Besides, you have to fix the commit description, but you knew that already. P.S.: When you post a RFC, giving it the right commit title helps sometimes! :-P Regards, Angelo