[U-Boot] buildman toolchains

Bin Meng bmeng.cn at gmail.com
Tue Sep 22 07:12:56 CEST 2015


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, &regs->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, &regs->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


More information about the U-Boot mailing list