r4156 - trunk/src/host/devirginator

werner at sita.openmoko.org werner at sita.openmoko.org
Tue Mar 4 04:38:39 CET 2008

Author: werner
Date: 2008-03-04 04:38:36 +0100 (Tue, 04 Mar 2008)
New Revision: 4156

The copy u-boot from NOR to NAND feature produced a non-bootable system.
At least the preboot pointers where wrong and this change fixes them.
However, there may be more issues.

Since the usefulness of this feature is somewhat questionable, we just
turn it off by default, and maybe look into it again at a later time.

Modified: trunk/src/host/devirginator/environment.in
--- trunk/src/host/devirginator/environment.in	2008-03-04 03:27:05 UTC (rev 4155)
+++ trunk/src/host/devirginator/environment.in	2008-03-04 03:38:36 UTC (rev 4156)
@@ -100,12 +100,12 @@
   ext2load mmc MMC_NUM 0x32000000 /boot/${sd_image_name};
   bootm 0x32000000
-#ifdef NOR_ENV
+#ifdef look_into_this_later_NOR_ENV
   Copy u-boot from NOR to NAND:
   cp.l 0x18000000 0x32000000 0x10000;
-  mw.l 0x32000040 0 2;
+  mw.l 0x32000040 0 2;	# preboot_override and env_override
   nand write.e 0x32000000 0 0x40000;
   dynenv set u-boot_env

More information about the commitlog mailing list