Re: [PATCH 2/2] sun8i-emac: Added sun8i-v3s-emac example to sun8i-v3s.dtsi

2020-06-02 Thread Benedikt-Alexander Mokroß
node from) or have I misunderstood you? Benedikt > Am 01.06.2020 um 18:37 schrieb Jagan Teki : > > On Wed, May 27, 2020 at 7:03 PM Benedikt-Alexander Mokroß > wrote: >> >> This optional patch adds the needed device-tree node to sun8i-v3s.dtsi to >> enable &g

Re: [PATCH] Correct sun8i-v3s SRAM size

2020-06-02 Thread Benedikt-Alexander Mokroß
Jagan Teki : On Tue, Apr 28, 2020 at 9:26 PM Benedikt-Alexander Mokroß wrote: According to the Datasheet, the V3s has a 32KiB SRAM. This patch corrects CONFIG_SPL_MAX_SIZE and LOW_LEVEL_SRAM_STACK accordingly. Look like the existing value has taken from allwinner BSP, but did you find any issues

[PATCH 1/2] sun8i-emac: sun8i-v3s compatibility for sun8i-emac

2020-05-27 Thread Benedikt-Alexander Mokroß
This patch expands the sun8i-emac driver to support the V3s. For this the CLK and RST gates for EMAC and EPHY were added in clk_v3s.c. Signed-off-by: Benedikt-Alexander Mokroß --- drivers/clk/sunxi/clk_v3s.c | 10 -- drivers/net/sun8i_emac.c| 19 +-- 2 files changed

[PATCH 2/2] sun8i-emac: Added sun8i-v3s-emac example to sun8i-v3s.dtsi

2020-05-27 Thread Benedikt-Alexander Mokroß
This optional patch adds the needed device-tree node to sun8i-v3s.dtsi to enable ethernet for sun8i-v3s boards. Signed-off-by: Benedikt-Alexander Mokroß --- arch/arm/dts/sun8i-v3s.dtsi | 48 + 1 file changed, 48 insertions(+) diff --git a/arch/arm/dts/sun8i

[PATCH 0/2] sun8i-emac: sun8i-v3s compatibility for sun8i-emac

2020-05-27 Thread Benedikt-Alexander Mokroß
the V3s in the first patch. The second (optional) patch adds the sun8i-v3s-emac node to sun8i-v3s.dtsi. Benedikt-Alexander Mokroß (2): sun8i-emac: sun8i-v3s compatibility for sun8i-emac sun8i-emac: Added sun8i-v3s-emac example to sun8i-v3s.dtsi arch/arm/dts/sun8i-v3s.dtsi | 48

[PATCH 0/4] mach-sunxi: sunxi SPI-NAND-SPL

2020-05-13 Thread Benedikt-Alexander Mokroß
This patch-series enables u-boot to be booted from SPI-NAND memory on sunxi SoCs. Development was done and tested on a sun8i V3s. To accomplish this, the changes where split in 4 different patches. The following list describes the patches, their title, their message ID and contain their

Re: [PATCH 1/4] mach-sunxi: Refactor sunxi SPI-SPL

2020-05-02 Thread Benedikt-Alexander Mokroß
and keep everything as one file. Im going to submit a cover-letter asap. Best Regards Benedikt > Am 01.05.2020 um 18:54 schrieb Jagan Teki : > > On Tue, Apr 28, 2020 at 7:53 PM Benedikt-Alexander Mokroß > wrote: >> >> This patch splits the sunxi SPI-SPL in its two com

[PATCH] Correct sun8i-v3s SRAM size

2020-04-28 Thread Benedikt-Alexander Mokroß
According to the Datasheet, the V3s has a 32KiB SRAM. This patch corrects CONFIG_SPL_MAX_SIZE and LOW_LEVEL_SRAM_STACK accordingly. Signed-off-by: Benedikt-Alexander Mokroß --- include/configs/sunxi-common.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include

[PATCH v2 4/4] mach-sunxi: Add SPI-NAND SPL-Support

2020-04-28 Thread Benedikt-Alexander Mokroß
This patch uses the refactored sunxi SPI-SPL driver from the previous patches of this series to add support for SPL booting from SPI-NAND. SPI-NAND-Boot is supported by, at least, the V3s. Signed-off-by: Benedikt-Alexander Mokroß --- Changes for v2: - Removed a misplaced - in the line @@ -0,0

[PATCH 4/4] mach-sunxi: Add SPI-NAND SPL-Support

2020-04-28 Thread Benedikt-Alexander Mokroß
This patch uses the refactored sunxi SPI-SPL driver from the previous patches of this series to add support for SPL booting from SPI-NAND. SPI-NAND-Boot is supported by, at least, the V3s. Signed-off-by: Benedikt-Alexander Mokroß --- arch/arm/mach-sunxi/spl/spi/Kconfig | 16 + arch

[PATCH 3/4] mach-sunxi: Configurable SPI clockdivider in SPL

2020-04-28 Thread Benedikt-Alexander Mokroß
This patch adds a configurable spi clockdivider. In the original version, the divider is set to /4 to mimic the BROMs behaviour. However, in many cases this can be changed to /2 or no divider at all to speed up the booting process. Signed-off-by: Benedikt-Alexander Mokroß --- arch/arm/mach

[PATCH 1/4] mach-sunxi: Refactor sunxi SPI-SPL

2020-04-28 Thread Benedikt-Alexander Mokroß
5 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# (C) Copyright 2020 Benedikt-Alexander Mokroß +# +# Based on some other Makefile +# (C) Copyright 2000-2003 +# Wolfgang Denk, DENX Software Engineering, w...@denx.de. + + +ifdef CONFIG_SPL_BUILD + +obj-$(CONFIG_SPL_SPI_SUNXI)+=

[PATCH 2/4] mach-sunxi: V3s SPI-SPL

2020-04-28 Thread Benedikt-Alexander Mokroß
This patch adds support for the Allwinner V3s to SPL_SPI_SUNXI (nothing changed code-wise, only Kconfig). Signed-off-by: Benedikt-Alexander Mokroß --- arch/arm/mach-sunxi/Kconfig | 2 +- arch/arm/mach-sunxi/spl/spi/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH] Add -pthread to HOSTLOADLIBES_mkimage

2019-12-03 Thread Benedikt-Alexander Mokroß
crypto") +$(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto") \ +-pthread # OS X deprecate openssl in favour of CommonCrypto, supress deprecation # warnings on those systems -- 2.20.1 Benedikt-Alexander Mokroß Head of Research iCOGNIZE Gmb