On Tue, Jan 22, 2019 at 1:44 PM Mittal, Anuj <anuj.mit...@intel.com> wrote:
>
>
>
> > -----Original Message-----
> > From: meta-intel-boun...@yoctoproject.org [mailto:meta-intel-
> > boun...@yoctoproject.org] On Behalf Of Teemu K
> > Sent: Tuesday, January 22, 2019 07:25 PM
> > To: Burton, Ross <ross.bur...@intel.com>
> > Cc: meta-intel@yoctoproject.org
> > Subject: Re: [meta-intel] Atom E3826 storage that survives over reboot
> >
> > On Tue, Jan 22, 2019 at 12:13 PM Burton, Ross <ross.bur...@intel.com> wrote:
> > >
> > > EFI variables should work?
> > After doing some googling it looks promising. I just couldn't find any info 
> > how to
> > actually do it. Also I don't know how big chunk of code is needed to access 
> > them from
> > grub.  Linux seems to have filesystem for that.
> >
>
> There is a basic implementation available to set the next boot target (for 
> systemd-boot which recognizes that specific variable) from kernel here:
>
> https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/lib/oeqa/controllers/masterimage.py#n162
Thanks, I'll take a look and take a look also systemd-boot - code to
see how big of a task it's actually access that variable from boot
loader. Of course it'd be so much easier in this case if system would
be using systemd instead sysvinit.

-Teemu
-- 
_______________________________________________
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to