[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#746420: linux: FTBFS on armhf: sun4i-a10-a1000.dtb



On Tue, 2014-04-29 at 13:51 -0700, Vagrant Cascadian wrote:
> Source: linux
> Version: 3.14.2-1
> Severity: normal
> Tags: patch
> 
> When attempting to build on armhf, the build fails with:

Oops, I failed to do a test build.

>   DTC     arch/arm/boot/dts/socfpga_vt.dtb
>   DTC     arch/arm/boot/dts/sun4i-a10-a1000.dtb
> ERROR (phandle_references): Reference to non-existent node or label "usb_clk"
> 
> ERROR (phandle_references): Reference to non-existent node or label "usb_clk"
> 
> ERROR (phandle_references): Reference to non-existent node or label "usb_clk"
> 
> ERROR (phandle_references): Reference to non-existent node or label "usb_clk"
> 
> ERROR (phandle_references): Reference to non-existent node or label "usb_clk"
> 
> ERROR: Input tree has errors, aborting (use -f to force output)
> make[6]: *** [arch/arm/boot/dts/sun4i-a10-a1000.dtb] Error 2
> make[5]: *** [dtbs] Error 2
> make[5]: *** Waiting for unfinished jobs....
>   CC      init/calibrate.o
>   CC      init/init_task.o
>   CC      init/version.o
>   LD      init/mounts.o
>   LD      init/built-in.o
> make[4]: *** [sub-make] Error 2
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/«PKGBUILDDIR»/debian/build/build_armhf_none_armmp'
> make[2]: *** [debian/stamps/build_armhf_none_armmp_plain] Error 2
> make[1]: *** [build-arch_armhf_none_armmp_real] Error 2
> make[2]: Leaving directory `/«PKGBUILDDIR»'
> make[1]: Leaving directory `/«PKGBUILDDIR»'
> make: *** [build-arch] Error 2
> dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
> 
> 
> It seems to be missing the following commit from mainline, which applies
> cleanly, and fixes the FTBFS:

Thanks a lot, I'll apply this.

Ben.

> commit 0076c8bdb417a96209e28755cf5156bd4439737b
> Author: Roman Byshko <rbyshko@gmail.com>
> Date:   Fri Feb 7 16:21:51 2014 +0100
> 
>     ARM: sun4i: dt: Add bindings for USB clocks
> 
>     Signed-off-by: Roman Byshko <rbyshko@gmail.com>
>     Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>     Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> 
> diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
> index 26cf191..b268f68 100644
> --- a/arch/arm/boot/dts/sun4i-a10.dtsi
> +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
> @@ -315,6 +315,15 @@
>                         clock-output-names = "ir1";
>                 };
> 
> +               usb_clk: clk@01c200cc {
> +                       #clock-cells = <1>;
> +                       #reset-cells = <1>;
> +                       compatible = "allwinner,sun4i-a10-usb-clk";
> +                       reg = <0x01c200cc 0x4>;
> +                       clocks = <&pll6 1>;
> +                       clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy";
> +               };
> +
>                 spi3_clk: clk@01c200d4 {
>                         #clock-cells = <0>;
>                         compatible = "allwinner,sun4i-mod0-clk";
> 
> 
> live well,
>   vagrant

-- 
Ben Hutchings
Life would be so much easier if we could look at the source code.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: