* [U-Boot-Users] error: invalid option `cpu=4kc
@ 2004-12-13 18:20 Jattin Dudakia
2004-12-13 20:00 ` Fredrik
2004-12-13 21:24 ` Wolfgang Denk
0 siblings, 2 replies; 7+ messages in thread
From: Jattin Dudakia @ 2004-12-13 18:20 UTC (permalink / raw)
To: u-boot
Thank you for responding.
I got the ISO image from the following:
/ftp/mirror/eldk/eldk/3.1/mips-linux-x86/iso
mips-2004-11-10.iso 10-Nov-2004 08:09
This is what I have installed on my machine. Do I need something newer then this?
Jattin
-----Original Message-----
From: wd@denx.de [mailto:wd at denx.de]
Sent: Sunday, December 12, 2004 9:49 AM
To: Jattin Dudakia
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] error: invalid option `cpu=4kc
In message <CFA9FA7615FFD04DB8FD8E34A3FF7F468DF5E1@sjcxch02.tbu.com> you wrote:
>
> cc1: error: invalid option `cpu=4kc'
...
> make[1]: Leaving directory `/home/jdudakia/u-boot-1.1.1/examples'
You use old source code.
> I would appreciate it is someone can help.
Please use recent sources (top of CVS, or at least the snapshot as
included with the ELDK 3.1 distribution).
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Vulcans do not approve of violence.
-- Spock, "Journey to Babel", stardate 3842.4
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] error: invalid option `cpu=4kc
2004-12-13 18:20 [U-Boot-Users] error: invalid option `cpu=4kc Jattin Dudakia
@ 2004-12-13 20:00 ` Fredrik
2004-12-13 21:24 ` Wolfgang Denk
1 sibling, 0 replies; 7+ messages in thread
From: Fredrik @ 2004-12-13 20:00 UTC (permalink / raw)
To: u-boot
Jattin,
The "cpu" option is outdated in favor of the "-march" option. The tip
sources have changed cpu/mips/config.mk to reflect that:
-march=4kc -mtune=4kc -Wa,-mips_allow_branch_to_undefined \
-EB -mabicalls
(The "-mtune" option seems redundant, but shouldn't hurt anything.)
/Fredrik
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] error: invalid option `cpu=4kc
2004-12-13 18:20 [U-Boot-Users] error: invalid option `cpu=4kc Jattin Dudakia
2004-12-13 20:00 ` Fredrik
@ 2004-12-13 21:24 ` Wolfgang Denk
1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2004-12-13 21:24 UTC (permalink / raw)
To: u-boot
In message <CFA9FA7615FFD04DB8FD8E34A3FF7F468DF5E3@sjcxch02.tbu.com> you wrote:
>
> I got the ISO image from the following:
>
> /ftp/mirror/eldk/eldk/3.1/mips-linux-x86/iso
> mips-2004-11-10.iso 10-Nov-2004 08:09
>
> This is what I have installed on my machine. Do I need something newer
> then this?
This is ok. But you wrote:
> > make[1]: Leaving directory `/home/jdudakia/u-boot-1.1.1/examples'
>
> You use old source code.
This is old U-Boot source code.
> Please use recent sources (top of CVS, or at least the snapshot as
> included with the ELDK 3.1 distribution).
Do that, then.
[And by the way: please learn how to quote correctly. Don't top-post.]
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Real Programmers always confuse Christmas and Halloween because
OCT 31 == DEC 25 ! - Andrew Rutherford (andrewr at ucs.adelaide.edu.au)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] error: invalid option `cpu=4kc
@ 2004-12-14 7:32 Jattin Dudakia
2004-12-14 13:14 ` Wolfgang Denk
0 siblings, 1 reply; 7+ messages in thread
From: Jattin Dudakia @ 2004-12-14 7:32 UTC (permalink / raw)
To: u-boot
My apologies, but I don't know what you mean by the following. If you can elaborate, I can correct in the future.
[And by the way: please learn how to quote correctly. Don't top-post.]
Again, I appreciate you help.
I got further with the latest sources, but now I get the error shown below.
a - spartan2.o
a - usb.o
a - usb_kbd.o
a - usb_storage.o
a - virtex2.o
a - xilinx.o
make[1]: Leaving directory `/home/jdudakia/u-boot-041213/common'
UNDEF_SYM=`mips_4KC-objdump -x lib_generic/libgeneric.a board/tb0229/libtb0229.a cpu/mips/libmips.a lib_mips/libmips.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
mips_4KC-ld -Bstatic -T /home/jdudakia/u-boot-041213/board/tb0229/u-boot.lds -Ttext 0xBFC00000 $UNDEF_SYM cpu/mips/start.o \
--start-group lib_generic/libgeneric.a board/tb0229/libtb0229.a cpu/mips/libmips.a lib_mips/libmips.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a --no-warn-mismatch -L /opt/eldk3.1/usr/bin/../lib/gcc-lib/mips-linux/3.3.3 -lgcc --end-group \
-Map u-boot.map -o u-boot
cpu/mips/start.o(.text+0x460): In function `reset':
: undefined reference to `_GLOBAL_OFFSET_TABLE_'
make: *** [u-boot] Error 139
[root at new-pws450 u-boot-041213]#
Jattin
-----Original Message-----
From: wd@denx.de [mailto:wd at denx.de]
Sent: Monday, December 13, 2004 1:25 PM
To: Jattin Dudakia
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] error: invalid option `cpu=4kc
In message <CFA9FA7615FFD04DB8FD8E34A3FF7F468DF5E3@sjcxch02.tbu.com> you wrote:
>
> I got the ISO image from the following:
>
> /ftp/mirror/eldk/eldk/3.1/mips-linux-x86/iso
> mips-2004-11-10.iso 10-Nov-2004 08:09
>
> This is what I have installed on my machine. Do I need something newer
> then this?
This is ok. But you wrote:
> > make[1]: Leaving directory `/home/jdudakia/u-boot-1.1.1/examples'
>
> You use old source code.
This is old U-Boot source code.
> Please use recent sources (top of CVS, or at least the snapshot as
> included with the ELDK 3.1 distribution).
Do that, then.
[And by the way: please learn how to quote correctly. Don't top-post.]
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Real Programmers always confuse Christmas and Halloween because
OCT 31 == DEC 25 ! - Andrew Rutherford (andrewr at ucs.adelaide.edu.au)
^ permalink raw reply [flat|nested] 7+ messages in thread* [U-Boot-Users] error: invalid option `cpu=4kc
2004-12-14 7:32 Jattin Dudakia
@ 2004-12-14 13:14 ` Wolfgang Denk
0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2004-12-14 13:14 UTC (permalink / raw)
To: u-boot
In message <CFA9FA7615FFD04DB8FD8E34A3FF7F468DF5F2@sjcxch02.tbu.com> you wrote:
> My apologies, but I don't know what you mean by the following. If you =
> can elaborate, I can correct in the future.
> [And by the way: please learn how to quote correctly. Don't top-post.]
See for example http://www.faqs.org/faqs/comics/xbooks/readpost/section-4.html
> cpu/mips/start.o(.text+0x460): In function `reset':
> : undefined reference to `_GLOBAL_OFFSET_TABLE_'
> make: *** [u-boot] Error 139
> [root at new-pws450 u-boot-041213]#
I don't see this problem with other MIPS boards, like "purple" or
"incaip"
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A memorandum is written not to inform the reader, but to protect the
writer. -- Dean Acheson
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] error: invalid option `cpu=4kc
@ 2004-12-11 1:05 Jattin Dudakia
2004-12-12 17:49 ` Wolfgang Denk
0 siblings, 1 reply; 7+ messages in thread
From: Jattin Dudakia @ 2004-12-11 1:05 UTC (permalink / raw)
To: u-boot
I have following installed on my machine and want to develop a BPS for mips based board.
- eldk 3.1 mips-linux-x86
- U-Boot 1.1.1
I have setup the path to the installed eldk bins and setup the export CROSS_COMPILE to mips_4KC-.
I wanted to ensure that everything is setup correctly, so tried building the mips based boards such as purple and tb0229. In each case I get the following compile error.
mips_4KC-gcc -g -Os -D__KERNEL__ -DTEXT_BASE=0xB0000000 -I/home/jdudakia/u-boot-1.1.1/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/eldk3.1/usr/bin/../lib/gcc-lib/mips-linux/3.3.3/include -pipe -DCONFIG_MIPS -D__MIPS__ -mcpu=4kc -EB -mabicalls -Wall -Wstrict-prototypes -c -o stubs.o stubs.c
cc1: error: invalid option `cpu=4kc'
make[1]: *** [stubs.o] Error 1
make[1]: Leaving directory `/home/jdudakia/u-boot-1.1.1/examples'
make: *** [examples] Error 2
I would appreciate it is someone can help.
Thank you in advance.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] error: invalid option `cpu=4kc
2004-12-11 1:05 Jattin Dudakia
@ 2004-12-12 17:49 ` Wolfgang Denk
0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2004-12-12 17:49 UTC (permalink / raw)
To: u-boot
In message <CFA9FA7615FFD04DB8FD8E34A3FF7F468DF5E1@sjcxch02.tbu.com> you wrote:
>
> cc1: error: invalid option `cpu=4kc'
...
> make[1]: Leaving directory `/home/jdudakia/u-boot-1.1.1/examples'
You use old source code.
> I would appreciate it is someone can help.
Please use recent sources (top of CVS, or at least the snapshot as
included with the ELDK 3.1 distribution).
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Vulcans do not approve of violence.
-- Spock, "Journey to Babel", stardate 3842.4
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-12-14 13:14 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-13 18:20 [U-Boot-Users] error: invalid option `cpu=4kc Jattin Dudakia
2004-12-13 20:00 ` Fredrik
2004-12-13 21:24 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2004-12-14 7:32 Jattin Dudakia
2004-12-14 13:14 ` Wolfgang Denk
2004-12-11 1:05 Jattin Dudakia
2004-12-12 17:49 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.