[U-Boot-Users] "go addr" Question...

Robin Getz rgetz at blackfin.uclinux.org
Tue Sep 6 16:17:35 CEST 2005


We were having an issue with the command "go addr" starting some binary 
images (like the linux kernel and others).

Aubrey Li tracked this down to what appears to us as an issue in 
u-boot/common/cmd_boot.c:do_go which doesn't clear, or invalidate cache.

Right now, we added this to our cvs, with an ifdef - if this is a common 
need for other architectures, we can take out the ifdef, and re-sumbit the 
patch.

Comments, Suggestions, or Criticisms welcomed.

Thanks
-Robin

diff -u -r1.1.1.1 -r1.2
--- cmd_boot.c  13 Mar 2005 21:26:46 -0000      1.1.1.1
+++ cmd_boot.c  6 Sep 2005 08:05:51 -0000       1.2
@@ -48,6 +48,10 @@

         printf ("## Starting application at 0x%08lX ...\n", addr);

+#if defined(CONFIG_BLACKFIN)
+        if(icache_status())
+                invalidate_entire_icache();
+#endif

         /*
          * pass address parameter as argv[0] (aka command name),
          * and all remaining args







More information about the U-Boot mailing list