Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-18 Thread Sean Anderson
On 5/14/21 5:26 PM, Oleh Kravchenko wrote: > Hello guys, > Could you please review and merge this patch? > > PR successfully passed CI: > https://github.com/u-boot/u-boot/pull/75 > > 15.05.21 00:15, Oleh Kravchenko пише: >> 'gpt' and 'mmc0' fastboot partitions have been treated as the same devi

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-18 Thread Oleh Kravchenko
Hello Tom, 18.05.21 16:40, Tom Rini пише: > On Tue, May 18, 2021 at 04:24:49PM +0300, Oleh Kravchenko wrote: >> Hello Tom, >> >> 18.05.21 15:21, Tom Rini пише: >>> On Tue, May 18, 2021 at 01:41:06PM +0300, Oleh Kravchenko wrote: >>> Any updates on these? >>> Sorry, my reading of what you and

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-18 Thread Tom Rini
On Tue, May 18, 2021 at 04:24:49PM +0300, Oleh Kravchenko wrote: > Hello Tom, > > 18.05.21 15:21, Tom Rini пише: > > On Tue, May 18, 2021 at 01:41:06PM +0300, Oleh Kravchenko wrote: > > > >> Any updates on these? > > Sorry, my reading of what you and Sean were saying left me with the > > impressio

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-18 Thread Oleh Kravchenko
Hello Tom, 18.05.21 15:21, Tom Rini пише: > On Tue, May 18, 2021 at 01:41:06PM +0300, Oleh Kravchenko wrote: > >> Any updates on these? > Sorry, my reading of what you and Sean were saying left me with the > impression no code changes were needed in the end, is that not the case? Sean has propose

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-18 Thread Tom Rini
On Tue, May 18, 2021 at 01:41:06PM +0300, Oleh Kravchenko wrote: > Any updates on these? Sorry, my reading of what you and Sean were saying left me with the impression no code changes were needed in the end, is that not the case? > > 15.05.21 00:26, Oleh Kravchenko пише: > > Hello guys, > > Cou

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-18 Thread Oleh Kravchenko
Any updates on these? 15.05.21 00:26, Oleh Kravchenko пише: > Hello guys, > Could you please review and merge this patch? > > PR successfully passed CI: > https://github.com/u-boot/u-boot/pull/75 > > 15.05.21 00:15, Oleh Kravchenko пише: >> 'gpt' and 'mmc0' fastboot partitions have been treated as

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-14 Thread Oleh Kravchenko
Hm, So next mapping works: 0.0:0 mmc0 user area 0.1:0 mmc0 boot 1 0.2:0 mmc0 boot 2 linux> $ fastboot erase 0.1:0 linux> Erasing '0.1:0'... linux> OKAY [ 2.969s] linux> Finished. Total time: 2.990s linux> $ fastboot erase 0.2:0 linux> Erasing '0.2:0'... linux> OKAY [ 2.962s] linux> Fini

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-14 Thread Oleh Kravchenko
This one works "0:0" linux> fastboot flash 0:0 core-image-minimal.wic linux> target reported max download size of 419430400 bytes linux> Sending '0:0' (402048 KB)... linux> OKAY [ 12.613s] linux> Writing '0:0'... linux> OKAY [ 30.204s] linux> Finished. Total time: 42.842s u-boot> ** Bad partitio

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-14 Thread Oleh Kravchenko
Hello Sean, Please see my comments below: 15.05.21 01:10, Oleh Kravchenko пише: > Hello Sean, > Could you please clarify what you have mean? > > I think you pointing to this? >> fastboot_raw_partition_= [mmcpart ] > > Because I don't have idea how aliases will help to flash. > > 15.05.21 00:45

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-14 Thread Sean Anderson
On 5/14/21 6:10 PM, Oleh Kravchenko wrote: > Hello Sean, > Could you please clarify what you have mean? > > I think you pointing to this? >> fastboot_raw_partition_= [mmcpart ] > > Because I don't have idea how aliases will help to flash. No, specifically I was requesting that you try "fastbo

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-14 Thread Oleh Kravchenko
Hello Sean, Could you please clarify what you have mean? I think you pointing to this? > fastboot_raw_partition_= [mmcpart ] Because I don't have idea how aliases will help to flash. 15.05.21 00:45, Sean Anderson пише: > On 5/14/21 5:26 PM, Oleh Kravchenko wrote: >> Hello guys, >> Could you ple

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-14 Thread Sean Anderson
On 5/14/21 5:26 PM, Oleh Kravchenko wrote: > Hello guys, > Could you please review and merge this patch? Did you have any luck with the second suggestion [1] I made for your original patch? [1] https://lists.denx.de/pipermail/u-boot/2021-May/449778.html --Sean > > PR successfully passed CI: >

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-14 Thread Oleh Kravchenko
Hello guys, Could you please review and merge this patch? PR successfully passed CI: https://github.com/u-boot/u-boot/pull/75 15.05.21 00:15, Oleh Kravchenko пише: > 'gpt' and 'mmc0' fastboot partitions have been treated as the same device, > but it is wrong. > > Signed-off-by: Oleh Kravchenko

[PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-14 Thread Oleh Kravchenko
'gpt' and 'mmc0' fastboot partitions have been treated as the same device, but it is wrong. Signed-off-by: Oleh Kravchenko Cc: Pantelis Antoniou Cc: Marek Vasut --- Changes for v2: - code cleanup; Changes for v3: - QA passed at https://github.com/u-boot/u-boot/pull/75; drivers/fastboot/