* [U-Boot-Users] porting new hardware
@ 2005-01-29 19:30 Mike Lee
2005-01-29 21:27 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Mike Lee @ 2005-01-29 19:30 UTC (permalink / raw)
To: u-boot
Dear all
I am trying to port new hardware, but i get a linking error
"arm-linux-ld: invalid hex number `-u__u_boot_cmd_autoscr' "
Could anyone give me some ideas on this?
best regard
--
-------------------------------------------------------
Mike Lee
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] porting new hardware
2005-01-29 19:30 [U-Boot-Users] porting new hardware Mike Lee
@ 2005-01-29 21:27 ` Wolfgang Denk
2005-01-30 2:56 ` Mike Lee
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2005-01-29 21:27 UTC (permalink / raw)
To: u-boot
In message <1ffb4b070501291130671ed349@mail.gmail.com> you wrote:
>
> I am trying to port new hardware, but i get a linking error
> "arm-linux-ld: invalid hex number `-u__u_boot_cmd_autoscr' "
Which sort of build environment are you using?
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
Don't hit a man when he's down - kick him; it's easier.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] porting new hardware
2005-01-29 21:27 ` Wolfgang Denk
@ 2005-01-30 2:56 ` Mike Lee
2005-01-30 9:28 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Mike Lee @ 2005-01-30 2:56 UTC (permalink / raw)
To: u-boot
Dear Wolfgang
I am using arm-linux toolchain from www.handheld.org
arm-linux-3.3.2. It should be ok which i have tried to compile kernel
and other appz before.
Actually, i am using motorola MXL arm9 CPU, and i just copy files in
board/mx1ads/ , include/mx1ads.h and patched the makefile. I do not
come up with any idea right now, may be i first look deeper what
autoscript first
bset regard
Mike Lee
On Sat, 29 Jan 2005 22:27:07 +0100, Wolfgang Denk <wd@denx.de> wrote:
> In message <1ffb4b070501291130671ed349@mail.gmail.com> you wrote:
> >
> > I am trying to port new hardware, but i get a linking error
> > "arm-linux-ld: invalid hex number `-u__u_boot_cmd_autoscr' "
>
> Which sort of build environment are you using?
>
> 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
> Don't hit a man when he's down - kick him; it's easier.
>
--
-------------------------------------------------------
Mike Lee
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] porting new hardware
2005-01-30 2:56 ` Mike Lee
@ 2005-01-30 9:28 ` Wolfgang Denk
2005-01-30 12:11 ` Mike Lee
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2005-01-30 9:28 UTC (permalink / raw)
To: u-boot
Dear Mike,
in message <1ffb4b0705012918564c0972f4@mail.gmail.com> you wrote:
>
> I am using arm-linux toolchain from www.handheld.org
> arm-linux-3.3.2. It should be ok which i have tried to compile kernel
> and other appz before.
> Actually, i am using motorola MXL arm9 CPU, and i just copy files in
> board/mx1ads/ , include/mx1ads.h and patched the makefile. I do not
> come up with any idea right now, may be i first look deeper what
> autoscript first
Well, this error message:
> > > "arm-linux-ld: invalid hex number `-u__u_boot_cmd_autoscr' "
comes from these lines in the top level Makefile:
u-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
$(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \
--start-group $(LIBS) $(PLATFORM_LIBS) --end-group \
-Map u-boot.map -o u-boot
Seems either your "objdump" and/or your "sed" create bogus or at
least unexpected output. You may want to check the parts of this
pipeline step by step.
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
"Service, VOBISt Du ? - ESCOMmt keiner."
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] porting new hardware
2005-01-30 9:28 ` Wolfgang Denk
@ 2005-01-30 12:11 ` Mike Lee
0 siblings, 0 replies; 5+ messages in thread
From: Mike Lee @ 2005-01-30 12:11 UTC (permalink / raw)
To: u-boot
Dear Wolfgang
I have found the problem,.... i do not cp the config.mk from mx1ads
folder which define the linking address of u-boot in ram.
error come from no text_base value :
arm-linux-ld -Bstatic -T board/rob/u-boot.lds -Ttext $UNDEF_SYM
after i add the config.mk back:
arm-linux-ld -Bstatic -T board/rob/u-boot.lds -Ttext 0x08F00000 $UNDEF_SYM
Thanks for anyone concerned
best regard
Mike,Lee
On Sun, 30 Jan 2005 10:28:49 +0100, Wolfgang Denk <wd@denx.de> wrote:
> Dear Mike,
>
> in message <1ffb4b0705012918564c0972f4@mail.gmail.com> you wrote:
> >
> > I am using arm-linux toolchain from www.handheld.org
> > arm-linux-3.3.2. It should be ok which i have tried to compile kernel
> > and other appz before.
> > Actually, i am using motorola MXL arm9 CPU, and i just copy files in
> > board/mx1ads/ , include/mx1ads.h and patched the makefile. I do not
> > come up with any idea right now, may be i first look deeper what
> > autoscript first
>
> Well, this error message:
>
> > > > "arm-linux-ld: invalid hex number `-u__u_boot_cmd_autoscr' "
>
> comes from these lines in the top level Makefile:
>
> u-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
> UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
> $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \
> --start-group $(LIBS) $(PLATFORM_LIBS) --end-group \
> -Map u-boot.map -o u-boot
>
> Seems either your "objdump" and/or your "sed" create bogus or at
> least unexpected output. You may want to check the parts of this
> pipeline step by step.
>
> 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
> "Service, VOBISt Du ? - ESCOMmt keiner."
>
--
-------------------------------------------------------
Mike Lee
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-01-30 12:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-29 19:30 [U-Boot-Users] porting new hardware Mike Lee
2005-01-29 21:27 ` Wolfgang Denk
2005-01-30 2:56 ` Mike Lee
2005-01-30 9:28 ` Wolfgang Denk
2005-01-30 12:11 ` Mike Lee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox