From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mx.groups.io with SMTP id smtpd.web12.20219.1611808895992269757 for ; Wed, 27 Jan 2021 20:41:36 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=I6oqDH+t; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: b.hutchman@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id m6so3210837pfk.1 for ; Wed, 27 Jan 2021 20:41:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UFKOSv2dwT8+f/zz4SNSmifTarpXMHROSmi8WuJwP48=; b=I6oqDH+tw/FpggrrXMmS3c+rwKiFMrZvJwA+vNufRl0IA2k5r+PnekBEFlRxqg28IT IAyv9OY742a8t9QGgnFopXWiBz/OXSd75utHZa21Y0RInTSrFuCR2J0FHIJgdyIxXzBr p8sOI7Vj3WQpIb/S0vQqLbJQncQAwbnnEW78ZjN6Gy6QbSPau2QFOafsu+Qtm98R62ZJ Ytzb+LFKqZWmtIPsS3mJ+P2cgNJvQ0AnB4/WlZCGKY1ugq2w/T/yp4cyzHaNyvPMry3n Gu+XSyZm+JqLt9T8FZYzYDPb0PblT+37GpVAeXE4+kN/q9WTeWeT5S6BgPhctk/bms81 Zjlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UFKOSv2dwT8+f/zz4SNSmifTarpXMHROSmi8WuJwP48=; b=qZlp2FEL5uUqkN+YCcjvh/xWvUmPsh2ycejFu1o8mNk+piBFb+TWM4UasgHEAD6QxL 0dWVi7eJEnbSAOS4n5bFQZowfuA662XZSCF2y2h8R/gLAqxsq9TVi4OF+oDCgbzaT9XW icBMhhu0FUPugPvOMhHAAXLMS/cox7P/TN38Bd9xP8oEw5M9yDbbPwGAqc1NgDdZBUMK o1TqdmfGqxphpxVweuXfvinuu/khKid7auGhNpJ0lmsLgZNusOMI2xu+vpjS9x2EizHJ u5aomOIbl6NnSU9SMRXXunwpSFv90e/GiFKqzY2jAefdMWkFLIQIKt9F3DpZYG6KbTG5 WPEg== X-Gm-Message-State: AOAM533rdiyel+QkmpfHplVXXqvSAFUfELeCBXwbwEyMhOVJMrrCIvC2 FSKtyQIoyuRDUHTX+wNI6Yebme7eOSSnGVv0khE= X-Google-Smtp-Source: ABdhPJwWhyYpKp+qkBLDA9/1tuUGQ7xD6F6VYMKWAv3UZIOTwxLjE1EKdt1oHBgpEVv21cMvXwqKPVhHoLQeS3RVQAU= X-Received: by 2002:a63:700f:: with SMTP id l15mr14428921pgc.214.1611808895348; Wed, 27 Jan 2021 20:41:35 -0800 (PST) MIME-Version: 1.0 References: <165E371A7C0B0DCE.12137@lists.yoctoproject.org> In-Reply-To: <165E371A7C0B0DCE.12137@lists.yoctoproject.org> From: "Brian Hutchinson" Date: Wed, 27 Jan 2021 23:41:24 -0500 Message-ID: Subject: Re: [meta-freescale] No u-boot-fslc-fw-utils recipe for Dunfell? To: "b.hutchman" Cc: Otavio Salvador , meta-freescale@lists.yoctoproject.org Content-Type: multipart/alternative; boundary="000000000000a73d2b05b9ee80ca" --000000000000a73d2b05b9ee80ca Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 27, 2021 at 5:25 PM Brian Hutchinson via lists.yoctoproject.org wrote: > > On Wed, Jan 27, 2021 at 3:13 PM Otavio Salvador < > otavio.salvador@ossystems.com.br> wrote: > >> Em qua., 27 de jan. de 2021 =C3=A0s 17:11, Brian Hutchinson >> escreveu: >> > On Wed, Jan 27, 2021 at 2:57 PM Brian Hutchinson >> wrote: >> > So shouldn't there be a libubootenv.bb in >> meta-freescale/recipes-bsp/u-boot? Looks like I'm still missing somethi= ng >> ;) >> >> No. The tools are generic and now we package the default environment >> for use with them. >> >> >> Thanks! Added libubootenv to my > core-image-base image and now get: > > root@imx8mmevk:~# fw_printenv > Configuration file wrong or corrupted > > > ... so getting closer. I'm booting off sdcard so need to find the config > for that and figure out what's wrong with it. Then change it for eMMC > later as that's my ultimate goal. > > Regards, > > Brian > > Ok, stumped now. I created a /etc/fw_env.config file with: /dev/mmcblk1 0x400000 0x1000 Also tried: /dev/mmcblk1 0x0 0x1000 ... mmcblk1 is the sdcard I'm booting. Now I'm getting: root@imx8mmevk:/etc# fw_printenv Cannot read environment, using default Cannot read default environment from file This is first time I'm using sdcards or eMMC to store u-boot env, always did it in NOR before so I'm kinda lost at the moment. Anyone know where the u-boot env is on sdcard (or eMMC)? Regards, Brian --000000000000a73d2b05b9ee80ca Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Jan 27, 2021 at 5:25 PM Brian Hutchinson via lists.yoctoproject.org <b.hutchman=3Dgmail.com@lists.yoctoprojec= t.org> wrote:

On Wed, Jan 27, 2021 at 3:13 PM Otavio Salvador <otavio.salva= dor@ossystems.com.br> wrote:
Em qua., 27 de jan. de 2021 =C3=A0s 17:11, Brian Hutchi= nson
<b.hutchman@gm= ail.com> escreveu:
> On Wed, Jan 27, 2021 at 2:57 PM Brian Hutchinson <b.hutchman@gmail.com> wrote= :
> So shouldn't there be a libubootenv.bb in meta-freescale/recipes-b= sp/u-boot?=C2=A0 Looks like I'm still missing something ;)

No. The tools are generic and now we package the default environment
for use with them.


Thanks!=C2=A0 Added=C2=A0 libubootenv to my core-= image-base image and now get:

root@imx8mmevk:~# fw_printenv
Configuration file wrong or corrupted


.= .. so getting closer.=C2=A0 I'm booting off sdcard so need to find the = config for that and figure out what's wrong with it.=C2=A0 Then change = it for eMMC later as that's my ultimate goal.

Regards,

Brian

=C2=A0
Ok, stumped now.=C2=A0 I created a /= etc/fw_env.config file with:
/dev/m= mcblk1 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A00x= 400000 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A00x1000
=

Also tried:
/dev/mmcblk1 0x0 0x1000

... mmcblk1 is the sdcard I'm booting.
<= span style=3D"font-family:monospace">
Now I'm getting:

root@imx8mmevk:/etc# fw_printenv =C2= =A0
Cannot read environment, using default
Cannot read default environment from file
<= span style=3D"font-family:monospace">=
This is first time I'm using sdcards or e= MMC to store u-boot env, always did it in NOR before so I'm kinda lost = at the moment.

A= nyone know where the u-boot env is on sdcard (or eMMC)?
=

Regards,

<= /span>
Brian


--000000000000a73d2b05b9ee80ca--