Subject: Re: DTC 1.0.0 Release Coming?

From: Geoff Levand <[email-masked]>
Date: Fri, 10 Aug 2007 18:35:46 -0700

Paul Mackerras wrote:
> David Gibson writes:
> 
>> We decided that since a formal dtc release was imminent, it would be
>> simpler to make dtc a new kernel build requirement, rather than
>> integrate the substantial blob of dtc code into the kernel tree and
>> then have to deal with the maintenance / synchronization issues
>> between the in-kernel and upstream versions.
> 
> Um, what I thought we decided was to ship a pre-built .dtb for ps3
> (once its dts settles down), and make dtc a kernel build requirement
> only for embedded platforms.

We could also ship a generated .S file (dtc -O asm -o ps3-dt.S ps3.dts),
which would be easier to maintain in the source tree than a binary file,
then use something like this in the wrapper script:
  
  ${CROSS}gcc -c -o ${platform}-dt.o ${platform}-dt.S
  ${CROSS}objcopy -O binary ${platform}-dt.o ${platform}.dtb

Untested, but it seems like it would work.

-Geoff