From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson Date: Tue, 8 Apr 2008 14:32:16 +1000 Subject: [U-Boot-Users] FIS DTC In-Reply-To: <5311.8289-4040-1400377102-1207415994@seznam.cz> References: <5311.8289-4040-1400377102-1207415994@seznam.cz> Message-ID: <20080408043216.GD18501@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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