[U-Boot] [PATCH] cmd: pxe: execute the cls command only when supported

2019-12-03 Thread Patrick Delaunay
Execute the command cls (for clear screen), when the "menu background" keyword is present in extlinux.conf file, only if the command is supported. This patch avoid the warning "Unknown command 'cls'" with "menu background" in extlinux.conf when CONFIG_CMD_BMP is activated and CONFIG_CMD_CLS not ac

[U-Boot] [PATCH] stm32mp1: imply CMD_CLS

2019-12-03 Thread Patrick Delaunay
Activate by default the command CLS (clear screen); this command used in pxe or sysboot command (DISTRO support) when the "menu background" keyword is present. This patch avoid the warning "Unknown command 'cls'" with extlinux.conf: # Generic Distro Configuration file generated by OpenEmbedded me

[U-Boot] [PATCH v3 0/4] arm64: sun50i: Add support for Orange Pi 3

2019-12-03 Thread Andre Heider
Changes since v2: * drop "sunxi: board: Use eth_env_set_enetaddr_by_index()" as it breaks compilation without CONFIG_NET * add "sunxi: board: extract creating a unique sid into a helper function" and use it for the the bdaddr so that it work without ethernet devices * use `if (CONFIG_FIXUP_BDAD

[U-Boot] [PATCH v3 1/4] sunxi: board: extract creating a unique sid into a helper function

2019-12-03 Thread Andre Heider
Signed-off-by: Andre Heider --- board/sunxi/board.c | 105 1 file changed, 58 insertions(+), 47 deletions(-) diff --git a/board/sunxi/board.c b/board/sunxi/board.c index b9450a0e36..42bec3a4d8 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c

[U-Boot] [PATCH v3 3/4] arm64: dts: sync Allwinner H6 files

2019-12-03 Thread Andre Heider
Taken from the kernel tag v5.4. Drop the /omit-if-no-ref/ keyword as it's not supported by u-boot. Signed-off-by: Andre Heider --- arch/arm/dts/sun50i-h6-beelink-gs1.dts | 27 + arch/arm/dts/sun50i-h6-orangepi.dtsi | 4 + arch/arm/dts/sun50i-h6-pine-h64.dts| 4 + arch/arm/dts/sun5

[U-Boot] [PATCH v3 2/4] arm: sunxi: add a config option to fixup a Bluetooth address

2019-12-03 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. Tested-by: Ondrej Jirman Signed-off-by: Andre Heider --- arch/arm/mach-sunxi/Kconfig | 11 +++ board/sunxi/board.c

[U-Boot] [PATCH v3 4/4] arm64: dts: sun50i: Add support for Orange Pi 3

2019-12-03 Thread Andre Heider
The dts is taken from kernel tag v5.4. 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 --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun50i-h6-orangepi-3.dts | 287 +++

Re: [U-Boot] [EXT] Re: [PATCH 0/8] Transition of fsl qspi driver to spi-mem framework

2019-12-03 Thread Schrempf Frieder
On 03.12.19 07:30, Kuldeep Singh wrote: > Hi Frieder, > >> -Original Message- >> From: Schrempf Frieder >> Sent: Monday, December 2, 2019 5:35 PM >> To: Kuldeep Singh ; u-boot@lists.denx.de >> Cc: Priyanka Jain ; ja...@amarulasolutions.com; >> s...@denx.de; Ashish Kumar >> Subject: [EXT]

Re: [U-Boot] [PATCH] cmd: pxe: execute the cls command only when supported

2019-12-03 Thread Patrice CHOTARD
Hi Patrick On 12/3/19 9:38 AM, Patrick Delaunay wrote: > Execute the command cls (for clear screen), when the "menu background" > keyword is present in extlinux.conf file, only if the command is supported. > > This patch avoid the warning "Unknown command 'cls'" > with "menu background" in extlinu

Re: [U-Boot] [ANNOUNCEMENT] Expect ML downtime at 2019-12-03 11:00 CET

2019-12-03 Thread Claudius Heine
On 03/12/2019 08.44, Claudius Heine wrote: > Hi everyone, > > because we are moving the mailing list to a different server, we have to > take it down for hopefully only a few minutes. > > The DNS entries need to be updated, so it might take a while until those > will stabilize. An update: We wil

Re: [U-Boot] [PATCH v2 0/4] mtd: spi: spi-nor-core: Add SST vendor specific SFDP parser

2019-12-03 Thread Eugen.Hristev
On 13.11.2019 17:42, Tudor Ambarus - M18064 wrote: > From: Tudor Ambarus > > Parse manufacturer specific SFDP table. The SST SFDP table contains > pre-programmed globally unique MAC addresses. Retrieve the MAC > address from the SPI NOR flash and set it in ethaddr in env. > > v2: > - s/SFDP_MI

Re: [U-Boot] [PATCH 1/1] efi_loader: pass address to efi_install_fdt()

2019-12-03 Thread Alexander Graf
On 03.12.19 09:08, Heinrich Schuchardt wrote: On 12/3/19 7:37 AM, Alexander Graf wrote: On 03.12.19 08:27, Heinrich Schuchardt wrote: As part of moving the parsing of command line arguments to do_bootefi() call efi_install_fdt() with the address of the device tree instead of a string. Signed

Re: [U-Boot] [PATCH v1 1/2] common: fdt_support: add support for setting usable memory

2019-12-03 Thread Stefano Babic
Hi Igor, On 28/11/19 16:23, Igor Opaniuk wrote: > Hi Stefano, > > On Mon, Oct 14, 2019 at 3:40 PM wrote: >> >>> From: Igor Opaniuk >>> Add support for setting linux,usable-memory property in the memory >>> node of device tree for the kernel [1]. >>> This property holds a base address and size,

Re: [U-Boot] [PATCH 1/1] efi_loader: pass address to efi_install_fdt()

2019-12-03 Thread Alexander Graf
On 03.12.19 11:26, Alexander Graf wrote: On 03.12.19 09:08, Heinrich Schuchardt wrote: On 12/3/19 7:37 AM, Alexander Graf wrote: On 03.12.19 08:27, Heinrich Schuchardt wrote: As part of moving the parsing of command line arguments to do_bootefi() call efi_install_fdt() with the address of t

Re: [U-Boot] [EXT] Re: [PATCH 0/8] Transition of fsl qspi driver to spi-mem framework

2019-12-03 Thread Ashish Kumar
Hi Frieder, > -Original Message- > From: Schrempf Frieder > Sent: Tuesday, December 3, 2019 2:27 PM > To: Kuldeep Singh ; u-boot@lists.denx.de > Cc: Priyanka Jain ; ja...@amarulasolutions.com; > s...@denx.de; Ashish Kumar ; Ye Li > > Subject: Re: [EXT] Re: [PATCH 0/8] Transition of fsl q

Re: [U-Boot] [EXT] Re: [PATCH 0/8] Transition of fsl qspi driver to spi-mem framework

2019-12-03 Thread Schrempf Frieder
On 03.12.19 10:33, Ashish Kumar wrote: > Hi Frieder, > >> -Original Message- >> From: Schrempf Frieder >> Sent: Tuesday, December 3, 2019 2:27 PM >> To: Kuldeep Singh ; u-boot@lists.denx.de >> Cc: Priyanka Jain ; ja...@amarulasolutions.com; >> s...@denx.de; Ashish Kumar ; Ye Li >> >> Sub

[U-Boot] [PATCH v2] pwm: rk_pwm: Make PWM driver to support all Rockchip Socs

2019-12-03 Thread David Wu
This PWM driver can be used to support pwm functions for on all Rockchip Socs. The previous chips than RK3288 did not support polarity, and register layout was different from the RK3288 PWM. The RK3288 keep the current functions. RK3308 and the chips after it, which can support hardware lock, co

Re: [U-Boot] [EXT] Re: [PATCH 0/8] Transition of fsl qspi driver to spi-mem framework

2019-12-03 Thread Schrempf Frieder
Hi Ashish, On 03.12.19 10:44, Frieder Schrempf wrote: > On 03.12.19 10:33, Ashish Kumar wrote: >> Hi Frieder, >> >>> -Original Message- >>> From: Schrempf Frieder >>> Sent: Tuesday, December 3, 2019 2:27 PM >>> To: Kuldeep Singh ; u-boot@lists.denx.de >>> Cc: Priyanka Jain ; ja...@amarula

Re: [U-Boot] [ANNOUNCEMENT] Expect ML downtime at 2019-12-03 11:00 CET

2019-12-03 Thread Claudius Heine
On 03/12/2019 10.05, Claudius Heine wrote: > On 03/12/2019 08.44, Claudius Heine wrote: >> Hi everyone, >> >> because we are moving the mailing list to a different server, we have to >> take it down for hopefully only a few minutes. >> >> The DNS entries need to be updated, so it might take a while

[U-Boot] [PATCH 1/5] board: fsl: lx2160a: free up arch_misc_init

2019-12-03 Thread Alex Marginean
Currently LX2 board code uses arch_misc_init to set up the board mux on RDB and QDS. Move this code to misc_init_r. This is consistent with LS gen 2 and T series SoCs/boards. Signed-off-by: Alex Marginean --- arch/arm/Kconfig | 2 -- board/freescale/lx2160a/lx2160a.

Re: [U-Boot] [PATCH 2/5] board: fsl: ls2080a/ls2081a: remove empty arch_misc_init

2019-12-03 Thread Alexandru Marginean
On 12/3/2019 11:46 AM, Alex Marginean wrote: > The arch_misc_init function is emtpy on LS2 SoCs/boards, remove it. s/emtpy/empty/ > > Signed-off-by: Alex Marginean > --- > arch/arm/Kconfig| 5 - > board/freescale/ls2080a/ls2080a.c | 7 --- > board/frees

[U-Boot] [PATCH 4/5] board: fsl: ls1028a: free up arch_misc_init

2019-12-03 Thread Alex Marginean
Currently LS1028A board code uses arch_misc_init to set up the board mux on QDS. Move this code to misc_init_r. This is consistent with LS gen 2 and T series SoCs/boards. Signed-off-by: Alex Marginean --- arch/arm/Kconfig | 1 - board/freescale/ls1028a/ls1028a.c

[U-Boot] [PATCH 2/5] board: fsl: ls2080a/ls2081a: remove empty arch_misc_init

2019-12-03 Thread Alex Marginean
The arch_misc_init function is emtpy on LS2 SoCs/boards, remove it. Signed-off-by: Alex Marginean --- arch/arm/Kconfig| 5 - board/freescale/ls2080a/ls2080a.c | 7 --- board/freescale/ls2080aqds/ls2080aqds.c | 7 --- board/freescale/ls2080ardb/ls2080ardb

[U-Boot] [PATCH 5/5] arch: armv8: fsl-layerscape: export serdes config to environment

2019-12-03 Thread Alex Marginean
Exports the serdes configuration as an environment variable for LS gen 3 SoCs, so it can be used in u-boot command line. It should particularly be useful for applying Linux DT overlays for the given serdes configuration. This code is called from arch_misc_init and not from the existing serdes_init

Re: [U-Boot] [PATCH v3 2/2] ARM: dts: imx6ull-colibri: pre-reloc for uart pinmux modes

2019-12-03 Thread Igor Opaniuk
Hi Stefano, On Mon, Dec 2, 2019 at 7:55 PM Stefano Babic wrote: > > Hi Igor, > > On 03/11/19 17:21, Igor Opaniuk wrote: > > Hi Stefano, > > > > On Wed, Oct 16, 2019 at 12:39 PM Igor Opaniuk > > wrote: > >> > >> From: Igor Opaniuk > >> > >> Add u-boot,dm-pre-reloc properties for uart pinmux con

Re: [U-Boot] [EXT] Re: [PATCH 0/8] Transition of fsl qspi driver to spi-mem framework

2019-12-03 Thread Kuldeep Singh
Hi Frieder, > -Original Message- > From: Schrempf Frieder > Sent: Tuesday, December 3, 2019 2:27 PM > To: Kuldeep Singh ; u-boot@lists.denx.de > Cc: Priyanka Jain ; ja...@amarulasolutions.com; > s...@denx.de; Ashish Kumar ; Ye Li > Subject: Re: [EXT] Re: [PATCH 0/8] Transition of fsl qsp

[U-Boot] [PATCH] x86: use data32 directive instead of macro for operand-size prefix

2019-12-03 Thread Masahiro Yamada
This file defines 'a32' and 'o32' macros to avoid magic numbers of operand/address-size prefixing. GAS supports 'data32' and 'addr32' for that purpose. Signed-off-by: Masahiro Yamada --- arch/x86/cpu/start16.S | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/x86

[U-Boot] [PATCH 0/5] FSL/Layerscape gen 3: export serdes cfg to env

2019-12-03 Thread Alex Marginean
Exports the serdes configuration as an environment variable for LS gen 3 SoCs, so it can be used in u-boot command line. It should particularly be useful for applying Linux DT overlays for the given serdes configuration. First 4 patches free up arch_misc_init, which is now implemented in arch/arm/

[U-Boot] [PATCH 3/5] board: fsl: ls1088a: remove empty arch_misc_init

2019-12-03 Thread Alex Marginean
The arch_misc_init function is emtpy on LS108x SoCs/boards, remove it. Signed-off-by: Alex Marginean --- arch/arm/Kconfig | 2 -- board/freescale/ls1088a/ls1088a.c | 7 --- 2 files changed, 9 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 459876b543..8a

[U-Boot] [PATCH] rockchip: allow loading larger kernels

2019-12-03 Thread Ben Wolsieffer
Recent versions of the Linux kernel with many options enabled have grown large enough to overwrite the beginning of the initrd. For example, the kernel I use on my Rock64 and RockPro64 is 34.1 MiB, while only 31.5 MiB are available between kernel_addr_r and ramdisk_addr_r. This patch moves ramdisk

Re: [U-Boot] [PATCH v1 00/20] Enable ARM Trusted Firmware for U-Boot

2019-12-03 Thread Simon Goldschmidt
On Tue, Dec 3, 2019 at 2:37 AM Ang, Chee Hong wrote: > > > Am 02.12.2019 um 17:10 schrieb Ang, Chee Hong: > > >> On Mon, Dec 2, 2019 at 4:18 PM Ang, Chee Hong > > >> > > >> wrote: > > >>> > > On Mon, Dec 2, 2019 at 3:08 PM Ang, Chee Hong > > > > wrote: > > > > > >> On Mon,

Re: [EXT] Re: [PATCH 0/8] Transition of fsl qspi driver to spi-mem framework

2019-12-03 Thread Schrempf Frieder
On 03.12.19 11:56, Kuldeep Singh wrote: > Hi Frieder, > >> -Original Message- >> From: Schrempf Frieder >> Sent: Tuesday, December 3, 2019 2:27 PM >> To: Kuldeep Singh ; u-boot@lists.denx.de >> Cc: Priyanka Jain ; ja...@amarulasolutions.com; >> s...@denx.de; Ashish Kumar ; Ye Li >> Subje

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

2019-12-03 Thread Benedikt-Alexander Mokroß
On some unix distributions, pthread is not automatically linked. This results in unresolved symbols when e.g. building u-boot via OpenWRT (using LibreSSL) in dumpimage and other host tools when i.E. CONFIG_FIT_SIGNATURE is set. Using -pthread to link pthread should be portable across all distribu

[PATCH v2 2/2] board: colibri_imx7: reserve DDR memory for Cortex-M4

2019-12-03 Thread Igor Opaniuk
From: Igor Opaniuk i.MX 7's Cortex-M4 core can run from DDR and uses DDR memory for the rpmsg communication. Both use cases need a fixed location of memory reserved. For the rpmsg use case the reserved area needs to be in sync with the kernel's hardcoded vring descriptor location. Use the linux,

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Eugen.Hristev
Resending because of mailing list server issues. On 03.12.2019 13:30, Eugen Hristev wrote: > > > On 03.12.2019 05:10, Tom Rini wrote: > >> Hey all, >> >> It's release day and here is v2020.01-rc4.  Yes, I'm still working on >> fixing all of the issues that pop up as I get the MTD clean-up serie

[U-Boot] [PATCH] cmd: pxe: Increase maximum path length

2019-12-03 Thread Ben Wolsieffer
On NixOS, cross compiled kernels have long suffixes that cause them to exceed the current maximum path length. The PXE/TFTP max path length is used for extlinux.conf support as well, which is where this problem usually manifest's itself. Signed-off-by: Ben Wolsieffer --- cmd/pxe.c | 2 +- 1 fi

Re: [U-Boot] [ANNOUNCEMENT] Expect ML downtime at 2019-12-03 11:00 CET

2019-12-03 Thread Claudius Heine
On 03/12/2019 11.25, Claudius Heine wrote: > On 03/12/2019 10.05, Claudius Heine wrote: >> On 03/12/2019 08.44, Claudius Heine wrote: >>> Hi everyone, >>> >>> because we are moving the mailing list to a different server, we have to >>> take it down for hopefully only a few minutes. >>> >>> The DNS

[PATCH v2 0/2] android: colibri_imx7: reserve DDR memory for Cortex-M4

2019-12-03 Thread Igor Opaniuk
i.MX 7's Cortex-M4 core can run from DDR and uses DDR memory for the rpmsg communication. Both use cases need a fixed location of memory reserved. For the rpmsg use case the reserved area needs to be in sync with the kernel's hardcoded vring descriptor location. Introduce support for adding linux,

Re: [PATCH v3] warp7: Fix U-Boot corruption after saving the environment

2019-12-03 Thread Fabio Estevam
Hi Tom, On Tue, Dec 3, 2019 at 12:10 AM Tom Rini wrote: > Thanks for the rework. Can you please look at what other i.MX boards > are likely fine, or perhaps more clearly if any i.MX5/6 SoCs do have > thumb2 related errata that might make it a bad idea to use thumb by > default ? It looks like

[U-Boot] [PATCH v2] pinctrl: rockchip: Add pinctrl support for rk3308

2019-12-03 Thread David Wu
An iomux register contains 8 pins, each of which is represented by 2 bits, but the register offset is 0x8. For example, GRF_GPIO0A_IOMUX offset is 0x0, but GRF_GPIO0B_IOMUX offset is 0x8, the offset 0x4 is reserved. So add a type IOMUX_8WIDTH_2BIT to calculate offset. Signed-off-by: David Wu --

Re: [U-Boot] [PATCH 1/1] efi_loader: pass address to efi_install_fdt()

2019-12-03 Thread Heinrich Schuchardt
On 12/3/19 10:31 AM, Alexander Graf wrote: On 03.12.19 11:26, Alexander Graf wrote: On 03.12.19 09:08, Heinrich Schuchardt wrote: On 12/3/19 7:37 AM, Alexander Graf wrote: On 03.12.19 08:27, Heinrich Schuchardt wrote: As part of moving the parsing of command line arguments to do_bootefi()

Re: [U-Boot] [PATCH v2 1/8] image: android: Add functions for handling dtb field

2019-12-03 Thread Eugeniu Rosca
Hi Sam, On Mon, Dec 02, 2019 at 07:19:53PM +0200, Sam Protsenko wrote: > On Tue, Oct 29, 2019 at 3:49 AM Eugeniu Rosca wrote: > > On Wed, Oct 23, 2019 at 05:34:20PM +0300, Sam Protsenko wrote: > > > Android Boot Image v2 adds "DTB" payload (and corresponding field in the > > > image header). Prov

[PATCH] arm64: zynqmp: Add support for u-boot.itb generation with ATF.

2019-12-03 Thread Michal Simek
Follow i.MX, Sunxi, RISC-V and Rockchip to generate u-boot.itb which includes U-Boot proper, ATF and DTBs in FIT format. ZynqMP supports FIT for quite a long time but with using out of tree solution. The patch is filling this gap. Tested on zcu102, zcu104 and zcu100/Ultra96. Signed-off-by: Michal

Re: [PATCH v4 2/2] sifive: fu540: Enable OF_SEPARATE

2019-12-03 Thread Jagan Teki
Hi Rick, On Mon, Dec 2, 2019 at 9:02 AM Rick Chen wrote: > > Hi Jagon > > > From: Jagan Teki [mailto:ja...@amarulasolutions.com] > > Sent: Monday, November 18, 2019 7:30 PM > > To: Rick Jian-Zhi Chen(陳建志) > > Cc: u-boot@lists.denx.de; Jagan Teki > > Subject: [PATCH v4 2/2] sifive: fu540: Enable O

Re: [PATCH v3] warp7: Fix U-Boot corruption after saving the environment

2019-12-03 Thread Tom Rini
On Tue, Dec 03, 2019 at 08:56:05AM -0300, Fabio Estevam wrote: > Hi Tom, > > On Tue, Dec 3, 2019 at 12:10 AM Tom Rini wrote: > > > Thanks for the rework. Can you please look at what other i.MX boards > > are likely fine, or perhaps more clearly if any i.MX5/6 SoCs do have > > thumb2 related err

driving Eth PHYs as udevices

2019-12-03 Thread Alexandru Marginean
Hi, does anyone have any strong feelings either way about the idea of driving Eth PHYs as udevices? I'm looking for a solution for a few problems: - There are a few Eth switches that are accessed over MDIO and could/should be driven as DSA switches instead of PHYs. This requires that MDIO do

[PATCH] arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7

2019-12-03 Thread Tom Rini
In the case of i.MX6 and i.MX7 family SoCs it is safe (from an errata point of view) to use thumb2 by default to save space. Cc: Stefano Babic Cc: Fabio Estevam Signed-off-by: Tom Rini --- arch/arm/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig

[U-Boot] [PATCH] x86: simplify ljmp to 32-bit code

2019-12-03 Thread Masahiro Yamada
You can directly specify the label as the operand for ljmp. This commit saves 4-byte code. Signed-off-by: Masahiro Yamada --- arch/x86/cpu/start16.S | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/x86/cpu/start16.S b/arch/x86/cpu/start16.S index bcabd76741ef..7bad9f

Re: [PATCH] tools/imximage: fix reported DCD information for MX7ULP

2019-12-03 Thread Jorge Ramirez-Ortiz, Foundries
On 02/12/19 10:42:13, Fabio Estevam wrote: > Hi Jorge, > > Adding Breno. > > On Thu, Nov 28, 2019 at 7:33 AM Jorge Ramirez-Ortiz > wrote: > > > > On the MX7ULP, OCRAM for DCD is at 0x2f01 > > > > Signed-off-by: Jorge Ramirez-Ortiz > > --- > > tools/imximage.c | 6 ++ > > 1 file change

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Tom Rini
On Tue, Dec 03, 2019 at 11:30:28AM +, eugen.hris...@microchip.com wrote: > > > On 03.12.2019 05:10, Tom Rini wrote: > > > Hey all, > > > > It's release day and here is v2020.01-rc4. Yes, I'm still working on > > fixing all of the issues that pop up as I get the MTD clean-up series > > read

[U-Boot] [PATCH] rockchip: rk3328: rock64: enable CONFIG_MISC_INIT_R

2019-12-03 Thread Ben Wolsieffer
This enables reading of the cpuid and a static MAC address. Signed-off-by: Ben Wolsieffer --- configs/rock64-rk3328_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/rock64-rk3328_defconfig b/configs/rock64-rk3328_defconfig index 14c77b0a4e..720b5e0424 100644 --- a/configs/

Re: [U-Boot] [PATCH v1 6/6] colibri_imx7: migrate to DM_ETH

2019-12-03 Thread Oleksandr Suvorov
On Mon, Nov 4, 2019 at 12:16 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Migrate to DM_ETH and remove hardcoded pinmux configuration. > > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov > --- > > board/toradex/colibri_imx7/colibri_imx7.c | 44 --- > confi

Re: [U-Boot] [PATCH v1 4/6] apalis_imx6: migrate to DM_ETH

2019-12-03 Thread Oleksandr Suvorov
On Mon, Nov 4, 2019 at 12:13 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Migrate to DM_ETH and remove hardcoded pinmux configuration. > > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov > --- > > board/toradex/apalis_imx6/apalis_imx6.c | 51 - > confi

Re: [U-Boot] [PATCH v1 5/6] ARM: dts: imx7: imx7_colibri: introduce fec node

2019-12-03 Thread Oleksandr Suvorov
On Mon, Nov 4, 2019 at 12:14 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Sync DTS with the mainline Linux and introduce fec node and > regulator configuration for rn5t567 PMU. > > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov > --- > > arch/arm/dts/imx7-colibri.dtsi | 116

[PATCH v2 1/2] common: fdt_support: add support for setting usable memory

2019-12-03 Thread Igor Opaniuk
From: Igor Opaniuk Add support for setting linux,usable-memory property in the memory node of device tree for the kernel [1]. This property holds a base address and size, describing a limited region in which memory may be considered available for use by the kernel. Memory outside of this range i

[U-Boot] [PATCH] x86: use data32 directive instead of macro for operand-size prefix

2019-12-03 Thread Masahiro Yamada
This file defines 'a32' and 'o32' macros to avoid magic numbers of operand/address-size prefixing. GAS supports 'data32' and 'addr32' for that purpose. Signed-off-by: Masahiro Yamada --- arch/x86/cpu/start16.S | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/x86

[PATCH v3 1/6] net: introduce DSA class for Ethernet switches

2019-12-03 Thread Alex Marginean
DSA stands for Distributed Switch Architecture and it covers switches that are connected to the CPU through an Ethernet link and generally use frame tags to pass information about the source/destination ports to/from CPU. Front panel ports are presented as regular ethernet devices in U-Boot and the

Re: [PATCH v1 00/20] Enable ARM Trusted Firmware for U-Boot

2019-12-03 Thread Simon Goldschmidt
On Tue, Dec 3, 2019 at 3:45 PM Ang, Chee Hong wrote: > > > On Tue, Dec 3, 2019 at 2:37 AM Ang, Chee Hong > > wrote: > > > > > > > Am 02.12.2019 um 17:10 schrieb Ang, Chee Hong: > > > > >> On Mon, Dec 2, 2019 at 4:18 PM Ang, Chee Hong > > > > >> > > > > >> wrote: > > > > >>> > > > > On Mon,

[PATCH] arm64: zynqmp: Do not assing MIO34 that early on zcu100

2019-12-03 Thread Michal Simek
MIO34 is connected to POWER_KILL signal. When MIO configuration is done in psu_init() and this pin is assigned to PMU but PMU configuration is not loaded yet. PMU gpio output is high that means board is powered off immediately. The patch is fixing this sequence that MIO34 stays assing to ps gpio IP

RE: [RFC PATCH] spi: spi-nor: Add dual flash support in spi-nor framework

2019-12-03 Thread Ashok Reddy Soma
HI Jagan, Vignesh, Any comments please. Thanks, Ashok > -Original Message- > From: Michal Simek > Sent: Tuesday, November 26, 2019 12:40 PM > To: Ashok Reddy Soma ; u-boot@lists.denx.de; > ja...@amarulasolutions.com; vigne...@ti.com > Cc: Michal Simek > Subject: Re: [RFC PATCH] spi: sp

RE: [PATCH v1 00/20] Enable ARM Trusted Firmware for U-Boot

2019-12-03 Thread Ang, Chee Hong
> On Tue, Dec 3, 2019 at 2:37 AM Ang, Chee Hong > wrote: > > > > > Am 02.12.2019 um 17:10 schrieb Ang, Chee Hong: > > > >> On Mon, Dec 2, 2019 at 4:18 PM Ang, Chee Hong > > > >> > > > >> wrote: > > > >>> > > > On Mon, Dec 2, 2019 at 3:08 PM Ang, Chee Hong > > > > > > wrote: > > >

Re: [U-Boot] [PATCH v2 2/3] mach-imx: bootaux: add dcache flushing before enabling M4

2019-12-03 Thread Oleksandr Suvorov
On Thu, Nov 28, 2019 at 3:57 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > This patch fixes the issue with broken bootaux command, > when M4 binary is loaded and data cache isn't flushed > before M4 core is enabled. > > Reproducing: > > tftpboot ${loadaddr} ${board_name}/hello_world.bin > > c

Re: [U-Boot] [PATCH v1 2/6] colibri_imx6: migrate to DM_ETH

2019-12-03 Thread Oleksandr Suvorov
On Mon, Nov 4, 2019 at 12:14 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Migrate to DM_ETH and remove hardcoded pinmux configuration. > > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov > --- > > board/toradex/colibri_imx6/colibri_imx6.c | 59 ++- > confi

[PATCH v3 5/6] arm: dts: ls1028a: adds Ethernet switch node and its dependencies

2019-12-03 Thread Alex Marginean
The definition follows the DSA binding in kernel and describes the switch, its ports and PHYs. ENETC PF6 is the 2nd Eth controller linked to the switch on LS1028A, it is not used in U-Boot and was disabled. Signed-off-by: Alex Marginean Tested-by: Michael Walle --- arch/arm/dts/fsl-ls1028a-rdb.

[PATCH v3 6/6] configs: ls1028a: enable the Ethernet switch driver in defconfig

2019-12-03 Thread Alex Marginean
The switch driver for LS1028A Ethernet switch is now compiled in for both LS1028A boards. Signed-off-by: Alex Marginean --- configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 3 ++- configs/ls1028aqds_tfa_defconfig | 3 ++- configs/ls1028ardb_tfa_SECURE_BOOT_defconfig | 3 ++- configs/ls

[PATCH v3 4/6] drivers: net: add Felix DSA switch driver

2019-12-03 Thread Alex Marginean
This driver is used for the Ethernet switch integrated into LS1028A NXP. Felix on LS1028A has 4 front panel ports and two internal ports, I/O to/from the switch is done through an ENETC Ethernet interface. The 4 front panel ports are available as Ethernet interfaces and can be used with the typical

[PATCH v2] arm64: zynqmp: Do not assing MIO34 that early on zcu100

2019-12-03 Thread Michal Simek
MIO34 is connected to POWER_KILL signal. When MIO configuration is done in psu_init() and this pin is assigned to PMU but PMU configuration is not loaded yet. PMU gpio output is high that means board is powered off immediately. The patch is fixing this sequence that MIO34 stays assing to ps gpio IP

[PATCH 2/2] rockchip: misc: Don't fail if ethaddr is already set

2019-12-03 Thread Paul Kocialkowski
rockchip_setup_macaddr will return -1 if ethaddr is already set, which gets propagated to misc_init_r and eventually halts the boot process. While checking that the variable is not already set before attempting to setit is legitimate (it's a set-once variable), this is no good reason to halt the

Re: [PATCH] arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7

2019-12-03 Thread Fabio Estevam
Hi Tom, On Tue, Dec 3, 2019 at 11:28 AM Tom Rini wrote: > > In the case of i.MX6 and i.MX7 family SoCs it is safe (from an errata > point of view) to use thumb2 by default to save space. > > Cc: Stefano Babic > Cc: Fabio Estevam > Signed-off-by: Tom Rini I think it is safer to apply this afte

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Simon Glass
Hi Tom, On Mon, 2 Dec 2019 at 20:11, Tom Rini wrote: > > Hey all, > > It's release day and here is v2020.01-rc4. Yes, I'm still working on > fixing all of the issues that pop up as I get the MTD clean-up series > ready to go. In fact, what I need to do at this point is grab the > handful of siz

Please pull u-boot-dm

2019-12-03 Thread Simon Glass
Hi Tom, Build here: https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/1506 The following changes since commit dd38416d6b354acb5d12e2bd1fd45e7e63b8a605: Merge git://git.denx.de/u-boot-socfpga (2019-11-28 07:34:41 -0500) are available in the Git repository at: https://gitlab.denx.

Re: [PATCH] test.py: Make search for autoconf.mk more permission

2019-12-03 Thread Simon Glass
Hi Stephen, On Mon, 2 Dec 2019 at 09:04, Stephen Warren wrote: > > On 12/1/19 7:34 PM, Simon Glass wrote: > > Buildman doesn't store this file in the same directory as a normal build. > > Update the conftest code to handle both cases. > > Shouldn't we just fix buildman so that it puts the files i

Repeating of unknown commands

2019-12-03 Thread Martin Kaistra
Hi, I have a question regarding the command repeat feature when you press return without additional input. The current behavior is, that unknown commands are repeated like regular commands: => foobar Unknown command 'foobar' - try 'help' => Unknown command 'foobar' - try 'help' This wasn't the

Re: [PATCH] tools/imximage: fix reported DCD information for MX7ULP

2019-12-03 Thread Fabio Estevam
Hi Jorge, On Tue, Dec 3, 2019 at 11:07 AM Jorge Ramirez-Ortiz, Foundries wrote: > sure that would work. given that the default 0x0091 is valid on > most of the cases - well all but the mx7ulp - we could apply this default and > only change to the > Kconfig value if defined. > > should we go

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Tom Rini
On Tue, Dec 03, 2019 at 10:45:44AM -0600, Joe Hershberger wrote: > Hi Tom, > > On Mon, Dec 2, 2019 at 9:11 PM Tom Rini wrote: > > > > Hey all, > > > > It's release day and here is v2020.01-rc4. Yes, I'm still working on > > fixing all of the issues that pop up as I get the MTD clean-up series >

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Simon Glass
Hi Tom, On Tue, 3 Dec 2019 at 10:07, Tom Rini wrote: > > On Tue, Dec 03, 2019 at 06:00:11PM +0100, Marek Vasut wrote: > > On 12/3/19 5:52 PM, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 2 Dec 2019 at 20:11, Tom Rini wrote: > > >> > > >> Hey all, > > >> > > >> It's release day and here i

Re: [PATCH v3] warp7: Fix U-Boot corruption after saving the environment

2019-12-03 Thread Tom Rini
On Tue, Dec 03, 2019 at 06:07:57PM +0100, Heiko Schocher wrote: > Hello Fabio, > > Am 03.12.2019 um 12:56 schrieb Fabio Estevam: > > Hi Tom, > > > > On Tue, Dec 3, 2019 at 12:10 AM Tom Rini wrote: > > > > > Thanks for the rework. Can you please look at what other i.MX boards > > > are likely f

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Marek Vasut
On 12/3/19 5:52 PM, Simon Glass wrote: > Hi Tom, > > On Mon, 2 Dec 2019 at 20:11, Tom Rini wrote: >> >> Hey all, >> >> It's release day and here is v2020.01-rc4. Yes, I'm still working on >> fixing all of the issues that pop up as I get the MTD clean-up series >> ready to go. In fact, what I ne

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Tom Rini
On Tue, Dec 03, 2019 at 10:20:51AM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 3 Dec 2019 at 10:07, Tom Rini wrote: > > > > On Tue, Dec 03, 2019 at 06:00:11PM +0100, Marek Vasut wrote: > > > On 12/3/19 5:52 PM, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Mon, 2 Dec 2019 at 20:11, To

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Joe Hershberger
Hi Tom, On Mon, Dec 2, 2019 at 9:11 PM Tom Rini wrote: > > Hey all, > > It's release day and here is v2020.01-rc4. Yes, I'm still working on > fixing all of the issues that pop up as I get the MTD clean-up series > ready to go. In fact, what I need to do at this point is grab the > handful of s

RE: [PATCH v1 00/20] Enable ARM Trusted Firmware for U-Boot

2019-12-03 Thread Ang, Chee Hong
> On Tue, Dec 3, 2019 at 3:45 PM Ang, Chee Hong > wrote: > > > > > On Tue, Dec 3, 2019 at 2:37 AM Ang, Chee Hong > > > > > > wrote: > > > > > > > > > Am 02.12.2019 um 17:10 schrieb Ang, Chee Hong: > > > > > >> On Mon, Dec 2, 2019 at 4:18 PM Ang, Chee Hong > > > > > >> > > > > > >> wrote: > > > >

[PATCH v3 2/6] drivers: net: add a DSA sandbox driver

2019-12-03 Thread Alex Marginean
The DSA sandbox driver is used for DSA unit testing. It implements a simple 4 port switch that uses a very simple tag to identify the ports. The DSA driver comes paired with an Ethernet driver that loops packets back and can selectively filter traffic on DSA switch ports. Signed-off-by: Alex Marg

Re: [U-Boot] [PATCH v1 3/6] ARM: dts: imx6_apalis: introduce fec node

2019-12-03 Thread Oleksandr Suvorov
On Mon, Nov 4, 2019 at 12:16 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Sync DTS with the mainline Linux and introduce fec node. > > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov > --- > > arch/arm/dts/imx6-apalis.dts | 22 ++ > 1 file changed, 22 inse

[PATCH v3 0/6] Introduce DSA Ethernet switch class and Felix driver

2019-12-03 Thread Alex Marginean
DSA stands for Distributed Switch Architecture and it is a subsystem introduced in the Linux kernel to support switches that: - have an Ethernet link up to the CPU - use some form of tagging to identify the source/destination port for Rx/Tx - may be cascaded in tree-like structures. DSA is descr

Re: [PATCH v3] warp7: Fix U-Boot corruption after saving the environment

2019-12-03 Thread Heiko Schocher
Hello Fabio, Am 03.12.2019 um 12:56 schrieb Fabio Estevam: Hi Tom, On Tue, Dec 3, 2019 at 12:10 AM Tom Rini wrote: Thanks for the rework. Can you please look at what other i.MX boards are likely fine, or perhaps more clearly if any i.MX5/6 SoCs do have thumb2 related errata that might make

Re: [U-Boot] [PATCH v2 3/8] cmd: bootimg: Add bootimg command

2019-12-03 Thread Eugeniu Rosca
Hi Sam, Cc: Aleksandr, Roman As expressed in the attached e-mail, to minimize the headaches extending the argument list of "bootimg" in future, can we please agree on below? On Wed, Oct 23, 2019 at 05:34:22PM +0300, Sam Protsenko wrote: > +U_BOOT_CMD( > + bootimg, CONFIG_SYS_MAXARGS, 0, do_bo

Re: [U-Boot] [PATCH v2 1/8] image: android: Add functions for handling dtb field

2019-12-03 Thread Sam Protsenko
Hi, On Tue, Dec 3, 2019 at 3:59 PM Eugeniu Rosca wrote: > > Hi Sam, > > On Mon, Dec 02, 2019 at 07:19:53PM +0200, Sam Protsenko wrote: > > On Tue, Oct 29, 2019 at 3:49 AM Eugeniu Rosca wrote: > > > On Wed, Oct 23, 2019 at 05:34:20PM +0300, Sam Protsenko wrote: > > > > Android Boot Image v2 adds

[PATCH v3 3/6] test: dm: add a simple unit test for DSA class

2019-12-03 Thread Alex Marginean
The test pings the local IP address though different ports of a sandbox DSA device. Port traffic is filtered and the test verifies that ping works only on enabled ports. The additional interfaces require MAC addresses, these have been added to sandbox default environment. Signed-off-by: Alex Marg

Re: [U-Boot] [PATCH v1 1/6] ARM: dts: imx6_colibri: introduce fec node

2019-12-03 Thread Oleksandr Suvorov
On Mon, Nov 4, 2019 at 12:13 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Sync DTS with the mainline Linux and introduce fec node. > > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov > --- > > arch/arm/dts/imx6-colibri.dts | 20 > 1 file changed, 20 inser

Re: Load Debian/Fedora via EFI

2019-12-03 Thread Heinrich Schuchardt
On 12/2/19 3:21 PM, Michal Simek wrote: > On 29. 11. 19 19:23, Heinrich Schuchardt wrote: >> On 11/29/19 11:16 AM, Michal Simek wrote: >>> Hi, >>> >>> I tried to boot latest debian and fedora rootfs via distro boot and >>> getting errors. >>> I have tried to run just one command and it is failing.

Re: [U-Boot] [PATCH v2 3/3] mach-imx: bootaux: elf firmware support

2019-12-03 Thread Oleksandr Suvorov
On Thu, Nov 28, 2019 at 3:57 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Currently imx-specific bootaux command doesn't support ELF format > firmware for Cortex-M4 core. > > This patches introduces a PoC implementation of handling elf firmware > (load_elf_image_phdr() was copy-pasted from e

Re: [U-Boot] [EXT] Re: [PATCHv2 1/2] PCI: layerscape: Add Support for ls2088 PCIe EP mode

2019-12-03 Thread Ramon Fried
On Tue, Dec 3, 2019 at 4:32 AM Xiaowei Bao wrote: > > Hi Ramon, > > Do you have any comments about this? Thanks a lot. > > Best regards > Xiaowei > > From: Xiaowei Bao > Sent: 2019年11月26日 10:52 > To: Ramon Fried > Cc: Bin Meng ; Simon Glass ; M.h. Lian > ; Z.q. Hou ; Mingkai Hu > ; Hongbo Wang

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Tom Rini
On Tue, Dec 03, 2019 at 06:00:11PM +0100, Marek Vasut wrote: > On 12/3/19 5:52 PM, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 2 Dec 2019 at 20:11, Tom Rini wrote: > >> > >> Hey all, > >> > >> It's release day and here is v2020.01-rc4. Yes, I'm still working on > >> fixing all of the issues t

Re: [PATCH 2/2] rockchip: misc: Don't fail if ethaddr is already set

2019-12-03 Thread Heiko Stuebner
On 03.12.19 16:46, Paul Kocialkowski wrote: rockchip_setup_macaddr will return -1 if ethaddr is already set, which gets propagated to misc_init_r and eventually halts the boot process. While checking that the variable is not already set before attempting to setit is legitimate (it's a set-once

Re: Raspberry Pi Compute Module 1 mini-UART

2019-12-03 Thread edrose
I've done a little more work on this. I've been able to swap the UART pins around to a certain extent, but it's still being stubborn. I've been able to move the console output from the main UART from GPIO14 to GPIO32. I've somehow also managed to get the main UART to output to both GPIO32 and GPIO1

Re: [U-Boot] [PATCH v2 1/3] mach-imx: bootaux: print stack pointer and reset vector

2019-12-03 Thread Oleksandr Suvorov
On Thu, Nov 28, 2019 at 3:56 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > 1. Change information printed about loaded M4 binary, print the stack > pointer and reset vector addressed. > 2. Add sanity check for the address provided as param. > > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksa

Re: [PATCH v1 00/20] Enable ARM Trusted Firmware for U-Boot

2019-12-03 Thread Simon Goldschmidt
Am 03.12.2019 um 15:59 schrieb Dalon L Westergreen: On Tue, 2019-12-03 at 14:45 +, Ang, Chee Hong wrote: On Tue, Dec 3, 2019 at 2:37 AM Ang, Chee Hong < chee.hong@intel.com wrote: Am 02.12.2019 um 17:10 schrieb Ang, Chee Hong: On Mon, Dec 2, 2019 at 4:18 PM Ang, Chee Hong < chee.h

Re: [PATCH v1 00/20] Enable ARM Trusted Firmware for U-Boot

2019-12-03 Thread Simon Goldschmidt
Am 03.12.2019 um 19:31 schrieb Ang, Chee Hong: On Tue, Dec 3, 2019 at 3:45 PM Ang, Chee Hong wrote: On Tue, Dec 3, 2019 at 2:37 AM Ang, Chee Hong wrote: Am 02.12.2019 um 17:10 schrieb Ang, Chee Hong: On Mon, Dec 2, 2019 at 4:18 PM Ang, Chee Hong wrote: On Mon, Dec 2, 2019 at 3:08 PM

Pull request for UEFI sub-system for efi-2020-01-rc5

2019-12-03 Thread Heinrich Schuchardt
The following changes since commit 1297989804d66c8db92efbf9fa2e6cc76965a943: Prepare v2020.01-rc4 (2019-12-02 22:09:27 -0500) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-01-rc5 for you to fetch changes up to 0bffb8c46b109dcd8

Re: [PATCH v1 00/20] Enable ARM Trusted Firmware for U-Boot

2019-12-03 Thread Simon Goldschmidt
Am 02.12.2019 um 11:25 schrieb chee.hong@intel.com: From: "Ang, Chee Hong" New U-boot flow with ARM Trusted Firmware (ATF) support: SPL (EL3) -> ATF-BL31 (EL3) -> U-Boot Proper (EL2) -> Linux (EL1) SPL loads the u-boot.itb which consist of: 1) u-boot-nodtb.bin (U-Boot Proper image) 2) u-bo

  1   2   >