Skip to contentSkip to conversation

Uboot and ML410

DISCUSSION khollan 5 participants 9 messages Dec 5, 2007 – Dec 8, 2007

lore
Share & tools
lore

khollan

author
#0 lore raw

Hi

Is there a patch to include support for the ml410 in the Main git tree of u-boot? I tried compiling Xilinx's tree but it seems it won't compile correctly with my version of make (3.81). Also is there any support for the Hard TEMAC in u-boot? I tried looking for both of these questions but a lot of the threads were unanswered questions. Thanks for your help

kholland

Signature · 2 lines
View this message in context: http://www.nabble.com/Uboot-and-ML410-tf4951335.html#a14177109
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
#1 lore raw
Quoted 6 lines · khollan

Hi

Is there a patch to include support for the ml410 in the Main git tree of u-boot? I tried compiling Xilinx's tree but it seems it won't compile correctly with my version of make (3.81).

I don't think there is.

Quoted 3 lines

Also is there any support for the
Hard TEMAC in u-boot? I tried looking for both of these questions but a lot of the threads were unanswered questions. Thanks for your help

No, unfortunately nobody has got a hard TEMAC driver into u-boot mainline.

Cheers,
g.

Signature · 4 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195
#2 lore raw
In reply to khollan

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
_________________
John S Hahn
BCF Semiconductor

Quoted 20 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of khollan
Sent: Wednesday, December 05, 2007 10:00 AM
To: [email protected]
Subject: Uboot and ML410

Hi

Is there a patch to include support for the ml410 in the Main git tree of u-boot? I tried compiling Xilinx's tree but it seems it won't compile correctly with my version of make (3.81). Also is there any support for the Hard TEMAC in u-boot? I tried looking for both of these questions but a lot of the threads were unanswered questions. Thanks for your help

kholland
--

author
#3 lore raw
Quoted 11 lines · John Hahn

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

Signature · 2 lines
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.
#4 lore raw

This thread really belongs in the u-boot mailing list, I will respond there:

U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Cheers

John

Quoted 43 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of khollan
Sent: Thursday, December 06, 2007 11:01 AM
To: [email protected]
Subject: RE: Uboot and ML410

Quoted 5 lines · John Hahn

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.

Quoted 6 lines

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
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

#5 lore raw
In reply to khollan
Quoted 15 lines · khollan
Quoted 11 lines · John Hahn

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

Quoted 10 lines

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

#6 lore raw
In reply to khollan

Bringing a discussion thread over from
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 4 lines

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

...

Quoted 15 lines
Quoted 5 lines · John Hahn

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.

Quoted 6 lines

Cheers

John

Quoted 10 lines

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

#7 lore raw

Dear John,

Quoted 4 lines · in message <000d01c83845$d98fd4c0$8caf7e40$@com> you wrote:
Quoted 4 lines
Quoted 4 lines

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.

Quoted 2 lines

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.

Review

Quoted 9 lines

But the build problem appears to be due to examples/Makefile syntax. Try:

(quoted diff) +1 -1
-BIN    = hello_world hello_world.bin
+BIN    = hello_world.bin hello_world

... similar corrections for the other targets, and finally

(quoted diff) +1 -1
-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

Signature · 5 lines
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
#8 lore raw
In reply to khollan
Quoted 4 lines · In message <[email protected]> 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

Signature · 7 lines
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: [email protected]
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