[PATCH v2 1/4] imxrt1050-evk: README: fix dd command destination

Giulio Benetti giulio.benetti at benettiengineering.com
Mon Apr 27 17:45:14 CEST 2020


On 4/27/20 5:34 PM, Fabio Estevam wrote:
> Hi Giulio,
> 
> On Mon, Apr 27, 2020 at 12:11 PM Giulio Benetti
> <giulio.benetti at benettiengineering.com> wrote:
>>
>> Make "of=" the same for the 2 commands since we're writing to the same
>> sd-card.
>>
>> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
>> ---
>>   board/freescale/imxrt1050-evk/README | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/board/freescale/imxrt1050-evk/README b/board/freescale/imxrt1050-evk/README
>> index f7e2894025..55b6a0877a 100644
>> --- a/board/freescale/imxrt1050-evk/README
>> +++ b/board/freescale/imxrt1050-evk/README
>> @@ -11,7 +11,7 @@ This will generate the SPL image called SPL and the u-boot.img.
>>
>>   - Flash the SPL image into the micro SD card:
>>
>> -sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
>> +sudo dd if=SPL of=/dev/sdb bs=1k seek=1; sync
> 
> I usually prefer to write /dev/sdX instead because someone may follow
> the instructions as is and inadvertently kill their hard disk or
> another device that may appear at /dev/sdb.

Oh, that's right.

I send V3 with that corrected.

Thank you
-- 
Giulio Benetti
Benetti Engineering sas


More information about the U-Boot mailing list