* [U-Boot] [PATCH] buildman: README: add links for toolchains not available on kernel.org
@ 2015-11-11 13:37 Thomas Chou
2015-11-11 15:54 ` Marek Vasut
2015-11-12 1:29 ` [U-Boot] [PATCH v2] " Thomas Chou
0 siblings, 2 replies; 9+ messages in thread
From: Thomas Chou @ 2015-11-11 13:37 UTC (permalink / raw)
To: u-boot
Add links for toolchains not available on kernel.org.
The sh4 toolchains from kernel.org dose not work for some boards,
so use the sh from Sourcery.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
---
tools/buildman/README | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/tools/buildman/README b/tools/buildman/README
index 10c7135..e205278 100644
--- a/tools/buildman/README
+++ b/tools/buildman/README
@@ -156,7 +156,6 @@ aarch64: /opt/linaro/gcc-linaro-aarch64-none-elf-4.8-2013.10_linux
[toolchain-alias]
x86: i386
blackfin: bfin
-sh: sh4
nds32: nds32le
openrisc: or32
@@ -341,6 +340,23 @@ Testing
- found '/home/sjg/.buildman-toolchains/gcc-4.5.1-nolibc/or32-linux/bin/or32-linux-gcc'
Tool chain test: OK
+Or download them all from kernel.org and move them to /toolchains directory,
+
+$ for i in aarch64 arm avr32 i386 m68k microblaze mips or32 powerpc sparc
+ do
+ ./tools/buildman/buildman --fetch-arch $i
+ done
+$ mkdir -p /toolchains
+$ mv ~/.buildman-toolchains/*/* /toolchains/
+
+For those not available from kernel.org, download from the following links,
+
+arc: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/
+blackfin: http://sourceforge.net/projects/adi-toolchain/files/
+nds32: http://osdk.andestech.com/packages/nds32le-linux-glibc-v1.tgz
+nios2: http://sourcery.mentor.com/public/gnu_toolchain/nios2-linux-gnu/
+sh: http://sourcery.mentor.com/public/gnu_toolchain/sh-linux-gnu/
+
Buildman should now be set up to use your new toolchain.
At the time of writing, U-Boot has these architectures:
--
2.5.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH] buildman: README: add links for toolchains not available on kernel.org
2015-11-11 13:37 [U-Boot] [PATCH] buildman: README: add links for toolchains not available on kernel.org Thomas Chou
@ 2015-11-11 15:54 ` Marek Vasut
2015-11-12 1:16 ` Thomas Chou
2015-11-12 1:29 ` [U-Boot] [PATCH v2] " Thomas Chou
1 sibling, 1 reply; 9+ messages in thread
From: Marek Vasut @ 2015-11-11 15:54 UTC (permalink / raw)
To: u-boot
On Wednesday, November 11, 2015 at 02:37:08 PM, Thomas Chou wrote:
> Add links for toolchains not available on kernel.org.
>
> The sh4 toolchains from kernel.org dose not work for some boards,
> so use the sh from Sourcery.
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Wouldn't it instead make more sense to get kernel.org to mirror those
toolchains ? The links might not last forever, but I think kernel.org
is not gonna go belly-up any soon.
> ---
> tools/buildman/README | 18 +++++++++++++++++-
> 1 file changed, 17 insertions(+), 1 deletion(-)
>
> diff --git a/tools/buildman/README b/tools/buildman/README
> index 10c7135..e205278 100644
> --- a/tools/buildman/README
> +++ b/tools/buildman/README
> @@ -156,7 +156,6 @@ aarch64:
> /opt/linaro/gcc-linaro-aarch64-none-elf-4.8-2013.10_linux
> [toolchain-alias]
> x86: i386
> blackfin: bfin
> -sh: sh4
> nds32: nds32le
> openrisc: or32
>
> @@ -341,6 +340,23 @@ Testing
> - found
> '/home/sjg/.buildman-toolchains/gcc-4.5.1-nolibc/or32-linux/bin/or32-linux
> -gcc' Tool chain test: OK
>
> +Or download them all from kernel.org and move them to /toolchains
> directory, +
> +$ for i in aarch64 arm avr32 i386 m68k microblaze mips or32 powerpc sparc
> + do
> + ./tools/buildman/buildman --fetch-arch $i
> + done
> +$ mkdir -p /toolchains
> +$ mv ~/.buildman-toolchains/*/* /toolchains/
> +
> +For those not available from kernel.org, download from the following
> links, +
> +arc:
> https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases
> / +blackfin: http://sourceforge.net/projects/adi-toolchain/files/
> +nds32: http://osdk.andestech.com/packages/nds32le-linux-glibc-v1.tgz
> +nios2: http://sourcery.mentor.com/public/gnu_toolchain/nios2-linux-gnu/
> +sh: http://sourcery.mentor.com/public/gnu_toolchain/sh-linux-gnu/
> +
> Buildman should now be set up to use your new toolchain.
>
> At the time of writing, U-Boot has these architectures:
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH] buildman: README: add links for toolchains not available on kernel.org
2015-11-11 15:54 ` Marek Vasut
@ 2015-11-12 1:16 ` Thomas Chou
2015-11-12 2:19 ` Marek Vasut
0 siblings, 1 reply; 9+ messages in thread
From: Thomas Chou @ 2015-11-12 1:16 UTC (permalink / raw)
To: u-boot
Hi Marek,
On 2015?11?11? 23:54, Marek Vasut wrote:
> On Wednesday, November 11, 2015 at 02:37:08 PM, Thomas Chou wrote:
>> Add links for toolchains not available on kernel.org.
>>
>> The sh4 toolchains from kernel.org dose not work for some boards,
>> so use the sh from Sourcery.
>>
>> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
>
> Wouldn't it instead make more sense to get kernel.org to mirror those
> toolchains ? The links might not last forever, but I think kernel.org
> is not gonna go belly-up any soon.
>
Agree. But I think it will be helpful to offer these links when it is
missing or not working on kernel.org.
I realized now that buildman is an effective and must-have tool. Every
developer should run buildman before submitting patches, though it does
take hours to run. The problem is that some toolchains are not easily
found until looking into tools/moveconfig.py. So we should make it
available.
Best regards,
Thomas
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH v2] buildman: README: add links for toolchains not available on kernel.org
2015-11-11 13:37 [U-Boot] [PATCH] buildman: README: add links for toolchains not available on kernel.org Thomas Chou
2015-11-11 15:54 ` Marek Vasut
@ 2015-11-12 1:29 ` Thomas Chou
2015-11-12 2:13 ` Bin Meng
1 sibling, 1 reply; 9+ messages in thread
From: Thomas Chou @ 2015-11-12 1:29 UTC (permalink / raw)
To: u-boot
Add links for toolchains not available on kernel.org.
The sh4 toolchains from kernel.org dose not work for some boards,
so use the sh from Sourcery.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
---
v2
add toolchain file links.
add sudo to write /toolchains.
tools/buildman/README | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/tools/buildman/README b/tools/buildman/README
index 10c7135..66502af 100644
--- a/tools/buildman/README
+++ b/tools/buildman/README
@@ -156,7 +156,6 @@ aarch64: /opt/linaro/gcc-linaro-aarch64-none-elf-4.8-2013.10_linux
[toolchain-alias]
x86: i386
blackfin: bfin
-sh: sh4
nds32: nds32le
openrisc: or32
@@ -341,6 +340,28 @@ Testing
- found '/home/sjg/.buildman-toolchains/gcc-4.5.1-nolibc/or32-linux/bin/or32-linux-gcc'
Tool chain test: OK
+Or download them all from kernel.org and move them to /toolchains directory,
+
+$ for i in aarch64 arm avr32 i386 m68k microblaze mips or32 powerpc sparc
+ do
+ ./tools/buildman/buildman --fetch-arch $i
+ done
+$ sudo mkdir -p /toolchains
+$ sudo mv ~/.buildman-toolchains/*/* /toolchains/
+
+For those not available from kernel.org, download from the following links.
+
+arc: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/
+ arc_gnu_2015.06_prebuilt_uclibc_le_archs_linux_install.tar.gz
+blackfin: http://sourceforge.net/projects/adi-toolchain/files/
+ blackfin-toolchain-elf-gcc-4.5-2014R1_45-RC2.x86_64.tar.bz2
+nds32: http://osdk.andestech.com/packages/
+ nds32le-linux-glibc-v1.tgz
+nios2: http://sourcery.mentor.com/public/gnu_toolchain/nios2-linux-gnu/
+ sourceryg++-2015.11-27-nios2-linux-gnu-i686-pc-linux-gnu.tar.bz2
+sh: http://sourcery.mentor.com/public/gnu_toolchain/sh-linux-gnu/
+ renesas-4.4-200-sh-linux-gnu-i686-pc-linux-gnu.tar.bz2
+
Buildman should now be set up to use your new toolchain.
At the time of writing, U-Boot has these architectures:
--
2.5.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH v2] buildman: README: add links for toolchains not available on kernel.org
2015-11-12 1:29 ` [U-Boot] [PATCH v2] " Thomas Chou
@ 2015-11-12 2:13 ` Bin Meng
0 siblings, 0 replies; 9+ messages in thread
From: Bin Meng @ 2015-11-12 2:13 UTC (permalink / raw)
To: u-boot
On Thu, Nov 12, 2015 at 9:29 AM, Thomas Chou <thomas@wytron.com.tw> wrote:
> Add links for toolchains not available on kernel.org.
>
> The sh4 toolchains from kernel.org dose not work for some boards,
> so use the sh from Sourcery.
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> v2
> add toolchain file links.
> add sudo to write /toolchains.
>
> tools/buildman/README | 23 ++++++++++++++++++++++-
> 1 file changed, 22 insertions(+), 1 deletion(-)
>
> diff --git a/tools/buildman/README b/tools/buildman/README
> index 10c7135..66502af 100644
> --- a/tools/buildman/README
> +++ b/tools/buildman/README
> @@ -156,7 +156,6 @@ aarch64: /opt/linaro/gcc-linaro-aarch64-none-elf-4.8-2013.10_linux
> [toolchain-alias]
> x86: i386
> blackfin: bfin
> -sh: sh4
> nds32: nds32le
> openrisc: or32
>
> @@ -341,6 +340,28 @@ Testing
> - found '/home/sjg/.buildman-toolchains/gcc-4.5.1-nolibc/or32-linux/bin/or32-linux-gcc'
> Tool chain test: OK
>
> +Or download them all from kernel.org and move them to /toolchains directory,
> +
> +$ for i in aarch64 arm avr32 i386 m68k microblaze mips or32 powerpc sparc
> + do
> + ./tools/buildman/buildman --fetch-arch $i
> + done
> +$ sudo mkdir -p /toolchains
> +$ sudo mv ~/.buildman-toolchains/*/* /toolchains/
> +
> +For those not available from kernel.org, download from the following links.
> +
> +arc: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/
> + arc_gnu_2015.06_prebuilt_uclibc_le_archs_linux_install.tar.gz
> +blackfin: http://sourceforge.net/projects/adi-toolchain/files/
> + blackfin-toolchain-elf-gcc-4.5-2014R1_45-RC2.x86_64.tar.bz2
> +nds32: http://osdk.andestech.com/packages/
> + nds32le-linux-glibc-v1.tgz
> +nios2: http://sourcery.mentor.com/public/gnu_toolchain/nios2-linux-gnu/
> + sourceryg++-2015.11-27-nios2-linux-gnu-i686-pc-linux-gnu.tar.bz2
> +sh: http://sourcery.mentor.com/public/gnu_toolchain/sh-linux-gnu/
> + renesas-4.4-200-sh-linux-gnu-i686-pc-linux-gnu.tar.bz2
> +
> Buildman should now be set up to use your new toolchain.
>
> At the time of writing, U-Boot has these architectures:
> --
Regards,
Bin
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH] buildman: README: add links for toolchains not available on kernel.org
2015-11-12 1:16 ` Thomas Chou
@ 2015-11-12 2:19 ` Marek Vasut
2015-11-12 2:23 ` Bin Meng
0 siblings, 1 reply; 9+ messages in thread
From: Marek Vasut @ 2015-11-12 2:19 UTC (permalink / raw)
To: u-boot
On Thursday, November 12, 2015 at 02:16:05 AM, Thomas Chou wrote:
> Hi Marek,
Hi!
> On 2015?11?11? 23:54, Marek Vasut wrote:
> > On Wednesday, November 11, 2015 at 02:37:08 PM, Thomas Chou wrote:
> >> Add links for toolchains not available on kernel.org.
> >>
> >> The sh4 toolchains from kernel.org dose not work for some boards,
> >> so use the sh from Sourcery.
> >>
> >> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> >
> > Wouldn't it instead make more sense to get kernel.org to mirror those
> > toolchains ? The links might not last forever, but I think kernel.org
> > is not gonna go belly-up any soon.
>
> Agree. But I think it will be helpful to offer these links when it is
> missing or not working on kernel.org.
Sure, but if it's missing on k.org, it should just be added there too.
> I realized now that buildman is an effective and must-have tool. Every
> developer should run buildman before submitting patches, though it does
> take hours to run. The problem is that some toolchains are not easily
> found until looking into tools/moveconfig.py. So we should make it
> available.
Yeah.
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH] buildman: README: add links for toolchains not available on kernel.org
2015-11-12 2:19 ` Marek Vasut
@ 2015-11-12 2:23 ` Bin Meng
2015-11-13 18:14 ` Simon Glass
0 siblings, 1 reply; 9+ messages in thread
From: Bin Meng @ 2015-11-12 2:23 UTC (permalink / raw)
To: u-boot
On Thu, Nov 12, 2015 at 10:19 AM, Marek Vasut <marex@denx.de> wrote:
> On Thursday, November 12, 2015 at 02:16:05 AM, Thomas Chou wrote:
>> Hi Marek,
>
> Hi!
>
>> On 2015?11?11? 23:54, Marek Vasut wrote:
>> > On Wednesday, November 11, 2015 at 02:37:08 PM, Thomas Chou wrote:
>> >> Add links for toolchains not available on kernel.org.
>> >>
>> >> The sh4 toolchains from kernel.org dose not work for some boards,
>> >> so use the sh from Sourcery.
>> >>
>> >> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
>> >
>> > Wouldn't it instead make more sense to get kernel.org to mirror those
>> > toolchains ? The links might not last forever, but I think kernel.org
>> > is not gonna go belly-up any soon.
>>
>> Agree. But I think it will be helpful to offer these links when it is
>> missing or not working on kernel.org.
>
> Sure, but if it's missing on k.org, it should just be added there too.
Adding Tony who is maintaining the kernel.org toolchains
(https://www.kernel.org/pub/tools/crosstool/)
>
>> I realized now that buildman is an effective and must-have tool. Every
>> developer should run buildman before submitting patches, though it does
>> take hours to run. The problem is that some toolchains are not easily
>> found until looking into tools/moveconfig.py. So we should make it
>> available.
>
> Yeah.
>
> Best regards,
> Marek Vasut
Regards,
Bin
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH] buildman: README: add links for toolchains not available on kernel.org
2015-11-12 2:23 ` Bin Meng
@ 2015-11-13 18:14 ` Simon Glass
2015-12-11 13:24 ` Simon Glass
0 siblings, 1 reply; 9+ messages in thread
From: Simon Glass @ 2015-11-13 18:14 UTC (permalink / raw)
To: u-boot
On 11 November 2015 at 19:23, Bin Meng <bmeng.cn@gmail.com> wrote:
> On Thu, Nov 12, 2015 at 10:19 AM, Marek Vasut <marex@denx.de> wrote:
>> On Thursday, November 12, 2015 at 02:16:05 AM, Thomas Chou wrote:
>>> Hi Marek,
>>
>> Hi!
>>
>>> On 2015?11?11? 23:54, Marek Vasut wrote:
>>> > On Wednesday, November 11, 2015 at 02:37:08 PM, Thomas Chou wrote:
>>> >> Add links for toolchains not available on kernel.org.
>>> >>
>>> >> The sh4 toolchains from kernel.org dose not work for some boards,
>>> >> so use the sh from Sourcery.
>>> >>
>>> >> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
>>> >
>>> > Wouldn't it instead make more sense to get kernel.org to mirror those
>>> > toolchains ? The links might not last forever, but I think kernel.org
>>> > is not gonna go belly-up any soon.
>>>
>>> Agree. But I think it will be helpful to offer these links when it is
>>> missing or not working on kernel.org.
>>
>> Sure, but if it's missing on k.org, it should just be added there too.
>
> Adding Tony who is maintaining the kernel.org toolchains
> (https://www.kernel.org/pub/tools/crosstool/)
>
>>
>>> I realized now that buildman is an effective and must-have tool. Every
>>> developer should run buildman before submitting patches, though it does
>>> take hours to run. The problem is that some toolchains are not easily
>>> found until looking into tools/moveconfig.py. So we should make it
>>> available.
>>
>> Yeah.
>>
>> Best regards,
>> Marek Vasut
Acked-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH] buildman: README: add links for toolchains not available on kernel.org
2015-11-13 18:14 ` Simon Glass
@ 2015-12-11 13:24 ` Simon Glass
0 siblings, 0 replies; 9+ messages in thread
From: Simon Glass @ 2015-12-11 13:24 UTC (permalink / raw)
To: u-boot
Applied to u-boot-dm, thanks!
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-12-11 13:24 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-11 13:37 [U-Boot] [PATCH] buildman: README: add links for toolchains not available on kernel.org Thomas Chou
2015-11-11 15:54 ` Marek Vasut
2015-11-12 1:16 ` Thomas Chou
2015-11-12 2:19 ` Marek Vasut
2015-11-12 2:23 ` Bin Meng
2015-11-13 18:14 ` Simon Glass
2015-12-11 13:24 ` Simon Glass
2015-11-12 1:29 ` [U-Boot] [PATCH v2] " Thomas Chou
2015-11-12 2:13 ` Bin Meng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox