All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Hutchinson <b.hutchman@gmail.com>
To: Peter Bergin <peter@berginkonsult.se>
Cc: meta-freescale@lists.yoctoproject.org
Subject: Re: [meta-freescale] fw_printenv works but fw_setenv does not after switching to linux-fslc-imx 5.10.69 from linux-fslc-imx 5.4.114
Date: Mon, 8 Nov 2021 17:30:34 -0500	[thread overview]
Message-ID: <CAFZh4h9CYu9qBOHKdSpXAZH2ew8+Z2h=BTP_KGtgfK4TBJOw+w@mail.gmail.com> (raw)
In-Reply-To: <73b9f65e-7938-7d99-d6c2-e93a74ecade3@berginkonsult.se>

[-- Attachment #1: Type: text/plain, Size: 1856 bytes --]

Hi Peter,

On Mon, Nov 8, 2021 at 3:54 PM Peter Bergin <peter@berginkonsult.se> wrote:

> Hi Brian,
> On 2021-11-08 13:51, Brian Hutchinson wrote:
>
> I'm using a Dunfell based rootfs for our main system.  I did a hardknott
>> build of core-image-base in order to build linux-fslc-imx 5.10.69 and when
>> I realized fw_setenv wasn't working with Dunfell rootfs and 5.10.69 kernel,
>> I built hardknott core-image-base rootfs with libubootenv package added
>> to CORE_IMAGE_EXTRA_INSTALL thinking I'd copy over fw_printenv/fs_setenv
>> and libubootenv and that would probably solve my issue ... but it doesn't
>> include fw_printenv/fw_setenv (but libubootenv is there) in the rootfs so I
>> don't understand what all is going on here.
>>
>> Been using fw_printenv/fw_setenv since like ... forever and haven't run
>> into something like this before that I can remember.
>>
>> The binaries fw_*env is located in the package libubootenv-bin. Add that
>> one to IMAGE_INSTALL and I hope you  get them in your rootfs.
>>
>
> Why wouldn't  CORE_IMAGE_EXTRA_INSTALL work to put these in rootfs like
> previous builds did?
>
>
> CORE_IMAGE_EXTRA_INSTALL can be used as well and it will end up in
> IMAGE_INSTALL variable handled by core-image.bbclass. My point was that the
> binaries are in the package libubootenv-bin not in libubootenv. So you have
> to make sure you have libubootenv-bin in your IMAGE_INSTALL or another
> package that RDEPENDS on libubootenv-bin in order to get the binaries in
> your rootfs.
>
You got me!  In my previous build I just had libubootenv and that appeared
to work for my dunfell build somehow even that release shows
fw_printenv/fw_setenv to be in the libubootenv-bin package too.  Weird.

But putting libubootenv-bin in my build did make the bins included in my
rootfs now.  So one mystery solved.

Thank you!

Regards,

Brian

[-- Attachment #2: Type: text/html, Size: 3776 bytes --]

      parent reply	other threads:[~2021-11-08 22:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-08  4:01 fw_printenv works but fw_setenv does not after switching to linux-fslc-imx 5.10.69 from linux-fslc-imx 5.4.114 Brian Hutchinson
2021-11-08 10:49 ` [meta-freescale] " Fabio Estevam
2021-11-08 12:55   ` Brian Hutchinson
     [not found]     ` <5bf7fb5e-cdfd-81b0-cbbb-6b958b909fce@berginkonsult.se>
2021-11-09 14:06       ` Brian Hutchinson
     [not found]       ` <16B5E5E958FABAD3.3265@lists.yoctoproject.org>
2021-11-10 13:40         ` Brian Hutchinson
     [not found]   ` <16B59367D6CBF8AF.22718@lists.yoctoproject.org>
2021-11-08 19:02     ` Brian Hutchinson
     [not found] ` <a111ce56-fe57-a0f1-07d5-684acbbf61dc@berginkonsult.se>
2021-11-08 12:51   ` Brian Hutchinson
     [not found]     ` <73b9f65e-7938-7d99-d6c2-e93a74ecade3@berginkonsult.se>
2021-11-08 22:30       ` Brian Hutchinson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFZh4h9CYu9qBOHKdSpXAZH2ew8+Z2h=BTP_KGtgfK4TBJOw+w@mail.gmail.com' \
    --to=b.hutchman@gmail.com \
    --cc=meta-freescale@lists.yoctoproject.org \
    --cc=peter@berginkonsult.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.