[U-Boot] 4K padding of ARM DT blob

Yehuda Yitschak yehuday at marvell.com
Thu Mar 5 19:20:35 CET 2015


Hey Tom 

In arch/arm/dts/Makfile: line 56 
"DTC_FLAGS += -R 4 -p 0x1000"

this tell the dtc tool to add a 4K padding to the device tree blob. 

i can't figure out why this is needed.
Its creating a 4KB penalty on the dtb file so i guess it has some justification. 

Thanks 

Yehuda 
________________________________________
From: Tom Rini <trini at konsulko.com>
Sent: Thursday, March 5, 2015 6:40 PM
To: Yehuda Yitschak
Cc: yamada.m at jp.panasonic.com; u-boot at lists.denx.de; Hanna Hawa
Subject: Re: [U-Boot] 4K padding of ARM DT blob

On Thu, Mar 05, 2015 at 08:02:50AM +0000, Yehuda Yitschak wrote:

> Hello
>
> I was wondering why the default ARM device tree blob is padded by 4K bytes
>
> Is this required to align to some storage medium ?
> Is there a configuration that allows to eliminate this padding to save space ?

Can you expand on what you're referring to / code in question?  Thanks!

--
Tom


More information about the U-Boot mailing list