Markus Klotzbücher wrote: > Dear List, > > I'm facing a problem creating a new fdt image following the instructions > in the u-boot/doc/uImage.FIT/howto.txt > > u-boot and dtc are top of git: > > $ dtc -v > Version: DTC 1.1.0-g050e6f0c > > ~/src/git/u-boot/ $ git-describe > v1.3.3-32-gf2aeecc > > I'm in the linux-2.6-denx/ directory with kernel and target blob: > > ~/src/git/linux-2.6-denx/ $ ls target.dtb vmlinux.bin.gz > target.dtb vmlinux.bin.gz > > I try to create the new image as follows: > > $ ../u-boot/tools/mkimage -f ../u-boot/doc/uImage.FIT/kernel_fdt.its > kernel_fdt.itb > FIT format handling > Trying to execute "dtc -I dts -O dtb -p 500 > ../u-boot/doc/uImage.FIT/kernel_fdt.its > kernel_fdt.itb.tmp" > DTC: dts->dtb on file "../u-boot/doc/uImage.FIT/kernel_fdt.its" > ../u-boot/doc/uImage.FIT/kernel_fdt.its:11 syntax error > FATAL ERROR: Unable to parse input tree > ../u-boot/tools/mkimage: Can't read kernel_fdt.itb.tmp: Invalid argument > > Any ideas?
Hi Markus, Line 11 of doc/uImage.FIT/kernel_fdt.its is: data = /incbin/("./vmlinux.bin.gz"); So most likely your problem is due to mainline dtc not supporting binary includes (yet). You need to patch it with original Scott Wood's patch, see: http://www.nabble.com/-PATCH--Add-support-for-binary-includes.-td15596760.html HTH, Bartlomiej ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users