Re: [PATCH 0/3] arm: mvebu: Espressobin: Set default env values at runtime

2021-01-12 Thread Andre Heider
Hi Pali, On 11/01/2021 11:51, Pali Rohár wrote: Hello Stefan and Andre! Could you please look at this patch series and tell me what do you think about it? If it is fine or needs to take different approach? I like the idea very much, and I bet there're quite some boards which could make good

Re: [PATCH 0/3] arm: mvebu: Espressobin: Set default env values at runtime

2021-01-12 Thread Andre Heider
On 12/01/2021 09:18, Andre Heider wrote: ... Maybe the first step can be solved with ENV_FLAGS_VAR, a new immutable flag, and boards just making use of CONFIG_ENV_FLAGS_LIST_DEFAULT to declare those. But I fail to find an example in-tree. Found one, see ENV_FLAGS_LIST_STATIC. That even has

Re: [PATCH v6 0/3] sunxi: Add support for OrangePi 3

2021-01-12 Thread Andre Heider
amed FIXUP_BDADDR -> BLUETOOTH_DT_DEVICE_FIXUP - Renamed fixup_bd_address() -> bluetooth_dt_fixup() - Removed CONFIG_PSCI_RESET from defconfig Andre Heider (3): sunxi: board: extract creating a unique sid into a helper function arm: sunxi: add a config option to fixup a Bluetooth address

Re: [PATCH u-boot-marvell] arm64: dts: armada-3720-espressobin: fix COMPHY nodes

2020-08-26 Thread Andre Heider
tage of same DTS bindings as Linux', but till this is done, we need this patch. Signed-off-by: Marek Behún Tested-by: Pali Rohár Cc: Stefan Roese Tested-by: Andre Heider Nice, thank you! I remember getting these data aborts more than a year ago... Andre

Re: [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses

2020-08-26 Thread Andre Heider
Pali, thank you for all these espressobin fixes, much appreciated! This isn't directly related to the patch I'm replying to, but since you seem to be syncing down- with upstream: Upstream u-boot doesn't detect my sata ssd ("SATA link 0 timeout"), nor is it able to run debian's kernel (hangs

Re: Espressobin booting (Was: Re: [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses)

2020-08-26 Thread Andre Heider
Hi, On 26/08/2020 10:31, Pali Rohár wrote: Hello! On Wednesday 26 August 2020 09:30:11 Andre Heider wrote: Pali, thank you for all these espressobin fixes, much appreciated! This isn't directly related to the patch I'm replying to, but since you seem to be syncing down- wit

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-26 Thread Andre Heider
Hi, On 24/08/2020 16:25, Pali Rohár wrote: Some distribution bootscripts append console env into boot cmdline. So define console env correctly to have early console access. Signed-off-by: Pali Rohár --- include/configs/mvebu_armada-37xx.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: Espressobin booting (Was: Re: [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses)

2020-08-26 Thread Andre Heider
Hi, On 26/08/2020 13:40, Pali Rohár wrote: On Wednesday 26 August 2020 12:51:18 Pali Rohár wrote: On Wednesday 26 August 2020 11:57:01 Andre Heider wrote: Hi, On 26/08/2020 10:31, Pali Rohár wrote: Hello! On Wednesday 26 August 2020 09:30:11 Andre Heider wrote: Pali, thank you for all

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-26 Thread Andre Heider
On 26/08/2020 15:31, Pali Rohár wrote: On Wednesday 26 August 2020 15:22:26 Andre Heider wrote: Hi, On 24/08/2020 16:25, Pali Rohár wrote: Some distribution bootscripts append console env into boot cmdline. So define console env correctly to have early console access. Signed-off-by: Pali

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-26 Thread Andre Heider
On 26/08/2020 16:10, Pali Rohár wrote: On Wednesday 26 August 2020 16:00:05 Andre Heider wrote: On 26/08/2020 15:31, Pali Rohár wrote: On Wednesday 26 August 2020 15:22:26 Andre Heider wrote: Hi, On 24/08/2020 16:25, Pali Rohár wrote: Some distribution bootscripts append console env into

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-26 Thread Andre Heider
On 26/08/2020 17:10, Pali Rohár wrote: On Wednesday 26 August 2020 16:43:10 Andre Heider wrote: On 26/08/2020 16:10, Pali Rohár wrote: On Wednesday 26 August 2020 16:00:05 Andre Heider wrote: On 26/08/2020 15:31, Pali Rohár wrote: On Wednesday 26 August 2020 15:22:26 Andre Heider wrote: Hi

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-26 Thread Andre Heider
On 26/08/2020 17:10, Pali Rohár wrote: On Wednesday 26 August 2020 16:43:10 Andre Heider wrote: On 26/08/2020 16:10, Pali Rohár wrote: On Wednesday 26 August 2020 16:00:05 Andre Heider wrote: On 26/08/2020 15:31, Pali Rohár wrote: On Wednesday 26 August 2020 15:22:26 Andre Heider wrote: Hi

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-26 Thread Andre Heider
On 26/08/2020 17:10, Pali Rohár wrote: On Wednesday 26 August 2020 16:43:10 Andre Heider wrote: Debian's boot.scr set "bootargs" to "... console=${console}". So we end up with with kernel args "console=console=..." :) So then also other U-Boot boards are

Re: [PATCH v2 1/4] arm: mvebu: Espressobin: Move env load addresses

2020-08-27 Thread Andre Heider
resses for envs. [1] - https://github.com/MarvellEmbeddedProcessors/u-boot-marvell/commit/0a5b159806baa0746b6449920e450498bc269ba7 Signed-off-by: Pali Rohár For the series: Tested-by: Andre Heider Thanks again, finally I'm able to boot with an upstream atf/u-boot!

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-27 Thread Andre Heider
On 27/08/2020 12:29, Pali Rohár wrote: On Thursday 27 August 2020 06:51:57 Andre Heider wrote: On the other hand, check "git grep 'console='". So why not just add the earlycon to bootargs directly so it works everywhere? The only useful thing about CONFIG_DEFAULT_CONSOLE a

Re: [PATCH v2 2/4] arm: mvebu: Espressobin: Change default loadaddr

2020-08-27 Thread Andre Heider
[1] - https://github.com/MarvellEmbeddedProcessors/u-boot-marvell/commit/0a5b159806baa0746b6449920e450498bc269ba7 Signed-off-by: Pali Rohár Tested-by: Andre Heider

Re: [PATCH v2 3/4] arm: mvebu: Espressobin: Define fdt_addr and kernel_addr env aliases

2020-08-27 Thread Andre Heider
On 27/08/2020 15:01, Pali Rohár wrote: Boot scripts for existing Espressobin Linux distributions, like OpenWRT, expect that U-Boot set fdt_addr and kernel_addr envs. So add env aliases from fdt_addr_r and kernel_addr_r values. Signed-off-by: Pali Rohár Tested-by: Andre Heider

Re: [PATCH] arm: mvebu: Espressobin: Disallow forwarding packets between wan and lan ports

2020-08-27 Thread Andre Heider
b.com/MarvellEmbeddedProcessors/u-boot-marvell/issues/18 Signed-off-by: Pali Rohár Tested-by: Andre Heider

Re: [PATCH] arm: mvebu: Espressobin: Enable CONFIG_MVNETA

2020-08-27 Thread Andre Heider
On 17/08/2020 17:13, Pali Rohár wrote: Espressobin uses mvneta ethernet driver. Signed-off-by: Pali Rohár Tested-by: Andre Heider

Re: [PATCH 2/2] arm64: a37xx: pci: Assert PERST# signal when unloading driver

2020-08-27 Thread Andre Heider
g pci-aardvark driver. Signed-off-by: Pali Rohár Tested-by: Andre Heider

Re: [PATCH 1/2] arm64: a37xx: pci: Make PCIe Reset GPIO DT compatible with Linux kernel DT

2020-08-27 Thread Andre Heider
On 19/08/2020 15:57, Pali Rohár wrote: Change active-high to active-low and change DT property name from reset-gpio to reset-gpios. This format of gpio reset is used by pci-aardvark driver in Linux kernel. Signed-off-by: Pali Rohár Tested-by: Andre Heider

Re: [PATCH] arm64: a37xx: pci: Depends on DM_GPIO

2020-08-27 Thread Andre Heider
On 25/08/2020 10:45, Pali Rohár wrote: For proper initialization of aardvark pci driver it is required to de-assert reset GPIO. So depeneds on DM_GPIO option. Signed-off-by: Pali Rohár Tested-by: Andre Heider

Re: [PATCH 2/2] arm: dts: a37x0: enable sd card support on espressobin

2020-08-27 Thread Andre Heider
/60945 Tested-by: iSoC Platform CI Reviewed-by: Igal Liberman [pali: Define cd-gpios and enable CONFIG_DM_REGULATOR_GPIO] Signed-off-by: Pali Rohár Tested-by: Andre Heider

Re: [PATCH 1/2] mmc: xenon: set signal voltage and max base clock

2020-08-27 Thread Andre Heider
patch] Signed-off-by: Pali Rohár Tested-by: Andre Heider

Re: [PATCH 1/2] arm: mvebu: Espressobin: Make SPI env offset compatible with Marvell's U-Boot

2020-08-27 Thread Andre Heider
ferent env offset can still change it in .config file when compiling U-Boot. Signed-off-by: Pali Rohár Tested-by: Andre Heider

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-27 Thread Andre Heider
just one image (e.g. U-Boot) without updating other parts where is stored checksum of U-Boot. Therefore there is no extra partition defined for U-Boot and first partition is called just 'firmware'. Signed-off-by: Pali Rohár Tested-by: Andre Heider

Re: [PATCH u-boot-marvell] arm64: dts: armada-3720-espressobin: fix COMPHY nodes

2020-08-28 Thread Andre Heider
Hi Marek, On 19/08/2020 11:57, Marek Behún wrote: This commit fixes initialization of COMPHY on EspressoBin. Commit 22f418935be4 ("phy: marvell: a3700: Use comphy_mux on Armada 37xx.") introduced usage of comphy_mux on Armada 37xx comphy driver. The lanes are defined in comphy_a3700.c as descri

Re: Espressobin booting (Was: Re: [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses)

2020-08-28 Thread Andre Heider
On 28/08/2020 14:39, Pali Rohár wrote: On Wednesday 26 August 2020 15:22:37 Andre Heider wrote: Hi, On 26/08/2020 13:40, Pali Rohár wrote: On Wednesday 26 August 2020 12:51:18 Pali Rohár wrote: On Wednesday 26 August 2020 11:57:01 Andre Heider wrote: Hi, On 26/08/2020 10:31, Pali Rohár

[PATCH] phy: marvell: a3700: add sata comphy on lane 2 with invert option

2020-08-28 Thread Andre Heider
-by: Igal Liberman Tested-by: Igal Liberman [a.heider: adapt to mainline] Signed-off-by: Andre Heider --- This is based on the downstream patch: https://github.com/MarvellEmbeddedProcessors/u-boot-marvell/commit/0a5b159806baa0746b6449920e450498bc269ba7 Fixes SATA on my espressobin v5. drivers

Re: [PATCH u-boot-marvell] arm64: dts: armada-3720-espressobin: fix COMPHY nodes

2020-08-28 Thread Andre Heider
On 28/08/2020 10:18, Andre Heider wrote: Hi Marek, On 19/08/2020 11:57, Marek Behún wrote: This commit fixes initialization of COMPHY on EspressoBin. Commit 22f418935be4 ("phy: marvell: a3700: Use comphy_mux on Armada 37xx.") introduced usage of comphy_mux on Armada 37xx comphy d

Re: [PATCH u-boot-marvell] arm64: dts: armada-3720-espressobin: fix COMPHY nodes

2020-08-29 Thread Andre Heider
Hi Marek, On 19/08/2020 11:57, Marek Behún wrote: This commit fixes initialization of COMPHY on EspressoBin. Commit 22f418935be4 ("phy: marvell: a3700: Use comphy_mux on Armada 37xx.") introduced usage of comphy_mux on Armada 37xx comphy driver. The lanes are defined in comphy_a3700.c as descri

[PATCH 1/2] xenon_sdhci: support for HS200 mode

2020-08-30 Thread Andre Heider
: http://vgitil04.il.marvell.com:8080/59230 Tested-by: iSoC Platform CI Reviewed-by: Grzegorz Jaszczyk Reviewed-by: Kostya Porotchkin Reviewed-by: Igal Liberman [a.heider: adapt to mainline] Signed-off-by: Andre Heider --- Missing downstream patch, noticed while diffing branches: https://github.com

[PATCH 2/2] pcie: pcie_advk: move setting of reference clock to the pcie driver

2020-08-30 Thread Andre Heider
driver. Change-Id: I9cc2e8f3e415a880dfb01d10cc8db73b7e81a605 Signed-off-by: Grzegorz Jaszczyk Reviewed-on: http://vgitil04.il.marvell.com:8080/59619 Reviewed-by: Igal Liberman Tested-by: iSoC Platform CI [a.heider: adapt to mainline] Signed-off-by: Andre Heider --- Missing downstream patch, noticed

[PATCH 1/2] arm64: dts: armada-3720-espressobin: sync with downstream

2020-08-30 Thread Andre Heider
This adds the disabled eMMC node. Signed-off-by: Andre Heider --- arch/arm/dts/armada-3720-espressobin.dts | 63 +--- 1 file changed, 23 insertions(+), 40 deletions(-) diff --git a/arch/arm/dts/armada-3720-espressobin.dts b/arch/arm/dts/armada-3720-espressobin.dts index

[PATCH 2/2] arm64: dts: armada-3720-espressobin-emmc: add emmc dts

2020-08-30 Thread Andre Heider
Add the downstream dts for the Espressobin with eMMC. Signed-off-by: Andre Heider --- arch/arm/dts/Makefile | 1 + arch/arm/dts/armada-3720-espressobin-emmc.dts | 19 +++ doc/README.marvell| 8 ++-- 3 files changed, 26

[PATCH v2 2/2] arm64: mvebu: a37xx: Add support for EspressoBIN with eMMC

2020-08-30 Thread Andre Heider
Change-Id: Id1a4f3ca01a6e52df57bf7279f33f0fe45f8ed18 Signed-off-by: Konstantin Porotchkin Reviewed-on: http://vgitil04.il.marvell.com:8080/61290 Tested-by: iSoC Platform CI [a.heider: adapt to mainline] Signed-off-by: Andre Heider --- v2: base upon downstream patch arch/arm/dts/Makefile | 1 + ar

[PATCH 1/2] defconfig: espressobin: Include support for Gigadevice SPI

2020-08-30 Thread Andre Heider
From: Konstantin Porotchkin Include support for CONFIG_SPI_FLASH_GIGADEVICE for supporting newly produces EspressoBin boards (v7) Change-Id: I5d4b972cbe2ee5a9d52ce9908794ad4e1b59ee3b Signed-off-by: Konstantin Porotchkin Reviewed-on: http://vgitil04.il.marvell.com:8080/61236 Tested-by: iSoC Plat

[PATCH 2/2] defconfig: espressobin: Add support for ISSI SPI flashes

2020-08-30 Thread Andre Heider
From: Konstantin Porotchkin Enable support of ISSI SPI flashes found on EspressoBIN boards Change-Id: I6de61c48f108fb4f410f321b9db45887d23212e5 Signed-off-by: Konstantin Porotchkin Reviewed-on: http://vgitil04.il.marvell.com:8080/61455 Tested-by: iSoC Platform CI Reviewed-by: Grzegorz Jaszczyk

Re: [PATCH 2/2] pcie: pcie_advk: move setting of reference clock to the pcie driver

2020-08-31 Thread Andre Heider
On 31/08/2020 09:52, Pali Rohár wrote: On Monday 31 August 2020 05:25:38 Andre Heider wrote: From: Grzegorz Jaszczyk The settings of reference clock is done via pcie address space and not comphy address space - move the settings in appropriate place. This aligns hw initialization of pcie

Re: [PATCH 1/2] xenon_sdhci: support for HS200 mode

2020-08-31 Thread Andre Heider
On 31/08/2020 09:50, Pali Rohár wrote: On Monday 31 August 2020 05:25:37 Andre Heider wrote: From: Wojciech Macek Add support for Marvell Xenon SDHCI HS200 mode. Changes focue mostly on correct PHY initialization. All procedure is similar to the one done by Linux driver, but simplified

Re: [PATCH 1/2] arm64: dts: armada-3720-espressobin: sync with downstream

2020-08-31 Thread Andre Heider
On 31/08/2020 10:01, Pali Rohár wrote: On Monday 31 August 2020 05:34:07 Andre Heider wrote: This adds the disabled eMMC node. Signed-off-by: Andre Heider --- arch/arm/dts/armada-3720-espressobin.dts | 63 +--- 1 file changed, 23 insertions(+), 40 deletions(-) diff

Re: [PATCH 1/2] arm64: dts: armada-3720-espressobin: sync with downstream

2020-08-31 Thread Andre Heider
On 31/08/2020 09:53, Pali Rohár wrote: On Monday 31 August 2020 05:34:07 Andre Heider wrote: This adds the disabled eMMC node. Signed-off-by: Andre Heider --- arch/arm/dts/armada-3720-espressobin.dts | 63 +--- 1 file changed, 23 insertions(+), 40 deletions(-) diff

Re: [PATCH 2/2] defconfig: espressobin: Add support for ISSI SPI flashes

2020-08-31 Thread Andre Heider
On 31/08/2020 09:57, Pali Rohár wrote: I think these two patches can be squashed into one. I wanted to keep the original authorship, but sure, I don't care either way. Thanks, Andre

Re: [PATCH v2 2/2] arm64: mvebu: a37xx: Add support for EspressoBIN with eMMC

2020-08-31 Thread Andre Heider
On 31/08/2020 09:55, Pali Rohár wrote: On Monday 31 August 2020 08:33:24 Andre Heider wrote: From: Konstantin Porotchkin Add support for additional EspressoBIN board with installed eMMC device (U11). Starting from this patch the DEVICE_TREE= must be added to Why? Is not it better to have

Re: [PATCH v2 2/2] arm64: mvebu: a37xx: Add support for EspressoBIN with eMMC

2020-08-31 Thread Andre Heider
On 31/08/2020 10:27, Pali Rohár wrote: On Monday 31 August 2020 10:21:46 Andre Heider wrote: On 31/08/2020 09:55, Pali Rohár wrote: On Monday 31 August 2020 08:33:24 Andre Heider wrote: From: Konstantin Porotchkin Add support for additional EspressoBIN board with installed eMMC device (U11

Re: [PATCH 1/2] arm64: dts: armada-3720-espressobin: sync with downstream

2020-08-31 Thread Andre Heider
On 31/08/2020 10:46, Pali Rohár wrote: On Monday 31 August 2020 10:17:07 Andre Heider wrote: On 31/08/2020 10:01, Pali Rohár wrote: On Monday 31 August 2020 05:34:07 Andre Heider wrote: +/* U11 */ +&sdhci1 { + non-removable; + bus-width = <8>; + mmc-ddr-1_8v; +

[PATCH v3 2/2] arm64: mvebu: a37xx: Add support for EspressoBIN with eMMC

2020-09-01 Thread Andre Heider
Signed-off-by: Konstantin Porotchkin Reviewed-on: http://vgitil04.il.marvell.com:8080/61290 Tested-by: iSoC Platform CI [a.heider: adapt to mainline] Signed-off-by: Andre Heider --- v2: base upon downstream patch v3: keep CONFIG_DEFAULT_DEVICE_TREE for non-emmc boards arch/arm/dts/Makefile

Re: [PATCH 2/2] pcie: pcie_advk: move setting of reference clock to the pcie driver

2020-09-02 Thread Andre Heider
On 31/08/2020 09:52, Pali Rohár wrote: On Monday 31 August 2020 05:25:38 Andre Heider wrote: From: Grzegorz Jaszczyk The settings of reference clock is done via pcie address space and not comphy address space - move the settings in appropriate place. This aligns hw initialization of pcie

Re: [PATCH] ARM: Distro boot: document the need for fdtfile variable to be set

2020-09-03 Thread Andre Heider
Hi Dennis, On 03/09/2020 18:40, Dennis Gilmore wrote: When testing builds provided in https://github.com/openwrt/openwrt/pull/3360 I discovered that fdtfile was not set and as a result the firmware was not functional. So I am documenting what is needed. Signed-off-by: Dennis Gilmore Cc: Atish

Re: [PATCH] ARM: Distro boot: document the need for fdtfile variable to be set

2020-09-03 Thread Andre Heider
Hi Vagrant, On 03/09/2020 20:59, Vagrant Cascadian wrote: On 2020-09-03, Andre Heider wrote: On 03/09/2020 18:40, Dennis Gilmore wrote: When testing builds provided in https://github.com/openwrt/openwrt/pull/3360 I discovered that fdtfile was not set and as a result the firmware was not

Re: [PATCH 1/2] arm64: dts: armada-3720-espressobin: sync with downstream

2020-09-04 Thread Andre Heider
Hi Stefan, On 04/09/2020 14:02, Stefan Roese wrote: Hi Andre, On 31.08.20 09:53, Pali Rohár wrote: On Monday 31 August 2020 05:34:07 Andre Heider wrote: This adds the disabled eMMC node. Signed-off-by: Andre Heider ---   arch/arm/dts/armada-3720-espressobin.dts | 63

[PATCH v2 1/3] arm64: dts: armada-3720-espressobin: use Linux model/compatible strings

2020-09-04 Thread Andre Heider
Fix the actual board vendor and ease synching dts files from Linux. Signed-off-by: Andre Heider --- arch/arm/dts/armada-3720-espressobin.dts | 4 ++-- board/Marvell/mvebu_armada-37xx/board.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/armada-3720

[PATCH v2 2/3] arm64: dts: armada-3720-espressobin: split common parts to .dtsi

2020-09-04 Thread Andre Heider
Move most of the dts to the new common armada-3720-espressobin.dtsi file, just like Linux, but keep the current, downstream based, version. The dts itself is imported from Linux. Signed-off-by: Andre Heider --- arch/arm/dts/armada-3720-espressobin.dts | 190

[PATCH v2 3/3] arm64: dts: a3720: add support for espressobin with populated emmc

2020-09-04 Thread Andre Heider
Import armada-3720-espressobin-emmc.dts from Linux, but use sdhc1 for emmc, since our dtsi is still based on downstream and sdhc0 is used for the sd card. Signed-off-by: Andre Heider --- arch/arm/dts/Makefile | 1 + arch/arm/dts/armada-3720-espressobin-emmc.dts | 44

Re: [PATCH 1/2] arm64: dts: armada-3720-espressobin: sync with downstream

2020-09-04 Thread Andre Heider
On 04/09/2020 14:40, Stefan Roese wrote: Hi Andre, On 04.09.20 14:35, Andre Heider wrote: First I though that you have been syncing the file with the Linux kernel version. But now I see that its sync'ed with downstream U-Boot most likely. As for the license of the file: The Linux k

[PATCH] arm: mvebu: Espressobin: Set environment variable fdtfile

2020-09-05 Thread Andre Heider
. Tested on a v5 board without eMMC. Signed-off-by: Andre Heider --- arch/arm/mach-mvebu/Kconfig | 1 + board/Marvell/mvebu_armada-37xx/board.c | 42 + 2 files changed, 43 insertions(+) diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig

Re: [PATCH] arm: mvebu: Espressobin: Set environment variable fdtfile

2020-09-06 Thread Andre Heider
On 06/09/2020 11:32, Pali Rohár wrote: Adding Marek to loop. On Saturday 05 September 2020 14:07:44 Andre Heider wrote: Required for the generic distro mechanism. Linux ships with 4 variants: marvell/armada-3720-espressobin-v7-emmc.dtb marvell/armada-3720-espressobin-v7.dtb marvell/armada

Re: [PATCH] arm: mvebu: Espressobin: Set environment variable fdtfile

2020-09-06 Thread Andre Heider
On 06/09/2020 18:12, Marek Behun wrote: On Sun, 6 Sep 2020 11:32:47 +0200 Pali Rohár wrote: Adding Marek to loop. On Saturday 05 September 2020 14:07:44 Andre Heider wrote: Required for the generic distro mechanism. Linux ships with 4 variants: marvell/armada-3720-espressobin-v7-emmc.dtb

Re: [PATCH 1/1] espresso7420: remove unused symbol CONFIG_DEFAULT_CONSOLE

2020-09-06 Thread Andre Heider
On 05/09/2020 12:02, Heinrich Schuchardt wrote: Symbol CONFIG_DEFAULT_CONSOLE in include/configs/espresso7420.h is not used for espresso7420_defconfig. Signed-off-by: Heinrich Schuchardt I noticed that too while grepping for CONFIG_DEFAULT_CONSOLE. Afaict there're quite some boards with it s

Re: [PATCH] arm: mvebu: Espressobin: Set environment variable fdtfile

2020-09-06 Thread Andre Heider
Hi Marek, On 06/09/2020 20:56, Marek Behun wrote: On Sun, 6 Sep 2020 20:48:57 +0200 Andre Heider wrote: On 06/09/2020 18:12, Marek Behun wrote: On Sun, 6 Sep 2020 11:32:47 +0200 Pali Rohár wrote: Adding Marek to loop. On Saturday 05 September 2020 14:07:44 Andre Heider wrote

[PATCH] mtd: spi-nor-ids: add support for Macronix mx25u12835f flash

2020-09-06 Thread Andre Heider
From: Vladimir Vid Some of Marvell A3700 boards use mx25u12835f, specifically uDPU and ESPRESSObin v7. Signed-off-by: Vladimir Vid [a.heider: adapt commit message to mainline] Signed-off-by: Andre Heider --- Patch taken from OpenWRT's uboot-mvebu package. drivers/mtd/spi/spi-nor-ids.

[PATCH] arm64: a37xx: increase CONFIG_SYS_BOOTM_LEN to 64MB

2020-09-06 Thread Andre Heider
From: Vladimir Vid Increase max gunzip size, required for booting itb recovery images on uDPU. Signed-off-by: Vladimir Vid [a.heider: adapt to mainline] Signed-off-by: Andre Heider --- Patch taken from OpenWRT's uboot-mvebu package. include/configs/mvebu_armada-37xx.h | 4 1

Re: [PATCH] arm: mvebu: Espressobin: Set environment variable fdtfile

2020-09-07 Thread Andre Heider
Hi Pali, On 07/09/2020 09:58, Pali Rohár wrote: On Sunday 06 September 2020 20:44:50 Andre Heider wrote: On 06/09/2020 11:32, Pali Rohár wrote: On Saturday 05 September 2020 14:07:44 Andre Heider wrote: + + emmc = of_machine_is_compatible("globalscale,espressobin-emmc"); +

Re: [PATCH] arm: mvebu: Espressobin: Set environment variable fdtfile

2020-09-07 Thread Andre Heider
On 07/09/2020 10:52, Pali Rohár wrote: On Monday 07 September 2020 10:46:37 Andre Heider wrote: Hi Pali, On 07/09/2020 09:58, Pali Rohár wrote: On Sunday 06 September 2020 20:44:50 Andre Heider wrote: On 06/09/2020 11:32, Pali Rohár wrote: On Saturday 05 September 2020 14:07:44 Andre Heider

[PATCH] defconfig: espressobin: enable NET_RANDOM_ETHADDR

2020-09-07 Thread Andre Heider
The hardware does not provide a MAC address. Enable this so that network access works with just the default environment. Signed-off-by: Andre Heider --- configs/mvebu_espressobin-88f3720_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mvebu_espressobin-88f3720_defconfig b

Re: [PATCH] defconfig: espressobin: enable NET_RANDOM_ETHADDR

2020-09-08 Thread Andre Heider
On 08/09/2020 09:42, Pali Rohár wrote: On Tuesday 08 September 2020 08:35:00 Andre Heider wrote: The hardware does not provide a MAC address. Enable this so that network access works with just the default environment. Well, this is not fully truth as MAC address is stored in SPI, just in non

Re: [PATCH v2 3/3] arm64: dts: a3720: add support for espressobin with populated emmc

2020-09-09 Thread Andre Heider
On 04/09/2020 17:33, Andre Heider wrote: Import armada-3720-espressobin-emmc.dts from Linux, but use sdhc1 for emmc, since our dtsi is still based on downstream and sdhc0 is used for the sd card. Signed-off-by: Andre Heider We've found a tester with an eMMC board, and unfortunately

Re: [PATCH] ARM: mvebu: clearfog: don't override set fdtfile env

2020-09-09 Thread Andre Heider
On 09/09/2020 14:14, Baruch Siach wrote: Only set the fdtfile environment variable when not already set. Fixes: 867572f09ebe6 ("ARM: mvebu: clearfog: run-time selection of DT file") Cc: Joel Johnson Reported-by: Andre Heider Signed-off-by: Baruch Siach Reviewed-by: Andre Heider

[PATCH] mmc: xenon_sdhci: Add missing common host capabilities

2020-09-10 Thread Andre Heider
Use mmc_of_parse() to set the common host properties. That includes "bus-width", so parsing it can be removed from the driver. But more importantly, "non-removable" is now respected, which fixes the usage of eMMC. Signed-off-by: Andre Heider --- Tested myself on v5 without

Re: [PATCH v2 3/3] arm64: dts: a3720: add support for espressobin with populated emmc

2020-09-10 Thread Andre Heider
On 09/09/2020 11:16, Andre Heider wrote: On 04/09/2020 17:33, Andre Heider wrote: Import armada-3720-espressobin-emmc.dts from Linux, but use sdhc1 for emmc, since our dtsi is still based on downstream and sdhc0 is used for the sd card. Signed-off-by: Andre Heider We've found a tester

[PATCH v2] arm: mvebu: Espressobin: Set environment variable fdtfile

2020-09-10 Thread Andre Heider
. Fixes booting GRUB EFI arm64 on Fedora. Reported-by: Dennis Gilmore Signed-off-by: Andre Heider --- v2: - enable BOARD_LATE_INIT only for espressobin, via defconfig - don't overwrite a set/saved $fdtfile This still has the issue that $fdtfile doesn't show up after `env default -a`

Re: [PATCH] mmc: xenon_sdhci: Add missing common host capabilities

2020-09-11 Thread Andre Heider
On 11/09/2020 08:43, Stefan Roese wrote: Hi Pali, Andre and others, On 10.09.20 21:04, Pali Rohár wrote: On Thursday 10 September 2020 19:53:40 Andre Heider wrote: Use mmc_of_parse() to set the common host properties. That includes "bus-width", so parsing it can be removed from

Re: [PATCH] defconfig: espressobin: enable NET_RANDOM_ETHADDR

2020-09-11 Thread Andre Heider
Hi Marek, On 11/09/2020 13:55, Marek Behún wrote: On Wed, 9 Sep 2020 00:38:31 +0200 Pali Rohár wrote: On Tuesday 08 September 2020 08:52:56 Tom Rini wrote: Note that when CONFIG_NET_RANDOM_ETHADDR is set, we only use a random MAC address when we haven't found one either on the hardware or env

Re: [PATCH] mmc: xenon_sdhci: Add missing common host capabilities

2020-09-11 Thread Andre Heider
On 11/09/2020 14:21, Stefan Roese wrote: On 11.09.20 14:09, Marek Behún wrote: On Fri, 11 Sep 2020 10:37:42 +0200 Andre Heider wrote: On 11/09/2020 08:43, Stefan Roese wrote: Hi Pali, Andre and others, On 10.09.20 21:04, Pali Rohár wrote: On Thursday 10 September 2020 19:53:40 Andre

Re: [PATCH] defconfig: espressobin: enable NET_RANDOM_ETHADDR

2020-09-11 Thread Andre Heider
On 11/09/2020 18:22, Marek Behún wrote: On Fri, 11 Sep 2020 17:52:26 +0200 Andre Heider wrote: Hi Marek, On 11/09/2020 13:55, Marek Behún wrote: On Wed, 9 Sep 2020 00:38:31 +0200 Pali Rohár wrote: On Tuesday 08 September 2020 08:52:56 Tom Rini wrote: Note that when

Re: [PATCH 0/3] arm: mvebu: Espressobin: Set default env values at runtime

2021-02-02 Thread Andre Heider
On 02/02/2021 16:09, Stefan Roese wrote: Hi Pali, Hi Andre, On 12.01.21 10:24, Pali Rohár wrote: Hello! On Tuesday 12 January 2021 09:18:44 Andre Heider wrote: Hi Pali, On 11/01/2021 11:51, Pali Rohár wrote: Hello Stefan and Andre! Could you please look at this patch series and tell me

Re: [PATCH 0/3] arm: mvebu: Espressobin: Set default env values at runtime

2021-02-02 Thread Andre Heider
On 02/02/2021 17:32, Stefan Roese wrote: On 02.02.21 17:13, Andre Heider wrote: On 02/02/2021 16:09, Stefan Roese wrote: Hi Pali, Hi Andre, On 12.01.21 10:24, Pali Rohár wrote: Hello! On Tuesday 12 January 2021 09:18:44 Andre Heider wrote: Hi Pali, On 11/01/2021 11:51, Pali Rohár wrote

Re: [PATCH 0/6] Allwinner H6 USB3 support

2021-02-09 Thread Andre Heider
Hi Samuel, On 08/02/2021 06:57, Samuel Holland wrote: This series adds clock, PHY, and XHCI driver support for the USB3 controller found in the Allwinner H6 SoC. Below is a log showing it functioning on the Orange Pi 3. Cheers, Samuel U-Boot 2021.04-rc1-00068-g6b8f4e0d060 (Jan 01 1970 - 00:00:

Re: [PATCH v3 3/4] arm64: dts: sync Allwinner H6 files

2020-02-04 Thread Andre Heider
Hi Jagan, On 21/01/2020 08:43, Jagan Teki wrote: On Tue, Dec 3, 2019 at 2:15 PM Andre Heider wrote: Taken from the kernel tag v5.4. Drop the /omit-if-no-ref/ keyword as it's not supported by u-boot. Please sync it from v5.6 98d25b0b266d Merge branch 'sunxi/dt-for-5.6' into

Re: [PATCH v3 3/4] arm64: dts: sync Allwinner H6 files

2020-02-04 Thread Andre Heider
On 04/02/2020 09:02, Andre Heider wrote: Hi Jagan, On 21/01/2020 08:43, Jagan Teki wrote: On Tue, Dec 3, 2019 at 2:15 PM Andre Heider wrote: Taken from the kernel tag v5.4. Drop the /omit-if-no-ref/ keyword as it's not supported by u-boot. Please sync it from v5.6 98d25b0b266d

[PATCH v4 2/4] arm: sunxi: add a config option to fixup a Bluetooth address

2020-02-04 Thread Andre Heider
Some Bluetooth controllers, like the BCM4345C5 of the Orange Pi 3, ship with the controller default address. Add a config option to fix it up so it can function properly. Signed-off-by: Andre Heider Tested-by: Ondrej Jirman Acked-by: Maxime Ripard --- arch/arm/mach-sunxi/Kconfig | 11

[PATCH v4 0/4] arm64: sun50i: Add support for Orange Pi 3

2020-02-04 Thread Andre Heider
discarding the function if the knob isn't set Changes since v1: * add CONFIG_FIXUP_BDADDR so fixing up a bdaddr is reusable * try to use "bdaddr" first, then fall back to generating an address Notes: * the kernel patch for btbcm to accept the "local-bd-address" pr

[PATCH v4 3/4] arm64: dts: sync Allwinner H6 files

2020-02-04 Thread Andre Heider
Taken from the linux-next commit: 98d25b0b266d Merge branch 'sunxi/dt-for-5.6' into sunxi/for-next Drop the /omit-if-no-ref/ keyword as it's not supported by u-boot. Signed-off-by: Andre Heider Acked-by: Maxime Ripard --- arch/arm/dts/sun50i-h6-beelink-gs1.dts | 48 +++

[PATCH v4 1/4] sunxi: board: extract creating a unique sid into a helper function

2020-02-04 Thread Andre Heider
Refactor setup_environment() so we can use the created sid for a Bluetooth address too. Signed-off-by: Andre Heider Acked-by: Maxime Ripard --- board/sunxi/board.c | 105 1 file changed, 58 insertions(+), 47 deletions(-) diff --git a/board/sunxi

[PATCH v4 4/4] arm64: dts: sun50i: Add support for Orange Pi 3

2020-02-04 Thread Andre Heider
The dts is taken from the linux-next commit: 98d25b0b266d Merge branch 'sunxi/dt-for-5.6' into sunxi/for-next The Bluetooth controller of this device ships with a default adress, use the new CONFIG_FIXUP_BDADDR option to fix it up. Signed-off-by: Andre Heider Acked-by: Maxime Ripard

[PATCH 2/4] treewide: configs: fold CONFIG_DEFAULT_CONSOLE

2020-09-16 Thread Andre Heider
In prepartion to remove CONFIG_DEFAULT_CONSOLE, fold the current users. Signed-off-by: Andre Heider --- include/configs/odroid.h| 7 +-- include/configs/odroid_xu3.h| 6 +- include/configs/s5p_goni.h | 8 +--- include/configs/s5pc210_universal.h | 7

[PATCH 1/4] treewide: configs: get rid of unused CONFIG_DEFAULT_CONSOLE

2020-09-16 Thread Andre Heider
These are all unused. Signed-off-by: Andre Heider --- This sets completely removes CONFIG_DEFAULT_CONSOLE from the tree. Only compile time tested. include/configs/arndale.h | 2 -- include/configs/espresso7420.h | 3 --- include/configs/origen.h | 5 - include/configs/peach-pi.h

[PATCH 4/4] configs: smdkv310: get rid of unused EXYNOS4_DEFAULT_UART_OFFSET

2020-09-16 Thread Andre Heider
Unused. Signed-off-by: Andre Heider --- include/configs/smdkv310.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/smdkv310.h b/include/configs/smdkv310.h index ede057322f..fc2f6ecf6b 100644 --- a/include/configs/smdkv310.h +++ b/include/configs/smdkv310.h @@ -27,9 +27,6

[PATCH 3/4] Remove whitelist entry CONFIG_DEFAULT_CONSOLE

2020-09-16 Thread Andre Heider
There're no users left. Signed-off-by: Andre Heider --- scripts/config_whitelist.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 093e432efc..470506da5b 100644 --- a/scripts/config_whitelist.txt +++ b/sc

Re: [PATCH v2] arm: mvebu: Espressobin: Set environment variable fdtfile

2020-09-26 Thread Andre Heider
On 25/09/2020 09:46, Pali Rohár wrote: On Friday 11 September 2020 06:35:10 Andre Heider wrote: ... +#ifdef CONFIG_BOARD_LATE_INIT +int board_late_init(void) +{ + bool ddr4, emmc; + + if (env_get("fdtfile")) + return 0; + + if (!of_machine_is_

Re: [PATCH] arm: mvebu: Espressobin: Instructions for more MAC addresses in README.marvell

2020-09-26 Thread Andre Heider
On 25/09/2020 09:54, Pali Rohár wrote: Some Espressobin boards got assigned more than one MAC address. Update instructions how to correctly store and preserve all MAC addresses. Signed-off-by: Pali Rohár --- doc/README.marvell | 23 +-- 1 file changed, 17 insertions(+), 6

Re: [PATCH] arm: mvebu: Espressobin: Instructions for more MAC addresses in README.marvell

2020-09-26 Thread Andre Heider
On 26/09/2020 11:26, Pali Rohár wrote: On Saturday 26 September 2020 11:16:12 Andre Heider wrote: On 25/09/2020 09:54, Pali Rohár wrote: Some Espressobin boards got assigned more than one MAC address. Update instructions how to correctly store and preserve all MAC addresses. Signed-off-by

Re: [PATCH] arm: mvebu: Espressobin: Instructions for more MAC addresses in README.marvell

2020-09-26 Thread Andre Heider
On 25/09/2020 09:54, Pali Rohár wrote: Some Espressobin boards got assigned more than one MAC address. Update instructions how to correctly store and preserve all MAC addresses. Signed-off-by: Pali Rohár Reviewed-by: Andre Heider --- doc/README.marvell | 23 +-- 1

Re: mvebu_armada-37xx: Wrong usage of of_machine_is_compatible in u-boot master

2020-09-29 Thread Andre Heider
Hi Pali, On 29/09/2020 11:52, Pali Rohár wrote: Hello! In current U-Boot master branch is board_late_init() function for mvebu_armada-37xx/board.c slightly broken. There are two of_machine_is_compatible() checks for non-existent compatible string "globalscale,espressobin" thanks for spotting

[PATCH] arm: mvebu: Espressobin: Fix checks against machine compatible strings

2020-09-29 Thread Andre Heider
The patches changing the compatible strings to the ones used by Linux have not been merged yet, so fix the checks to use the current in-tree ones. Reported-by: Pali Rohár Signed-off-by: Andre Heider --- board/Marvell/mvebu_armada-37xx/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: mvebu_armada-37xx: Wrong usage of of_machine_is_compatible in u-boot master

2020-09-29 Thread Andre Heider
On 29/09/2020 14:24, Pali Rohár wrote: On Tuesday 29 September 2020 14:17:46 Andre Heider wrote: Hi Pali, On 29/09/2020 11:52, Pali Rohár wrote: Hello! In current U-Boot master branch is board_late_init() function for mvebu_armada-37xx/board.c slightly broken. There are two

Re: [PATCH] arm: mvebu: Espressobin: Fix checks against machine compatible strings

2020-09-29 Thread Andre Heider
On 29/09/2020 14:38, Pali Rohár wrote: On Tuesday 29 September 2020 14:34:26 Andre Heider wrote: The patches changing the compatible strings to the ones used by Linux have not been merged yet, so fix the checks to use the current in-tree ones. Reported-by: Pali Rohár Signed-off-by: Andre

[PATCH v3] arm64: dts: armada-3720-espressobin: use Linux model/compatible strings

2020-10-01 Thread Andre Heider
Fix the actual board vendor and ease synching dts files from Linux. Signed-off-by: Andre Heider --- v3: rebase on master arch/arm/dts/armada-3720-espressobin.dts | 4 ++-- board/Marvell/mvebu_armada-37xx/board.c | 8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch

[PATCH v3] arm64: dts: armada-3720-espressobin: use Linux model/compatible strings

2020-10-01 Thread Andre Heider
Fix the actual board vendor and ease synching dts files from Linux. Signed-off-by: Andre Heider --- v3: rebase on master arch/arm/dts/armada-3720-espressobin.dts | 4 ++-- board/Marvell/mvebu_armada-37xx/board.c | 8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch

Re: [PATCH v2] arm: mvebu: Espressobin: Set environment variable fdtfile

2020-10-03 Thread Andre Heider
On 02/10/2020 12:49, Pali Rohár wrote: On Saturday 26 September 2020 11:09:59 Andre Heider wrote: On 25/09/2020 09:46, Pali Rohár wrote: On Friday 11 September 2020 06:35:10 Andre Heider wrote: ... +#ifdef CONFIG_BOARD_LATE_INIT +int board_late_init(void) +{ + bool ddr4, emmc

  1   2   >