[U-Boot] [PATCH] sunxi: imply CONFIG_OF_LIBFDT_OVERLAY

Andre Heider a.heider at gmail.com
Tue Dec 19 15:31:12 UTC 2017


On 19/12/17 13:51, Maxime Ripard wrote:
> On Tue, Dec 19, 2017 at 05:12:00PM +0530, Jagan Teki wrote:
>> On Wed, Dec 13, 2017 at 2:16 PM, Andre Heider <a.heider at gmail.com> wrote:
>>> fdt overlay support is useful for all sunxi boards, enable per default
>>> and remove it from sunxi defconfigs.
>>>
>>> Signed-off-by: Andre Heider <a.heider at gmail.com>
>>> ---
>>>
>>> Hi,
>>>
>>> there're way too many sunxi boards so I'm not 100% sure this is the best
>>> approach...
>>>
>>> Are there boards where enabling this is definitely not desired?
>>>
>>> Thanks,
>>> Andre
>>>
>>>   arch/arm/Kconfig           | 1 +
>>>   configs/CHIP_defconfig     | 1 -
>>>   configs/CHIP_pro_defconfig | 1 -
>>>   3 files changed, 1 insertion(+), 2 deletions(-)
>>>
>>> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
>>> index 73909952d0..25847b3aa1 100644
>>> --- a/arch/arm/Kconfig
>>> +++ b/arch/arm/Kconfig
>>> @@ -715,6 +715,7 @@ config ARCH_SUNXI
>>>          select USE_TINY_PRINTF
>>>          imply CMD_GPT
>>>          imply FAT_WRITE
>>> +       imply OF_LIBFDT_OVERLAY
>>
>> It's increasing u-boot.itb size to 512KB (which is 508K earlier) and
>> in either case the size moves on env side where env start 0x88000
>> (504KB)
> 
> Right, so maybe we can make that conditional to ARM?
> 
> Maxime
> 

 From the 'we're out of space' thread:
...
 > So, with FIT_ENABLE_SHA256_SUPPORT, LZMADEC, ISO_PARTITION and the
 > overlay support, we're at 500kB.
 >
 > Again, tight, but under the limit.
...

If I understood correctly the issue will be solved without any requiring 
changes to this patch.
Let me know if that is not the case.

Thanks,
Andre


More information about the U-Boot mailing list