[U-Boot] u-boot-sunxi/master: Buildman issues

Chen-Yu Tsai wens at csie.org
Tue Apr 4 06:17:24 UTC 2017


On Tue, Apr 4, 2017 at 1:43 PM, Jagan Teki <jagannadh.teki at gmail.com> wrote:
> Full Log:
> ----------
> boards.cfg is up to date. Nothing to do.
> Summary of 36 commits for 1275 boards (12 threads, 1 job per thread)
> 01: sunxi: fix ACTLR.SMP assembly routine
>    aarch64:  +   orangepi_pc2
>   blackfin:  +   cm-bf561 blackstamp bf527-ezkit-v2 br4 cm-bf527
> bf506f-ezkit ip04 bf527-sdp bf527-ad7160-eval bf609-ezkit tcm-bf518
> bf527-ezkit bf533-ezkit ibf-dsp561 bf537-minotaur bf537-pnav
> bf537-srv1 cm-bf548 bf548-ezkit bf525-ucr2 blackvme pr1 bf518f-ezbrd
> bf526-ezbrd
>        x86:  +   galileo conga-qeval20-qa3-e3845-internal-uart
> qemu-x86_64 conga-qeval20-qa3-e3845 bayleybay
> theadorable-x86-dfi-bt700 qemu-x86_efi_payload64 minnowmax
> dfi-bt700-q7x-151 som-db5800-som-6867 chromebook_link64
>        arm:  +   CHIP_pro sun8i_a23_evb nanopi_neo_air Sunchip_CX-A99
> mx6sxsabreauto
> +/bin/sh: 1: bfin-uclinux-ldr: not found
> +make[1]: *** [u-boot.ldr] Error 127
> +make: *** [sub-make] Error 2
> +make[1]: bfin-uclinux-ldr: Command not found
> +/bin/sh: 1: iasl: not found
> +mv: cannot stat '../board/intel/galileo/dsdt.hex': No such file or directory
> +make[2]: *** [board/intel/galileo/dsdt.c] Error 1
> +make[1]: *** [board/intel/galileo] Error 2
> +   if (i2c_read(chip, addr, 1, &valb, 1))
> +   ^
> +   return i2c_write(chip, addr, 1, &valb, 1);
> +cc1: error: -mcpu=bf506-0.0 is not valid
> +cc1: error: unrecognized command line option '-mcpu=bf506-0.0'
> +make[2]: *** [u-boot.cfg] Error 1
> +make[1]: *** No rule to make target `include/config/auto.conf',
> needed by `include/config/uboot.release'.  Stop.
> +cc1: error: -mcpu=bf609-0.0 is not valid
> +cc1: error: unrecognized command line option '-mcpu=bf609-0.0'
> +mv: cannot stat '../board/congatec/conga-qeval20-qa3-e3845/dsdt.hex':
> No such file or directory
> +make[2]: *** [board/congatec/conga-qeval20-qa3-e3845/dsdt.c] Error 1
> +make[1]: *** [board/congatec/conga-qeval20-qa3-e3845] Error 2

Toolchain issues?

> +make[2]: *** [orangepi_pc2_defconfig] Error 1
> +make[1]: *** [orangepi_pc2_defconfig] Error 2
> +make[2]: *** [CHIP_pro_defconfig] Error 1
> +make[1]: *** [CHIP_pro_defconfig] Error 2

New boards introduced not available at the start of the series.

> +mv: cannot stat '../board/dfi/dfi-bt700/dsdt.hex': No such file or directory
> +make[2]: *** [board/dfi/dfi-bt700/dsdt.c] Error 1
> +make[1]: *** [board/dfi/dfi-bt700] Error 2
> +In file included from ../arch/x86/include/asm/bitops.h:18:0,
> +                 from ../include/linux/bitops.h:123,
> +                 from ../include/common.h:25,
> +                 from ../lib/asm-offsets.c:15:
> +  if (!(word & (~0ul << 32))) {
> +  ^
> +   word <<= 32;
> +  if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
> +  if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
> +  if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
> +  if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
> +  if (!(word & (~0ul << (BITS_PER_LONG-1))))
> +                 from ../arch/x86/lib/asm-offsets.c:15:
> +                 from ../arch/x86/cpu/cpu.c:22:
> +                 from ../arch/x86/cpu/cpu_x86.c:7:
> +                 from ../arch/x86/cpu/intel_common/cpu.c:7:
> +                 from ../arch/x86/cpu/intel_common/lpc.c:7:
> +                 from ../arch/x86/cpu/intel_common/microcode.c:10:
> +../arch/x86/cpu/intel_common/microcode.c: In function 'microcode_read_rev':
> +../arch/x86/cpu/intel_common/microcode.c:79:2: error: PIC register
> clobbered by 'ebx' in 'asm'
> +  asm volatile (
> +make[3]: *** [arch/x86/cpu/intel_common/microcode.o] Error 1
> +make[2]: *** [arch/x86/cpu/intel_common] Error 2
> +make[1]: *** [arch/x86/cpu] Error 2
> +mv: cannot stat '../board/intel/bayleybay/dsdt.hex': No such file or directory
> +make[2]: *** [board/intel/bayleybay/dsdt.c] Error 1
> +make[1]: *** [board/intel/bayleybay] Error 2
> +make[2]: *** [sun8i_a23_evb_defconfig] Error 1
> +make[1]: *** [sun8i_a23_evb_defconfig] Error 2
> +../arch/x86/lib/crt0_x86_64_efi.S: Assembler messages:
> +../arch/x86/lib/crt0_x86_64_efi.S:16: Error: bad register name `%rsp'
> +../arch/x86/lib/crt0_x86_64_efi.S:17: Error: bad register name `%rcx'
> +../arch/x86/lib/crt0_x86_64_efi.S:18: Error: bad register name `%rdx'
> +../arch/x86/lib/crt0_x86_64_efi.S:21: Error: bad register name `%rip)'
> +../arch/x86/lib/crt0_x86_64_efi.S:22: Error: bad register name `%rip)'
> +../arch/x86/lib/crt0_x86_64_efi.S:24: Error: bad register name `%rcx'
> +../arch/x86/lib/crt0_x86_64_efi.S:25: Error: bad register name `%rdx'
> +../arch/x86/lib/crt0_x86_64_efi.S:26: Error: bad register name `%rcx'
> +../arch/x86/lib/crt0_x86_64_efi.S:27: Error: bad register name `%rdx'
> +../arch/x86/lib/crt0_x86_64_efi.S:30: Error: bad register name `%rdi'
> +../arch/x86/lib/crt0_x86_64_efi.S:31: Error: bad register name `%rsi'
> +../arch/x86/lib/crt0_x86_64_efi.S:34: Error: bad register name `%rsp'
> +../arch/x86/lib/crt0_x86_64_efi.S:47: Warning: setting incorrect
> section attributes for .reloc
> +make[2]: *** [arch/x86/lib/crt0_x86_64_efi.o] Error 1
> +make[1]: *** [arch/x86/lib] Error 2
> +make[2]: *** [Sunchip_CX-A99_defconfig] Error 1
> +make[1]: *** [Sunchip_CX-A99_defconfig] Error 2
> +make[2]: *** [nanopi_neo_air_defconfig] Error 1
> +make[1]: *** [nanopi_neo_air_defconfig] Error 2
> +mv: cannot stat '../board/intel/minnowmax/dsdt.hex': No such file or directory
> +make[2]: *** [board/intel/minnowmax/dsdt.c] Error 1
> +make[1]: *** [board/intel/minnowmax] Error 2

The above seem like existing errors completely unrelated that are completely
unrelated to the series you're testing, especially since the first patch
here is sunxi specific.

> +mv: cannot stat '../board/advantech/som-db5800-som-6867/dsdt.hex': No
> such file or directory
> +make[2]: *** [board/advantech/som-db5800-som-6867/dsdt.c] Error 1
> +make[1]: *** [board/advantech/som-db5800-som-6867] Error 2
> w+../drivers/gpio/pca953x.c: In function 'pca953x_reg_write':
> w+../drivers/gpio/pca953x.c:68:3: warning: implicit declaration of
> function 'i2c_read' [-Wimplicit-function-declaration]
> w+../drivers/gpio/pca953x.c:74:3: warning: implicit declaration of
> function 'i2c_write' [-Wimplicit-function-declaration]
> w+../drivers/usb/musb/musb_hcd.c: In function 'config_hub_port':
> w+../drivers/usb/musb/musb_hcd.c:405:5: warning: variable 'hub' set
> but not used [-Wunused-but-set-variable]
> w+../drivers/usb/musb/musb_core.c: In function 'musb_configure_ep':
> w+../drivers/usb/musb/musb_core.c:71:6: warning: variable 'idx' set
> but not used [-Wunused-but-set-variable]
> w+../board/bf533-ezkit/flash.c: In function 'read_data':
> w+../board/bf533-ezkit/flash.c:241:6: warning: variable 'iShift' set
> but not used [-Wunused-but-set-variable]
> w+../drivers/net/ax88180.c: In function 'ax88180_mac_reset':
> w+../drivers/net/ax88180.c:132:16: warning: variable 'tmpval' set but
> not used [-Wunused-but-set-variable]
> w+../drivers/net/ax88180.c: In function 'ax88180_recv':
> w+../drivers/net/ax88180.c:577:17: warning: variable 'tmp_regval' set
> but not used [-Wunused-but-set-variable]
> w+../include/asm-generic/bitops/__fls.h: In function '__fls':
> w+../include/asm-generic/bitops/__fls.h:17:2: warning: left shift
> count >= width of type
> w+../include/asm-generic/bitops/__fls.h:19:3: warning: left shift
> count >= width of type
> w+../include/asm-generic/bitops/__fls.h:22:2: warning: left shift
> count >= width of type
> w+../include/asm-generic/bitops/__fls.h:26:2: warning: left shift
> count >= width of type
> w+../include/asm-generic/bitops/__fls.h:30:2: warning: left shift
> count >= width of type
> w+../include/asm-generic/bitops/__fls.h:34:2: warning: left shift
> count >= width of type
> w+../include/asm-generic/bitops/__fls.h:38:2: warning: left shift
> count >= width of type

Same here.

> 02: ARM: rename CONFIG_TIMER_CLK_FREQ to COUNTER_FREQUENCY
> 03: fsl: ls102x: remove redundant GENERIC_TIMER_CLK
> 04: sunxi: simplify ACTLR.SMP bit set #ifdef
> 05: sunxi: configs: merge sun9i and sun50i SPL memory definitions
> 06: sunxi: Kconfig: introduce CONFIG_SUNXI_HIGH_SRAM
> 07: sunxi: provide ARMv8 mem_map for every ARM64 board
> 08: SPI: SPL: sunxi: fix 64-bit build
> 09: sunxi: DRAM: add Allwinner H5 support
> 10: sunxi: prepare for sharing MACH_SUN8I_H3 config symbol
> 11: sunxi: introduce Allwinner H5 config option
> 12: sunxi: Add OrangePi PC 2 initial support
> -make[2]: *** [orangepi_pc2_defconfig] Error 1
> -make[1]: *** [orangepi_pc2_defconfig] Error 2
> +ERROR: File too large!
> +make[2]: *** [spl/sunxi-spl.bin] Error 1
> +make[1]: *** [spl/u-boot-spl] Error 2
> 13: sunxi: add NanoPi NEO Air defconfig
>        arm:     nanopi_neo_air
> -make[2]: *** [nanopi_neo_air_defconfig] Error 1
> -make[1]: *** [nanopi_neo_air_defconfig] Error 2
> 14: nand: sunxi: Fix modulo by zero error
> 15: bch: Allow to build for the host
> 16: tools: sunxi: Add spl image builder
> 17: common: Move environment choice to Kconfig
>        arm:  +   Nintendo_NES_Classic_Edition CHIP
> +In file included from ../include/common.h:987:0,
> +../include/environment.h:154:19: error: 'CONFIG_ENV_SIZE' undeclared
> here (not in a function)
> + #define ENV_SIZE (CONFIG_ENV_SIZE - ENV_HEADER_SIZE)
> +                   ^
> +../include/environment.h:162:21: note: in expansion of macro 'ENV_SIZE'
> +  unsigned char data[ENV_SIZE]; /* Environment data  */
> +                     ^
> +make[2]: *** [lib/asm-offsets.s] Error 1
> +make[1]: *** [prepare0] Error 2

Known breakage, fixed by "sunxi: Add default environment size",
the second last patch in the current sunxi/master-pr branch.

> 18: cmd: Add Kconfig option for CMD_MTDPARTS and related options
> 19: mtd: ubi: Select RBTREE option from MTD_UBI Kconfig entry
> 20: cmd: Expose a Kconfig option to enable UBIFS commands
> 21: cmd: nand: Expose optional suboptions in Kconfig
> 22: mtd: sunxi: Select the U-Boot location config option
> 23: mtd: sunxi: Change U-Boot offset
> 24: sunxi: Enable UBI and NAND support
> -In file included from ../include/common.h:987:0,
> -../include/environment.h:154:19: error: 'CONFIG_ENV_SIZE' undeclared
> here (not in a function)
> - #define ENV_SIZE (CONFIG_ENV_SIZE - ENV_HEADER_SIZE)
> -../include/environment.h:162:21: note: in expansion of macro 'ENV_SIZE'
> -  unsigned char data[ENV_SIZE]; /* Environment data  */
> -                     ^
> -make[2]: *** [lib/asm-offsets.s] Error 1
> -make[1]: *** [prepare0] Error 2
> -ERROR: File too large!
> -make[2]: *** [spl/sunxi-spl.bin] Error 1
> -make[1]: *** [spl/u-boot-spl] Error 2
> +../cmd/nand.c: In function 'set_dev':
> +../cmd/nand.c:118:24: error: 'CONFIG_SYS_MAX_NAND_DEVICE' undeclared
> (first use in this function)
> +  if (dev < 0 || dev >= CONFIG_SYS_MAX_NAND_DEVICE || !nand_info[dev]) {
> +                        ^
> +../cmd/nand.c:118:24: note: each undeclared identifier is reported
> only once for each function it appears in
> +../cmd/nand.c: In function 'do_nand':
> +../cmd/nand.c:400:19: error: 'CONFIG_SYS_MAX_NAND_DEVICE' undeclared
> (first use in this function)
> +   for (i = 0; i < CONFIG_SYS_MAX_NAND_DEVICE; i++) {
> +../cmd/nand.c: In function 'do_nandboot':
> +../cmd/nand.c:994:24: error: 'CONFIG_SYS_MAX_NAND_DEVICE' undeclared
> (first use in this function)
> +  if (idx < 0 || idx >= CONFIG_SYS_MAX_NAND_DEVICE || !nand_info[idx]) {
> +make[2]: *** [cmd/nand.o] Error 1
> +make[1]: *** [cmd] Error 2

Known breakage, fixed by "cmd: nand: Make the NAND options default to
NAND_SUNXI",
the third last patch in the current sunxi/master-pr branch.

> 25: sunxi: Add the default mtdids and mtdparts to our env
> 26: nand: sunxi: Add options for the SPL NAND configuration
> 27: scripts: sunxi: Build an raw SPL image
> 28: sunxi: Sync GR8 DTS and AXP209 with the kernel
> 29: sunxi: Add support for the CHIP Pro
>        arm:     CHIP_pro
> -make[2]: *** [CHIP_pro_defconfig] Error 1
> -make[1]: *** [CHIP_pro_defconfig] Error 2
> 30: ARM: dts: sun9i: Add mmc1 pinmux setting
> 31: arm: sunxi: Add Sunchip CX-A99 initial support
> -make[2]: *** [Sunchip_CX-A99_defconfig] Error 1
> -make[1]: *** [Sunchip_CX-A99_defconfig] Error 2
> 32: sunxi: Add boards/sunxi and arch/arm/mach-sunxi to sunxi MAINTAINERS entry
> 33: cmd: ubifs: Add a dependency on CMD_UBI
> 34: cmd: nand: Make the NAND options default to NAND_SUNXI
>        arm:     Sunchip_CX-A99
> -../cmd/nand.c: In function 'set_dev':
> -../cmd/nand.c:118:24: error: 'CONFIG_SYS_MAX_NAND_DEVICE' undeclared
> (first use in this function)
> -  if (dev < 0 || dev >= CONFIG_SYS_MAX_NAND_DEVICE || !nand_info[dev]) {
> -                        ^
> -../cmd/nand.c:118:24: note: each undeclared identifier is reported
> only once for each function it appears in
> -../cmd/nand.c: In function 'do_nand':
> -../cmd/nand.c:400:19: error: 'CONFIG_SYS_MAX_NAND_DEVICE' undeclared
> (first use in this function)
> -   for (i = 0; i < CONFIG_SYS_MAX_NAND_DEVICE; i++) {
> -../cmd/nand.c: In function 'do_nandboot':
> -../cmd/nand.c:994:24: error: 'CONFIG_SYS_MAX_NAND_DEVICE' undeclared
> (first use in this function)
> -  if (idx < 0 || idx >= CONFIG_SYS_MAX_NAND_DEVICE || !nand_info[idx]) {
> -make[2]: *** [cmd/nand.o] Error 1
> -make[1]: *** [cmd] Error 2
> +In file included from ../include/common.h:987:0,
> +../include/environment.h:154:19: error: 'CONFIG_ENV_SIZE' undeclared
> here (not in a function)
> + #define ENV_SIZE (CONFIG_ENV_SIZE - ENV_HEADER_SIZE)
> +../include/environment.h:162:21: note: in expansion of macro 'ENV_SIZE'
> +  unsigned char data[ENV_SIZE]; /* Environment data  */
> +                     ^
> +make[2]: *** [lib/asm-offsets.s] Error 1
> +make[1]: *** [prepare0] Error 2
> +ERROR: File too large!
> +make[2]: *** [spl/sunxi-spl.bin] Error 1
> +make[1]: *** [spl/u-boot-spl] Error 2
> 35: sunxi: Add default environment size
>        arm:     Nintendo_NES_Classic_Edition CHIP
> -In file included from ../include/common.h:987:0,
> -../include/environment.h:154:19: error: 'CONFIG_ENV_SIZE' undeclared
> here (not in a function)
> - #define ENV_SIZE (CONFIG_ENV_SIZE - ENV_HEADER_SIZE)
> -                   ^
> -../include/environment.h:162:21: note: in expansion of macro 'ENV_SIZE'
> -  unsigned char data[ENV_SIZE]; /* Environment data  */
> -                     ^
> -make[2]: *** [lib/asm-offsets.s] Error 1
> -make[1]: *** [prepare0] Error 2
> 36: sunxi: Add defconfig for Allwinner A23 EVB
>        arm:     sun8i_a23_evb
> -make[2]: *** [sun8i_a23_evb_defconfig] Error 1
> -make[1]: *** [sun8i_a23_evb_defconfig] Error 2

At the end the sunxi targets are all buildable. You could squash the fix
patches into the original patches if the intermediate build failures are
of concern.

Regards
ChenYu


More information about the U-Boot mailing list