Driver model at UEFI runtime

2021-09-09 Thread Heinrich Schuchardt
Hello Simon, The EBBR specification requires that the UEFI SystemReset() runtime service is available to the operating system. Up to now this has been implemented by overriding function efi_reset_system() which is marked as __efi_runtime. Both ARM and RISC-V support generic interfaces for reset

Re: Driver model at UEFI runtime

2021-09-09 Thread Simon Glass
Hi Heinrich, On Thu, 9 Sept 2021 at 05:29, Heinrich Schuchardt wrote: > > Hello Simon, > > The EBBR specification requires that the UEFI SystemReset() runtime > service is available to the operating system. > > Up to now this has been implemented by overriding function > efi_reset_system() which

Re: Driver model at UEFI runtime

2021-09-10 Thread Heinrich Schuchardt
On 9/9/21 10:00 PM, Simon Glass wrote: Hi Heinrich, On Thu, 9 Sept 2021 at 05:29, Heinrich Schuchardt wrote: Hello Simon, The EBBR specification requires that the UEFI SystemReset() runtime service is available to the operating system. Up to now this has been implemented by overriding fu

Re: Driver model at UEFI runtime

2021-09-29 Thread Simon Glass
Hi Heinrich, On Fri, 10 Sept 2021 at 08:19, Heinrich Schuchardt wrote: > > > > On 9/9/21 10:00 PM, Simon Glass wrote: > > Hi Heinrich, > > > > On Thu, 9 Sept 2021 at 05:29, Heinrich Schuchardt > > wrote: > >> > >> Hello Simon, > >> > >> The EBBR specification requires that the UEFI SystemReset(

Re: Driver model at UEFI runtime

2021-09-29 Thread Bin Meng
Hi Heinrich, On Thu, Sep 9, 2021 at 7:16 PM Heinrich Schuchardt wrote: > > Hello Simon, > > The EBBR specification requires that the UEFI SystemReset() runtime > service is available to the operating system. > > Up to now this has been implemented by overriding function > efi_reset_system() which

Re: Driver model at UEFI runtime

2021-09-29 Thread François Ozog
Le jeu. 30 sept. 2021 à 07:12, Bin Meng a écrit : > Hi Heinrich, > > On Thu, Sep 9, 2021 at 7:16 PM Heinrich Schuchardt > wrote: > > > > Hello Simon, > > > > The EBBR specification requires that the UEFI SystemReset() runtime > > service is available to the operating system. > > > > Up to now th

Re: Driver model at UEFI runtime

2021-09-29 Thread Bin Meng
On Thu, Sep 30, 2021 at 2:23 PM François Ozog wrote: > > > Le jeu. 30 sept. 2021 à 07:12, Bin Meng a écrit : > >> Hi Heinrich, >> >> On Thu, Sep 9, 2021 at 7:16 PM Heinrich Schuchardt >> wrote: >> > >> > Hello Simon, >> > >> > The EBBR specification requires that the UEFI SystemReset() runtime

Re: Driver model at UEFI runtime

2021-09-29 Thread François Ozog
Le jeu. 30 sept. 2021 à 08:38, Bin Meng a écrit : > On Thu, Sep 30, 2021 at 2:23 PM François Ozog > wrote: > >> >> >> Le jeu. 30 sept. 2021 à 07:12, Bin Meng a écrit : >> >>> Hi Heinrich, >>> >>> On Thu, Sep 9, 2021 at 7:16 PM Heinrich Schuchardt >>> wrote: >>> > >>> > Hello Simon, >>> > >>> >

Re: Driver model at UEFI runtime

2021-09-29 Thread Ilias Apalodimas
On Thu, 30 Sept 2021 at 09:38, Bin Meng wrote: > > On Thu, Sep 30, 2021 at 2:23 PM François Ozog > wrote: >> >> >> >> Le jeu. 30 sept. 2021 à 07:12, Bin Meng a écrit : >>> >>> Hi Heinrich, >>> >>> On Thu, Sep 9, 2021 at 7:16 PM Heinrich Schuchardt >>> wrote: >>> > >>> > Hello Simon, >>> > >>>

Re: Driver model at UEFI runtime

2021-09-29 Thread Heinrich Schuchardt
On 9/30/21 8:23 AM, François Ozog wrote: Le jeu. 30 sept. 2021 à 07:12, Bin Meng mailto:bmeng...@gmail.com>> a écrit : Hi Heinrich, On Thu, Sep 9, 2021 at 7:16 PM Heinrich Schuchardt mailto:xypron.g...@gmx.de>> wrote: > > Hello Simon, > > The EBBR specificat

Re: Driver model at UEFI runtime

2021-09-30 Thread Michael Walle
Am 2021-09-30 08:56, schrieb Heinrich Schuchardt: On 9/30/21 8:23 AM, François Ozog wrote: [..] Is U-Boot's UEFI loader implementation supposed to be the recommended UEFI firmware on ARM and RISC-V on a production / deployment system? For Arm: yes, that is SystemReady spec. For RIS

Re: Driver model at UEFI runtime

2021-09-30 Thread Heinrich Schuchardt
Am 30. September 2021 11:53:47 MESZ schrieb Michael Walle : >Am 2021-09-30 08:56, schrieb Heinrich Schuchardt: >> On 9/30/21 8:23 AM, François Ozog wrote: >[..] >>> Is U-Boot's UEFI loader implementation supposed to be the >>> recommended >>> UEFI firmware on ARM and RISC-V on a production

Re: Driver model at UEFI runtime

2021-09-30 Thread Mark Kettenis
> From: Simon Glass > Date: Wed, 29 Sep 2021 22:08:49 -0600 Hi Simon, > Hi Heinrich, > > On Fri, 10 Sept 2021 at 08:19, Heinrich Schuchardt wrote: > > > > > > > > On 9/9/21 10:00 PM, Simon Glass wrote: > > > Hi Heinrich, > > > > > > On Thu, 9 Sept 2021 at 05:29, Heinrich Schuchardt > > > wro

Re: Driver model at UEFI runtime

2021-09-30 Thread Mark Kettenis
> From: François Ozog > Date: Thu, 30 Sep 2021 08:23:34 +0200 > > Le jeu. 30 sept. 2021 à 07:12, Bin Meng a écrit : > > > Hi Heinrich, > > > > On Thu, Sep 9, 2021 at 7:16 PM Heinrich Schuchardt > > wrote: > > > > > > Hello Simon, > > > > > > The EBBR specification requires that the UEFI System

Re: Driver model at UEFI runtime

2021-09-30 Thread Mark Kettenis
> From: Ilias Apalodimas > Date: Thu, 30 Sep 2021 09:46:30 +0300 > > On Thu, 30 Sept 2021 at 09:38, Bin Meng wrote: > > > Does any board that ships EDK II with UEFI + DTB? > > The Socionext SynQuacer box is the only board I know off, that works > with EDK2 and can use either DT or ACPI. The S

Re: Driver model at UEFI runtime

2021-09-30 Thread Heinrich Schuchardt
On 9/30/21 13:13, Mark Kettenis wrote: From: Simon Glass Date: Wed, 29 Sep 2021 22:08:49 -0600 Hi Simon, Hi Heinrich, On Fri, 10 Sept 2021 at 08:19, Heinrich Schuchardt wrote: On 9/9/21 10:00 PM, Simon Glass wrote: Hi Heinrich, On Thu, 9 Sept 2021 at 05:29, Heinrich Schuchardt wr

Re: Driver model at UEFI runtime

2021-09-30 Thread Heinrich Schuchardt
On 9/30/21 13:31, Mark Kettenis wrote: From: François Ozog Date: Thu, 30 Sep 2021 08:23:34 +0200 Le jeu. 30 sept. 2021 à 07:12, Bin Meng a écrit : Hi Heinrich, On Thu, Sep 9, 2021 at 7:16 PM Heinrich Schuchardt wrote: Hello Simon, The EBBR specification requires that the UEFI SystemR

Re: Driver model at UEFI runtime

2021-09-30 Thread Michael Walle
Am 2021-09-30 12:50, schrieb Heinrich Schuchardt: Am 30. September 2021 11:53:47 MESZ schrieb Michael Walle : Am 2021-09-30 08:56, schrieb Heinrich Schuchardt: On 9/30/21 8:23 AM, François Ozog wrote: [..] Is U-Boot's UEFI loader implementation supposed to be the recommended UEFI firm

Re: Driver model at UEFI runtime

2021-09-30 Thread Heinrich Schuchardt
On 9/30/21 14:07, Michael Walle wrote: Am 2021-09-30 12:50, schrieb Heinrich Schuchardt: Am 30. September 2021 11:53:47 MESZ schrieb Michael Walle : Am 2021-09-30 08:56, schrieb Heinrich Schuchardt: On 9/30/21 8:23 AM, François Ozog wrote: [..]     Is U-Boot's UEFI loader implementation s

Re: Driver model at UEFI runtime

2021-09-30 Thread François Ozog
On Thu, 30 Sept 2021 at 14:07, Michael Walle wrote: > Am 2021-09-30 12:50, schrieb Heinrich Schuchardt: > > Am 30. September 2021 11:53:47 MESZ schrieb Michael Walle > > : > >> Am 2021-09-30 08:56, schrieb Heinrich Schuchardt: > >>> On 9/30/21 8:23 AM, François Ozog wrote: > >> [..] > Is

Re: Driver model at UEFI runtime

2021-09-30 Thread Michael Walle
[adding Vladimir, because he showed interest in this, too] Am 2021-09-30 15:56, schrieb François Ozog: On Thu, 30 Sept 2021 at 14:07, Michael Walle wrote: Am 2021-09-30 12:50, schrieb Heinrich Schuchardt: Am 30. September 2021 11:53:47 MESZ schrieb Michael Walle : Am 2021-09-30 08:56, schri

Re: Driver model at UEFI runtime

2021-09-30 Thread François Ozog
On Thu, 30 Sept 2021 at 17:12, Michael Walle wrote: > [adding Vladimir, because he showed interest in this, too] > > Am 2021-09-30 15:56, schrieb François Ozog: > > On Thu, 30 Sept 2021 at 14:07, Michael Walle wrote: > > > >> Am 2021-09-30 12:50, schrieb Heinrich Schuchardt: > >>> Am 30. Septemb

Re: Driver model at UEFI runtime

2021-09-30 Thread Michael Walle
Am 2021-09-30 17:47, schrieb François Ozog: On Thu, 30 Sept 2021 at 17:12, Michael Walle wrote: [adding Vladimir, because he showed interest in this, too] Am 2021-09-30 15:56, schrieb François Ozog: On Thu, 30 Sept 2021 at 14:07, Michael Walle wrote: Am 2021-09-30 12:50, schrieb Heinric

Re: Driver model at UEFI runtime

2021-09-30 Thread François Ozog
On Thu, 30 Sept 2021 at 18:25, Michael Walle wrote: > Am 2021-09-30 17:47, schrieb François Ozog: > > On Thu, 30 Sept 2021 at 17:12, Michael Walle wrote: > > > >> [adding Vladimir, because he showed interest in this, too] > >> > >> Am 2021-09-30 15:56, schrieb François Ozog: > >>> On Thu, 30 Sep

Re: Driver model at UEFI runtime

2021-09-30 Thread Michael Walle
With SystemReady, DT from distros are ignored. Err? Is this really true, I know about some incompatible changes to the device tree which prevents you from using usb (or even a kernel panic) with the imx8mm and I know that on the ls1028a flexspi wont work if the devicetree doesn't match the kerne

Re: Driver model at UEFI runtime

2021-09-30 Thread François Ozog
Le ven. 1 oct. 2021 à 00:00, Michael Walle a écrit : > > With SystemReady, DT from distros are ignored. > > Err? Is this really true, I know about some incompatible changes > to the device tree which prevents you from using usb (or even a > kernel panic) with the imx8mm an

Re: Driver model at UEFI runtime

2021-09-30 Thread Michael Walle
Am 2021-10-01 00:20, schrieb François Ozog: Le ven. 1 oct. 2021 à 00:00, Michael Walle a écrit : With SystemReady, DT from distros are ignored. Err? Is this really true, I know about some incompatible changes to the device tree which prevents you from using usb (or even a kernel panic) wit