[U-Boot] [PATCH v3 11/18] efi_loader: make efi_disk_create_partitions a global symbol

Heinrich Schuchardt xypron.glpk at gmx.de
Fri Feb 9 16:42:49 UTC 2018


On 02/09/2018 10:44 AM, Artturi Alm wrote:
> On Fri, Feb 09, 2018 at 05:07:52AM +0100, Heinrich Schuchardt wrote:
>> On 02/09/2018 01:15 AM, Jonathan Gray wrote:
>>> On Fri, Jan 19, 2018 at 08:24:47PM +0100, Heinrich Schuchardt wrote:
>>>> Up to now we have been using efi_disk_create_partitions() to create
>>>> partitions for block devices that existed before starting an EFI
>>>> application.
>>>>
>>>> We need to call it for block devices created by EFI
>>>> applications at run time. The EFI application will define the
>>>> handle for the block device and install a device path protocol
>>>> on it. We have to use this device path as stem for the partition
>>>> device paths.
>>>>
>>>> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
>>>> ---
>>>> v3
>>>> 	fix typos in comments
>>>> v2
>>>> 	no change
>>>
>>> breakage on mx6cuboxi with OpenBSD bootarm.efi, bisects to
>>>
>>> commit 64e4db0f119151a1345e1da19d152eda550394e7
>>> Author:     Heinrich Schuchardt <xypron.glpk at gmx.de>
>>> AuthorDate: Fri Jan 19 20:24:47 2018 +0100
>>> Commit:     Alexander Graf <agraf at suse.de>
>>> CommitDate: Mon Jan 22 23:09:14 2018 +0100
>>>
>>>      efi_loader: make efi_disk_create_partitions a global symbol
>>>      Up to now we have been using efi_disk_create_partitions() to create
>>>      partitions for block devices that existed before starting an EFI
>>>      application.
>>>      We need to call it for block devices created by EFI
>>>      applications at run time. The EFI application will define the
>>>      handle for the block device and install a device path protocol
>>>      on it. We have to use this device path as stem for the partition
>>>      device paths.
>>>      Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
>>>      Signed-off-by: Alexander Graf <agraf at suse.de>
>>>
>>> with master as of e24bd1e79e223aa89854c0be95a53e2d538144a5

Resolved with patch
efi_loader: correct efi_disk_register
https://lists.denx.de/pipermail/u-boot/2018-February/320035.html

Thanks for reporting the problem.
Could you, please, confirm the fix works for you.

Best regards

Heinrich


More information about the U-Boot mailing list