[U-Boot] [PATCH] buildman: Add gcc 4.9.0 with Microblaze toolchain

Also read gcc 4.9.0 at kernel.org which also have Microblaze toolchain.
Signed-off-by: Michal Simek michal.simek@xilinx.com ---
tools/buildman/README | 2 +- tools/buildman/toolchain.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/buildman/README b/tools/buildman/README index e870d54c1ff6..8ecdd8f85419 100644 --- a/tools/buildman/README +++ b/tools/buildman/README @@ -348,7 +348,7 @@ At the time of writing, U-Boot has these architectures: arc, arm, avr32, blackfin, m68k, microblaze, mips, nds32, nios2, openrisc powerpc, sandbox, sh, sparc, x86
-Of these, only arc, microblaze and nds32 are not available at kernel.org.. +Of these, only arc and nds32 are not available at kernel.org..
How to run it diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchain.py index 051da11ef01d..e33e10532ee9 100644 --- a/tools/buildman/toolchain.py +++ b/tools/buildman/toolchain.py @@ -339,7 +339,7 @@ class Toolchains: """ arch = command.OutputOneLine('uname', '-m') base = 'https://www.kernel.org/pub/tools/crosstool/files/bin' - versions = ['4.6.3', '4.6.2', '4.5.1', '4.2.4'] + versions = ['4.9.0', '4.6.3', '4.6.2', '4.5.1', '4.2.4'] links = [] for version in versions: url = '%s/%s/%s/' % (base, arch, version)

On 20 April 2015 at 03:46, Michal Simek michal.simek@xilinx.com wrote:
Also read gcc 4.9.0 at kernel.org which also have Microblaze toolchain.
Signed-off-by: Michal Simek michal.simek@xilinx.com
tools/buildman/README | 2 +- tools/buildman/toolchain.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Acked-by: Simon Glass sjg@chromium.org Tested-by: Simon Glass sjg@chromium.org

Hi,
On 23 April 2015 at 12:23, Simon Glass sjg@chromium.org wrote:
On 20 April 2015 at 03:46, Michal Simek michal.simek@xilinx.com wrote:
Also read gcc 4.9.0 at kernel.org which also have Microblaze toolchain.
Signed-off-by: Michal Simek michal.simek@xilinx.com
tools/buildman/README | 2 +- tools/buildman/toolchain.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Acked-by: Simon Glass sjg@chromium.org Tested-by: Simon Glass sjg@chromium.org
However it does cause a test failure.
./tools/buildman/buildman -t Checking: https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/ <unittest.result.TestResult run=34 errors=0 failures=1> Traceback (most recent call last): File "/usr/local/google/c/cosarm/src/third_party/u-boot/files/tools/buildman/test.py", line 415, in testToolchainDownload self.toolchains.LocateArchUrl('arm')) AssertionError: 'https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.6.3/x86_64-gcc...' != 'https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/x86_64-gcc...'
I'll fix that up when applying.
Regards, Simon

On 04/23/2015 08:30 PM, Simon Glass wrote:
Hi,
On 23 April 2015 at 12:23, Simon Glass sjg@chromium.org wrote:
On 20 April 2015 at 03:46, Michal Simek michal.simek@xilinx.com wrote:
Also read gcc 4.9.0 at kernel.org which also have Microblaze toolchain.
Signed-off-by: Michal Simek michal.simek@xilinx.com
tools/buildman/README | 2 +- tools/buildman/toolchain.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Acked-by: Simon Glass sjg@chromium.org Tested-by: Simon Glass sjg@chromium.org
However it does cause a test failure.
./tools/buildman/buildman -t Checking: https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/ <unittest.result.TestResult run=34 errors=0 failures=1> Traceback (most recent call last): File "/usr/local/google/c/cosarm/src/third_party/u-boot/files/tools/buildman/test.py", line 415, in testToolchainDownload self.toolchains.LocateArchUrl('arm')) AssertionError: 'https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.6.3/x86_64-gcc...' != 'https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/x86_64-gcc...'
I'll fix that up when applying.
Thanks. I was curious why you didn't add 4.9.0 there but maybe this was the reason.
Thanks for fixing it. Michal

On 23 April 2015 at 12:36, Michal Simek michal.simek@xilinx.com wrote:
On 04/23/2015 08:30 PM, Simon Glass wrote:
Hi,
On 23 April 2015 at 12:23, Simon Glass sjg@chromium.org wrote:
On 20 April 2015 at 03:46, Michal Simek michal.simek@xilinx.com wrote:
Also read gcc 4.9.0 at kernel.org which also have Microblaze toolchain.
Signed-off-by: Michal Simek michal.simek@xilinx.com
tools/buildman/README | 2 +- tools/buildman/toolchain.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Acked-by: Simon Glass sjg@chromium.org Tested-by: Simon Glass sjg@chromium.org
However it does cause a test failure.
./tools/buildman/buildman -t Checking: https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/ <unittest.result.TestResult run=34 errors=0 failures=1> Traceback (most recent call last): File "/usr/local/google/c/cosarm/src/third_party/u-boot/files/tools/buildman/test.py", line 415, in testToolchainDownload self.toolchains.LocateArchUrl('arm')) AssertionError: 'https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.6.3/x86_64-gcc...' != 'https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/x86_64-gcc...'
I'll fix that up when applying.
Thanks. I was curious why you didn't add 4.9.0 there but maybe this was the reason.
Thanks for fixing it. Michal
Applied to u-boot-x86 branch 'buildman', thanks!
participants (2)
-
Michal Simek
-
Simon Glass