Okay, turns out there is a bug in the ARM version of U-Boot.
For more details see the following:
http://www.codesourcery.com/archives/arm-gnu/msg00741.html
I am now able to compile U-Boot and get it to run correctly.
Please note: as of 1.2.0, this problem has NOT been corrected. I am not aware
about 1.3.0rc1.
Cheers,
Lloyd
--- ti_version/u-boot-1.1.3/include/asm-arm/global_data.h 2005-12-19 06:36:24.000000000 -0600
+++ u-boot-1.1.3/include/asm-arm/global_data.h 2007-09-14 15:24:26.000000000 -0500
@@ -61,6 +61,11 @@
#define GD_FLG_DEVINIT 0x00002 /* Devices have been initialized */
#define GD_FLG_SILENT 0x00004 /* Silent mode */
+#if 0
#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r8")
+#else
+#define DECLARE_GLOBAL_DATA_PTR
+register gd_t *gd asm ("r8");
+#endif
#endif /* __ASM_GBL_DATA_H */
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source