[U-Boot] [PATCH v2] watchdog: Move watchdog_dev to data section (BSS may not be cleared)

2019-04-03 Thread Stefan Roese
This patch moves all instances of static "watchdog_dev" declarations to the "data" section. This may be needed, as the BSS may not be cleared in the early U-Boot phase, where watchdog_reset() is already beeing called. This may result in incorrect pointer access, as the check to "!watchdog_dev" in w

[U-Boot] [PATCH 1/3 v2] armv8: ls1028a: Add NXP LS1028A SoC support

2019-04-03 Thread Yuantian Tang
LS1028A processor integrates two 64-bit Arm Cortex-A72 cores with a GPU and LCD controller, as well as TSN-enabled Ethernet ports and a TSN-enabled switch with four external ports. The high performance Cortex-A72 cores, performing above 16,000 CoreMarks, combined with 2.5 Gbit Ethernet, PCI express

[U-Boot] [PATCH 3/3 v2] armv8: ls1028aqds: Add support of LS1028AQDS

2019-04-03 Thread Yuantian Tang
From: Tang Yuantian LS1028AQDS Development System is a high-performance computing, evaluation, and development platform that supports LS1028A QorIQ Architecture processor. Signed-off-by: Sudhanshu Gupta Signed-off-by: Rai Harninder Signed-off-by: Rajesh Bhagat Signed-off-by: Bhaskar Upadhaya

[U-Boot] [PATCH 2/3 v2] armv8: ls1028ardb: Add support for LS1028ARDB platform

2019-04-03 Thread Yuantian Tang
From: Tang Yuantian LS1028A is an ARMv8 implementation. LS1028ARDB is an evaluatoin platform that supports the LS1028A family SoCs. This patch add basic support of the platform. Signed-off-by: Sudhanshu Gupta Signed-off-by: Rai Harninder Signed-off-by: Rajesh Bhagat Signed-off-by: Bhaskar Upa

[U-Boot] [PATCH] rockchip: add Kever Yang as co-custodian

2019-04-03 Thread Kever Yang
This updates MAINTAINERS and git-mailrc to add me as a co-custodian for rockchip Signed-off-by: Kever Yang --- MAINTAINERS| 1 + doc/git-mailrc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8a4c5d4eab..6385811ef9 100644 --- a/MAINTAIN

Re: [U-Boot] [linux-sunxi] [PATCH 3/3] arm: sunxi: Enable DRAM ODT by default on H3/H5

2019-04-03 Thread Jagan Teki
On Thu, Mar 14, 2019 at 4:07 PM Paul Kocialkowski wrote: > > Most of the boards we support with H3/H5 enable DRAM on-die termination, > which is consistent with the high DRAM clocks that are used. > > Make it the default (like it's done for other similar platforms) instead > of defining it in each

Re: [U-Boot] [PATCH v2] watchdog: Move watchdog_dev to data section (BSS may not be cleared)

2019-04-03 Thread Michal Simek
On 03. 04. 19 9:12, Stefan Roese wrote: > This patch moves all instances of static "watchdog_dev" declarations to > the "data" section. This may be needed, as the BSS may not be cleared > in the early U-Boot phase, where watchdog_reset() is already beeing > called. This may result in incorrect poin

Re: [U-Boot] [linux-sunxi] [PATCH 3/3] arm: sunxi: Enable DRAM ODT by default on H3/H5

2019-04-03 Thread Paul Kocialkowski
Hi, Le mercredi 03 avril 2019 à 13:09 +0530, Jagan Teki a écrit : > On Thu, Mar 14, 2019 at 4:07 PM Paul Kocialkowski > wrote: > > Most of the boards we support with H3/H5 enable DRAM on-die termination, > > which is consistent with the high DRAM clocks that are used. > > > > Make it the default

Re: [U-Boot] [PATCH v1 01/14] tdx-cfg-block: add support for new colibri iMX6ull skus

2019-04-03 Thread Igor Opaniuk
Hi Marcel, Reviewed-by: Igor Opaniuk On Fri, Mar 29, 2019 at 1:35 PM Marcel Ziswiler wrote: > > From: Gerard Salvatella > > Add support for new Colibri iMX6ULL SKUs. > > While at it also checkpatch fix the whole files. > > Signed-off-by: Gerard Salvatella > Acked-by: Marcel Ziswiler > > ---

Re: [U-Boot] [PATCH] rockchip: add Kever Yang as co-custodian

2019-04-03 Thread Philipp Tomsich
> On 03.04.2019, at 09:28, Kever Yang wrote: > > This updates MAINTAINERS and git-mailrc to add me as a > co-custodian for rockchip > > Signed-off-by: Kever Yang As previously discussed off-list: happy to have you on board. I sincerely hope that this will finally give us the ability to get

Re: [U-Boot] [PATCH v1 02/14] tdx-cfg-block: simplify i.MX 6 module detection

2019-04-03 Thread Igor Opaniuk
Reviewed-by: Igor Opaniuk On Fri, Mar 29, 2019 at 1:36 PM Marcel Ziswiler wrote: > > From: Stefan Agner > > Use CONFIG_TARGET_... at compile time to differentiate between > Apalis iMX6, Colibri iMX6 and Colibri iMX6ULL. Avoid code > duplication by moving question about Wi-Fi / Bluetooth before

Re: [U-Boot] [PATCH v3] net: phy: implement fallback mechanism for negative phy adresses

2019-04-03 Thread Lukasz Majewski
Hi Hannes, > Negative phy-addresses can occour if the caller function was not able > to determine a valid phy address (from device-tree for example). In > this case we catch this here and search for ANY phy device on the > given mdio- bus. > > Signed-off-by: Hannes Schmelzer > > --- > > Change

Re: [U-Boot] [PATCH v1 03/14] colibri-imx6ull: set module variant depending on config block

2019-04-03 Thread Igor Opaniuk
Reviewed-by: Igor Opaniuk On Fri, Mar 29, 2019 at 1:36 PM Marcel Ziswiler wrote: > > From: Stefan Agner > > Using CPU temperature grading as a discriminator if the Wi-Fi / > Bluetooth chip is populated is no longer possible due to upcoming > SKUs. Set variant to -wifi only if a valid config blo

Re: [U-Boot] [PATCH] rockchip: add Kever Yang as co-custodian

2019-04-03 Thread Jagan Teki
On Wed, Apr 3, 2019 at 12:58 PM Kever Yang wrote: > > This updates MAINTAINERS and git-mailrc to add me as a > co-custodian for rockchip > > Signed-off-by: Kever Yang > --- Acked-by: Jagan Teki ___ U-Boot mailing list U-Boot@lists.denx.de https://list

Re: [U-Boot] [PATCH v1 05/14] colibri-imx6ull: fix ethernet phy power on

2019-04-03 Thread Igor Opaniuk
Hi Marcel, On Fri, Mar 29, 2019 at 1:38 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Just give the new Ethernet PHY power save mode circuitry time to settle. > > Signed-off-by: Marcel Ziswiler > Acked-by: Max Krummenacher > > --- > > board/toradex/colibri-imx6ull/colibri-imx6ull.c

Re: [U-Boot] [PATCH v1 14/14] ARM: dts: colibri-imx6ull: update device tree

2019-04-03 Thread Igor Opaniuk
Hi Marcel, Reviewed-by: Igor Opaniuk Please also check my comments below, thanks! On Fri, Mar 29, 2019 at 1:41 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Fix compatible node to use regular Toradex notation. > Annotate device tree with standard Colibri pin muxing comments. > Use o

Re: [U-Boot] [PATCH v1 06/14] board: imx6ull: Add disable PMIC_STBY_REQ

2019-04-03 Thread Igor Opaniuk
Reviewed-by: Igor Opaniuk On Fri, Mar 29, 2019 at 1:41 PM Marcel Ziswiler wrote: > > From: Philippe Schenker > > Disable output driver of PAD CCM_PMIC_STBY_REQ. This prevents the > SOC to request for a lower voltage during sleep. This is necessary > because the voltage is changing too slow for

Re: [U-Boot] [PATCH v1 13/14] ARM: dts: colibri-imx6ull: add osc32k_32k_out pinctrl

2019-04-03 Thread Igor Opaniuk
Reviewed-by: Igor Opaniuk On Fri, Mar 29, 2019 at 1:42 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Add GPIO1_IO03__OSC32K_32K_OUT pin muxing. > While at it also fix indentation of pinfunc header file. > > Signed-off-by: Marcel Ziswiler > > --- > > arch/arm/dts/imx6ull-colibri.dts

[U-Boot] tpm2_nvread

2019-04-03 Thread Tommaso Corda
Hi all, I'm trying to use the tpm2_nvread command on u-boot but it seems it is not implemented on tpm2. Does anyone know how to make it work? Thanks in advance. BR. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v1 12/14] ARM: dts: colibri-imx6ull: fix uart-has-rtscts property

2019-04-03 Thread Igor Opaniuk
Reviewed-by: Igor Opaniuk On Fri, Mar 29, 2019 at 1:40 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Remove vendor pre-fix fsl, from uart-has-rtscts property. > > Signed-off-by: Marcel Ziswiler > > --- > > arch/arm/dts/imx6ull-colibri.dts | 7 +-- > 1 file changed, 5 insertions(

Re: [U-Boot] [PATCH] riscv: dts: fix CONFIG_DEFAULT_DEVICE_TREE failure

2019-04-03 Thread Auer, Lukas
On Wed, 2019-04-03 at 10:43 +0800, Andes wrote: > From: Rick Chen > > It occurs since commit 27cb7300ffda > ("Ensure device tree DTS is compiled"). > > More details can refer to > 89c2b5c02049aea746b1edee0b4e1d8519dec2f4 > ARM: fix arch/arm/dts/Makefile > > Signed-off-by: Rick Chen > Cc: Green

Re: [U-Boot] [PATCH v1 11/14] colibri-imx6ull: migrate fec to using driver model

2019-04-03 Thread Igor Opaniuk
Reviewed-by: Igor Opaniuk On Fri, Mar 29, 2019 at 1:39 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Migrate Ethernet FEC to using driver model. > Drop PHY_MICREL_KSZ90X1 which slipped in from Apalis iMX6. > > Signed-off-by: Marcel Ziswiler > > --- > > arch/arm/dts/imx6ull-colibri.d

Re: [U-Boot] [PATCH 28/40] x86: Add a sysreset driver for the Intel PCH

2019-04-03 Thread Bin Meng
Hi Simon, On Wed, Apr 3, 2019 at 10:22 AM Simon Glass wrote: > > Hi Bin, > > On Fri, 22 Feb 2019 at 00:20, Bin Meng wrote: > > > > Hi Simon, > > > > On Wed, Jan 30, 2019 at 12:00 PM Simon Glass wrote: > > > > > > Intel SoCs support a fairly stardard reset mechanism which can support > > > power

Re: [U-Boot] [PATCH v1 07/14] colibri-imx6ull: configuration clean-up

2019-04-03 Thread Igor Opaniuk
Reviewed-by: Igor Opaniuk On Fri, Mar 29, 2019 at 1:39 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Drop disabling SPL_SYS_THUMB_BUILD as we anyway do not use SPL. > Enbale CRC32 verify, USB SDP and EFI loader support. > Drop CMD_GPT and disabling RANDOM_UUID. > Do savedefconfig whic

Re: [U-Boot] [PATCH v2 3/7] tegra: sound: Add an audio hub driver

2019-04-03 Thread Jon Hunter
On 01/04/2019 21:38, Simon Glass wrote: > Add a driver for the audio hub. This is modelled as a misc device which > supports writing audio data from I2S. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Fix 'I2C' typo > > arch/arm/include/asm/arch-tegra/tegra_ahub.h | 475 +

Re: [U-Boot] [PATCH v1 08/14] colibri-imx6ull: migrate pinctrl and regulators to dtb/dm

2019-04-03 Thread Igor Opaniuk
Reviewed-by: Igor Opaniuk On Fri, Mar 29, 2019 at 1:40 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Migrate pinctrl and regulators to device tree resp. driver model: > Ethernet, NAND and UART. > Drop BOARD_EARLY_INIT_F as it is anyway no longer used. > Enable CMD_DM, CMD_MTD, CMD_REG

Re: [U-Boot] [PATCH v2 4/7] tegra: sound: Add an I2S driver

2019-04-03 Thread Jon Hunter
On 01/04/2019 21:38, Simon Glass wrote: > Add a driver which supports transmitting digital sound to an audio codec. > This uses fixed parameters as a device-tree binding is not currently > defined. > > Signed-off-by: Simon Glass > --- Acked-by: Jon Hunter Cheers Jon -- nvpublic

Re: [U-Boot] [PATCH v2 5/7] sound: tegra: Add a sound driver

2019-04-03 Thread Jon Hunter
On 01/04/2019 21:38, Simon Glass wrote: > Add a sound driver for tegra devices. This connects the audio hub, I2S > controller and audio codec to allow sound output. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/sound/Makefile | 2 +- > drivers/sound/tegra_sou

Re: [U-Boot] [PATCH v1 09/14] colibri-imx6ull: migrate mmc to using driver model

2019-04-03 Thread Igor Opaniuk
Reviewed-by: Igor Opaniuk On Fri, Mar 29, 2019 at 1:38 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Migrate MMC to using driver model. > Migrate USDHC to using pinctrl. > While at it also add GPIO1_IO03__OSC32K_32K_OUT pin muxing. > While at it also update copyright period. > > Signe

Re: [U-Boot] [PATCH] configs: am57xx_evm: Remove ENV_IS_IN_FAT

2019-04-03 Thread Faiz Abbas
Hi Sam, On 29/03/19 8:37 PM, Sam Protsenko wrote: > Hi Faiz, > > On Fri, Mar 29, 2019 at 3:24 PM Lokesh Vutla wrote: >> >> + Praneeth >> >> On 29/03/19 4:45 PM, Tom Rini wrote: >>> On Fri, Mar 29, 2019 at 01:09:25PM +0530, Faiz Abbas wrote: Tom, On 28/03/19 6:33 PM, Tom Rini wrote

[U-Boot] [PATCH 0/3] rk3288 (also rk3036, rk322x) defconfig fixes

2019-04-03 Thread Urja Rannikko
Hi, Actually this mostly touches rk3288 veyrons, but others were also touched in moving some CONFIG items totally into Kconfig. I did this to show what i meant with my question on whether I should touch more than just speedy defconfig as a hopefully okay middleground suggestion. (Since nobody dec

[U-Boot] [PATCH 1/3] configs: Move CONFIG_SPI_FLASH_GIGADEVICE properly into Kconfig

2019-04-03 Thread Urja Rannikko
Affects rk3288 veyrons and rk3036, this was mostly done by moveconfig.py. Signed-off-by: Urja Rannikko --- configs/chromebit_mickey_defconfig | 1 + configs/chromebook_jerry_defconfig | 1 + configs/chromebook_minnie_defconfig | 1 + configs/chromebook_speedy_defconfig | 1 + configs/evb-rk303

[U-Boot] [PATCH 2/3] configs: Move CONFIG_CMD_USB_MASS_STORAGE properly into Kconfig

2019-04-03 Thread Urja Rannikko
This affects RK3036, RK322X and RK3288 - the defconfig changes done by moveconfig.py for the veyrons were left out on purpose because they dont have an OTG port, and will get their config updated in the next commit. Signed-off-by: Urja Rannikko --- configs/evb-rk3036_defconfig | 2 +- confi

[U-Boot] [PATCH 3/3] configs: update rk3288 veyron defconfigs

2019-04-03 Thread Urja Rannikko
Updates jerry, mickey, minnie and speedy defconfigs to: - fit the SPL in 32k - boot from SPI (only) - remove gadget support (these have no OTG port) Signed-off-by: Urja Rannikko --- configs/chromebit_mickey_defconfig | 26 -- configs/chromebook_jerry_defconfig | 26

Re: [U-Boot] [PATCH 2/3] configs: Move CONFIG_CMD_USB_MASS_STORAGE properly into Kconfig

2019-04-03 Thread Jack Mitchell
Hi, On 03/04/2019 10:34, Urja Rannikko wrote: > This affects RK3036, RK322X and RK3288 - the defconfig changes done by > moveconfig.py for the veyrons were left out on purpose because they dont > have an OTG port, and will get their config updated in the next commit. > > Signed-off-by: Urja Ranni

Re: [U-Boot] [PATCH v3 1/4] net: Add MSCC Jaguar2 network driver.

2019-04-03 Thread Daniel Schwierzeck
Am 30.03.19 um 11:17 schrieb Horatiu Vultur: > Add network driver for Microsemi Ethernet switch. > It is present on Jaguar2 SoCs. > > Signed-off-by: Horatiu Vultur > --- > drivers/net/mscc_eswitch/Kconfig |7 + > drivers/net/mscc_eswitch/Makefile |1 + > drivers/net/mscc_eswit

[U-Boot] RISC-V OpenSBI Mailing List

2019-04-03 Thread Anup Patel
Hi All, We have created a mailing list for RISC-V OpenSBI development and discussion. The GitHub based PRs and issue tracking will be still available but preferred mode of patch submission and discussion will be mailing list. The intention behind OpenSBI mailing list is to have one common plac

Re: [U-Boot] [PATCH 3/13 v4] serial: atmel_usart: Use fixed clock value in SPL version with DM_SERIAL

2019-04-03 Thread Eugen.Hristev
On 02.04.2019 14:21, Stefan Roese wrote: > This patch adds an alterative SPL version of atmel_serial_enable_clk(). > This enables the usage of this driver without full clock support (in > drivers and DT nodes). This saves some space in the SPL image. > > Please note that this fixed clock suppor

Re: [U-Boot] [PATCH 3/13 v4] serial: atmel_usart: Use fixed clock value in SPL version with DM_SERIAL

2019-04-03 Thread Stefan Roese
Hi Eugen, On 03.04.19 12:52, eugen.hris...@microchip.com wrote: On 02.04.2019 14:21, Stefan Roese wrote: This patch adds an alterative SPL version of atmel_serial_enable_clk(). This enables the usage of this driver without full clock support (in drivers and DT nodes). This saves some space i

Re: [U-Boot] [PATCH v3 1/4] net: Add MSCC Jaguar2 network driver.

2019-04-03 Thread Horatiu Vultur
Hi Daniel, The 04/03/2019 12:18, Daniel Schwierzeck wrote: > External E-Mail > > > > Am 30.03.19 um 11:17 schrieb Horatiu Vultur: > > Add network driver for Microsemi Ethernet switch. > > It is present on Jaguar2 SoCs. > > > > Signed-off-by: Horatiu Vultur > > --- > > drivers/net/mscc_eswitc

Re: [U-Boot] [PATCH v2 6/6] pico-imx7d: Correct uart clock root

2019-04-03 Thread Jun Nie
Otavio Salvador 于2019年3月28日周四 下午8:58写道: > > On Thu, Mar 28, 2019 at 5:34 AM Jun Nie wrote: > > > > Correct uart clock root ID. Incorrect ID may result the > > clock is gated because rate value 0 is returned in > > imx_get_uartclk() > > > > Signed-off-by: Jun Nie > > How this could not be defined

Re: [U-Boot] [PATCH 3/13 v4] serial: atmel_usart: Use fixed clock value in SPL version with DM_SERIAL

2019-04-03 Thread Eugen.Hristev
On 03.04.2019 13:58, Stefan Roese wrote: > Hi Eugen, > > On 03.04.19 12:52, eugen.hris...@microchip.com wrote: >> >> >> On 02.04.2019 14:21, Stefan Roese wrote: >> >>> This patch adds an alterative SPL version of atmel_serial_enable_clk(). >>> This enables the usage of this driver without full

Re: [U-Boot] [PATCH 10/13 v3] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-04-03 Thread Eugen.Hristev
On 02.04.2019 11:57, Stefan Roese wrote: > > This patch adds the CONFIG_SPL_IMAGE option to select the SPL image that > shall be used to generate the combined SPL + U-Boot image. The default > value is the current value "spl/u-boot-spl.bin". > > This patch also sets CONFIG_SPL_IMAGE to "spl/bo

Re: [U-Boot] [PATCH 10/13 v3] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-04-03 Thread Eugen.Hristev
On 03.04.2019 14:03, Eugen Hristev wrote: > > > On 02.04.2019 11:57, Stefan Roese wrote: > >> >> This patch adds the CONFIG_SPL_IMAGE option to select the SPL image that >> shall be used to generate the combined SPL + U-Boot image. The default >> value is the current value "spl/u-boot-spl.bin"

Re: [U-Boot] [PATCH 3/13 v4] serial: atmel_usart: Use fixed clock value in SPL version with DM_SERIAL

2019-04-03 Thread Stefan Roese
Hi Eugen, On 03.04.19 13:05, eugen.hris...@microchip.com wrote: Looking again over this, the Kconfig you added is useless and has no effect unless ATMEL_USART driver... Can you make it to depend on atmel usart or be named ATMEL_SPL_UART_CLOCK if this is not needed for anything else whatsoever

[U-Boot] Board specific files

2019-04-03 Thread Linder Pascal
Hello everyone, I am new to U-Boot and I am trying to understand what I need to code for using my own board with the bootloader. The device tree files I have already found under ./arch/arm/dts/. Can I just add my device tree under this directory? Also, what is the difference between the con

Re: [U-Boot] Riscv: CONFIG_DEFAULT_DEVICE_TREE failures

2019-04-03 Thread Tom Rini
On Tue, Apr 02, 2019 at 03:16:10PM -0500, Troy Benjegerdes wrote: > > > On Mar 31, 2019, at 5:02 PM, Tom Rini wrote: > > > > On Fri, Mar 29, 2019 at 11:15:48PM -0700, Troy Benjegerdes wrote: > > > >> I attempted to merge in the latest master branch into > >> https://github.com/sifive/u-boot/tre

Re: [U-Boot] [PATCH 10/13 v3] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-04-03 Thread Stefan Roese
On 03.04.19 13:08, eugen.hris...@microchip.com wrote: On 02.04.2019 11:57, Stefan Roese wrote: This patch adds the CONFIG_SPL_IMAGE option to select the SPL image that shall be used to generate the combined SPL + U-Boot image. The default value is the current value "spl/u-boot-spl.bin". Thi

Re: [U-Boot] [PATCH 10/13 v3] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-04-03 Thread Stefan Roese
On 03.04.19 13:11, eugen.hris...@microchip.com wrote: On 03.04.2019 14:03, Eugen Hristev wrote: On 02.04.2019 11:57, Stefan Roese wrote: This patch adds the CONFIG_SPL_IMAGE option to select the SPL image that shall be used to generate the combined SPL + U-Boot image. The default value

Re: [U-Boot] Riscv: CONFIG_DEFAULT_DEVICE_TREE failures

2019-04-03 Thread Masahiro Yamada
On Wed, Apr 3, 2019 at 8:19 PM Tom Rini wrote: > > On Tue, Apr 02, 2019 at 03:16:10PM -0500, Troy Benjegerdes wrote: > > > > > On Mar 31, 2019, at 5:02 PM, Tom Rini wrote: > > > > > > On Fri, Mar 29, 2019 at 11:15:48PM -0700, Troy Benjegerdes wrote: > > > > > >> I attempted to merge in the latest

Re: [U-Boot] [RFC v2 2/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-04-03 Thread Mike Looijmans
On 29-03-19 13:22, Luca Ceresoli wrote: > Hi Michal, > > thanks for the feedback. > > On 27/03/19 16:03, Michal Simek wrote: >> On 21. 03. 19 16:48, Luca Ceresoli wrote: >>> Optionally allow U-Boot to load at the PMU firmware configuration object >>> into the Power Management Unit (PMU) on Xilinx

Re: [U-Boot] [RFC v2 2/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-04-03 Thread Michal Simek
On 03. 04. 19 13:24, Mike Looijmans wrote: > On 29-03-19 13:22, Luca Ceresoli wrote: >> Hi Michal, >> >> thanks for the feedback. >> >> On 27/03/19 16:03, Michal Simek wrote: >>> On 21. 03. 19 16:48, Luca Ceresoli wrote: Optionally allow U-Boot to load at the PMU firmware configuration object

Re: [U-Boot] Riscv: CONFIG_DEFAULT_DEVICE_TREE failures

2019-04-03 Thread Tom Rini
On Wed, Apr 03, 2019 at 08:21:34PM +0900, Masahiro Yamada wrote: > On Wed, Apr 3, 2019 at 8:19 PM Tom Rini wrote: > > > > On Tue, Apr 02, 2019 at 03:16:10PM -0500, Troy Benjegerdes wrote: > > > > > > > On Mar 31, 2019, at 5:02 PM, Tom Rini wrote: > > > > > > > > On Fri, Mar 29, 2019 at 11:15:48PM

Re: [U-Boot] [PATCH] ARM: imx6q_logic: Correct phy fixup for broken ethernet

2019-04-03 Thread Adam Ford
On Tue, Apr 2, 2019 at 11:58 PM Jagan Teki wrote: > > Hi Adam, > > On Sun, Jan 13, 2019 at 5:02 AM Adam Ford wrote: > > > > The Ethernet has been broken for some time. This patch unifies > > this board with a few others that use a similar approach to > > enabling phy. This fixes ar8031 Ethernet

[U-Boot] [PATCH 0/2] arm: meson: Fix khadas-vim2 USB

2019-04-03 Thread Neil Armstrong
This patchset : - fixes the MESON_GXL_USB_PHY dependency to also allow MESON_GXM - fixes the khadas-vim2 defconfig Tom, I know it's _very_ late in the cycle, is it still OK for final 2019.04 release ? Neil Armstrong (2): phy: Also allow MESON_GXM for MESON_GXL_USB_PHY configs: khadas_vim2: Fi

[U-Boot] [PATCH 1/2] phy: Also allow MESON_GXM for MESON_GXL_USB_PHY

2019-04-03 Thread Neil Armstrong
The MESON_GXL_USB_PHY is also used on the Amlogic Meson GXM SoCs. Fixes: 2960e27e38 ("phy: Add Amlogic Meson USB2 & USB3 Generic PHY drivers") Signed-off-by: Neil Armstrong --- drivers/phy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/Kconfig b/drivers/p

[U-Boot] [PATCH 2/2] configs: khadas_vim2: Fix defconfig

2019-04-03 Thread Neil Armstrong
The Khadas VIM2 defconfig was missing the USB PHY config and two other misc configs to setup dram banks and call misc_init_r. Align it on the other Amlogic SoC based boards defconfig. Signed-off-by: Neil Armstrong --- configs/khadas-vim2_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff -

Re: [U-Boot] [PATCH v2 0/6] pico-imx7d: Add support for BL33 case

2019-04-03 Thread Jun Nie
Otavio Salvador 于2019年3月28日周四 下午8:57写道: > > On Thu, Mar 28, 2019 at 5:30 AM Jun Nie wrote: > > > > Add configuration to boot U-boot as BL33 case. The boot flow > > is ATF -> OPTEE -> U-boot. > > Could you add a README explaining how to use / test it? Hi Otavio, Below is draft of README. some of

Re: [U-Boot] [PATCH] usb: ehci-mx6: Use common code to extract dr_mode

2019-04-03 Thread Marek Vasut
On 4/3/19 4:45 AM, Adam Ford wrote: > There exists code in drivers/common/common.c to read the dr_mode > from the device tree. This patch converts this driver to use that > function to initialize the driver. > > Signed-off-by: Adam Ford > > diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb

Re: [U-Boot] [PATCH] mtd: spi: Add Macronix MX66U2G45F device

2019-04-03 Thread Marek Vasut
On 4/3/19 8:10 AM, Jagan Teki wrote: > On Fri, Mar 22, 2019 at 3:09 AM Marek Vasut wrote: >> >> On 3/21/19 5:57 PM, Jagan Teki wrote: >>> On Fri, Mar 8, 2019 at 3:57 AM Marek Vasut wrote: Add Macronix MX66U2G45F flash device description. This is a 256 MiB part. >>> >>> Couldn't fin

Re: [U-Boot] [PATCH v2] spi: cadence_qspi: Add quad write support

2019-04-03 Thread Marek Vasut
On 4/3/19 8:13 AM, Jagan Teki wrote: > On Wed, Feb 27, 2019 at 11:06 AM Ley Foon Tan wrote: >> >> Use quad write if SPI_TX_QUAD flag is set. >> >> Tested quad write on Stratix 10 SoC board (Micron >> serial NOR flash, mt25qu02g) >> >> Signed-off-by: Ley Foon Tan >> >> --- > > Applied to u-boot-s

Re: [U-Boot] [PATCH 0/2] arm: meson: Fix khadas-vim2 USB

2019-04-03 Thread Marek Vasut
On 4/3/19 1:46 PM, Neil Armstrong wrote: > This patchset : > - fixes the MESON_GXL_USB_PHY dependency to also allow MESON_GXM > - fixes the khadas-vim2 defconfig > > Tom, I know it's _very_ late in the cycle, is it still OK for final > 2019.04 release ? If it's a fix, it is still OK. -- Best re

[U-Boot] [PULL] u-boot-usb/master

2019-04-03 Thread Marek Vasut
The following changes since commit bcd40c347d2c983625065ec70e9e9e1f98b42baf: Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2019-04-01 12:31:22 -0400) are available in the Git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to 2a766db11a7e3129db0

Re: [U-Boot] [PATCH v2 0/6] pico-imx7d: Add support for BL33 case

2019-04-03 Thread Jun Nie
Hi Otavio, And for the file name pico-imx7d_bl33_defconfig, pico-pi-imx7d_bl33_defconfig should be better in my later thought. Because a concrete device tree source file should be specified in defconfig file, so that public key can be stored in u-boot FDT blob for kernel/initramfs FIT signature ve

Re: [U-Boot] [PATCH] pinctrl: renesas: Fix linker error when PINCTRL_PFC=n

2019-04-03 Thread Marek Vasut
On 4/2/19 7:58 PM, Dirk Behme wrote: > On 02.04.19 17:40, Eugeniu Rosca wrote: >> On Tue, Apr 02, 2019 at 05:28:43PM +0200, Marek Vasut wrote: >>> On 4/2/19 5:17 PM, Dirk Behme wrote: On 02.04.19 15:34, Marek Vasut wrote: > On 4/2/19 3:18 PM, Eugeniu Rosca wrote: >> With CONFIG_PINCTRL

Re: [U-Boot] [PATCH] pinctrl: renesas: Fix linker error when PINCTRL_PFC=n

2019-04-03 Thread Marek Vasut
On 4/2/19 7:02 PM, Eugeniu Rosca wrote: > On Tue, Apr 02, 2019 at 06:02:46PM +0200, Marek Vasut wrote: >> On 4/2/19 5:40 PM, Eugeniu Rosca wrote: >>> On Tue, Apr 02, 2019 at 05:28:43PM +0200, Marek Vasut wrote: On 4/2/19 5:17 PM, Dirk Behme wrote: > On 02.04.19 15:34, Marek Vasut wrote: >>

[U-Boot] [PATCH] rk8xx: implement poweroff

2019-04-03 Thread Urja Rannikko
Based on snooping around the linux kernel rk8xx driver, and tested to work on the ASUS C201. Signed-off-by: Urja Rannikko --- This is really handy to be able to poweroff (without pressing power button for a long time) the C201 from u-boot, so i'm sending this as is. The thing that is bothering me

Re: [U-Boot] [PATCH 10/13 v3] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-04-03 Thread Stefan Roese
Hi Eugen, On 03.04.19 13:21, Stefan Roese wrote: If I try to just use menuconfig and change this value to something else, build fails. The purpose of this Kconfig is to name the SPL filename as per the config's desire ? Or in fact is "which binary file to use to make the Combined SPL+U-BOOT

[U-Boot] [PATCH 1/2] disk: efi: unify code for finding a valid gpt

2019-04-03 Thread Urja Rannikko
There were 3 copies of the same sequence, make it into a function. Signed-off-by: Urja Rannikko --- disk/part_efi.c | 73 +++-- 1 file changed, 34 insertions(+), 39 deletions(-) diff --git a/disk/part_efi.c b/disk/part_efi.c index 239455b816..5f935da4

[U-Boot] [PATCH 2/2] disk: efi: ignore 'IGNOREME' GPT header found on cros eMMCs

2019-04-03 Thread Urja Rannikko
Some ChromeOS devices (atleast veyron speedy) have the first 8MiB of the eMMC write protected and equipped with a dummy 'IGNOREME' GPT header - instead of spewing error messages about it, just silently try the backup GPT. Note: this does not touch the gpt cmd writing/verifying functions, those wil

Re: [U-Boot] [PATCH 10/13 v3] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-04-03 Thread Eugen.Hristev
On 03.04.2019 15:22, Stefan Roese wrote: > External E-Mail > > > Hi Eugen, > > On 03.04.19 13:21, Stefan Roese wrote: > > > If I try to just use menuconfig and change this value to something else, build fails. The purpose of this Kconfig is to name the SPL filename as p

Re: [U-Boot] [PATCH 10/13 v3] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-04-03 Thread Stefan Roese
On 03.04.19 14:31, eugen.hris...@microchip.com wrote: On 03.04.2019 15:22, Stefan Roese wrote: External E-Mail Hi Eugen, On 03.04.19 13:21, Stefan Roese wrote: If I try to just use menuconfig and change this value to something else, build fails. The purpose of this Kconfig is to name th

Re: [U-Boot] [PATCH 10/13 v3] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-04-03 Thread Eugen.Hristev
On 03.04.2019 15:38, Stefan Roese wrote: > External E-Mail > > > On 03.04.19 14:31, eugen.hris...@microchip.com wrote: >> >> >> On 03.04.2019 15:22, Stefan Roese wrote: >>> External E-Mail >>> >>> >>> Hi Eugen, >>> >>> On 03.04.19 13:21, Stefan Roese wrote: >>> >>> >>> >> If I try to just

Re: [U-Boot] Board specific files

2019-04-03 Thread Alexander Dahl
Hello Pascal, Am Mittwoch, 3. April 2019, 09:08:57 CEST schrieb Linder Pascal: > I am new to U-Boot and I am trying to understand what I need to code for > using my own board with the bootloader. Welcome. :-) I try to describe my view on this, anyone correct me, if something is wrong. > The dev

[U-Boot] [PATCH 03/13 v5] serial: atmel_usart: Use fixed clock value in SPL version with DM_SERIAL

2019-04-03 Thread Stefan Roese
This patch adds an alterative SPL version of atmel_serial_enable_clk(). This enables the usage of this driver without full clock support (in drivers and DT nodes). This saves some space in the SPL image. Please note that this fixed clock support is only added to the SPL code in the DM_SERIAL part

[U-Boot] [PATCH 10/13 v5] Makefile: Add Kconfig option CONFIG_SPL_IMAGE to select the SPL binary

2019-04-03 Thread Stefan Roese
This patch adds the CONFIG_SPL_IMAGE option to select the SPL image that shall be used to generate the combined SPL + U-Boot image. The default value is the current value "spl/u-boot-spl.bin". This patch also sets CONFIG_SPL_IMAGE to "spl/boot.bin" for AT91 targets which use SPL NAND support (boot

[U-Boot] [PATCH V2] usb: ehci-mx6: Use common code to extract dr_mode

2019-04-03 Thread Adam Ford
There exists code in drivers/common/common.c to read the dr_mode from the device tree. This patch converts this driver to use that function to initialize the driver. Signed-off-by: Adam Ford --- V2: Fix issue where boards without dr_mode set would hang. This makes makes the code behave th

Re: [U-Boot] [PATCH] pinctrl: renesas: Fix linker error when PINCTRL_PFC=n

2019-04-03 Thread Marek Vasut
On 4/3/19 2:30 PM, Dirk Behme wrote: > On 03.04.2019 14:11, Marek Vasut wrote: >> On 4/2/19 7:02 PM, Eugeniu Rosca wrote: >>> On Tue, Apr 02, 2019 at 06:02:46PM +0200, Marek Vasut wrote: On 4/2/19 5:40 PM, Eugeniu Rosca wrote: > On Tue, Apr 02, 2019 at 05:28:43PM +0200, Marek Vasut wrote:

Re: [U-Boot] [PATCH V2] usb: ehci-mx6: Use common code to extract dr_mode

2019-04-03 Thread Marek Vasut
On 4/3/19 3:41 PM, Adam Ford wrote: > There exists code in drivers/common/common.c to read the dr_mode > from the device tree. This patch converts this driver to use that > function to initialize the driver. > > Signed-off-by: Adam Ford > --- > V2: Fix issue where boards without dr_mode set wou

Re: [U-Boot] [PATCH 0/2] arm: meson: Fix khadas-vim2 USB

2019-04-03 Thread Tom Rini
On Wed, Apr 03, 2019 at 01:46:35PM +0200, Neil Armstrong wrote: > This patchset : > - fixes the MESON_GXL_USB_PHY dependency to also allow MESON_GXM > - fixes the khadas-vim2 defconfig > > Tom, I know it's _very_ late in the cycle, is it still OK for final > 2019.04 release ? > > Neil Armstrong

[U-Boot] [PATCH] tools: imx8m_image: Fix 'unexpected operator' error

2019-04-03 Thread Carlo Caione
When sh is an alias for dash the script is failing with (for several files): ./tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpected operator This is caused by the 'a == b' bashism that should be 'a = b'. Signed-off-by: Carlo Caione --- tools/imx8m_image.sh | 4 ++-- 1 file changed, 2

Re: [U-Boot] [PATCH] configs: am57xx_evm: Remove ENV_IS_IN_FAT

2019-04-03 Thread Tom Rini
On Wed, Apr 03, 2019 at 02:59:28PM +0530, Faiz Abbas wrote: > Hi Sam, > > On 29/03/19 8:37 PM, Sam Protsenko wrote: > > Hi Faiz, > > > > On Fri, Mar 29, 2019 at 3:24 PM Lokesh Vutla wrote: > >> > >> + Praneeth > >> > >> On 29/03/19 4:45 PM, Tom Rini wrote: > >>> On Fri, Mar 29, 2019 at 01:09:25P

[U-Boot] [PATCH v2] board: pm9g45: Migrate to CONFIG_DM

2019-04-03 Thread Ilko Iliev
Migrate the following options to CONFIG_DM: CONFIG_DM_GPIO CONFIG_DM_MMC CONFIG_DM_ETH CONFIG_DM_SERIAL CONFIG_DM_USB Signed-off-by: Ilko Iliev --- Changes for v2: - fix undeclared 'PHYS_SDRAM' in pm9g45.c - add missing .dtb arch/arm/dts/Makefile | 2 + board

Re: [U-Boot] [PATCH] tools: imx8m_image: Fix 'unexpected operator' error

2019-04-03 Thread Anatolij Gustschin
Hi Carlo, On Wed, 3 Apr 2019 15:37:20 +0100 Carlo Caione ccai...@baylibre.com wrote: > When sh is an alias for dash the script is failing with (for several > files): > > ./tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpected operator Thanks, but there is already a similar patch [1] w

Re: [U-Boot] [PATCH] tools: imx8m_image: Fix 'unexpected operator' error

2019-04-03 Thread Carlo Caione
On 03/04/2019 15:56, Anatolij Gustschin wrote: Hi Carlo, On Wed, 3 Apr 2019 15:37:20 +0100 Carlo Caione ccai...@baylibre.com wrote: When sh is an alias for dash the script is failing with (for several files): ./tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpected operator Thanks,

Re: [U-Boot] [PATCH] tools: imx8m_image: Fix 'unexpected operator' error

2019-04-03 Thread Stefano Babic
On 03/04/19 16:56, Anatolij Gustschin wrote: > Hi Carlo, > > On Wed, 3 Apr 2019 15:37:20 +0100 > Carlo Caione ccai...@baylibre.com wrote: > >> When sh is an alias for dash the script is failing with (for several >> files): >> >> ./tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpected op

[U-Boot] [RFC] usb: ehci-mx6: Create MISC USB device wrapper

2019-04-03 Thread Adam Ford
In preparation to support DM_USB_GADGET, this creates a misc device which binds the host. This is necessary because U_BOOT_DRIVER(usb_mx6) is currently hard coded to UCLASS_USB and if we want to support UCLASS_USB_GADGET_GENERIC we'll need to bind a separate device in the future. Signed-off-by: A

Re: [U-Boot] [RFC] usb: ehci-mx6: Create MISC USB device wrapper

2019-04-03 Thread Adam Ford
On Wed, Apr 3, 2019 at 10:17 AM Adam Ford wrote: > > In preparation to support DM_USB_GADGET, this creates a misc > device which binds the host. This is necessary because > U_BOOT_DRIVER(usb_mx6) is currently hard coded to UCLASS_USB > and if we want to support UCLASS_USB_GADGET_GENERIC we'll nee

Re: [U-Boot] [PATCH 1/2] phy: Also allow MESON_GXM for MESON_GXL_USB_PHY

2019-04-03 Thread Tom Rini
On Wed, Apr 03, 2019 at 01:46:36PM +0200, Neil Armstrong wrote: > The MESON_GXL_USB_PHY is also used on the Amlogic Meson GXM SoCs. > > Fixes: 2960e27e38 ("phy: Add Amlogic Meson USB2 & USB3 Generic PHY drivers") > Signed-off-by: Neil Armstrong Applied to u-boot/master, thanks! -- Tom signa

Re: [U-Boot] fix compile error on macOS Mojave

2019-04-03 Thread Tom Rini
On Sun, Mar 31, 2019 at 04:07:03PM +0800, wangqiang1...@sina.com wrote: > From: 默默 Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 2/2] configs: khadas_vim2: Fix defconfig

2019-04-03 Thread Tom Rini
On Wed, Apr 03, 2019 at 01:46:37PM +0200, Neil Armstrong wrote: > The Khadas VIM2 defconfig was missing the USB PHY config and > two other misc configs to setup dram banks and call misc_init_r. > Align it on the other Amlogic SoC based boards defconfig. > > Signed-off-by: Neil Armstrong Applied

Re: [U-Boot] tools/Makefile: build host tools with -std=gnu99

2019-04-03 Thread Tom Rini
On Sat, Mar 30, 2019 at 03:29:23PM +0100, Thomas Petazzoni wrote: > Parts of the code are using C99 constructs (such as variables declared > inside loops), but also GNU extensions (such as typeof), so using > -std=gnu99 is necessary to build with older versions of gcc that don't > default to build

[U-Boot] [PATCH v4 0/4] Add network support for Jaguar2 SoCs

2019-04-03 Thread Horatiu Vultur
v4-changes: - address Daniel comments. v3-changes: - move serdes setup in network driver and read serdes configuration from DT. v2-changes: - create serdes6g_setup and serdes1g_setup functions to be easier to extand for future boards. Horatiu Vultur (4): net: Add MSCC Jaguar2 network

[U-Boot] [PATCH v4 1/4] net: Add MSCC Jaguar2 network driver.

2019-04-03 Thread Horatiu Vultur
Add network driver for Microsemi Ethernet switch. It is present on Jaguar2 SoCs. Reviewed-by: Daniel Schwierzeck Signed-off-by: Horatiu Vultur --- drivers/net/mscc_eswitch/Kconfig |7 + drivers/net/mscc_eswitch/Makefile |1 + drivers/net/mscc_eswitch/jr2_switch.c | 1075 +++

[U-Boot] [PATCH v4 3/4] net: mscc: jaguar2: Add ethenet nodes for Jaguar2.

2019-04-03 Thread Horatiu Vultur
Add ethernet nodes for Jaguar2 SoCs family. There are 3 pcb in this family: pcb110, pcb111 and pcb112. Signed-off-by: Horatiu Vultur --- arch/mips/dts/jr2_pcb110.dts| 76 +++ arch/mips/dts/jr2_pcb111.dts| 400 arch/mips/dts/mscc,jr2.dtsi

Re: [U-Boot] [PATCH 3/7] common: Implement A/B metadata

2019-04-03 Thread Eugeniu Rosca
Hi Simon, Igor, Ruslan, On Thu, Dec 6, 2018 at 4:05 AM Simon Glass wrote: > Hi Ruslan, > > On Tue, 27 Nov 2018 at 12:57, Ruslan Trofymenko > wrote: > > [..] > > +struct android_bootloader_message { > > How about andr_bl_msg ? Similarly below Simon, I am currently working on a new U-Boot command

[U-Boot] [PATCH v4 4/4] configs: mscc_jr2: Add network support

2019-04-03 Thread Horatiu Vultur
Update default confing to use network driver for Jaguar2 SoCs. Signed-off-by: Horatiu Vultur --- configs/mscc_jr2_defconfig | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/mscc_jr2_defconfig b/configs/mscc_jr2_defconfig index 95562b7..92c22b8 100644 --- a/configs

[U-Boot] [PATCH v4 2/4] board: mscc: jr2: Update MSCC Jaguar2 boards

2019-04-03 Thread Horatiu Vultur
In Jaguar2 SoC family there are 3 different pcb. Each of this needs to configure the phys in different ways. Therefore implement the function board_phy_config and based on pcb configure them accordingly. Signed-off-by: Horatiu Vultur --- board/mscc/jr2/jr2.c | 23 +++ 1 file

Re: [U-Boot] [PATCH 2/3] configs: Move CONFIG_CMD_USB_MASS_STORAGE properly into Kconfig

2019-04-03 Thread Urja Rannikko
Hi, On Wed, Apr 3, 2019 at 9:52 AM Jack Mitchell wrote: > > Hi, > > --- a/include/configs/rk3036_common.h > > +++ b/include/configs/rk3036_common.h > > @@ -32,7 +32,6 @@ > > /* usb otg */ > > > > /* usb mass storage */ > > -#define CONFIG_CMD_USB_MASS_STORAGE > > This is leaving empty comments

Re: [U-Boot] [PATCH v2] pico-imx6ul, pico-imx7d: Explain how to use eMMC user partition

2019-04-03 Thread Otavio Salvador
Stefano, On Fri, Mar 22, 2019 at 2:53 PM Otavio Salvador wrote: > The default U-Boot environment expects the use of eMMC user > partition. To ensure we are using the proper eMMC partition for boot > we need to run the `mmc partconf` command. > > This patch updates the README instructions to avoid

  1   2   >