From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id CDDFB740039 for ; Fri, 2 Aug 2024 08:04:57 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=xXN7Z9qEel3RUMOgIAwdNkPCvTMrFkXB7966Dy2Y9Sc=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240206; t=1722585897; v=1; b=Q0UI7LCevqWKueEc719Aa3+I7tv2bHx8A6zQsPgo/0uAPMlevDU2wG6Nw1sISnMAqZp7CRBx fMVkdU+1x0442rKqCSLWfJlLfJR69Ci21p/bW1n7CYvaQUNJz6tE6aDWdqioVjZijRZ1jJqmrbQ mJuhPkSLjbUgOXG1Z+6h1wC+121RsEQfq+gn03H3SPelp1F2GbAJH4Z2cXxuOBZaxC7YVnLk95S K44o8Sa4ZnSt2DxZICV+xNPvazFvoTHI468cxZ+nZr33//1gazjsRP/VNMjOilRR0hXL4+XeGRw CTbV8vb1ytravBmulTll9Z4hw9xT5fOPO2sflw5oQNebg== X-Received: by 127.0.0.2 with SMTP id SEoRYY7687511xr39xhZyCwR; Fri, 02 Aug 2024 01:04:56 -0700 X-Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by mx.groups.io with SMTP id smtpd.web10.88464.1722585895056774863 for ; Fri, 02 Aug 2024 01:04:55 -0700 X-Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2ef32fea28dso91166391fa.2 for ; Fri, 02 Aug 2024 01:04:54 -0700 (PDT) X-Gm-Message-State: ZEOCCgTVNidTnkDdQzNgkFbkx7686176AA= X-Google-Smtp-Source: AGHT+IEpMz72xdScmkaaNJPft81OJxlEtfuj8TLHStYpw7fe2cOkZi2h2TRumDweR9L84jfK9uQcUZbANp3YAnMm348= X-Received: by 2002:a2e:b04b:0:b0:2f0:1a44:cdea with SMTP id 38308e7fff4ca-2f15aaab091mr15944901fa.26.1722585892420; Fri, 02 Aug 2024 01:04:52 -0700 (PDT) MIME-Version: 1.0 References: <4E4C5397-138E-4695-9995-55B46778491D@apple.com> In-Reply-To: <4E4C5397-138E-4695-9995-55B46778491D@apple.com> From: "Dmitry Ponamorev" Date: Fri, 2 Aug 2024 11:04:41 +0300 Message-ID: Subject: Re: [edk2-devel] Can't set the boot order of the USB boot device To: devel@edk2.groups.io, afish@apple.com Cc: hckaraca99@gmail.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Fri, 02 Aug 2024 01:04:55 -0700 Resent-From: dponamorev@gmail.com Reply-To: devel@edk2.groups.io,dponamorev@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: multipart/alternative; boundary="0000000000003685f9061eaec8b5" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=Q0UI7LCe; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io --0000000000003685f9061eaec8b5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi I have the same problems. UEFi settings are not saved. And the boot order is the UEFI settings? But in my case it=E2=80=99s coreboot 24.02 + edk2. I turned on debugging mode - there are no messages about errors in writing to the bios spi flash and so. How else can this be debugged? Which UEFI module/driver is responsible for this? Flash write to bios region is available - I can update the this region. Best regards, Dmitry =D0=BF=D1=82, 2 =D0=B0=D0=B2=D0=B3. 2024=E2=80=AF=D0=B3. =D0=B2 02:55, Andr= ew Fish via groups.io : > > > On Jul 10, 2024, at 6:05=E2=80=AFAM, Hamit Can Karaca > wrote: > > Hello, > > We recently found a bug where we can't change the boot order of a USB boo= t > device. We are trying to set it on the top of the boot order but it keeps > going to the last place. Sometimes it works fine but most of the time we > have this problem. > > Is it a general problem in EDK2 or is it because of our custom UEFI? Have > you guys seen this problem before? > > We are using SBL+EDK2 UEFI and CFL. > > > Can you get DEBUG prints from the ROM? Can you turn up the verbosity of > the prints (turn on DEBUG_INFO etc.)? > > Do you have a custom PlatformBootManagerLib [1]? This is a common place > that platform policy gets implemented. > > [1] > https://github.com/tianocore/edk2/blob/master/OvmfPkg/Library/PlatformBoo= tManagerLib/BdsPlatform.c > > Thanks, > > Andrew Fish > > Thanks, > Hamit Can KARACA > > >=20 > > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120205): https://edk2.groups.io/g/devel/message/120205 Mute This Topic: https://groups.io/mt/107141908/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --0000000000003685f9061eaec8b5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi=C2=A0

I have the same problems. UEFi= settings are not saved. And the boot order is the UEFI settings? But in my= case it=E2=80=99s coreboot 24.02 + edk2.
I turned on debuggi= ng mode - there are no messages about errors in writing to the bios spi fla= sh and so. How else can this be debugged?
Which UEFI module/drive= r is responsible for this?
Flash write to bios region is available - I c= an update the this region.=C2=A0

Best regards,= Dmitry

=D0=BF=D1=82, 2 =D0=B0=D0=B2=D0=B3. 2024=E2=80=AF=D0=B3. = =D0=B2 02:55, Andrew Fish via groups.io &l= t;afish=3Dapple.com@groups.io>= ;:


On Jul 10, 2024, at 6:05=E2=80=AFAM, Hamit Can Karaca = <hckaraca99@gm= ail.com> wrote:

Hello,

We recently found a bug = where we can't change the boot order of a USB boot device. We are tryin= g to set it on the top of the boot order but it keeps going to the last pla= ce. Sometimes it works fine but most of the time we have this problem.
<= br>Is it a general problem in EDK2 or is it because of our custom UEFI? Hav= e you guys seen this problem before?

We are using SBL+EDK2 UEFI and = CFL.=C2=A0


Can you get DEBUG = prints from the ROM? Can you turn up the verbosity of the prints (turn on D= EBUG_INFO etc.)?

Do you have a custom PlatformBoot= ManagerLib [1]? This is a common place that platform policy gets implemente= d.=C2=A0


= Thanks,

Andrew Fish

Thanks,
Hamit Can KARACA

_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#120205) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--0000000000003685f9061eaec8b5--