* Toolchain select
@ 2006-01-05 13:38 ` Li Weichen
0 siblings, 0 replies; 13+ messages in thread
From: Li Weichen @ 2006-01-05 13:38 UTC (permalink / raw)
To: u-boot-users, linux-arm-toolchain, linux-arm,
linux-omap-open-source
Hi all,
I encountered several toolchain problems while cross-compiling such as
u-boot, kernel. I find it mostly problem about the version. I don't know
which one is proper and stable for embedded system developing. Could you
please help me?
I have already used the crosstool to make my own toolchain, and chose the
gcc-4.0.1, binutils-2.16.1, glibc-2.3.5. But it seems that it has some
problem. When I build u-boot it shows that the examples cannot be compiled.
Regards,
Li Weichen
2006-1-5
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot-Users] Toolchain select
@ 2006-01-05 13:38 ` Li Weichen
0 siblings, 0 replies; 13+ messages in thread
From: Li Weichen @ 2006-01-05 13:38 UTC (permalink / raw)
To: u-boot
Hi all,
I encountered several toolchain problems while cross-compiling such as
u-boot, kernel. I find it mostly problem about the version. I don't know
which one is proper and stable for embedded system developing. Could you
please help me?
I have already used the crosstool to make my own toolchain, and chose the
gcc-4.0.1, binutils-2.16.1, glibc-2.3.5. But it seems that it has some
problem. When I build u-boot it shows that the examples cannot be compiled.
Regards,
Li Weichen
2006-1-5
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot-Users] Toolchain select
2006-01-05 13:38 ` [U-Boot-Users] " Li Weichen
(?)
@ 2006-01-05 14:12 ` Wolfgang Denk
2006-01-06 11:56 ` Li Weichen
-1 siblings, 1 reply; 13+ messages in thread
From: Wolfgang Denk @ 2006-01-05 14:12 UTC (permalink / raw)
To: u-boot
In message <43bd2165.6762f2e2.3596.51a6@mx.gmail.com> you wrote:
>
> I encountered several toolchain problems while cross-compiling such as
Try our ELDK.
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
"When people are least sure, they are often most dogmatic."
- John Kenneth Galbraith
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Toolchain select
2006-01-05 13:38 ` [U-Boot-Users] " Li Weichen
(?)
(?)
@ 2006-01-05 22:00 ` Matthew Percival
2006-01-06 12:13 ` Li Weichen
-1 siblings, 1 reply; 13+ messages in thread
From: Matthew Percival @ 2006-01-05 22:00 UTC (permalink / raw)
To: Linux OMAP Open Source
G'Day,
> I have already used the crosstool to make my own toolchain, and chose the
> gcc-4.0.1, binutils-2.16.1, glibc-2.3.5. But it seems that it has some
> problem. When I build u-boot it shows that the examples cannot be compiled.
u-boot may not be a good test. Versions of u-boot older than 1.1.4 do
not compile with 4.0 at all; even 1.1.4 seems to have problems, as some
users have reported that it does not compile (most seem to be OK, but
there are a few who cannot). You said that kernel did not compile
either, though, and that should work, so the problem in your case likely
lies with the toolchain.
My toolchain was compile with gcc-4.0.1, binutils-2.15 and glibc 2.3.5:
this combination is known to work. Looking at the crosstool buildlogs,
your combination is not listed, so it is somewhat of an unknown
quantity, though it sounds like the combination you have picked does not
work. I would recommend looking at the crosstool buildlogs yourself, to
see what combinations are known to work, and sticking with them, unless
you want to experiment with different combinations.
-- Matthew
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot-Users] Toolchain select
2006-01-05 14:12 ` Wolfgang Denk
@ 2006-01-06 11:56 ` Li Weichen
2006-01-06 16:29 ` Wolfgang Denk
0 siblings, 1 reply; 13+ messages in thread
From: Li Weichen @ 2006-01-06 11:56 UTC (permalink / raw)
To: u-boot
Hi Wolfgang,
I have tried the ELDK 3.1.1, and when I build u-boot-1.1.3 or u-boot-1.1.4 I
get following error:
iaadoa at omap1:~/work/tmp/u-boot-1.1.3$ make omap5912osk_config
Configuring for omap5912osk board...
iaadoa at omap1:~/work/tmp/u-boot-1.1.3$ make all
make[1]: Entering directory `/home/iaadoa/work/tmp/u-boot-1.1.3/tools'
[.]
make[1]: *** No rule to make target `hello_world.srec', needed by `all'.
Stop.
make[1]: Leaving directory `/home/iaadoa/work/tmp/u-boot-1.1.3/examples'
make: *** [examples] Error 2
I have met this error for quite a time, and I have tried different versions
of toolchain, but it seems to be the same. Can you help me with it?
Thanks and best regards!
Li Weichen
> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net
> [mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf Of Wolfgang
Denk
> Sent: Thursday, January 05, 2006 10:13 PM
> To: Li Weichen
> Cc: u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] Toolchain select
>
> In message <43bd2165.6762f2e2.3596.51a6@mx.gmail.com> you wrote:
> >
> > I encountered several toolchain problems while cross-compiling such as
>
> Try our ELDK.
>
> 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
> "When people are least sure, they are often most dogmatic."
> - John Kenneth Galbraith
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=ick
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Toolchain select
2006-01-05 22:00 ` Matthew Percival
@ 2006-01-06 12:13 ` Li Weichen
2006-01-08 21:48 ` Matthew Percival
0 siblings, 1 reply; 13+ messages in thread
From: Li Weichen @ 2006-01-06 12:13 UTC (permalink / raw)
To: 'Matthew Percival', 'Linux OMAP Open Source'
Well, if I use the toolchain consists of gcc-4.0.1, binutils-2.15,
glibc-2.3.5 to build u-boot and the kernel 2.6.15-omap1, I will still get
errors. The error of building u-boot is "No rule to make target
`hello_world.srec', needed by `all'" and the error of building kernel
2.6.15-omap1 is syntax error in touchscreen.
I don't know where is the problem.
> u-boot may not be a good test. Versions of u-boot older than 1.1.4
do
> not compile with 4.0 at all; even 1.1.4 seems to have problems, as some
> users have reported that it does not compile (most seem to be OK, but
> there are a few who cannot). You said that kernel did not compile
> either, though, and that should work, so the problem in your case likely
> lies with the toolchain.
>
> My toolchain was compile with gcc-4.0.1, binutils-2.15 and glibc
2.3.5:
> this combination is known to work. Looking at the crosstool buildlogs,
> your combination is not listed, so it is somewhat of an unknown
> quantity, though it sounds like the combination you have picked does not
> work. I would recommend looking at the crosstool buildlogs yourself, to
> see what combinations are known to work, and sticking with them, unless
> you want to experiment with different combinations.
>
> -- Matthew
>
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot-Users] Toolchain select
2006-01-06 11:56 ` Li Weichen
@ 2006-01-06 16:29 ` Wolfgang Denk
0 siblings, 0 replies; 13+ messages in thread
From: Wolfgang Denk @ 2006-01-06 16:29 UTC (permalink / raw)
To: u-boot
In message <43be5afa.7dd4ac4c.696b.4f5e@mx.gmail.com> you wrote:
>
> I have tried the ELDK 3.1.1, and when I build u-boot-1.1.3 or =
> u-boot-1.1.4 I
> get following error:
>
> iaadoa at omap1:~/work/tmp/u-boot-1.1.3$ make omap5912osk_config
> Configuring for omap5912osk board...
omap5912osk board support is obviously broken. I wonder that you get
as far as the examples directory - I see problems with messing flash
functions earlier.
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
I read part of it all the way through.
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Toolchain select
2006-01-06 12:13 ` Li Weichen
@ 2006-01-08 21:48 ` Matthew Percival
2006-01-09 2:10 ` Li Weichen
0 siblings, 1 reply; 13+ messages in thread
From: Matthew Percival @ 2006-01-08 21:48 UTC (permalink / raw)
To: Linux OMAP Open Source
G'Day,
> The error of building u-boot is "No rule to make target `hello_world.srec',
> needed by `all'" and the error of building kernel 2.6.15-omap1 is syntax
> error in touchscreen.
That is a make error, not a toolchain one: make does not have a rule to
make the said file, and so does not know what to do. That likely
indicates that it is a file that either should already be there, or
created by an earlier process (eg running 'make something_config' type
operations). In this case, I can see the file in my examples/
directory, so likely there is something wrong with your process. Make
sure you have followed the steps for compiling u-boot correctly, as you
do not compile it the same as with most programs.
-- Matthew
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Toolchain select
2006-01-08 21:48 ` Matthew Percival
@ 2006-01-09 2:10 ` Li Weichen
2006-01-09 3:06 ` Matthew Percival
0 siblings, 1 reply; 13+ messages in thread
From: Li Weichen @ 2006-01-09 2:10 UTC (permalink / raw)
To: 'Matthew Percival', 'Linux OMAP Open Source'
Hi,
What version of u-boot are you using? I use the u-boot-1.1.4 and
u-boot-1.1.3, and my steps is,
$tar xjvf u-boot-1.1.x
$cd u-boot-1.1.x
$make omap5912osk_config
$make
I think there is nothing wrong in my process.
And have you tried building the 2.6.15 kernel?
Regards,
Li Weichen
2006-1-9
> That is a make error, not a toolchain one: make does not have a rule
to
> make the said file, and so does not know what to do. That likely
> indicates that it is a file that either should already be there, or
> created by an earlier process (eg running 'make something_config' type
> operations). In this case, I can see the file in my examples/
> directory, so likely there is something wrong with your process. Make
> sure you have followed the steps for compiling u-boot correctly, as you
> do not compile it the same as with most programs.
>
> -- Matthew
>
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Toolchain select
2006-01-09 2:10 ` Li Weichen
@ 2006-01-09 3:06 ` Matthew Percival
2006-01-09 3:23 ` Li Weichen
0 siblings, 1 reply; 13+ messages in thread
From: Matthew Percival @ 2006-01-09 3:06 UTC (permalink / raw)
To: Linux OMAP Open Source
G'Day,
> What version of u-boot are you using? I use the u-boot-1.1.4 and
> u-boot-1.1.3, and my steps is,
> $tar xjvf u-boot-1.1.x
> $cd u-boot-1.1.x
> $make omap5912osk_config
> $make
I am using 1.1.2; I have 1.1.4, but it does not link (I have not
investigated why yet, as it is pretty low priority).
Your process is correct, so it is a little strange that the file does
not exist. The command which creates the file (as called from the
Makefile) is:
arm-linux-objcopy -O srec hello_world hello_world.srec 2>/dev/null
I would suggest looking for where that command is used when you run it,
for there is likely a minor error being flagged at this point (run make
distclean first, then start afresh).
> And have you tried building the 2.6.15 kernel?
Not yet: it is not on my current list of priorities. I am running
2.6.14-omap1 at the moment.
-- Matthew
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Toolchain select
2006-01-09 3:06 ` Matthew Percival
@ 2006-01-09 3:23 ` Li Weichen
0 siblings, 0 replies; 13+ messages in thread
From: Li Weichen @ 2006-01-09 3:23 UTC (permalink / raw)
To: 'Matthew Percival', 'Linux OMAP Open Source'
Thank you for your kind reply I think there is something wrong with the
omap5912osk_config file. And the 2.6.14 kernel is no problem, but the
2.6.15 can not work here.
Thanks again and best regards.
Li Weichen
2006-1-9
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Toolchain select
2006-01-05 13:38 ` [U-Boot-Users] " Li Weichen
@ 2006-01-09 18:32 ` Khem Raj
-1 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2006-01-09 18:32 UTC (permalink / raw)
To: Li Weichen
Cc: u-boot-users, linux-arm-toolchain, linux-arm,
linux-omap-open-source
Li Weichen said the following on 01/05/2006 05:38 AM:
>Hi all,
>
>I encountered several toolchain problems while cross-compiling such as
>u-boot, kernel. I find it mostly problem about the version. I don't know
>which one is proper and stable for embedded system developing.
>
You may look at http://www.kegel.com/crosstool/crosstool-0.38/buildlogs/
which is a matrix of possible working tool combo's
>
>
--
Khem Raj <khem@mvista.com>
MontaVista Software, Inc.
www.mvista.com
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot-Users] Re: Toolchain select
@ 2006-01-09 18:32 ` Khem Raj
0 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2006-01-09 18:32 UTC (permalink / raw)
To: u-boot
Li Weichen said the following on 01/05/2006 05:38 AM:
>Hi all,
>
>I encountered several toolchain problems while cross-compiling such as
>u-boot, kernel. I find it mostly problem about the version. I don't know
>which one is proper and stable for embedded system developing.
>
You may look at http://www.kegel.com/crosstool/crosstool-0.38/buildlogs/
which is a matrix of possible working tool combo's
>
>
--
Khem Raj <khem@mvista.com>
MontaVista Software, Inc.
www.mvista.com
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2006-01-09 18:32 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-05 13:38 Toolchain select Li Weichen
2006-01-05 13:38 ` [U-Boot-Users] " Li Weichen
2006-01-05 14:12 ` Wolfgang Denk
2006-01-06 11:56 ` Li Weichen
2006-01-06 16:29 ` Wolfgang Denk
2006-01-05 22:00 ` Matthew Percival
2006-01-06 12:13 ` Li Weichen
2006-01-08 21:48 ` Matthew Percival
2006-01-09 2:10 ` Li Weichen
2006-01-09 3:06 ` Matthew Percival
2006-01-09 3:23 ` Li Weichen
2006-01-09 18:32 ` Khem Raj
2006-01-09 18:32 ` [U-Boot-Users] " Khem Raj
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.