[PATCH] Add support for binary includes.

Grant Likely grant.likely at secretlab.ca
Sat Feb 23 02:50:39 EST 2008


On Fri, Feb 22, 2008 at 2:02 AM, David Woodhouse <dwmw2 at infradead.org> wrote:
>
>  On Thu, 2008-02-21 at 23:05 -0700, Grant Likely wrote:
>  > Can I ask; what is the intended usage of such a thing?  How large
>  > would a typical binary blob be?
>
>  Device firmware?

That's what I was wondering about.  Is this really a good idea?
Effectively, in the Linux kernel the device tree is being used as a
big blob of initdata, except that it cannot free the memory allocated
by the device tree when it is complete.  As it is right now, device
trees seem to weigh in between 4-8kB, a pretty insignificant size for
memory that cannot be reclaimed.  However, if firmware blobs start
getting added to the tree that size could balloon pretty quickly.

I'm not actually opposed to the feature, and I understand that it is
needed for the new u-boot image format, but I think we need some usage
guidelines in place when this feature is merged.  As much as possible
I think we should be directing developers to use the existing firmware
loading facilities in the Linux kernel.

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.



More information about the Linuxppc-dev mailing list