public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] Can't set the boot order of the USB boot device
@ 2024-07-10 13:05 Hamit Can Karaca
  2024-07-10 13:56 ` Gerd Hoffmann
  2024-08-01 23:55 ` Andrew Fish via groups.io
  0 siblings, 2 replies; 7+ messages in thread
From: Hamit Can Karaca @ 2024-07-10 13:05 UTC (permalink / raw)
  To: devel

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

Hello,

We recently found a bug where we can't change the boot order of a USB boot 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.

Thanks,
Hamit Can KARACA


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119863): https://edk2.groups.io/g/devel/message/119863
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]
-=-=-=-=-=-=-=-=-=-=-=-



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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [edk2-devel] Can't set the boot order of the USB boot device
  2024-07-10 13:05 [edk2-devel] Can't set the boot order of the USB boot device Hamit Can Karaca
@ 2024-07-10 13:56 ` Gerd Hoffmann
  2024-07-12  5:09   ` Hamit Can Karaca
  2024-08-01 23:55 ` Andrew Fish via groups.io
  1 sibling, 1 reply; 7+ messages in thread
From: Gerd Hoffmann @ 2024-07-10 13:56 UTC (permalink / raw)
  To: devel, hckaraca99

On Wed, Jul 10, 2024 at 06:05:01AM GMT, Hamit Can Karaca wrote:
> Hello,
> 
> We recently found a bug where we can't change the boot order of a USB
> boot 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.

Has been reported recently on qemu-devel, so it could very well be you
are hitting a regression on the qemu side.

take care,
  Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119864): https://edk2.groups.io/g/devel/message/119864
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]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [edk2-devel] Can't set the boot order of the USB boot device
  2024-07-10 13:56 ` Gerd Hoffmann
@ 2024-07-12  5:09   ` Hamit Can Karaca
  2024-07-18  7:15     ` Hamit Can Karaca
  0 siblings, 1 reply; 7+ messages in thread
From: Hamit Can Karaca @ 2024-07-12  5:09 UTC (permalink / raw)
  To: Gerd Hoffmann, devel

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

On Wed, Jul 10, 2024 at 04:56 PM, Gerd Hoffmann wrote:

> 
> Has been reported recently on qemu-devel, so it could very well be you
> are hitting a regression on the qemu side.

Hi Gerd,

Thanks for your answer but I'm not using QEMU. The platform I am working on is CFL.

take care,
Hamit Can


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119903): https://edk2.groups.io/g/devel/message/119903
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]
-=-=-=-=-=-=-=-=-=-=-=-



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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [edk2-devel] Can't set the boot order of the USB boot device
  2024-07-12  5:09   ` Hamit Can Karaca
@ 2024-07-18  7:15     ` Hamit Can Karaca
  0 siblings, 0 replies; 7+ messages in thread
From: Hamit Can Karaca @ 2024-07-18  7:15 UTC (permalink / raw)
  To: Hamit Can Karaca, devel

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

Hello,

I still need help on this issue. I would be greatful if anybody could help.

Thanks,
Hamit Can Karaca


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119966): https://edk2.groups.io/g/devel/message/119966
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]
-=-=-=-=-=-=-=-=-=-=-=-



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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [edk2-devel] Can't set the boot order of the USB boot device
  2024-07-10 13:05 [edk2-devel] Can't set the boot order of the USB boot device Hamit Can Karaca
  2024-07-10 13:56 ` Gerd Hoffmann
@ 2024-08-01 23:55 ` Andrew Fish via groups.io
  2024-08-02  8:04   ` Dmitry Ponamorev
  1 sibling, 1 reply; 7+ messages in thread
From: Andrew Fish via groups.io @ 2024-08-01 23:55 UTC (permalink / raw)
  To: edk2-devel-groups-io, hckaraca99

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



> On Jul 10, 2024, at 6:05 AM, Hamit Can Karaca <hckaraca99@gmail.com> wrote:
> 
> Hello,
> 
> We recently found a bug where we can't change the boot order of a USB boot 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/PlatformBootManagerLib/BdsPlatform.c

Thanks,

Andrew Fish

> Thanks,
> Hamit Can KARACA
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120201): https://edk2.groups.io/g/devel/message/120201
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]
-=-=-=-=-=-=-=-=-=-=-=-



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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [edk2-devel] Can't set the boot order of the USB boot device
  2024-08-01 23:55 ` Andrew Fish via groups.io
@ 2024-08-02  8:04   ` Dmitry Ponamorev
  2024-08-02  8:28     ` Hamit Can Karaca
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Ponamorev @ 2024-08-02  8:04 UTC (permalink / raw)
  To: devel, afish; +Cc: hckaraca99

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

Hi

I have the same problems. UEFi settings are not saved. And the boot order
is the UEFI settings? But in my case it’s 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

пт, 2 авг. 2024 г. в 02:55, Andrew Fish via groups.io <afish=
apple.com@groups.io>:

>
>
> On Jul 10, 2024, at 6:05 AM, Hamit Can Karaca <hckaraca99@gmail.com>
> wrote:
>
> Hello,
>
> We recently found a bug where we can't change the boot order of a USB boot
> 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/PlatformBootManagerLib/BdsPlatform.c
>
> Thanks,
>
> Andrew Fish
>
> Thanks,
> Hamit Can KARACA
>
>
> 
>
>


-=-=-=-=-=-=-=-=-=-=-=-
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]
-=-=-=-=-=-=-=-=-=-=-=-



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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [edk2-devel] Can't set the boot order of the USB boot device
  2024-08-02  8:04   ` Dmitry Ponamorev
@ 2024-08-02  8:28     ` Hamit Can Karaca
  0 siblings, 0 replies; 7+ messages in thread
From: Hamit Can Karaca @ 2024-08-02  8:28 UTC (permalink / raw)
  To: Dmitry Ponamorev, devel

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

Hi Dmitry,

I actually solved this problem 2 weeks ago. Can you please share your PlatformManagerBeforeConsole() function so I can be more helpful?

Thanks,
Hamit Can Karaca


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120209): https://edk2.groups.io/g/devel/message/120209
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]
-=-=-=-=-=-=-=-=-=-=-=-



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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-08-02  8:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-10 13:05 [edk2-devel] Can't set the boot order of the USB boot device Hamit Can Karaca
2024-07-10 13:56 ` Gerd Hoffmann
2024-07-12  5:09   ` Hamit Can Karaca
2024-07-18  7:15     ` Hamit Can Karaca
2024-08-01 23:55 ` Andrew Fish via groups.io
2024-08-02  8:04   ` Dmitry Ponamorev
2024-08-02  8:28     ` Hamit Can Karaca

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox