[U-Boot] help on using buildman
Simon Glass
sjg at chromium.org
Thu Nov 20 20:13:53 CET 2014
Hi York,
On 20 November 2014 18:47, York Sun <yorksun at freescale.com> wrote:
> Simon,
>
> Can you shed some light on my trouble? I am trying to use buildman for
> regression tests. I got inconsistency and am trying to find out why. Take one
> example MPC832XEMDS_HOST_66 in this case (I randomly pick a failed board)
>
> On one computer
>
> $ ./tools/buildman/buildman -b working_upstream_qoriq --force-build
> --force-reconfig MPC832XEMDS_HOST_66 -ve
> No section: 'make-flags'
> winegcc: gcc-4.5 failed
> boards.cfg is up to date. Nothing to do.
> Building 15 commits for 1 boards (1 thread, 4 jobs per thread)
> 01: ARM: atmel: add sama5d4 xplained ultra board support
> 02: qe: add u-qe support to arm board
> 03: qe: add qe support to ls1021aqds
> 04: qe: add qe support for ls1021a-twr board
> 05: arm: ls102xa: Fixed a register definition error
> 06: u_qe: add u_qe_upload_firmware for u_qe
> 07: powerpc: Move fsl_errata.h out of arch/powerpc
> 08: driver/usb/fsl: Make FSL USB driver common
> 09: drivers: usb: fsl: Define USB configs for LS102XA
> 10: ls1: config: Enable USB EHCI Host on LS1021AQDS
> 11: arm: ls102xa: Add snoop disable for slave port 0, 1 and 2
> 12: arm: ls102xa: Remove bit reversing for SCFG registers
> 13: ls102xa: ifc: nor: fix the write issue when bytes unaligned
> 14: arm: ls102xa: Add SystemID EEPROM support for LS1021ATWR board
> 15: arm: ls102xa: Select ge2_clk125 for eTSEC clock muxing
> 15 0 0 /15 MPC832XEMDS_HOST_66
>
> No error.
>
> On another computer
>
> $ ./tools/buildman/buildman -b working_upstream_qoriq --force-build
> --force-reconfig MPC832XEMDS_HOST_66 -se
-s means it won't actually build, just report a previous build. But I
suppose you did a previous build.
> No section: 'make-flags'
> boards.cfg is up to date. Nothing to do.
> Summary of 15 commits for 1 boards (1 thread, 24 jobs per thread)
> 01: ARM: atmel: add sama5d4 xplained ultra board support
> powerpc: + MPC832XEMDS_HOST_66
> +make[1]: *** No rule to make target `../arch//cpu/u-boot.lds', needed by
> `u-boot.lds'. Stop.
> +make: *** [sub-make] Error 2
> 02: qe: add u-qe support to arm board
> powerpc: MPC832XEMDS_HOST_66
> -make[1]: *** No rule to make target `../arch//cpu/u-boot.lds', needed by
> `u-boot.lds'. Stop.
> -make: *** [sub-make] Error 2
> 03: qe: add qe support to ls1021aqds
> powerpc: + MPC832XEMDS_HOST_66
> +make[1]: *** No rule to make target `../arch//cpu/u-boot.lds', needed by
> `u-boot.lds'. Stop.
> +make: *** [sub-make] Error 2
> 04: qe: add qe support for ls1021a-twr board
> 05: arm: ls102xa: Fixed a register definition error
> powerpc: MPC832XEMDS_HOST_66
> -make[1]: *** No rule to make target `../arch//cpu/u-boot.lds', needed by
> `u-boot.lds'. Stop.
> -make: *** [sub-make] Error 2
> 06: u_qe: add u_qe_upload_firmware for u_qe
> powerpc: + MPC832XEMDS_HOST_66
> +make[1]: *** No rule to make target `../arch//cpu/u-boot.lds', needed by
> `u-boot.lds'. Stop.
> +make: *** [sub-make] Error 2
> 07: powerpc: Move fsl_errata.h out of arch/powerpc
> 08: driver/usb/fsl: Make FSL USB driver common
> powerpc: MPC832XEMDS_HOST_66
> -make[1]: *** No rule to make target `../arch//cpu/u-boot.lds', needed by
> `u-boot.lds'. Stop.
> -make: *** [sub-make] Error 2
> 09: drivers: usb: fsl: Define USB configs for LS102XA
> powerpc: + MPC832XEMDS_HOST_66
> +make[1]: *** No rule to make target `../arch//cpu/u-boot.lds', needed by
> `u-boot.lds'. Stop.
> +make: *** [sub-make] Error 2
> 10: ls1: config: Enable USB EHCI Host on LS1021AQDS
> powerpc: MPC832XEMDS_HOST_66
> -make[1]: *** No rule to make target `../arch//cpu/u-boot.lds', needed by
> `u-boot.lds'. Stop.
> -make: *** [sub-make] Error 2
> 11: arm: ls102xa: Add snoop disable for slave port 0, 1 and 2
> powerpc: + MPC832XEMDS_HOST_66
> +make[1]: *** No rule to make target `../arch//cpu/u-boot.lds', needed by
> `u-boot.lds'. Stop.
> +make: *** [sub-make] Error 2
> 12: arm: ls102xa: Remove bit reversing for SCFG registers
> 13: ls102xa: ifc: nor: fix the write issue when bytes unaligned
> powerpc: MPC832XEMDS_HOST_66
> -make[1]: *** No rule to make target `../arch//cpu/u-boot.lds', needed by
> `u-boot.lds'. Stop.
> -make: *** [sub-make] Error 2
> 14: arm: ls102xa: Add SystemID EEPROM support for LS1021ATWR board
> powerpc: + MPC832XEMDS_HOST_66
> +make[1]: *** No rule to make target `../arch//cpu/u-boot.lds', needed by
> `u-boot.lds'. Stop.
> +make: *** [sub-make] Error 2
> 15: arm: ls102xa: Select ge2_clk125 for eTSEC clock muxing
> powerpc: MPC832XEMDS_HOST_66
> -make[1]: *** No rule to make target `../arch//cpu/u-boot.lds', needed by
> `u-boot.lds'. Stop.
> -make: *** [sub-make] Error 2
It seems to have failed to configure things - there is no $ARCH perhaps?
>
> You can see one error comes on and off. How can I debug it? I don't use python
> enough to diagnose the code. Is there a way to dump the make command to check?
>
> York
Any change you are missing a toolchain or it is broken?
See ../working_upstream_qoriq/01*/MPC832XEMDS_HOST_66/toolchain for
possible clues.
You can only see the make output if you comment out this line in
builderthread.py:
#args.append('-s')
Then it will be in a file called 'log'. It would be nice to have an
option for that...
Regards,
Simon
More information about the U-Boot
mailing list