Skip to contentSkip to conversation

Help:Make error in lite5200

U-Boot-Users xueming 2 participants 4 messages Nov 10, 2004 – Nov 11, 2004

lore
Share & tools
lore

xueming

author
#0 lore raw

Hi all ,
I took the following step, and get error.Please help me to see what
happened.
Host : Redhat 9.0 , toolchain: ppc_82xx-

     U-BOOT version : 1.1.1

1) Set PATH
2) Set CROSS_COMPLIE and export
3) make mrproper
4) make Lite5200_LOWBOOT_config
5) make, then erorr as :
in file /cpu/mpc5xxx/start.S:
in line 60 : unkown symbol : start_got
........................
My question is : where to define START_GOT ?

Thanks a lot.
Xueming

#1 lore raw
Quoted 4 lines · In message <000001c4c736$b9294eb0$37db1cde@xueming> you wrote:

I took the following step, and get error.Please help me to see what
happened.
Host : Redhat 9.0 , toolchain: ppc_82xx-

Where is this toolchain coming from?

Quoted 9 lines

1) Set PATH
2) Set CROSS_COMPLIE and export
3) make mrproper
4) make Lite5200_LOWBOOT_config
5) make, then erorr as :
in file /cpu/mpc5xxx/start.S:
in line 60 : unkown symbol : start_got
........................
My question is : where to define START_GOT ?

This works fine here... [using ELDK 3.0 and 3.1] -  I  guess  it's  a
toolchain  problem,  then  [or  maybe  rthere  was  a  windoze system

involved when you downloaded / copied the sources?]

Best regards,

Wolfgang Denk

Signature · 4 lines
See us @ Embedded/Electronica Munich, Nov 09 - 12, Hall A.6 Booth 513
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Syntactic sugar causes cancer of the semicolon.
                - Epigrams in Programming, ACM SIGPLAN Sept. 1982
author
#2 lore raw

hi Wolfgang,
Thanks for your help to solve the uboot make problem.
I follow your guide that '" maybe rthere was a windoze system
involved when you downloaded / copied the sources?]" , I do as following, then Uboot build done successfully.(ELDK version 3.0)
1) Download the u-boot-1.1.1.tar.bz2 with friend's help, his system
is windows system.

      2)  "tar xvfj"  the file in linux system 
      3)  Set PATH and export CROSS_COMPILE=ppc_82xx-,
      4)  make mrproper,make Lite5200_LOWBOOT_config, make .

5) Done OK.

But when I build kernel, I met another proplem. I do as the
following :
1) Download "ppc-2004-02-16.iso" from network with window system.
2) Open "ppc-2004-02-16.iso" in linux system and get "linux-2.4.24.
tar.bz2"
3) "tar xvfj " the file "linux-2.4.24.tar.bz2"
4) Set PATH and export CROSS_COMPILE=ppc_82xx-
5) make mrproper
6) make menuconfig : load config:
arch/ppc/configs/icecube_5200_defconfig, exit and save
7) make dep
8) make uImage ,then errors occur as following :
=======================================
in file include/asm/status_led.h

   # error Status LED configuration missing
status_led.c
   undefind symbol  STATUS_LED_PAR	
   undefine STATUS_LED_DIR		
   undefine STATUS_LED_ODR		
   undefine STATUS_LED_DAT		
............
 ========================
  Could you help to see what happened here?( and if I copy the
definiction instead of ''  # error Status LED configuration missing""
,then pass ok)

Thanks for your help .

Best Regards,
xueming

-----????-----
???: u-boot-users-admin at lists.sourceforge.net [mailto:u-boot-users-admin at lists.sourceforge.net] ?? Wolfgang Denk ????: 2004?11?11? 5:40
???: xueming
??: u-boot-users at lists.sourceforge.net
??: Re: [U-Boot-Users] Help:Make error in lite5200

Quoted 5 lines · In message <000001c4c736$b9294eb0$37db1cde@xueming> you wrote:

I took the following step, and get error.Please help me to see what

happened.
Host : Redhat 9.0 , toolchain: ppc_82xx-

Where is this toolchain coming from?

Quoted 9 lines

1) Set PATH
2) Set CROSS_COMPLIE and export
3) make mrproper
4) make Lite5200_LOWBOOT_config
5) make, then erorr as :
in file /cpu/mpc5xxx/start.S:
in line 60 : unkown symbol : start_got
........................
My question is : where to define START_GOT ?

This works fine here... [using ELDK 3.0 and 3.1] -  I  guess  it's  a
toolchain  problem,  then  [or  maybe  rthere  was  a  windoze system

involved when you downloaded / copied the sources?]

Best regards,

Wolfgang Denk

Signature · 15 lines
See us @ Embedded/Electronica Munich, Nov 09 - 12, Hall A.6 Booth 513
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Syntactic sugar causes cancer of the semicolon.
                - Epigrams in Programming, ACM SIGPLAN Sept. 1982


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld
Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
#3 lore raw
Quoted 7 lines · In message <000001c4c79f$249d90d0$37db1cde@xueming> you wrote:

1) Download the u-boot-1.1.1.tar.bz2 with friend's help, his system
is windows system.

      2)  "tar xvfj"  the file in linux system 
      3)  Set PATH and export CROSS_COMPILE=ppc_82xx-,
      4)  make mrproper,make Lite5200_LOWBOOT_config, make .

5) Done OK.

OK.

Quoted 3 lines

1) Download "ppc-2004-02-16.iso" from network with window system.
2) Open "ppc-2004-02-16.iso" in linux system and get "linux-2.4.24.
tar.bz2"

Why don't you just download the file from one of the FTP mirrors? Why causing 650 MB of traffic when all you need is only 5% or less of it?

Quoted 5 lines

3) "tar xvfj " the file "linux-2.4.24.tar.bz2"
4) Set PATH and export CROSS_COMPILE=ppc_82xx-
5) make mrproper
6) make menuconfig : load config:
arch/ppc/configs/icecube_5200_defconfig, exit and save

This is NOT the way as described in the manual (also it's off topic here).

Follow the description in the manual, see
http://www.denx.de/twiki/bin/view/DULG/LinuxConfiguration#Section_6.2.

I. e run

make mrproper
make icecube_5200_config
make oldconfig
make dep
make uImage

Best regards,

Wolfgang Denk

Signature · 4 lines
See us @ Embedded/Electronica Munich, Nov 09 - 12, Hall A.6 Booth 513
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Never underestimate the bandwidth of a station wagon full of tapes.
                                -- Dr. Warren Jackson, Director, UTCS