[U-Boot] buildman toolchains

Hi,
I was using buildman to get toolchains from kernel.org to build U-Boot for as many boards as possible. But I still see some boards do not build. Are these build failures a known issue? Error log below:
blackfin: + cm-bf561 blackstamp bct-brettl2 cm-bf527 bf506f-ezkit ip04 bf527-sdp bf537-minotaur bf609-ezkit bf537-stamp bf527-ezkit-v2 cm-bf537e tcm-bf518 cm-bf537u bf527-ezkit cm-bf533 pr1 bf533-ezkit ibf-dsp561 bf537-pnav bf537-srv1 cm-bf548 bf538f-ezkit bf548-ezkit bf525-ucr2 blackvme tcm-bf537 bf533-stamp bf518f-ezbrd bf527-ad7160-eval bf526-ezbrd bf561-ezkit br4 aarch64: + xilinx_zynqmp_ep hikey avr32: + atngw100mkii grasshopper atstk1002 atngw100 powerpc: + ebony taihu ocotea TQM834x taishan katmai sh: + sh7753evb rsk7269 rsk7264 shmin ms7720se mpr2 rsk7203 sh7785lcr_32bit sh7785lcr arm: + openrd_base axm openrd_ultimate zynq_zc70x openrd_client taurus +powerpc-linux-ld.bfd: section .resetvec loaded at [00000000fffffffc,00000000ffffffff] overlaps section .u_boot_list loaded at [00000000ffffff8c,00000001000008c3] +powerpc-linux-ld.bfd: u-boot: section .resetvec lma 0xfffffffc adjusted to 0x1000008c4 +make[1]: *** [u-boot] Error 1 +make: *** [sub-make] Error 2 +sh4-linux-gcc: error: command line option '-m3' is not supported by this configuration +make[2]: *** [include/autoconf.mk] Error 1 +make[1]: *** No rule to make target `include/config/auto.conf', needed by `include/config/uboot.release'. Stop. +/bin/sh: bfin-uclinux-ldr: command not found +make[1]: *** [u-boot.ldr] Error 127 +make[1]: bfin-uclinux-ldr: Command not found +powerpc-linux-ld.bfd: section .bootpg loaded at [00000000fffff000,00000000fffff23f] overlaps section .u_boot_list loaded at [00000000ffffeb04,00000000fffff393] +powerpc-linux-ld.bfd: u-boot: section .bootpg lma 0xfffff000 adjusted to 0xfffff394 +powerpc-linux-ld.bfd: u-boot: section .data.init lma 0xfffff400 adjusted to 0xfffff5d4 +board/renesas/sh7753evb/built-in.o: In function `init_gether_mdio': +build/../board/renesas/sh7753evb/sh7753evb.c:93: undefined reference to `PMB_ADDR_BASE' +build/../board/renesas/sh7753evb/sh7753evb.c:93: undefined reference to `PMB_DATA_BASE' +build/../board/renesas/sh7753evb/sh7753evb.c:93: undefined reference to `mk_pmb_addr_val' +build/../board/renesas/sh7753evb/sh7753evb.c:93: undefined reference to `mk_pmb_data_val' +drivers/i2c/built-in.o: warning: input is not relaxable +cc1: error: -mcpu=bf506-0.0 is not valid +cc1: error: unrecognized command line option '-mcpu=bf506-0.0' + (((base + size - 1) >> CSBNDS_EA_SHIFT) & + ^ +../board/tqc/tqm834x/tqm834x.c:80:2: note: containing loop + for(cs = 0; cs < 4; ++cs) { + ^ +u-boot.bin exceeds file size limit: + limit: 393216 bytes + actual: 440812 bytes + excess: 47596 bytes +make[1]: *** [u-boot.bin] Error 1 +cc1: error: -mcpu=bf609-0.0 is not valid +cc1: error: unrecognized command line option '-mcpu=bf609-0.0' + ((u32)(priv->rxbuffers) + + ^ + writel((u32)priv->rx_bd, ®s->rxqbase); + ^ +../arch/arm/include/asm/io.h:146:34: note: in definition of macro 'writel' + #define writel(v,c) ({ u32 __v = v; __iowmb(); __arch_putl(__v,c); __v; }) + ^ + writel((u32)priv->tx_bd, ®s->txqbase); + ^ + priv->tx_bd->addr = (u32)ptr; + ^ + addr = (u32) ptr; + addr = (u32)priv->rxbuffers; + net_process_received_packet((u8 *)addr, frame_len); + ^ + priv->rx_bd = (struct emac_bd *)((u32)bd_space + BD_SEPRN_SPACE); + ^ + ^ + dma_unmap_single((void *)dwc->scratch_addr, dwc->nr_scratch * + ^ + dwc->regs = (int *)(dwc3_dev->base + DWC3_GLOBALS_REGS_START); + ^ + dwc3_flush_cache((int)trb, sizeof(*trb)); + dwc3_flush_cache((int)evt->buf, evt->length); + ^ + dwc3_flush_cache((int)trb, sizeof(*trb)); + dwc3_flush_cache((int)dwc->ep0_bounce, DWC3_EP0_BOUNCE_SIZE); + ^ + debug("%s: dev->in_req->length:%d to_cpy:%d\n", __func__, + dma_unmap_single((void *)req->dma, req->length, +In file included from ../include/linux/byteorder/big_endian.h:14:0, + from ../arch/powerpc/include/asm/byteorder.h:82, + from ../arch/powerpc/include/asm/bitops.h:8, + from ../include/linux/bitops.h:110, + from ../include/common.h:20, + from ../drivers/net/eepro100.c:8: + return le16_to_cpu (*(volatile u16 *) (addr + dev->iobase)); + ^ +../include/linux/byteorder/swab.h:81:31: note: in definition of macro '__swab16' + (__builtin_constant_p((__u16)(x)) ? \ +../include/linux/byteorder/generic.h:92:21: note: in expansion of macro '__le16_to_cpu' + #define le16_to_cpu __le16_to_cpu +../drivers/net/eepro100.c:243:9: note: in expansion of macro 'le16_to_cpu' +../include/linux/byteorder/swab.h:23:13: note: in definition of macro '___swab16' + (((__u16)(x) & (__u16)0x00ffU) << 8) | \ + ^ +../include/linux/byteorder/big_endian.h:37:26: note: in expansion of macro '__swab16' + #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) + ^ +../include/linux/byteorder/swab.h:24:13: note: in definition of macro '___swab16' + (((__u16)(x) & (__u16)0xff00U) >> 8) )) +../include/linux/byteorder/swab.h:83:13: note: in definition of macro '__swab16' + __fswab16((x))) + *(volatile u16 *) ((addr + dev->iobase)) = cpu_to_le16 (command); + ^ + *(volatile u32 *) ((addr + dev->iobase)) = cpu_to_le32 (command); + return le32_to_cpu (*(volatile u32 *) (addr + dev->iobase)); +../include/linux/byteorder/swab.h:85:31: note: in definition of macro '__swab32' + (__builtin_constant_p((__u32)(x)) ? \ +../include/linux/byteorder/generic.h:90:21: note: in expansion of macro '__le32_to_cpu' + #define le32_to_cpu __le32_to_cpu +../drivers/net/eepro100.c:259:9: note: in expansion of macro 'le32_to_cpu' +../include/linux/byteorder/swab.h:27:13: note: in definition of macro '___swab32' + (((__u32)(x) & (__u32)0x000000ffUL) << 24) | \ +../include/linux/byteorder/big_endian.h:35:26: note: in expansion of macro '__swab32' + #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x)) +../include/linux/byteorder/swab.h:28:13: note: in definition of macro '___swab32' + (((__u32)(x) & (__u32)0x0000ff00UL) << 8) | \ +../include/linux/byteorder/swab.h:29:13: note: in definition of macro '___swab32' + (((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | \ +../include/linux/byteorder/swab.h:30:13: note: in definition of macro '___swab32' + (((__u32)(x) & (__u32)0xff000000UL) >> 24) )) +../include/linux/byteorder/swab.h:87:13: note: in definition of macro '__swab32' + __fswab32((x))) +powerpc-linux-ld.bfd: section .bootpg loaded at [00000000fffff000,00000000fffff24f] overlaps section .data loaded at [00000000ffffd2fc,00000000fffffa5b] +powerpc-linux-ld.bfd: section .resetvec loaded at [00000000fffffffc,00000000ffffffff] overlaps section .u_boot_list loaded at [00000000fffffa5c,0000000100000403] +powerpc-linux-ld.bfd: u-boot: section .bootpg lma 0xfffff000 adjusted to 0xfffffa5c +powerpc-linux-ld.bfd: u-boot: section .u_boot_list lma 0xfffffa5c adjusted to 0xfffffcac +powerpc-linux-ld.bfd: u-boot: section .resetvec lma 0xfffffffc adjusted to 0x100000654 +powerpc-linux-ld.bfd: u-boot: section .data.init lma 0x100000500 adjusted to 0x100000658 +powerpc-linux-ld.bfd: section .bootpg loaded at [00000000fffff000,00000000fffff24f] overlaps section .data loaded at [00000000ffffcf28,00000000fffff78f] +powerpc-linux-ld.bfd: section .resetvec loaded at [00000000fffffffc,00000000ffffffff] overlaps section .u_boot_list loaded at [00000000fffff790,000000010000001f] +powerpc-linux-ld.bfd: u-boot: section .bootpg lma 0xfffff000 adjusted to 0xfffff790 +powerpc-linux-ld.bfd: u-boot: section .u_boot_list lma 0xfffff790 adjusted to 0xfffff9e0 +powerpc-linux-ld.bfd: u-boot: section .resetvec lma 0xfffffffc adjusted to 0x100000270 +powerpc-linux-ld.bfd: u-boot: section .data.init lma 0x100000100 adjusted to 0x100000274 +arm-unknown-linux-gnueabi-ld.bfd: SPL image too big +arm-unknown-linux-gnueabi-objcopy: 'spl/u-boot-spl': No such file +make[2]: *** [spl/u-boot-spl.bin] Error 1 +make[1]: *** [spl/u-boot-spl] Error 2 +sh4-linux-gcc: error: command line option '-m2a' is not supported by this configuration +sh4-linux-gcc: error: command line option '-m2a-nofpu' is not supported by this configuration + actual: 440864 bytes + excess: 47648 bytes + actual: 440892 bytes + excess: 47676 bytes +../board/xilinx/zynq/Makefile:43: CONFIG_TARGET_ZYNQ_ZC70X is deprecated. +../board/xilinx/zynq/Makefile:44: Enable CONFIG_TARGET_ZYNQ_ZC702 or CONFIG_TARGET_ZYNQ_706 instead. +../board/xilinx/zynq/Makefile:45: "make zynq_zc70x_defconfig" is also deprecated. +../board/xilinx/zynq/Makefile:46: Use "make zynq_zc702_defconfig" or "make zynq_zc706_defconfig". + bank->base = (u8 *)plat->base; + ^ + desc->next_addr = (unsigned int)desc + sizeof(struct dwmci_idmac); + dwmci_writel(host, DWMCI_DBADDR, (unsigned int)cur_idmac); + (u32)bounce_buffer + (i * PAGE_SIZE)); + host->ioaddr = (void *)regbase; + ^ + debug("** %s(), len %d, buf %#x\n", __func__, length, (int)msg); + ^ +../include/common.h:109:26: note: in definition of macro 'debug_cond' + printf(pr_fmt(fmt), ##args); \ +../drivers/usb/eth/smsc95xx.c:697:2: note: in expansion of macro 'debug' + debug("Tx: len = %u, actual = %u, err = %d\n", + cur_buf_align = (int)buf_ptr - (int)recv_buf;
Regards, Bin

On Tue, Sep 22, 2015 at 01:12:56PM +0800, Bin Meng wrote:
Hi,
I was using buildman to get toolchains from kernel.org to build U-Boot for as many boards as possible. But I still see some boards do not build. Are these build failures a known issue? Error log below:
blackfin: + cm-bf561 blackstamp bct-brettl2 cm-bf527 bf506f-ezkit ip04 bf527-sdp bf537-minotaur bf609-ezkit bf537-stamp bf527-ezkit-v2 cm-bf537e tcm-bf518 cm-bf537u bf527-ezkit cm-bf533 pr1 bf533-ezkit ibf-dsp561 bf537-pnav bf537-srv1 cm-bf548 bf538f-ezkit bf548-ezkit bf525-ucr2 blackvme tcm-bf537 bf533-stamp bf518f-ezbrd bf527-ad7160-eval bf526-ezbrd bf561-ezkit br4 aarch64: + xilinx_zynqmp_ep hikey avr32: + atngw100mkii grasshopper atstk1002 atngw100 powerpc: + ebony taihu ocotea TQM834x taishan katmai sh: + sh7753evb rsk7269 rsk7264 shmin ms7720se mpr2 rsk7203 sh7785lcr_32bit sh7785lcr arm: + openrd_base axm openrd_ultimate zynq_zc70x openrd_client taurus
I don't do sh but: blackfin: + bf537-stamp bf527-ezkit-v2 bf527-ezkit bf538f-ezkit bf526-ezbrd aarch64: + p2371-2180 xilinx_zynqmp_ep hikey avr32: + atngw100mkii grasshopper atstk1002 atngw100 powerpc: + ebony taihu ocotea taishan katmai sandbox: + sandbox arm: + axm smartweb zynq_zc70x tricorder stm32f429-discovery x600 tricorder_f lash taurus
is my list currently. This does include warnings (sandbox, hikey) and some failures to link (ebony, etc).

+Masahiro,
Hi,
On 22 September 2015 at 08:01, Tom Rini trini@konsulko.com wrote:
On Tue, Sep 22, 2015 at 01:12:56PM +0800, Bin Meng wrote:
Hi,
I was using buildman to get toolchains from kernel.org to build U-Boot for as many boards as possible. But I still see some boards do not build. Are these build failures a known issue? Error log below:
blackfin: + cm-bf561 blackstamp bct-brettl2 cm-bf527 bf506f-ezkit ip04 bf527-sdp bf537-minotaur bf609-ezkit bf537-stamp bf527-ezkit-v2 cm-bf537e tcm-bf518 cm-bf537u bf527-ezkit cm-bf533 pr1 bf533-ezkit ibf-dsp561 bf537-pnav bf537-srv1 cm-bf548 bf538f-ezkit bf548-ezkit bf525-ucr2 blackvme tcm-bf537 bf533-stamp bf518f-ezbrd bf527-ad7160-eval bf526-ezbrd bf561-ezkit br4 aarch64: + xilinx_zynqmp_ep hikey avr32: + atngw100mkii grasshopper atstk1002 atngw100 powerpc: + ebony taihu ocotea TQM834x taishan katmai sh: + sh7753evb rsk7269 rsk7264 shmin ms7720se mpr2 rsk7203 sh7785lcr_32bit sh7785lcr arm: + openrd_base axm openrd_ultimate zynq_zc70x openrd_client taurus
I don't do sh but: blackfin: + bf537-stamp bf527-ezkit-v2 bf527-ezkit bf538f-ezkit bf526-ezbrd aarch64: + p2371-2180 xilinx_zynqmp_ep hikey avr32: + atngw100mkii grasshopper atstk1002 atngw100 powerpc: + ebony taihu ocotea taishan katmai sandbox: + sandbox arm: + axm smartweb zynq_zc70x tricorder stm32f429-discovery x600 tricorder_f lash taurus
is my list currently. This does include warnings (sandbox, hikey) and some failures to link (ebony, etc).
Sorry Bin, I didn't get back to your earlier email on this. I can't build everything at present, but these notes from Masahiro in the moveconfig.py script might be helpful:
# Here is the list of cross-tools I use. # Most of them are available at kernel.org # (https://www.kernel.org/pub/tools/crosstool/files/bin/), except the followings: # 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/ # nios2: https://sourcery.mentor.com/GNUToolchain/subscription42545 # sh: http://sourcery.mentor.com/public/gnu_toolchain/sh-linux-gnu
Regards, Simon

Thanks Simon.
On Tue, Sep 22, 2015 at 10:48 PM, Simon Glass sjg@chromium.org wrote:
+Masahiro,
Hi,
On 22 September 2015 at 08:01, Tom Rini trini@konsulko.com wrote:
On Tue, Sep 22, 2015 at 01:12:56PM +0800, Bin Meng wrote:
Hi,
I was using buildman to get toolchains from kernel.org to build U-Boot for as many boards as possible. But I still see some boards do not build. Are these build failures a known issue? Error log below:
blackfin: + cm-bf561 blackstamp bct-brettl2 cm-bf527 bf506f-ezkit ip04 bf527-sdp bf537-minotaur bf609-ezkit bf537-stamp bf527-ezkit-v2 cm-bf537e tcm-bf518 cm-bf537u bf527-ezkit cm-bf533 pr1 bf533-ezkit ibf-dsp561 bf537-pnav bf537-srv1 cm-bf548 bf538f-ezkit bf548-ezkit bf525-ucr2 blackvme tcm-bf537 bf533-stamp bf518f-ezbrd bf527-ad7160-eval bf526-ezbrd bf561-ezkit br4 aarch64: + xilinx_zynqmp_ep hikey avr32: + atngw100mkii grasshopper atstk1002 atngw100 powerpc: + ebony taihu ocotea TQM834x taishan katmai sh: + sh7753evb rsk7269 rsk7264 shmin ms7720se mpr2 rsk7203 sh7785lcr_32bit sh7785lcr arm: + openrd_base axm openrd_ultimate zynq_zc70x openrd_client taurus
I don't do sh but: blackfin: + bf537-stamp bf527-ezkit-v2 bf527-ezkit bf538f-ezkit bf526-ezbrd aarch64: + p2371-2180 xilinx_zynqmp_ep hikey avr32: + atngw100mkii grasshopper atstk1002 atngw100 powerpc: + ebony taihu ocotea taishan katmai sandbox: + sandbox arm: + axm smartweb zynq_zc70x tricorder stm32f429-discovery x600 tricorder_f lash taurus
is my list currently. This does include warnings (sandbox, hikey) and some failures to link (ebony, etc).
Sorry Bin, I didn't get back to your earlier email on this. I can't build everything at present, but these notes from Masahiro in the moveconfig.py script might be helpful:
# Here is the list of cross-tools I use. # Most of them are available at kernel.org # (https://www.kernel.org/pub/tools/crosstool/files/bin/), except the followings: # arc: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases # blackfin: http://sourceforge.net/projects/adi-toolchain/files/
So is the kernel.org blackfin unusable for U-Boot build?
# nds32: http://osdk.andestech.com/packages/
Looks like this link is out of date, as there is no prebuilt toolchain available for download. Is there any alternative?
# nios2: https://sourcery.mentor.com/GNUToolchain/subscription42545 # sh: http://sourcery.mentor.com/public/gnu_toolchain/sh-linux-gnu
Regards, Bin

Hi Bin,
2015-09-24 10:53 GMT+09:00 Bin Meng bmeng.cn@gmail.com:
Thanks Simon.
On Tue, Sep 22, 2015 at 10:48 PM, Simon Glass sjg@chromium.org wrote:
+Masahiro,
Hi,
On 22 September 2015 at 08:01, Tom Rini trini@konsulko.com wrote:
On Tue, Sep 22, 2015 at 01:12:56PM +0800, Bin Meng wrote:
Hi,
I was using buildman to get toolchains from kernel.org to build U-Boot for as many boards as possible. But I still see some boards do not build. Are these build failures a known issue? Error log below:
blackfin: + cm-bf561 blackstamp bct-brettl2 cm-bf527 bf506f-ezkit ip04 bf527-sdp bf537-minotaur bf609-ezkit bf537-stamp bf527-ezkit-v2 cm-bf537e tcm-bf518 cm-bf537u bf527-ezkit cm-bf533 pr1 bf533-ezkit ibf-dsp561 bf537-pnav bf537-srv1 cm-bf548 bf538f-ezkit bf548-ezkit bf525-ucr2 blackvme tcm-bf537 bf533-stamp bf518f-ezbrd bf527-ad7160-eval bf526-ezbrd bf561-ezkit br4 aarch64: + xilinx_zynqmp_ep hikey avr32: + atngw100mkii grasshopper atstk1002 atngw100 powerpc: + ebony taihu ocotea TQM834x taishan katmai sh: + sh7753evb rsk7269 rsk7264 shmin ms7720se mpr2 rsk7203 sh7785lcr_32bit sh7785lcr arm: + openrd_base axm openrd_ultimate zynq_zc70x openrd_client taurus
I don't do sh but: blackfin: + bf537-stamp bf527-ezkit-v2 bf527-ezkit bf538f-ezkit bf526-ezbrd aarch64: + p2371-2180 xilinx_zynqmp_ep hikey avr32: + atngw100mkii grasshopper atstk1002 atngw100 powerpc: + ebony taihu ocotea taishan katmai sandbox: + sandbox arm: + axm smartweb zynq_zc70x tricorder stm32f429-discovery x600 tricorder_f lash taurus
is my list currently. This does include warnings (sandbox, hikey) and some failures to link (ebony, etc).
Sorry Bin, I didn't get back to your earlier email on this. I can't build everything at present, but these notes from Masahiro in the moveconfig.py script might be helpful:
# Here is the list of cross-tools I use. # Most of them are available at kernel.org # (https://www.kernel.org/pub/tools/crosstool/files/bin/), except the followings: # arc: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases # blackfin: http://sourceforge.net/projects/adi-toolchain/files/
So is the kernel.org blackfin unusable for U-Boot build?
IIRC, the kernel.org one could not build some of Bfin boards.
# nds32: http://osdk.andestech.com/packages/
Looks like this link is out of date, as there is no prebuilt toolchain available for download. Is there any alternative?
Try this: http://osdk.andestech.com/packages/nds32le-linux-glibc-v1.tgz
It worked for me today.
# nios2: https://sourcery.mentor.com/GNUToolchain/subscription42545 # sh: http://sourcery.mentor.com/public/gnu_toolchain/sh-linux-gnu

Hi Masahiro,
On Thu, Sep 24, 2015 at 5:51 PM, Masahiro Yamada yamada.masahiro@socionext.com wrote:
Hi Bin,
2015-09-24 10:53 GMT+09:00 Bin Meng bmeng.cn@gmail.com:
Thanks Simon.
On Tue, Sep 22, 2015 at 10:48 PM, Simon Glass sjg@chromium.org wrote:
+Masahiro,
Hi,
On 22 September 2015 at 08:01, Tom Rini trini@konsulko.com wrote:
On Tue, Sep 22, 2015 at 01:12:56PM +0800, Bin Meng wrote:
Hi,
I was using buildman to get toolchains from kernel.org to build U-Boot for as many boards as possible. But I still see some boards do not build. Are these build failures a known issue? Error log below:
blackfin: + cm-bf561 blackstamp bct-brettl2 cm-bf527 bf506f-ezkit ip04 bf527-sdp bf537-minotaur bf609-ezkit bf537-stamp bf527-ezkit-v2 cm-bf537e tcm-bf518 cm-bf537u bf527-ezkit cm-bf533 pr1 bf533-ezkit ibf-dsp561 bf537-pnav bf537-srv1 cm-bf548 bf538f-ezkit bf548-ezkit bf525-ucr2 blackvme tcm-bf537 bf533-stamp bf518f-ezbrd bf527-ad7160-eval bf526-ezbrd bf561-ezkit br4 aarch64: + xilinx_zynqmp_ep hikey avr32: + atngw100mkii grasshopper atstk1002 atngw100 powerpc: + ebony taihu ocotea TQM834x taishan katmai sh: + sh7753evb rsk7269 rsk7264 shmin ms7720se mpr2 rsk7203 sh7785lcr_32bit sh7785lcr arm: + openrd_base axm openrd_ultimate zynq_zc70x openrd_client taurus
I don't do sh but: blackfin: + bf537-stamp bf527-ezkit-v2 bf527-ezkit bf538f-ezkit bf526-ezbrd aarch64: + p2371-2180 xilinx_zynqmp_ep hikey avr32: + atngw100mkii grasshopper atstk1002 atngw100 powerpc: + ebony taihu ocotea taishan katmai sandbox: + sandbox arm: + axm smartweb zynq_zc70x tricorder stm32f429-discovery x600 tricorder_f lash taurus
is my list currently. This does include warnings (sandbox, hikey) and some failures to link (ebony, etc).
Sorry Bin, I didn't get back to your earlier email on this. I can't build everything at present, but these notes from Masahiro in the moveconfig.py script might be helpful:
# Here is the list of cross-tools I use. # Most of them are available at kernel.org # (https://www.kernel.org/pub/tools/crosstool/files/bin/), except the followings: # arc: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases # blackfin: http://sourceforge.net/projects/adi-toolchain/files/
So is the kernel.org blackfin unusable for U-Boot build?
IIRC, the kernel.org one could not build some of Bfin boards.
Ah, yes, I just noticed that bf506f-ezkit_defconfig and bf609-ezkit_defconfig cannot be parsed by moveconfig too.
# nds32: http://osdk.andestech.com/packages/
Looks like this link is out of date, as there is no prebuilt toolchain available for download. Is there any alternative?
Try this: http://osdk.andestech.com/packages/nds32le-linux-glibc-v1.tgz
It worked for me today.
Thank you very much. This works for me too. I can submit a patch to mention this link.
# nios2: https://sourcery.mentor.com/GNUToolchain/subscription42545 # sh: http://sourcery.mentor.com/public/gnu_toolchain/sh-linux-gnu
Regards, Bin

On Fri, Sep 25, 2015 at 3:48 PM, Bin Meng bmeng.cn@gmail.com wrote:
Hi Masahiro,
On Thu, Sep 24, 2015 at 5:51 PM, Masahiro Yamada yamada.masahiro@socionext.com wrote:
Hi Bin,
2015-09-24 10:53 GMT+09:00 Bin Meng bmeng.cn@gmail.com:
Thanks Simon.
On Tue, Sep 22, 2015 at 10:48 PM, Simon Glass sjg@chromium.org wrote:
+Masahiro,
Hi,
On 22 September 2015 at 08:01, Tom Rini trini@konsulko.com wrote:
On Tue, Sep 22, 2015 at 01:12:56PM +0800, Bin Meng wrote:
Hi,
I was using buildman to get toolchains from kernel.org to build U-Boot for as many boards as possible. But I still see some boards do not build. Are these build failures a known issue? Error log below:
blackfin: + cm-bf561 blackstamp bct-brettl2 cm-bf527 bf506f-ezkit ip04 bf527-sdp bf537-minotaur bf609-ezkit bf537-stamp bf527-ezkit-v2 cm-bf537e tcm-bf518 cm-bf537u bf527-ezkit cm-bf533 pr1 bf533-ezkit ibf-dsp561 bf537-pnav bf537-srv1 cm-bf548 bf538f-ezkit bf548-ezkit bf525-ucr2 blackvme tcm-bf537 bf533-stamp bf518f-ezbrd bf527-ad7160-eval bf526-ezbrd bf561-ezkit br4 aarch64: + xilinx_zynqmp_ep hikey avr32: + atngw100mkii grasshopper atstk1002 atngw100 powerpc: + ebony taihu ocotea TQM834x taishan katmai sh: + sh7753evb rsk7269 rsk7264 shmin ms7720se mpr2 rsk7203 sh7785lcr_32bit sh7785lcr arm: + openrd_base axm openrd_ultimate zynq_zc70x openrd_client taurus
I don't do sh but: blackfin: + bf537-stamp bf527-ezkit-v2 bf527-ezkit bf538f-ezkit bf526-ezbrd aarch64: + p2371-2180 xilinx_zynqmp_ep hikey avr32: + atngw100mkii grasshopper atstk1002 atngw100 powerpc: + ebony taihu ocotea taishan katmai sandbox: + sandbox arm: + axm smartweb zynq_zc70x tricorder stm32f429-discovery x600 tricorder_f lash taurus
is my list currently. This does include warnings (sandbox, hikey) and some failures to link (ebony, etc).
Sorry Bin, I didn't get back to your earlier email on this. I can't build everything at present, but these notes from Masahiro in the moveconfig.py script might be helpful:
# Here is the list of cross-tools I use. # Most of them are available at kernel.org # (https://www.kernel.org/pub/tools/crosstool/files/bin/), except the followings: # arc: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases # blackfin: http://sourceforge.net/projects/adi-toolchain/files/
So is the kernel.org blackfin unusable for U-Boot build?
IIRC, the kernel.org one could not build some of Bfin boards.
Ah, yes, I just noticed that bf506f-ezkit_defconfig and bf609-ezkit_defconfig cannot be parsed by moveconfig too.
Just to avoid confusion, I wanted to say: with kernel.org blackfin toolchain, moveconfig failed to parse bf506f-ezkit_defconfig and bf609-ezkit_defconfig, due to toolchain limitations.
[snip]
Regards, Bin

Hi Tom,
On Tue, Sep 22, 2015 at 10:01 PM, Tom Rini trini@konsulko.com wrote:
On Tue, Sep 22, 2015 at 01:12:56PM +0800, Bin Meng wrote:
Hi,
I was using buildman to get toolchains from kernel.org to build U-Boot for as many boards as possible. But I still see some boards do not build. Are these build failures a known issue? Error log below:
blackfin: + cm-bf561 blackstamp bct-brettl2 cm-bf527 bf506f-ezkit ip04 bf527-sdp bf537-minotaur bf609-ezkit bf537-stamp bf527-ezkit-v2 cm-bf537e tcm-bf518 cm-bf537u bf527-ezkit cm-bf533 pr1 bf533-ezkit ibf-dsp561 bf537-pnav bf537-srv1 cm-bf548 bf538f-ezkit bf548-ezkit bf525-ucr2 blackvme tcm-bf537 bf533-stamp bf518f-ezbrd bf527-ad7160-eval bf526-ezbrd bf561-ezkit br4 aarch64: + xilinx_zynqmp_ep hikey avr32: + atngw100mkii grasshopper atstk1002 atngw100 powerpc: + ebony taihu ocotea TQM834x taishan katmai sh: + sh7753evb rsk7269 rsk7264 shmin ms7720se mpr2 rsk7203 sh7785lcr_32bit sh7785lcr arm: + openrd_base axm openrd_ultimate zynq_zc70x openrd_client taurus
I don't do sh but: blackfin: + bf537-stamp bf527-ezkit-v2 bf527-ezkit bf538f-ezkit bf526-ezbrd aarch64: + p2371-2180 xilinx_zynqmp_ep hikey avr32: + atngw100mkii grasshopper atstk1002 atngw100 powerpc: + ebony taihu ocotea taishan katmai sandbox: + sandbox arm: + axm smartweb zynq_zc70x tricorder stm32f429-discovery x600 tricorder_f lash taurus
is my list currently. This does include warnings (sandbox, hikey) and some failures to link (ebony, etc).
Good to know these build warnings/errors will be taken care of. I am interested how come these ppc4xx board does not build? Is that because of no maintainer is working on that? If so, should we consider dropping these boards support?
Regards, Bin
participants (4)
-
Bin Meng
-
Masahiro Yamada
-
Simon Glass
-
Tom Rini