DTC 1.0.0 Release Coming?

Geoff Levand geoffrey.levand at am.sony.com
Sat Aug 11 11:35:46 EST 2007


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







More information about the Linuxppc-dev mailing list