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 BF0B2C27C76 for ; Wed, 25 Jan 2023 09:27:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9F40885615; Wed, 25 Jan 2023 10:27:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (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=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="oAfri97e"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6066A8563A; Wed, 25 Jan 2023 10:27:39 +0100 (CET) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (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 B5651855A8 for ; Wed, 25 Jan 2023 10:27:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=offougajoris@gmail.com Received: by mail-wm1-x333.google.com with SMTP id iv8-20020a05600c548800b003db04a0a46bso2330350wmb.0 for ; Wed, 25 Jan 2023 01:27:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:date:message-id:subject:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=6/gyHfnGKyouRjYFCD1+Twyv9GxYz2EpENSxTOwDG0M=; b=oAfri97eNmKn9nlRF1N1ZfswqFSBoG7S3o9wMqIGkExVjoBik/sm9V3MjM1b2Q3vjS Fwvuook7fYh5RBMD2d+NcoL/6FzgKQDFLW34jJBJ7srMRRomjoR/JHHkmdOmcxZvb8sx 4hpXjpM7vjW68JrVXMCb1awazzgDeuHzshD1yc0d4WNZGk6OzF8B3+pwBDbfYEwakjxz bJwUOZDBEaI1H2DHZ4YD4XqhNhz0mU/zaPXrND3UcqTeIIFpETCM91H/1dMSDrc9DC5U s0eo0RitQ6oXx9xI3vRMJHs1rY7ADPe98K41pbxLv7wT4laJl/lUM358bHvRbaZY9rQx AgbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6/gyHfnGKyouRjYFCD1+Twyv9GxYz2EpENSxTOwDG0M=; b=yb09z9VnwgDyPb3xFSrsIPfLDK7aoDhorMxjqRiKIL5uGjzwJGad+ZGqNK0wyaujKG 2eqRELerdADv8eMyK/mqOqaSKN0jR3O93GXFHN9BCfMN9zVUns4Y1CzXNdJU1mlhY5fy MmfQBDvuoybPwrcRQxZR0PcPNCJUZw3rGvUKwLExBFQA6tXlkWCD/wTnQJoDADHeUzxM bLm9FPyXSaJdzMiJ+6Q2El2duSNHF9BBfeHx4N1fyz1jQDrkdegz3Mz/NNIKu5qM8NAB 57btn6ugVAh21cDrklAAZBEUE5QLn6hndr2HAo33d1TZQONSN4LbX6yT6CoW/9YBnjK/ 7ojw== X-Gm-Message-State: AO0yUKVQGk/XGOQ2/npQblAbsDra0RIaEV3e0FfVlb9lSKUzoOSakzH1 +lGYj6soDwDItvpn8wD2jJA2Eqm60wpGWGX4Ufc= X-Google-Smtp-Source: AK7set9iLhPU50rnv1Rv+9AhAkyz5q7wyG/HPUqGDG3N5MPgYgdR9G9W7O75PQ2dYu7u+xzPtxz5Cg== X-Received: by 2002:a05:600c:4fcb:b0:3dc:1687:9b9a with SMTP id o11-20020a05600c4fcb00b003dc16879b9amr4327493wmq.37.1674638854983; Wed, 25 Jan 2023 01:27:34 -0800 (PST) Received: from smtpclient.apple ([2a01:cb19:94c:e200:9e8:3bcb:fee2:f24f]) by smtp.gmail.com with ESMTPSA id l12-20020a05600c2ccc00b003cf71b1f66csm1420646wmc.0.2023.01.25.01.27.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Jan 2023 01:27:33 -0800 (PST) From: Joris OFFOUGA Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) Subject: Store U-Boot environnement in eMMC on i.MX8MPlus Message-Id: <0DCF83B5-6FAA-4A26-8059-B0742E6BF02A@gmail.com> Date: Wed, 25 Jan 2023 10:27:22 +0100 To: U-Boot-Denx X-Mailer: Apple Mail (2.3731.300.101.1.3) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.39 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 all, I try to store my U-Boot environment in eMMC on i.MX8MPlus, I then = remove the CONFIG_ENV_IS_NOWHERE option, and I then put the following = options: CONFIG_SYS_MMC_ENV_DEV=3D1 CONFIG_ENV_OFFSET=3D0x400000 CONFIG_ENV_SIZE=3D0x2000 CONFIG_SYS_MMC_ENV_PART=3D0 However during the boot sequence I get stuck here: U-Boot SPL 2023.01 (Jan 25 2023 - 08:23:12 +0100) DDRINFO: start DRAM init DDRINFO: DRAM rate 3000MTS DDRINFO:ddrphy calibration done DDRINFO: ddrmix config done NormalBoot Trying to boot from BOOTROM Boot Stage: USB boot Find img info 0x&48017200, size 872 Need continue download 1024 Download 1090688, Total size 1092224 NOTICE: BL31: v2.4(release):acddd624b NOTICE: BL31: Built: 08:21:46, Jan 24 2023 whereas if I have the option CONFIG_ENV_IS_NOWHERE=3Dy U-Boot SPL 2023.01 (Jan 25 2023 - 08:41:47 +0100) DDRINFO: start DRAM init DDRINFO: DRAM rate 3000MTS DDRINFO:ddrphy calibration done DDRINFO: ddrmix config done NormalBoot Trying to boot from BOOTROM Boot Stage: USB boot Find img info 0x&48016e00, size 872 Need continue download 1024 Download 1089160, Total size 1090696 NOTICE: BL31: v2.4(release):acddd624b NOTICE: BL31: Built: 08:21:46, Jan 24 2023 U-Boot 2023.01 (Jan 25 2023 - 08:41:47 +0100) CPU: i.MX8MP Lite[4] rev1.1 1600 MHz (running at 1200 MHz) CPU: Industrial temperature grade (-40C to 105C) at 52C Reset cause: POR Model: IMX8MPLUS DRAM: 1 GiB Core: 187 devices, 26 uclasses, devicetree: separate MMC:FSL_SDHC:0 Loading Environment from nowhere...OK In: serial Out: serial Err: serial BuildInfo: - ATF acddd62 do you have any idea about this? Best regards, Joris OFFOUGA=