Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-24 Thread Eugeniu Rosca
Hello Simon, I am really grateful for your review comments. I think I tackled all of them in https://patchwork.ozlabs.org/cover/1104242/ ("[U-Boot,v3,0/3] Add 'bcb' command to read/modify/write Android BCB") I would appreciate if you can have one more/final look. -- Best Regards, Eugeniu.

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-22 Thread Simon Glass
Hi Eugeniu, On Wed, 22 May 2019 at 01:11, Eugeniu Rosca wrote: > > Hi Simon, > > Thanks for the review. Would you please reply to my questions below? > > On Tue, May 21, 2019 at 06:53:29PM -0600, Simon Glass wrote: > > Hi Eugeniu, > > > > On Fri, 17 May 2019 at 08:46, Eugeniu Rosca wrote: > > >

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-22 Thread Eugeniu Rosca
Hi Sam, On Tue, May 21, 2019 at 07:46:22PM +0300, Sam Protsenko wrote: > On Tue, May 21, 2019 at 2:20 PM Eugeniu Rosca wrote: [..] > > Agreed. In my queue. > > Just to be clear: can we expect it to be sent in v3, or it will be > separate patch-set? We'll have a v3 for fixing Simon's review comm

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-22 Thread Eugeniu Rosca
Hi Simon, Thanks for the review. Would you please reply to my questions below? On Tue, May 21, 2019 at 06:53:29PM -0600, Simon Glass wrote: > Hi Eugeniu, > > On Fri, 17 May 2019 at 08:46, Eugeniu Rosca wrote: > > > > > > [1] https://android.googlesource.com/platform/bootable/recovery > > [2] ht

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-21 Thread Simon Glass
Hi Eugeniu, On Fri, 17 May 2019 at 08:46, Eugeniu Rosca wrote: > > 'Bootloader Control Block' (BCB) is a well established term/acronym in > the Android namespace which refers to a location in a dedicated raw > (i.e. FS-unaware) flash (e.g. eMMC) partition, usually called "misc", > which is used a

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-21 Thread Simon Glass
Hi Eugeniu, On Tue, 21 May 2019 at 11:32, Eugeniu Rosca wrote: > > Hi Simon, > > On Tue, May 21, 2019 at 10:43:04AM -0600, Simon Glass wrote: > > On Mon, 20 May 2019 at 01:23, Eugeniu Rosca wrote: > [..] > > > I can identify two Android-dedicated README files, but none of them > > > seems to be

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-21 Thread Eugeniu Rosca
Hi Simon, On Tue, May 21, 2019 at 10:43:04AM -0600, Simon Glass wrote: > On Mon, 20 May 2019 at 01:23, Eugeniu Rosca wrote: [..] > > I can identify two Android-dedicated README files, but none of them > > seems to be suitable for the new command: > > - doc/README.android-fastboot > > - doc/READ

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-21 Thread Sam Protsenko
Hi Eugeniu, On Tue, May 21, 2019 at 2:20 PM Eugeniu Rosca wrote: > > Hi Sam, > > On Mon, May 20, 2019 at 06:16:38PM +0300, Sam Protsenko wrote: > > Hi Eugeniu, > > > > On Mon, May 20, 2019 at 10:23 AM Eugeniu Rosca > > wrote: > [..] > > > Igor, Sam, what's your view on the above? Would you sugg

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-21 Thread Simon Glass
Hi Eugeniu, On Mon, 20 May 2019 at 01:23, Eugeniu Rosca wrote: > > Hi Simon > cc: Sam, Igor, feel free to correct/augment anything of below > > On Sat, May 18, 2019 at 10:33:02AM -0600, Simon Glass wrote: > > Hi Eugeniu, > > > > On Fri, 17 May 2019 at 08:46, Eugeniu Rosca wrote: > > > > > > 'Boo

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-21 Thread Eugeniu Rosca
Hi Sam, On Mon, May 20, 2019 at 06:16:38PM +0300, Sam Protsenko wrote: > Hi Eugeniu, > > On Mon, May 20, 2019 at 10:23 AM Eugeniu Rosca wrote: [..] > > Igor, Sam, what's your view on the above? Would you suggest creating > > a doc/README.android-bcb or there is a more elegant solution to it? > >

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-21 Thread Eugeniu Rosca
On Tue, May 21, 2019 at 10:24:10AM +0100, Alex Kiernan wrote: > On Tue, May 21, 2019 at 10:14 AM Eugeniu Rosca wrote: [..] > > That's a truly constructive suggestion. Nevertheless, I believe this > > would not work in case of CONFIG_ENV_IS_NOWHERE=y, which is how U-Boot > > is built and used by th

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-21 Thread Alex Kiernan
On Tue, May 21, 2019 at 10:14 AM Eugeniu Rosca wrote: > > Hi Lukasz, > > On Tue, May 21, 2019 at 10:02:34AM +0100, Alex Kiernan wrote: > > On Tue, May 21, 2019 at 9:37 AM Lukasz Majewski wrote: > > > > > > Hi Alex, > > > > > > > On Mon, May 20, 2019 at 8:23 AM Eugeniu Rosca > > > > wrote: > > >

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-21 Thread Lukasz Majewski
On Tue, 21 May 2019 11:13:52 +0200 Eugeniu Rosca wrote: > Hi Lukasz, > > On Tue, May 21, 2019 at 10:02:34AM +0100, Alex Kiernan wrote: > > On Tue, May 21, 2019 at 9:37 AM Lukasz Majewski > > wrote: > > > > > > Hi Alex, > > > > > > > On Mon, May 20, 2019 at 8:23 AM Eugeniu Rosca > > > > wro

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-21 Thread Eugeniu Rosca
Hi Lukasz, On Tue, May 21, 2019 at 10:02:34AM +0100, Alex Kiernan wrote: > On Tue, May 21, 2019 at 9:37 AM Lukasz Majewski wrote: > > > > Hi Alex, > > > > > On Mon, May 20, 2019 at 8:23 AM Eugeniu Rosca > > > wrote: > > > > > > > > > > > > > > Should it default to enabled if avb is used? > > > >

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-21 Thread Alex Kiernan
On Tue, May 21, 2019 at 9:37 AM Lukasz Majewski wrote: > > Hi Alex, > > > On Mon, May 20, 2019 at 8:23 AM Eugeniu Rosca > > wrote: > > > > > > > > > > > Should it default to enabled if avb is used? > > > > > > I think at this specific moment in time, 'bcb' is orthogonal > > > (meaning it is neith

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-21 Thread Lukasz Majewski
Hi Alex, > On Mon, May 20, 2019 at 8:23 AM Eugeniu Rosca > wrote: > > > > > > > > Should it default to enabled if avb is used? > > > > I think at this specific moment in time, 'bcb' is orthogonal > > (meaning it is neither a direct, nor a reverse dependency) to any > > other Android feature i

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-20 Thread Sam Protsenko
Anyway, from my side: Reviewed-by: Sam Protsenko On Mon, May 20, 2019 at 6:16 PM Sam Protsenko wrote: > > Hi Eugeniu, > > > On Mon, May 20, 2019 at 10:23 AM Eugeniu Rosca wrote: > > > > Hi Simon > > cc: Sam, Igor, feel free to correct/augment anything of below > > > > On Sat, May 18, 2019 at 1

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-20 Thread Sam Protsenko
Hi Eugeniu, On Mon, May 20, 2019 at 10:23 AM Eugeniu Rosca wrote: > > Hi Simon > cc: Sam, Igor, feel free to correct/augment anything of below > > On Sat, May 18, 2019 at 10:33:02AM -0600, Simon Glass wrote: > > Hi Eugeniu, > > > > On Fri, 17 May 2019 at 08:46, Eugeniu Rosca wrote: > > > > > >

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-20 Thread Eugeniu Rosca
Hi Alex, On Mon, May 20, 2019 at 08:32:28AM +0100, Alex Kiernan wrote: > On Mon, May 20, 2019 at 8:23 AM Eugeniu Rosca wrote: > > > > > > > > Should it default to enabled if avb is used? > > > > I think at this specific moment in time, 'bcb' is orthogonal (meaning it > > is neither a direct, nor

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-20 Thread Alex Kiernan
On Mon, May 20, 2019 at 8:23 AM Eugeniu Rosca wrote: > > > > > Should it default to enabled if avb is used? > > I think at this specific moment in time, 'bcb' is orthogonal (meaning it > is neither a direct, nor a reverse dependency) to any other Android > feature in U-Boot. This could be re-asses

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-20 Thread Eugeniu Rosca
Hi Simon cc: Sam, Igor, feel free to correct/augment anything of below On Sat, May 18, 2019 at 10:33:02AM -0600, Simon Glass wrote: > Hi Eugeniu, > > On Fri, 17 May 2019 at 08:46, Eugeniu Rosca wrote: > > > > 'Bootloader Control Block' (BCB) is a well established term/acronym in > > the Android

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-18 Thread Simon Glass
Hi Eugeniu, On Fri, 17 May 2019 at 08:46, Eugeniu Rosca wrote: > > 'Bootloader Control Block' (BCB) is a well established term/acronym in > the Android namespace which refers to a location in a dedicated raw > (i.e. FS-unaware) flash (e.g. eMMC) partition, usually called "misc", > which is used a

[U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-17 Thread Eugeniu Rosca
'Bootloader Control Block' (BCB) is a well established term/acronym in the Android namespace which refers to a location in a dedicated raw (i.e. FS-unaware) flash (e.g. eMMC) partition, usually called "misc", which is used as media for exchanging messages between Android userspace (particularly rec