[PATCH 0/2] Add more support for NXP's mfgtool

Oleh Kravchenko oleg at kaa.org.ua
Sat Dec 18 22:52:43 CET 2021




18.12.21 16:34, Angus Ainslie пише:
> Hi Oleh
> 
> On 2021-12-18 00:44, Oleh Kravchenko wrote:
>> Hello Angus!
>> What is the use-case for these patches?
>>
>> Would you mind defining why the current implementation is not enough?
>> Used like that:
>>> FB: flash -raw2sparse mmc0 emmc.wic
>>
>>
> 
> Thanks, it looks like the way I'm using fastboot is causing the issue.
> 
> FB: ucmd setenv fastboot_dev mmc
> FB: ucmd setenv mmcdev 0
> FB: flash -raw2sparse all <image>
> 
> using your syntax I likely won't need these patches.

Just make sure you have these configs enabled:

> CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
> CONFIG_FASTBOOT_MMC_BOOT_SUPPORT=y # enable this if you planning flash boot area too

  
> FB: flash -raw2sparse mmc0 <image>
> 
> Cheers
> Angus

-- 
Best regards,
Oleh Kravchenko


More information about the U-Boot mailing list