Re: [PATCH v2] toolchain,glibc: Allow ARC big endian glibc builds
ping ^ 2 On 11/5/19 9:35 AM, Vineet Gupta wrote: > Apparently big endian glibc builds just work, if we let the endian > header allow that (which prev was #error). > > So this patch bumps glibc to version which fixes the header (this > hopefully will become arc-2019.09-release) and then enables arceb > in glibc toolchain builds > > Signed-off-by: Vineet Gupta > --- > Changes since v1 > - Use BR2_arc iso BR2_arcle && BR2_arcbe > --- > package/glibc/glibc.mk | 2 +- > toolchain/toolchain-buildroot/Config.in | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk > index d46063c5d111..754408881397 100644 > --- a/package/glibc/glibc.mk > +++ b/package/glibc/glibc.mk > @@ -5,7 +5,7 @@ > > > > ifeq ($(BR2_arc),y) > -GLIBC_VERSION = arc-2019.03-release > +GLIBC_VERSION = ec681dddfa99894513c85da7d5d257b60d04f915 > GLIBC_SITE = $(call > github,foss-for-synopsys-dwc-arc-processors,glibc,$(GLIBC_VERSION)) > else ifeq ($(BR2_RISCV_32),y) > GLIBC_VERSION = 06983fe52cfe8e4779035c27e8cc5d2caab31531 > diff --git a/toolchain/toolchain-buildroot/Config.in > b/toolchain/toolchain-buildroot/Config.in > index c0612bf04176..327314585b8e 100644 > --- a/toolchain/toolchain-buildroot/Config.in > +++ b/toolchain/toolchain-buildroot/Config.in > @@ -48,7 +48,7 @@ config BR2_TOOLCHAIN_BUILDROOT_GLIBC > BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \ > BR2_riscv || BR2_sh || BR2_sparc64 || \ > BR2_x86_64 || BR2_microblaze || BR2_nios2 || \ > -(BR2_arcle && BR2_ARC_ATOMIC_EXT) || BR2_csky > +(BR2_arc && BR2_ARC_ATOMIC_EXT) || BR2_csky > depends on BR2_USE_MMU > depends on !BR2_STATIC_LIBS > depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 > ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc
[PATCH v2 1/2] ARC: [plat-axs10x]: use pgu pll instead of fixed clock
Use PLL driver instead of fixed-clock for PGU pixel clock. That allows us to support wider range of graphic modes. Signed-off-by: Eugeniy Paltsev --- Changes v1->v2: * add missing input_clk node to AXS101. No changes for AXS103 / AXS103 SMP. arch/arc/boot/dts/axc001.dtsi| 6 ++ arch/arc/boot/dts/axs10x_mb.dtsi | 11 ++- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/arch/arc/boot/dts/axc001.dtsi b/arch/arc/boot/dts/axc001.dtsi index 6ec1fcdfc0d7..79ec27c043c1 100644 --- a/arch/arc/boot/dts/axc001.dtsi +++ b/arch/arc/boot/dts/axc001.dtsi @@ -28,6 +28,12 @@ clock-frequency = <75000>; }; + input_clk: input-clk { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <>; + }; + core_intc: arc700-intc@cpu { compatible = "snps,arc700-intc"; interrupt-controller; diff --git a/arch/arc/boot/dts/axs10x_mb.dtsi b/arch/arc/boot/dts/axs10x_mb.dtsi index 08bcfed6b80f..f9a5c9ddcae7 100644 --- a/arch/arc/boot/dts/axs10x_mb.dtsi +++ b/arch/arc/boot/dts/axs10x_mb.dtsi @@ -61,12 +61,13 @@ clock-frequency = <2500>; #clock-cells = <0>; }; + }; - pguclk: pguclk { - #clock-cells = <0>; - compatible = "fixed-clock"; - clock-frequency = <7425>; - }; + pguclk: pguclk@10080 { + compatible = "snps,axs10x-pgu-pll-clock"; + reg = <0x10080 0x10>, <0x110 0x10>; + #clock-cells = <0>; + clocks = <&input_clk>; }; gmac: ethernet@18000 { -- 2.21.0 ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc
[PATCH v2 2/2] ARC: [plat-axs10x]: remove hardcoded video mode from bootargs
Now have pixel clock PLL driver and we can change pixel clock rate so we don't need to enforce one exact video mode. Moreover enforcing video mode is harmful in case of we enforce mode which isn't supported by the monitor we are using. Signed-off-by: Eugeniy Paltsev --- Changes v1->v2: * None. arch/arc/boot/dts/axs101.dts | 2 +- arch/arc/boot/dts/axs103_idu.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arc/boot/dts/axs101.dts b/arch/arc/boot/dts/axs101.dts index 305a7f9658e0..c4cfc5f4f427 100644 --- a/arch/arc/boot/dts/axs101.dts +++ b/arch/arc/boot/dts/axs101.dts @@ -14,6 +14,6 @@ compatible = "snps,axs101", "snps,arc-sdp"; chosen { - bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 consoleblank=0 video=1280x720@60 print-fatal-signals=1"; + bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 consoleblank=0 print-fatal-signals=1"; }; }; diff --git a/arch/arc/boot/dts/axs103_idu.dts b/arch/arc/boot/dts/axs103_idu.dts index 46c9136cbf2b..a934b92a8c30 100644 --- a/arch/arc/boot/dts/axs103_idu.dts +++ b/arch/arc/boot/dts/axs103_idu.dts @@ -17,6 +17,6 @@ compatible = "snps,axs103", "snps,arc-sdp"; chosen { - bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 print-fatal-signals=1 consoleblank=0 video=1280x720@60"; + bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 print-fatal-signals=1 consoleblank=0"; }; }; -- 2.21.0 ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc
kisskb: FAILED linux-next/axs101_defconfig/arcompact Wed Nov 20, 21:13
FAILED linux-next/axs101_defconfig/arcompact Wed Nov 20, 21:13 http://kisskb.ellerman.id.au/kisskb/buildresult/14034891/ Commit: Add linux-next specific files for 20191120 1fef9976397fc9b951ee54467eccd65e0c508785 Compiler: arc-buildroot-linux-uclibc-gcc (Buildroot 2015.08.1) 4.8.4 / GNU ld (GNU Binutils) 2.23.2 Possible errors --- arch/arc/boot/dts/axs10x_mb.dtsi:66.24-71.5: ERROR (phandle_references): /axs10x_mb/pguclk@10080: Reference to non-existent node or label "input_clk" ERROR: Input tree has errors, aborting (use -f to force output) make[2]: *** [scripts/Makefile.lib:295: arch/arc/boot/dts/axs101.dtb] Error 2 make[1]: *** [Makefile:1244: dtbs] Error 2 make: *** [Makefile:179: sub-make] Error 2 No warnings found in log. ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc