On Mon, May 13, 2013 at 08:43:58AM +0000, Dr. Patrick Langfeld wrote: > Thanks Sascha, > but whats wrong with the devicetree blob? > I mean the same dtb is working, when I boot the board with uboot. > > I use ptxdist to build the kernel image and to build the tx53.dtb > from tx53.dts > > Are there some special settings to build the dtb for use with barebox? > > What can be wrong with the dtb. A dtb must have 0xd00dfeed (big endian) in the first 4 bytes. Your dtb seems to have 0x0000f085 instead so barebox doesn't recognize this as dtb. You could do a: md -s /mnt/tftp/tx53.dtb on the commandline. You should see the magic. Then afterwards you can add the following to commands/bootm.c just below the line printing "...is not an oftree but...": memory_display(fdt, 0, 0x100, 4, 0); The result should be identical and both should have 0xedfe0dd0 as the first value. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox