* RE: Uboot and ML410
2007-12-06 19:01 ` khollan
@ 2007-12-06 19:55 ` John Hahn
2007-12-06 19:55 ` Ben Warren
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: John Hahn @ 2007-12-06 19:55 UTC (permalink / raw)
To: linuxppc-embedded
This thread really belongs in the u-boot mailing list, I will respond there:
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
Cheers
John
> -----Original Message-----
> From: linuxppc-embedded-bounces+jhahn=bcfsemi.com@ozlabs.org
> [mailto:linuxppc-embedded-bounces+jhahn=bcfsemi.com@ozlabs.org] On
> Behalf Of khollan
> Sent: Thursday, December 06, 2007 11:01 AM
> To: linuxppc-embedded@ozlabs.org
> Subject: RE: Uboot and ML410
>
>
>
>
> John Hahn wrote:
> >
> > We are also using 3.81 make (Centos 5 distro) with ELDK 4.1 version
> > downloaded from www.denx.de and have had no problems using the
> > u-boot.zip srcs from www.xilinx.com/ml410_p, though we use uboot for
> > our ml403 based development, we can build u-boot for ml403_config as
> well as ml410_config.
> >
> >
> > Cheers
> >
> > John
> >
>
> When I try compiling with my tools I get the message No rule to make
> target `hello_world.srec', needed by `all'
> Any way to work around this. I have compiled everything else I use on
> my system with these tools and it works fine. I did some research on
> this problem and it seemed to be a problem with the newer versions of
> make, but if thats not the case what is the problem? I don't really
> want to install ELDK to keep things consistent.
> Thanks
> Kevin
> --
> View this message in context: http://www.nabble.com/Uboot-and-ML410-
> tf4951335.html#a14198812
> Sent from the linuxppc-embedded mailing list archive at Nabble.com.
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Uboot and ML410
2007-12-06 19:01 ` khollan
2007-12-06 19:55 ` John Hahn
@ 2007-12-06 19:55 ` Ben Warren
2007-12-06 20:23 ` [U-Boot-Users] " John Hahn
2007-12-08 1:02 ` Wolfgang Denk
3 siblings, 0 replies; 9+ messages in thread
From: Ben Warren @ 2007-12-06 19:55 UTC (permalink / raw)
To: khollan; +Cc: linuxppc-embedded
khollan wrote:
>
> John Hahn wrote:
>
>> We are also using 3.81 make (Centos 5 distro) with ELDK 4.1 version
>> downloaded from www.denx.de and have had no problems using the u-boot.zip
>> srcs from www.xilinx.com/ml410_p, though we use uboot for our ml403 based
>> development, we can build u-boot for ml403_config as well as ml410_config.
>>
>>
>> Cheers
>>
>> John
>>
>>
>
> When I try compiling with my tools I get the message
> No rule to make target `hello_world.srec', needed by `all'
> Any way to work around this. I have compiled everything else I use on my
> system with these tools and it works fine. I did some research on this
> problem and it seemed to be a problem with the newer versions of make, but
> if thats not the case what is the problem? I don't really want to install
> ELDK to keep things consistent.
> Thanks
> Kevin
>
This is an old problem that has been fixed in the U-boot make files for
probably a year or so. If you can't upgrade U-boot, just comment out the
'examples' line in U-boot's main Makefile like this:
SUBDIRS = tools \
# examples
regards,
Ben
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] Uboot and ML410
2007-12-06 19:01 ` khollan
2007-12-06 19:55 ` John Hahn
2007-12-06 19:55 ` Ben Warren
@ 2007-12-06 20:23 ` John Hahn
2007-12-07 0:55 ` Wolfgang Denk
2007-12-08 1:02 ` Wolfgang Denk
3 siblings, 1 reply; 9+ messages in thread
From: John Hahn @ 2007-12-06 20:23 UTC (permalink / raw)
To: u-boot
Bringing a discussion thread over from
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> From: linuxppc-embedded-bounces+jhahn=bcfsemi.com at ozlabs.org
> [mailto:linuxppc-embedded-bounces+jhahn=bcfsemi.com at ozlabs.org] On
> Behalf Of khollan
> Sent: Thursday, December 06, 2007 11:01 AM
...
>
> John Hahn wrote:
> >
> > We are also using 3.81 make (Centos 5 distro) with ELDK 4.1 version
> > downloaded from www.denx.de and have had no problems using the
> > u-boot.zip srcs from www.xilinx.com/ml410_p, though we use uboot for
> > our ml403 based development, we can build u-boot for ml403_config as
> well as ml410_config.
> >
> >
> > Cheers
> >
> > John
> >
>
> When I try compiling with my tools I get the message No rule to make
> target `hello_world.srec', needed by `all'
> Any way to work around this. I have compiled everything else I use on
> my system with these tools and it works fine. I did some research on
> this problem and it seemed to be a problem with the newer versions of
> make, but if thats not the case what is the problem? I don't really
> want to install ELDK to keep things consistent.
> Thanks
> Kevin
> --
The targets in examples are example programs for uboot to load/exec and is
not part of u-boot. You can avoid building in examples.
But the build problem appears to be due to examples/Makefile syntax. Try:
-BIN = hello_world hello_world.bin
+BIN = hello_world.bin hello_world
... similar corrections for the other targets, and finally
-all: .depend $(OBJS) $(LIB) $(BIN) $(SREC)
+all: .depend $(OBJS) $(LIB) $(SREC) $(BIN)
Cheers
John
_________________
John S Hahn
BCF Semiconductor
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] Uboot and ML410
2007-12-06 20:23 ` [U-Boot-Users] " John Hahn
@ 2007-12-07 0:55 ` Wolfgang Denk
0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Denk @ 2007-12-07 0:55 UTC (permalink / raw)
To: u-boot
Dear John,
in message <000d01c83845$d98fd4c0$8caf7e40$@com> you wrote:
> > >
> > > We are also using 3.81 make (Centos 5 distro) with ELDK 4.1 version
> > > downloaded from www.denx.de and have had no problems using the
> > > u-boot.zip srcs from www.xilinx.com/ml410_p, though we use uboot for
Well, I have to admit that I don't know Xilinx's U-Boot code, This
list is intended for suppoort of the publicly available ("official")
source tree only.
> The targets in examples are example programs for uboot to load/exec and is
> not part of u-boot. You can avoid building in examples.
Of cours ethe examples are a part of the U-Boot distribution.
> But the build problem appears to be due to examples/Makefile syntax. Try:
>
> -BIN = hello_world hello_world.bin
> +BIN = hello_world.bin hello_world
>
> ... similar corrections for the other targets, and finally
>
> -all: .depend $(OBJS) $(LIB) $(BIN) $(SREC)
> +all: .depend $(OBJS) $(LIB) $(SREC) $(BIN)
This is not a correction. It is not even a work around. No part in a
Makefile should in any way depend on the order in which targets are
listed.
My feeling is that you are hunting a dead rat, i. e. a bug that has
been fixed in the public U-Boot tree a long, long time ago.
Please try using a current version of U-Bot (1.3.1).
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Never give in. Never give in. Never. Never. Never."
- Winston Churchill
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Uboot and ML410
2007-12-06 19:01 ` khollan
` (2 preceding siblings ...)
2007-12-06 20:23 ` [U-Boot-Users] " John Hahn
@ 2007-12-08 1:02 ` Wolfgang Denk
3 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Denk @ 2007-12-08 1:02 UTC (permalink / raw)
To: khollan; +Cc: linuxppc-embedded
In message <14198812.post@talk.nabble.com> you wrote:
>
> When I try compiling with my tools I get the message
> No rule to make target `hello_world.srec', needed by `all'
> Any way to work around this. I have compiled everything else I use on my
Yes - just use a current version of the code (i. e. U-Boot 1.3.1).
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Misquotation is, in fact, the pride and privilege of the learned. A
widely-read man never quotes accurately, for the rather obvious
reason that he has read too widely.
- Hesketh Pearson _Common Misquotations_ introduction
^ permalink raw reply [flat|nested] 9+ messages in thread