[U-Boot-Users] FIS DTC

David Gibson david at gibson.dropbear.id.au
Tue Apr 8 06:32:16 CEST 2008


On Sat, Apr 05, 2008 at 07:19:54PM +0200, Michal Simek wrote:
> Hi Jon, David and others,
> 
> I am working on FIS for Microblaze CPU. I would like to use it. I have one problem.
> 
> I download latest DTC version from Jon git server.
> 
> Version: DTC 1.1.0-g1577696b
> 
> I tryied to convert DTS to DTB for Microblaze CPU. (DTS is below)
> #dtc -f -O dtb -b 0 -V 16 system.dts 
> DTC: dts->dtb  on file "system.dts"
> system.dts:27 syntax error
> FATAL ERROR: Couldn't read input tree
> 
> I got this error - I don't understand what is wrong. Older DTC version has no problem with it.
> This part is no problem - I can use older version of DTC(Version: DTC 1.1.0-g2512a7eb-dirty
> ).
> 
> The second things is around mkimage utility. I want to generate ITB file from ITS description.
> Latest DTC compiler has problem with it too. 
> 
> Can you tell me which version are you using?
> I tryied to complile ITS to ITB with older DTC version and this version don't know about data label in kernel specification.
> I had no problem to add (for FDT + kernel version) DTB file but kernel file is not loaded.
> Is label data = "/incbin/("./linux.bin")"; OK? linux bin is in the same dirctore where is microblaze.its file.

The /incbin/ is probably the problem.  Support for binary includes has
been suggested, and patches have floated around, but it hasn't yet
been merged into dtc mainline.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson




More information about the U-Boot mailing list