[U-Boot] No BOOT_FROM tag build error

Stefano Babic sbabic at denx.de
Thu Mar 8 17:40:34 UTC 2018


On 08/03/2018 18:20, Fabio Estevam wrote:
> Hi Stefano,
> 
> On Thu, Mar 8, 2018 at 2:00 PM, Stefano Babic <sbabic at denx.de> wrote:
> 
>> Anyway, I) have just done what the error is saying:
>>
>> diff --git a/board/freescale/vf610twr/imximage.cfg
>> b/board/freescale/vf610twr/imximage.cfg
>> index 70157ed..9ff4890 100644
>> --- a/board/freescale/vf610twr/imximage.cfg
>> +++ b/board/freescale/vf610twr/imximage.cfg
>> @@ -13,5 +13,7 @@
>>  /* image version */
>>  IMAGE_VERSION  2
>>
>> +BOOT_FROM      sd
>> +
>>  /* Boot Offset 0x400, valid for both SD and NAND boot */
>>  BOOT_OFFSET    FLASH_OFFSET_STANDARD
> 
> Yes, I tried this change before here and it works for me, but still
> fails for Breno.
> 
> The curious thing is that sometime it builds fine, sometimes not in
> his machine even with this change applied.
> 
> It looks like a parallel build problem because I never see a failure
> when only 'make' is used instead of 'make -j4'.

Confirmed - even with patch, running in a loop:

	make mrproper;make vf610twr_defconfig; make -j8

I can trigger the error. In most cases it works. It looks to me that
mkimake is called before board/freescale/vf610twr/imximage.cfg.cfgtmp
has finished.

Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list