[U-Boot] [PATCH v3 7/8] x86: reserve more spaces for dtb

Miao Yan yanmiaobest at gmail.com
Wed Dec 30 09:46:45 CET 2015


Hi Bin,

2015-12-30 12:04 GMT+08:00 Bin Meng <bmeng.cn at gmail.com>:
> Hi Miao,
>
> On Tue, Dec 29, 2015 at 6:35 PM, Miao Yan <yanmiaobest at gmail.com> wrote:
>> Reserve more spaces for x86 dtb files. Otherwise when booting
>> on qemu targets, fixing 'cpu' node may fail due to lack
>> of space left in dtb.
>>
>> Signed-off-by: Miao Yan <yanmiaobest at gmail.com>
>> ---
>>  arch/x86/dts/Makefile | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/x86/dts/Makefile b/arch/x86/dts/Makefile
>> index 64e5694..753e8fa 100644
>> --- a/arch/x86/dts/Makefile
>> +++ b/arch/x86/dts/Makefile
>> @@ -15,7 +15,7 @@ dtb-y += bayleybay.dtb \
>>
>>  targets += $(dtb-y)
>>
>> -DTC_FLAGS += -R 4 -p 0x1000
>> +DTC_FLAGS += -R 4 -p 0x3000
>
> This changes bloat the code size too much. It increase 8KB to all the
> x86 dtb files. Is there another way to fix this?

I'll drop this patch, and mention that we support 32 cpus in the
document, since increasing dtb size for all x86 targets isn't
desirable.




>
>>
>>  PHONY += dtbs
>>  dtbs: $(addprefix $(obj)/, $(dtb-y))
>> --
>
> Regards,
> Bin


More information about the U-Boot mailing list