Skip to contentSkip to conversation

troubles

U-Boot-Users Alexandr Kuleschov 2 participants 2 messages Nov 30, 2005

lore
Share & tools
lore
#0 lore raw

Hi people!

I work with based on AT91RM9200 board.
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?
Thank
P.S. host OS - ASPLinux 9.2

Alexandr

#1 lore raw
Quoted 10 lines · Alexandr Kuleschov

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

arm920t/start.S 30 Nov 2005 15:09:02 -0000 renamed from arm920t/start.S 6 Oct 2005 21:47:43 -0000 1.14 +3 -1
diff -u -r1.14 start.S
@@ -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
+
  /*
   *************************************************************************
   *
Signature · 2 lines
          -=- Daniel Stenberg -=- http://daniel.haxx.se -=-
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol