Re: bugfix: _barebox_image_size wrong if enable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>
>>> AFAIR this only happened for linker variables that point to absolute
>>> addresses. Differences between addresses also worked with the older
>>> compilers, and I think this is what your patch does:
>>
>> No. my patch just for new toolchain. with old toolchain it has no effect,
>> Because all of the size is zero.
>>
>> By using the newer toolchain:
>> 	arm-poky-eabi-gcc (GCC) 8.2.0
>> 	GNU ld (GNU Binutils) 2.31.1.20180818
>>
>> In barebox config file:
>>         CONFIG_TEXT_BASE=0x23e00000
>>         CONFIG_RELOCATABLE=y
> 
> With CONFIG_RELOCATABLE enabled TEXT_BASE should be 0x0 and this should
> be enforced by Kconfig dependencies. Which barebox version are you on
> and which SoC are you compiling for?

I'm using v2016.10.0 and my custom board based on friendlyarm-tiny2
-- 
Best Regards,
zzs


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux