[U-Boot] Weird issues with u-boot on Microblaze

Dana Goyette dgoyette at calpoly.edu
Thu Aug 20 01:21:25 CEST 2009


I've been trying to bring up a vanilla kernel on an XUPV5-LX110T board, 
and have been having all sorts of odd issues with U-Boot.  For example, 
if I try to enable FIT image support (as noted on 
http://www.monstr.eu/wiki/doku.php?id=uboot:uboot ), I get 
CONFIG_BOOTMAPSZ undefined.  I've also had to edit image.h to get the 
thing to compile.

image.c: In function ‘boot_get_fdt’:

image.c:1510: error: ‘bootm_headers_t’ has no member named ‘fit_hdr_fdt’

image.c:1511: error: ‘bootm_headers_t’ has no member named ‘fit_uname_fdt’

image.c:1512: error: ‘bootm_headers_t’ has no member named ‘fit_noffset_fdt’

the fix:  edit image.h (line 221):
#if defined(CONFIG_OF_LIBFDT) /* WAS: CONFIG_PPC */

If I fix that and try to load a FIT image with a kernel and device-tree, 
the bootm command completely ignores the device tree; unfortunately, I 
don't have a log of this on hand, because now even image loading has 
broken somehow.  For example, fatls ace 0 gives "   131074   . ", and 
attempting DHCP boot results in a spew of "ARP Retry count exceeded; 
starting again" -- retry count exceeded, despite it never having tried 
even once?

I've attached a log of the console output under both conditions, as well 
as the config.mk and xparameters.h under microblaze_generic; for some 
reason, the given U-Boot BSP assumes 100MHz, despite the board using 
125MHz.  Does anyone have advice for getting u-boot to work on this board?

Thanks in advance for any help.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot.log
Type: text/x-log
Size: 3326 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090819/20625d47/attachment.bin 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.mk
Url: http://lists.denx.de/pipermail/u-boot/attachments/20090819/20625d47/attachment.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xparameters.h
Type: text/x-chdr
Size: 2333 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090819/20625d47/attachment.h 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: microblaze-generic.h
Type: text/x-chdr
Size: 9385 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090819/20625d47/attachment-0001.h 


More information about the U-Boot mailing list