Re: [U-Boot] [PATCH v2 1/1] efi_loader: optional data in load options are binary

2019-05-07 Thread Heinrich Schuchardt
On 5/8/19 1:56 AM, Takahiro Akashi wrote: On Tue, May 07, 2019 at 06:54:45PM +0200, Heinrich Schuchardt wrote: On 5/7/19 9:30 AM, Takahiro Akashi wrote: On Tue, May 07, 2019 at 09:12:56AM +0200, Heinrich Schuchardt wrote: On 5/7/19 8:16 AM, Takahiro Akashi wrote: On Tue, May 07, 2019 at

Re: [U-Boot] [PATCH v2 1/1] efi_loader: optional data in load options are binary

2019-05-07 Thread Takahiro Akashi
On Tue, May 07, 2019 at 06:54:45PM +0200, Heinrich Schuchardt wrote: > On 5/7/19 9:30 AM, Takahiro Akashi wrote: > >On Tue, May 07, 2019 at 09:12:56AM +0200, Heinrich Schuchardt wrote: > >>On 5/7/19 8:16 AM, Takahiro Akashi wrote: > >>>On Tue, May 07, 2019 at 08:04:26AM +0200, Heinrich Schuchardt

Re: [U-Boot] [PATCH v2 1/1] efi_loader: optional data in load options are binary

2019-05-07 Thread Heinrich Schuchardt
On 5/7/19 9:30 AM, Takahiro Akashi wrote: On Tue, May 07, 2019 at 09:12:56AM +0200, Heinrich Schuchardt wrote: On 5/7/19 8:16 AM, Takahiro Akashi wrote: On Tue, May 07, 2019 at 08:04:26AM +0200, Heinrich Schuchardt wrote: On 5/7/19 7:16 AM, Heinrich Schuchardt wrote: On 5/7/19 3:53 AM,

Re: [U-Boot] [PATCH v2 1/1] efi_loader: optional data in load options are binary

2019-05-07 Thread Graf, Alexander
On 07.05.19 09:30, Takahiro Akashi wrote: On Tue, May 07, 2019 at 09:12:56AM +0200, Heinrich Schuchardt wrote: On 5/7/19 8:16 AM, Takahiro Akashi wrote: On Tue, May 07, 2019 at 08:04:26AM +0200, Heinrich Schuchardt wrote: On 5/7/19 7:16 AM, Heinrich Schuchardt wrote: On 5/7/19 3:53 AM,

Re: [U-Boot] [PATCH v2 1/1] efi_loader: optional data in load options are binary

2019-05-07 Thread Takahiro Akashi
On Tue, May 07, 2019 at 09:12:56AM +0200, Heinrich Schuchardt wrote: > On 5/7/19 8:16 AM, Takahiro Akashi wrote: > > On Tue, May 07, 2019 at 08:04:26AM +0200, Heinrich Schuchardt wrote: > >> On 5/7/19 7:16 AM, Heinrich Schuchardt wrote: > >>> On 5/7/19 3:53 AM, Takahiro Akashi wrote: > On

Re: [U-Boot] [PATCH v2 1/1] efi_loader: optional data in load options are binary

2019-05-07 Thread Heinrich Schuchardt
On 5/7/19 8:16 AM, Takahiro Akashi wrote: > On Tue, May 07, 2019 at 08:04:26AM +0200, Heinrich Schuchardt wrote: >> On 5/7/19 7:16 AM, Heinrich Schuchardt wrote: >>> On 5/7/19 3:53 AM, Takahiro Akashi wrote: On Tue, Apr 30, 2019 at 08:11:15AM +0200, Heinrich Schuchardt wrote: > The field

Re: [U-Boot] [PATCH v2 1/1] efi_loader: optional data in load options are binary

2019-05-07 Thread Takahiro Akashi
On Tue, May 07, 2019 at 08:04:26AM +0200, Heinrich Schuchardt wrote: > On 5/7/19 7:16 AM, Heinrich Schuchardt wrote: > >On 5/7/19 3:53 AM, Takahiro Akashi wrote: > >>On Tue, Apr 30, 2019 at 08:11:15AM +0200, Heinrich Schuchardt wrote: > >>>The field boot OptionalData in structure _EFI_LOAD_OPTIONS

Re: [U-Boot] [PATCH v2 1/1] efi_loader: optional data in load options are binary

2019-05-07 Thread Heinrich Schuchardt
On 5/7/19 7:16 AM, Heinrich Schuchardt wrote: On 5/7/19 3:53 AM, Takahiro Akashi wrote: On Tue, Apr 30, 2019 at 08:11:15AM +0200, Heinrich Schuchardt wrote: The field boot OptionalData in structure _EFI_LOAD_OPTIONS is for binary data. When we use `efidebug boot add` we should convert the 5th

Re: [U-Boot] [PATCH v2 1/1] efi_loader: optional data in load options are binary

2019-05-06 Thread Heinrich Schuchardt
On 5/7/19 3:53 AM, Takahiro Akashi wrote: On Tue, Apr 30, 2019 at 08:11:15AM +0200, Heinrich Schuchardt wrote: The field boot OptionalData in structure _EFI_LOAD_OPTIONS is for binary data. When we use `efidebug boot add` we should convert the 5th argument from UTF-8 to UTF-16 before putting

Re: [U-Boot] [PATCH v2 1/1] efi_loader: optional data in load options are binary

2019-05-06 Thread Takahiro Akashi
On Tue, Apr 30, 2019 at 08:11:15AM +0200, Heinrich Schuchardt wrote: > The field boot OptionalData in structure _EFI_LOAD_OPTIONS is for binary > data. > > When we use `efidebug boot add` we should convert the 5th argument from > UTF-8 to UTF-16 before putting it into the Boot variable.

[U-Boot] [PATCH v2 1/1] efi_loader: optional data in load options are binary

2019-04-30 Thread Heinrich Schuchardt
The field boot OptionalData in structure _EFI_LOAD_OPTIONS is for binary data. When we use `efidebug boot add` we should convert the 5th argument from UTF-8 to UTF-16 before putting it into the Boot variable. When printing boot variables with `efidebug boot dump` we should support the