[U-Boot-Users] troubles

Daniel Stenberg daniel at haxx.se
Wed Nov 30 16:09:45 CET 2005


On Wed, 30 Nov 2005, Alexandr Kuleschov wrote:

> When i define
> - CONFIG_SKIP_LOWLEVEL_INIT
> - CONFIG_SKIP_RELOCATE_UBOOT
>
> then i see troubles:
>
> cpu/arm920t/start.o:/home/ask/distr/u-boot-1.1.3/cpu/arm920t/start.S:265:
> undefined reference to `lowlevel_init'
>
> How to solve a problem?

You need this:

Index: cpu/arm920t/start.S
===================================================================
RCS file: /cvsroot/u-boot/u-boot/cpu/arm920t/start.S,v
retrieving revision 1.14
diff -u -r1.14 start.S
--- cpu/arm920t/start.S 6 Oct 2005 21:47:43 -0000       1.14
+++ cpu/arm920t/start.S 30 Nov 2005 15:09:02 -0000
@@ -225,6 +225,7 @@
  _start_armboot:        .word start_armboot


+#ifndef CONFIG_SKIP_LOWLEVEL_INIT
  /*
   *************************************************************************
   *
@@ -265,7 +266,8 @@
         mov     lr, ip
         mov     pc, lr

-
+#endif
+
  /*
   *************************************************************************
   *


-- 
          -=- Daniel Stenberg -=- http://daniel.haxx.se -=-
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol




More information about the U-Boot mailing list