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=-17.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, 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 AC55EC63797 for ; Thu, 22 Jul 2021 17:41:01 +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 04A2C6127C for ; Thu, 22 Jul 2021 17:41:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 04A2C6127C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 45797829F9; Thu, 22 Jul 2021 19:40:59 +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="UT70zH1E"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8B4DC82BDF; Thu, 22 Jul 2021 19:40:57 +0200 (CEST) Received: from mail-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) (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 A64D0829F9 for ; Thu, 22 Jul 2021 19:40:54 +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-qv1-xf36.google.com with SMTP id d3so79855qvq.6 for ; Thu, 22 Jul 2021 10:40:54 -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=K64IE5UirS+DrFOJUAil3qNdr78ELyIXaTj6H/qTHec=; b=UT70zH1EAM0STdL/Zd5j+3YfZZPr6Y8jrSAXXVICtYktkIndOaBw4QWFC+gWmfyrpM kSR2S6DKLGdLeaHP0gW3Y+xAulGCU1rvk9vZrv08mV1cTmIwC06LxMnUhvKucgQohPGm wID1RCURBoTqj0jSKhlAiyRLeCxBrmRiLg5co= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=K64IE5UirS+DrFOJUAil3qNdr78ELyIXaTj6H/qTHec=; b=uQC1nUkfOx1b9IQMyeqd08AFxZwnQyz2HCMIvEImoE7wNE6eiW0FLez4ypAHJwdhh+ W3i4VTVdoLyVXJVO0qWwDCYi8x0C2kzFAM/dw4O8dNsMObF0l0wydU5vAytyDtV5YJPq xQcchY5bQPJlaoEBaj65eUTopX4y6kLg5lga1Q57ZEl9+/ad6Wn1CrbQFk52WOuot4KO gx3C/8PSe8l72D41Ee1tZPRnVUdsUB9MbUZXQf11XGdqOikxCCrZbwkQC7lw0+Utn06p I41nCTWVKy9fMdRevq2KauqGUq39VPMqLMlgJfjMlpyaH1D5d/l4GAYDUgkmpEtoR4pt hXjw== X-Gm-Message-State: AOAM533yK+Th0K3SUXm9Z9FFqNY2Iu4ceZT7U00IMINZRJlWmSQnU5a4 DRhJo5wWXPp+VqqpIMrbhvU9dw== X-Google-Smtp-Source: ABdhPJypTVeLkuwyKljfJMVVJyqUZof0+yP7jamLi7i6MnEJokdENVXl+iPD3h0bRE7kXgmQkxXOEg== X-Received: by 2002:a0c:f084:: with SMTP id g4mr912021qvk.52.1626975650552; Thu, 22 Jul 2021 10:40:50 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-5560-078f-fb66-41c1.res6.spectrum.com. [2603:6081:7b01:cbda:5560:78f:fb66:41c1]) by smtp.gmail.com with ESMTPSA id v4sm8292413qkf.52.2021.07.22.10.40.48 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Jul 2021 10:40:49 -0700 (PDT) Date: Thu, 22 Jul 2021 13:40:47 -0400 From: Tom Rini To: Oleksandr Suvorov Cc: u-boot@lists.denx.de, Stefan Agner , Adam Ford , Aswath Govindraju , Igor Opaniuk , Lukasz Majewski , Matthias Brugger , Simon Glass Subject: Re: [PATCH 1/8] board: colibri_vf: synchronize/improve memory options Message-ID: <20210722174047.GD9379@bill-the-cat> References: <20210722154943.127775-1-oleksandr.suvorov@toradex.com> <20210722154943.127775-2-oleksandr.suvorov@toradex.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="G/WKQfTgLd6RqXFs" Content-Disposition: inline In-Reply-To: <20210722154943.127775-2-oleksandr.suvorov@toradex.com> 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 --G/WKQfTgLd6RqXFs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 22, 2021 at 06:49:36PM +0300, Oleksandr Suvorov wrote: > From: Stefan Agner >=20 > Synchronize initramfs related configuration options and improve > memory layout. The memory layout with an offset of 16MiB allows > to boot bigger kernels. With AUTO_ZRELADDR, which is pretty much > the standard nowadays, the kernel relacates itself to PC masked > with 0xf8000000 plus a text offset of 0x8000 (hence 0x80008000 for > Vybrid). With a 16MiB offset from the start of memory and a 16MiB > distance to the device-tree, we allow kernel up to ~16MiB. >=20 > Signed-off-by: Stefan Agner > Signed-off-by: Oleksandr Suvorov > --- >=20 > include/configs/colibri_vf.h | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h > index 5bd440f1db..7fb54a442e 100644 > --- a/include/configs/colibri_vf.h > +++ b/include/configs/colibri_vf.h > @@ -47,6 +47,8 @@ > #define MEM_LAYOUT_ENV_SETTINGS \ > "bootm_size=3D0x10000000\0" \ > "fdt_addr_r=3D0x82000000\0" \ > + "fdt_high=3D0xfffffff0\0" \ > + "initrd_high=3D0xfffffff0\0" \ > "kernel_addr_r=3D0x81000000\0" \ > "pxefile_addr_r=3D0x87100000\0" \ > "ramdisk_addr_r=3D0x82100000\0" \ NAK. You cannot disable device tree relocation by default. You're already setting bootm_size, which is good. I don't like disabling initrd, but that's at least an easier to debug problem, and also much more performance sensitive. --=20 Tom --G/WKQfTgLd6RqXFs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmD5rZwACgkQFHw5/5Y0 tyxnnAwAji03KRYJo7B/jGrmPTdnRl5Dwuu59MRalIQNNHXbVPKkJc+7EeMEvFx3 suEbSUl0sRfzT4s9NbFr9zbIPUI8JFLywh8KyQQxZUvnvkjCSgsgr5OHuWGuAmEA wPpqh/Uzms1ekYh8UiIe+MvWK4DvNgLTb1A9aM0cAgTxa3gMLWbqI6sQdv9gU/GZ ViBN+QC/uvnTz6HNI2es/AW14ubs6N7OhjPbhq9CwvqTC7oqgfPphkoy4WyevpF+ S4fKWoAMbn5PxahFGC5WUFR3jJM1ddIJpLZuURvefwiCTaiGUDMyjzeXp6/zsy2Y UfQJTZJLyaMPcYBUO9Yb+hlWtCbT/AZYU99VdLKW5HWXaQ6rcGOKisFnbRFk8awQ zBxl01W3q52CaIfAlFQcpoqCJwuerqg2drronZ/5cawUWABk4lrAD+UX7vVTkn+r ljS87nh1yIaKT00IImn96Vl4DLPdrn2frp0bdFJS36Dll1oC3wgsbWRc6ACUOp1t K2/NRcmt =RtX7 -----END PGP SIGNATURE----- --G/WKQfTgLd6RqXFs--