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 225D2C433FE for ; Tue, 8 Nov 2022 16:39:33 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2305B85004; Tue, 8 Nov 2022 17:38:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1667925538; bh=xq7JgaM5Dy/+c76Tz0N5ECIq7+rsje9+tsXCDLv34nw=; h=From:To:Subject:In-reply-to:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From; b=obPTlRvyIAXAVF9zbWPQkccbVErLjc4hK4mWjmIVDAjJescrvrst+h5bZ8lKbHfUq U2+wFzy1OY8Ijz2wfUuzFMF2raULKug2XMXPdnrf0n8xp5i3v3+/ywpf3nbqYZykOg GUySchk03B//6R1pG3m7+vRwwdD0EEHVDQaW/nm/OJykueyLitZ3xe70i8Dv7aUkHY +m9uDpkjoYpYN/+tLIlru+WpmUgLw42/akVE4AelFa1IZoe+RzPlPdpORqEyytnKbe Eury1o+349u1ARCELWEUrYYDmchFpuiWbQFEVvFFvxPIflRZqLZjCoiWwbW/u3TDRC yf+ocptw3cbYw== Received: by phobos.denx.de (Postfix, from userid 109) id 257088502C; Tue, 8 Nov 2022 17:38:38 +0100 (CET) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 652EC8502C for ; Tue, 8 Nov 2022 17:37:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sbabic@denx.de Received: from frontend03.mail.m-online.net (unknown [192.168.6.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4N6DKw35pXz1s94V; Tue, 8 Nov 2022 17:37:56 +0100 (CET) Received: from localhost (dynscan3.mnet-online.de [192.168.6.84]) by mail.m-online.net (Postfix) with ESMTP id 4N6DKw2pCBz1qqlR; Tue, 8 Nov 2022 17:37:56 +0100 (CET) X-Amavis-Alert: BAD HEADER SECTION, Missing required header field: "Date" Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan3.mail.m-online.net [192.168.6.84]) (amavisd-new, port 10024) with ESMTP id v3-SpHGrh_0Z; Tue, 8 Nov 2022 17:37:55 +0100 (CET) Received: from papero (host-88-217-136-221.customer.m-online.net [88.217.136.221]) by mail.mnet-online.de (Postfix) with ESMTP; Tue, 8 Nov 2022 17:37:55 +0100 (CET) From: sbabic@denx.de X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 1693404 X-Patchwork-Delegate: sbabic@denx.de To: Adam Ford ,u-boot@lists.denx.de Subject: [PATCH 3/3] imx: imx8mm-beacon: Move Environment to eMMC partition 2 In-reply-to: <20221022142825.55155-3-aford173@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Message-Id: <20221108163838.257088502C@phobos.denx.de> Date: Tue, 8 Nov 2022 17:37:59 +0100 (CET) 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 > The downstream U-Boot distributed by Beacon stores the environment > in the eMMC and the end of partition 2. This allow the environment > to stay on the SOM regardless of the boot source. > Signed-off-by: Adam Ford > Reviewed-by: Fabio Estevam > diff --git a/configs/imx8mm_beacon_defconfig b/configs/imx8mm_beacon_defcon= fig > index 90a623515e..4dd87914b8 100644 > --- a/configs/imx8mm_beacon_defconfig > +++ b/configs/imx8mm_beacon_defconfig > @@ -5,8 +5,8 @@ CONFIG_SYS_MALLOC_LEN=3D0x2000000 > CONFIG_SPL_GPIO=3Dy > CONFIG_SPL_LIBCOMMON_SUPPORT=3Dy > CONFIG_SPL_LIBGENERIC_SUPPORT=3Dy > -CONFIG_ENV_SIZE=3D0x1000 > -CONFIG_ENV_OFFSET=3D0x400000 > +CONFIG_ENV_SIZE=3D0x2000 > +CONFIG_ENV_OFFSET=3D0xFFFFDE00 > CONFIG_DM_GPIO=3Dy > CONFIG_DEFAULT_DEVICE_TREE=3D"imx8mm-beacon-kit" > CONFIG_SPL_TEXT_BASE=3D0x7E1000 > @@ -76,7 +76,8 @@ CONFIG_SPL_OF_CONTROL=3Dy > CONFIG_ENV_OVERWRITE=3Dy > CONFIG_ENV_IS_IN_MMC=3Dy > CONFIG_SYS_RELOC_GD_ENV_ADDR=3Dy > -CONFIG_SYS_MMC_ENV_DEV=3D1 > +CONFIG_SYS_MMC_ENV_DEV=3D2 > +CONFIG_SYS_MMC_ENV_PART=3D2 > CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=3Dy > CONFIG_USE_ETHPRIME=3Dy > CONFIG_ETHPRIME=3D"FEC" Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D