From: Steven Scholz <steven.scholz@imc-berlin.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Cleanup cpu/arm920t
Date: Wed, 11 Aug 2004 12:45:40 +0200 [thread overview]
Message-ID: <4119F8D4.5090400@imc-berlin.de> (raw)
In-Reply-To: <411890AF.4090308@imc-berlin.de>
Hi llandre,
Did you have any success with your Cirrus Logic EDB93xx and
cpu/arm920t/ep93xx???
My first attempt to do something like
$(LIB): $(OBJS)
$(AR) crv $@ $(OBJS) imx/libimx.a
in cpu/arm920t/Makefile resulted in some error
> UNDEF_SYM=`arm_920TDI-objdump -x lib_generic/libgeneric.a
> board/mx1ads/libmx1ads.a cpu/arm920t/libarm920t.a lib_arm/libarm.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`;\
> arm_920TDI-ld -Bstatic -T
> /home/scholz/Projekte/HiResDisplay/u-boot.work/board/mx1ads/u-boot.lds
> -Ttext 0x08400000 $UNDEF_SYM cpu/arm920t/start.o \
> --start-group lib_generic/libgeneric.a
> board/mx1ads/libmx1ads.a cpu/arm920t/libarm920t.a lib_arm/libarm.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/eldk/usr/lib/gcc-lib/arm-linux/2.95.4 -lgcc --end-group \
> -Map u-boot.map -o u-boot
> arm_920TDI-objdump: libimx.a: File format not recognized
My cpu/arm920t/imx/Makefile looks like
#########################################################################
include $(TOPDIR)/config.mk
LIB = libimx.a
OBJS = imx_generic.o imx_interrupts.o \
imx_serial.o imx_speed.o
all: .depend $(LIB)
$(LIB): $(OBJS)
$(AR) crv $@ $(OBJS)
.depend: Makefile $(OBJS:.o=.c)
$(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@
sinclude .depend
#########################################################################
which is pretty much like cpu/arm920t/Makefile...
But I suspect that creating an archive with another archive like
$(AR) crv $@ $(OBJS) imx/libimx.a
goes wrong...
"arm_920TDI-nm imx/libimx.a" works fine. But "arm_920TDI-nm libarm920t.a"
brings
...
00000188 T do_undefined_instruction
00000000 T enable_interrupts
U memcpy
U panic
U printf
U reset_cpu
00000048 T show_regs
arm_920TDI-nm: libimx.a: File format not recognized
--
Steven
next prev parent reply other threads:[~2004-08-11 10:45 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-06 16:02 [U-Boot-Users] [PATCH] Cleanup cpu/arm920t Steven Scholz
2004-08-06 16:41 ` Wolfgang Denk
2004-08-09 6:49 ` Steven Scholz
2004-08-09 9:02 ` llandre
2004-08-09 20:08 ` Wolfgang Denk
2004-08-09 20:07 ` Wolfgang Denk
2004-08-09 10:50 ` llandre
2004-08-09 20:10 ` Wolfgang Denk
2004-08-10 6:12 ` Steven Scholz
2004-08-10 7:44 ` Wolfgang Denk
2004-08-10 7:50 ` Steven Scholz
2004-08-10 8:24 ` Wolfgang Denk
2004-08-10 9:09 ` Steven Scholz
2004-08-11 10:45 ` Steven Scholz [this message]
2004-08-11 14:23 ` llandre
2004-08-11 15:02 ` Wolfgang Denk
2004-08-11 15:53 ` Steven Scholz
2004-08-11 16:06 ` Steven Scholz
2004-08-11 17:09 ` Wolfgang Denk
2004-08-11 16:31 ` Wolfgang Denk
2004-08-11 16:34 ` llandre
2004-08-11 17:10 ` Wolfgang Denk
2004-08-11 17:28 ` llandre
2004-08-11 18:10 ` Wolfgang Denk
2004-08-12 7:44 ` llandre
2004-08-12 11:56 ` Steven Scholz
2004-08-12 12:54 ` Wolfgang Denk
2004-08-12 14:10 ` Steven Scholz
2004-08-10 7:34 ` llandre
2004-08-10 8:22 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2004-08-10 6:31 Mészáros Lajos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4119F8D4.5090400@imc-berlin.de \
--to=steven.scholz@imc-berlin.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox