[PATCH 3/9] update-comment-linker-script.patch
andy at openmoko.com
Tue Aug 19 16:56:17 CEST 2008
Update the comment for linker script system in use now
Signed-off-by: Andy Green <andy at openmoko.com>
src/start_qi.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/start_qi.c b/src/start_qi.c
index 1fe7df2..f5c0223 100644
@@ -52,9 +52,11 @@ void start_qi(void)
* steppingstone SRAM for free. Now we pull the whole bootloader
* image into SDRAM.
- * So this doesn't trash position-dependent code, we took care in the
- * linker script to arrange all rodata* segment content to be in the
- * first 4K region.
+ * This code and the .S files are arranged by the linker script to
+ * expect to run from 0x0. But the linker script has told everything
+ * else to expect to run from 0x33000000+. That's why we are going to
+ * be able to copy this code and not have it crash when we run it from
+ * there.
/* We randomly pull 24KBytes of bootloader */
More information about the openmoko-kernel