Re: [U-Boot] [PATCH v2 2/3] i2c: muxes: pca954x: clarify enable field

2019-04-09 Thread Michal Simek
On 09. 04. 19 8:57, Luca Ceresoli wrote: > The chip_desc.enable field is used only for muxes, not for switches. > Document it and remove the unused values. > > Signed-off-by: Luca Ceresoli > Reviewed-by: Heiko Schocher > > --- > > Changes v1 -> v2: > - fix typo in commit message (Michal) > --

Re: [U-Boot] [PATCH v2 1/3] i2c: muxes: pca954x: update list of supported devices

2019-04-09 Thread Michal Simek
On 09. 04. 19 8:57, Luca Ceresoli wrote: > The Kconfig help has not been updated while adding PCA9547 and PCA9646. > > Signed-off-by: Luca Ceresoli > > --- > > Changes v1 -> v2: > - add missing comma (Michal) > - reword and rewrap the sentence > --- > drivers/i2c/muxes/Kconfig | 10 +

Re: [U-Boot] [PATCH v2 3/3] i2c: muxes: pca954x: support PCA9543 I2C switch

2019-04-09 Thread Michal Simek
On 09. 04. 19 8:57, Luca Ceresoli wrote: > The PCA9543 is a 2-channel I2C switch. > > Signed-off-by: Luca Ceresoli > Reviewed-by: Heiko Schocher > > --- > > Changes v1 -> v2: > - rebase on current tree > --- > drivers/i2c/muxes/Kconfig | 3 ++- > drivers/i2c/muxes/pca954x.c | 6 ++ > 2

Re: [U-Boot] [PATCH v1 3/5] board: toradex: tdx-cfg-block: clean-up sku handling

2019-04-09 Thread Igor Opaniuk
Reviewed-by: Igor Opaniuk On Sat, Apr 6, 2019 at 2:47 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Clean-up handling of several SKUs. > > Signed-off-by: Marcel Ziswiler > > --- > > board/toradex/common/tdx-cfg-block.c | 12 > board/toradex/common/tdx-cfg-block.h | 22 +

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

2019-04-09 Thread Kever Yang
Add Tom. Thanks, - Kever On 04/03/2019 03:59 PM, Philipp Tomsich wrote: > >> 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

Re: [U-Boot] [PATCH v1 5/5] board: toradex: add colibri imx8qxp 2gb wb it v1.0b module support

2019-04-09 Thread Igor Opaniuk
Hi Marcel, Just a couple of comments below after a brief look: On Sat, Apr 6, 2019 at 2:49 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > This commit adds initial support for the Toradex Colibri iMX8QXP 2GB WB > IT V1.0B module. Unlike the V1.0A early access samples exclusively > booti

Re: [U-Boot] [PATCH] imx: Extend PCL063 support for phyCORE-i.MX6ULL SOM

2019-04-09 Thread Martyn Welch
On Mon, 2019-04-08 at 20:04 +0200, Parthiban wrote: > Hello Martyn, > > On 4/8/19 7:45 PM, Martyn Welch wrote: > > On Sun, 2019-04-07 at 19:56 +0200, Parthiban Nallathambi wrote: > > > diff --git a/board/phytec/pcl063/spl.c > > > b/board/phytec/pcl063/spl.c > > > index b93cd493f2..73a774645d 10064

Re: [U-Boot] [V3 1/3] sunxi: Fix A33 memory initialization

2019-04-09 Thread Jagan Teki
On Thu, Mar 28, 2019 at 4:55 PM Jagan Teki wrote: > > On Mon, Mar 18, 2019 at 3:20 PM Shyam Saini > wrote: > > > > From: Michael Trimarchi > > > > While the exact problem is not known, based on discussion between > > Philipp Tomsich and André Przywara it is guessed that exit self-refresh > > tim

Re: [U-Boot] [linux-sunxi] [PATCH 1/3] arm: sunxi: Allow per-platform DRAM ZQ configuration on sun8i

2019-04-09 Thread Jagan Teki
On Thu, Mar 14, 2019 at 4:07 PM Paul Kocialkowski wrote: > > A few sun8i platforms define specific default DRAM ZQ values, but they > are not taken in account because of MACH_SUN8I being used for the 123 > default first. > > Replace MACH_SUN8I with the list of platforms that don't have specific >

[U-Boot] [PATCH] dm: sound: make all functions static inline

2019-04-09 Thread Christian Gmeiner
Fixes following compile problem: ➜ u-boot-mainline git:(master) ✗ make sandbox_defconfig all NO_SDL=1 scripts/kconfig/conf --syncconfig Kconfig CHK include/config.h CFG u-boot.cfg GEN include/autoconf.mk GEN include/autoconf.mk.dep CHK include/config/uboot.release

Re: [U-Boot] [linux-sunxi] [PATCH 2/3] arm: sunxi: Set the default DRAM ZQ value to 3881979 on H3/H5

2019-04-09 Thread Jagan Teki
On Thu, Mar 14, 2019 at 4:07 PM Paul Kocialkowski wrote: > > Most H3/H5 boards we support have the DRAM ZQ value set to 3881979, > which is also consistent with the default set for the R40. > > Make this value the default on H3/H5 instead of 123. > > Signed-off-by: Paul Kocialkowski > --- Applie

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

2019-04-09 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] imx: Extend PCL063 support for phyCORE-i.MX6ULL SOM

2019-04-09 Thread Parthiban Nallathambi
Hello Martyn, On 4/9/19 10:49 AM, Martyn Welch wrote: On Mon, 2019-04-08 at 20:04 +0200, Parthiban wrote: Hello Martyn, On 4/8/19 7:45 PM, Martyn Welch wrote: On Sun, 2019-04-07 at 19:56 +0200, Parthiban Nallathambi wrote: diff --git a/board/phytec/pcl063/spl.c b/board/phytec/pcl063/spl.c in

Re: [U-Boot] [linux-sunxi] [PATCH] arm: sunxi: Add support for the RerVision H3-DVK board

2019-04-09 Thread Jagan Teki
On Thu, Mar 14, 2019 at 4:10 PM Paul Kocialkowski wrote: > > This is an H3-based board that sticks close to the reference design. > > Supported features: > * UART > * DRAM > * MMC > * eMMC > * Ethernet > * USB host > * USB peripheral > * HDMI Can you add commit details of dts file from Linux sync

Re: [U-Boot] [PATCH 2/2 v2] watchdog: cadence: Remove driver specific "timeout-sec" handling

2019-04-09 Thread Michal Simek
On 08. 04. 19 11:28, Stefan Roese wrote: > Now that we have a generic DT property "timeout-sec" handling, the > driver specific implementation can be dropped. > > This patch also changes the timeout restriction to the min and max > values (clipping). Before this patch, the value provided via > "ti

Re: [U-Boot] [PATCH 1/2 v2] watchdog: Implement generic watchdog_reset() version

2019-04-09 Thread Michal Simek
On 08. 04. 19 11:28, Stefan Roese wrote: > This patch tries to implement a generic watchdog_reset() function that > can be used by all boards that want to service the watchdog device in > U-Boot. This watchdog servicing is enabled via CONFIG_WATCHDOG. > > Without this approach, new boards or platf

Re: [U-Boot] [PATCH] imx: Extend PCL063 support for phyCORE-i.MX6ULL SOM

2019-04-09 Thread Martyn Welch
On Tue, 2019-04-09 at 11:30 +0200, Parthiban Nallathambi wrote: > Hello Martyn, > > On 4/9/19 10:49 AM, Martyn Welch wrote: > > On Mon, 2019-04-08 at 20:04 +0200, Parthiban wrote: > > > Hello Martyn, > > > > > > On 4/8/19 7:45 PM, Martyn Welch wrote: > > > > On Sun, 2019-04-07 at 19:56 +0200, Par

Re: [U-Boot] [PATCH 3/3] common: bouncebuf: handle address in sram for rockchip platform

2019-04-09 Thread Heiko Stübner
Hi Kever, Am Dienstag, 2. April 2019, 10:46:54 CEST schrieb Kever Yang: > Rockchip SOC's mmc controller does not support read data > from mmc to sram, we need a bounce buffer(in sdram), and then > copy to sram. > > Signed-off-by: Kever Yang > --- > > common/bouncebuf.c | 12 > 1 f

Re: [U-Boot] [PATCH] phy: ti: Init node before reading

2019-04-09 Thread Michal Simek
On 17. 03. 19 0:06, Hannes Schmelzer wrote: > "U-Boot" schrieb am 16.03.2019 12:43:17: > >> Von: Michal Simek >> An: u-boot@lists.denx.de >> Kopie: Janine Hagemann , Joe Hershberger >> , Hannes Schmelzer >> Datum: 16.03.2019 12:43 >> Betreff: [U-Boot] [PATCH] phy: ti: Init node before reading

Re: [U-Boot] [PATCH 3/3] common: bouncebuf: handle address in sram for rockchip platform

2019-04-09 Thread Simon Goldschmidt
On Tue, Apr 9, 2019 at 12:47 PM Heiko Stübner wrote: > > Hi Kever, > > Am Dienstag, 2. April 2019, 10:46:54 CEST schrieb Kever Yang: > > Rockchip SOC's mmc controller does not support read data > > from mmc to sram, we need a bounce buffer(in sdram), and then > > copy to sram. > > > > Signed-off-b

[U-Boot] content in a defconfig file versus in a header file -- clarification?

2019-04-09 Thread Robert P. J. Day
i'm rewriting a bunch of u-boot tutorial pages (publicly available if anyone wants to read them), and i want to clarify the proper location to put configuration content -- a defconfig file versus a header file -- knowing that the trend lately has been to move content into defconfig files where a

Re: [U-Boot] [PATCH v2 1/2] image: android: allow booting lz4-compressed kernels

2019-04-09 Thread Marek Vasut
On 4/8/19 5:35 PM, Eugeniu Rosca wrote: > According to Android image format [1], kernel image resides at 1 page > offset from the boot image address. Grab the magic number from there > and allow U-Boot to handle LZ4-compressed KNL binaries instead of > hardcoding compression type to IH_COMP_NONE. O

[U-Boot] "best practice" for including common header file content?

2019-04-09 Thread Robert P. J. Day
more excruciatingly pedantic queries ... what is the best practice for header files under include/configs including common header files also in that same directory. i give you: $ git grep zynq-common.h bitmain_antminer_s9.h:#include syzygy_hub.h: * See zynq-common.h for Zynq common configs syz

Re: [U-Boot] [ANN] U-Boot v2019.04-rc4 released

2019-04-09 Thread Tom Rini
On Mon, Apr 08, 2019 at 09:09:59AM -0400, Tom Rini wrote: > On Mon, Apr 08, 2019 at 03:07:36PM +0200, Stefan Roese wrote: > > Hi Tom, > > > > On 19.03.19 02:15, Tom Rini wrote: > > >Hey all, > > > > > >So it's release day and I've put up v2019.04-rc4, I've updated git and > > >the tarballs are als

Re: [U-Boot] [PATCH] test: dm: regmap: Fix the long test delay

2019-04-09 Thread Faiz Abbas
Hi Simon, On 10/12/18 5:41 AM, Simon Glass wrote: > At present one of the regmap tests takes 5 seconds to run since it waits > for a timeout. This should be handled using sandbox_timer_add_offset() > which advances time for test purposes. > > This requires a little change to make the regmap_read_

Re: [U-Boot] [ANN] U-Boot v2019.04-rc4 released

2019-04-09 Thread Stefan Roese
On 09.04.19 13:58, Tom Rini wrote: On Mon, Apr 08, 2019 at 09:09:59AM -0400, Tom Rini wrote: On Mon, Apr 08, 2019 at 03:07:36PM +0200, Stefan Roese wrote: Hi Tom, On 19.03.19 02:15, Tom Rini wrote: Hey all, So it's release day and I've put up v2019.04-rc4, I've updated git and the tarballs a

[U-Boot] [PULL] u-boot-atmel-2019.07-a

2019-04-09 Thread Eugen.Hristev
Hello Tom, Please pull tag u-boot-atmel-2019.07-a , the first set of new features and fixes for u-boot-atmel for 2019.07 release. The features include the pincontrol drive strength/slew rate for Microchip at91 9x60 SoC, new Gardena board, pm9g45 migration to DM, SPL and watchdog fixes for at91

Re: [U-Boot] [PATCH v2 1/2] image: android: allow booting lz4-compressed kernels

2019-04-09 Thread Eugeniu Rosca
On Tue, Apr 09, 2019 at 01:06:31PM +0200, Marek Vasut wrote: > On 4/8/19 5:35 PM, Eugeniu Rosca wrote: > > According to Android image format [1], kernel image resides at 1 page > > offset from the boot image address. Grab the magic number from there > > and allow U-Boot to handle LZ4-compressed KNL

[U-Boot] [PATCH 0/2] riscv: set preboot and increase kernel size

2019-04-09 Thread David Abdurachmanov
The following two changes are used by Fedora/RISCV with 5.1-rc3+ kernel using OpenSBI -> U-Boot (S-mode) [extlinux] -> Kernel setup. Signed-off-by: David Abdurachmanov Cc: r...@andestech.com Cc: atish.pa...@wdc.com Cc: anup.pa...@wdc.com Cc: lukas.a...@aisec.fraunhofer.de David Abdurachmanov (2

[U-Boot] [PATCH 2/2] riscv: qemu-riscv.h: define CONFIG_PREBOOT (enables extlinux)

2019-04-09 Thread David Abdurachmanov
- Set fdt_addr variable, which is needed for extlinux to find FDT. Otherwise booting kernel using extlinux results in missing FDT. - Also run fdt addr with FDT address so that fdt commands would work out of the box in U-Boot prompt. This is successfully used by Fedora/RISCV with 5.1-rc3+ kern

[U-Boot] [PATCH 1/2] riscv: set CONFIG_SYS_BOOTM_LEN to SZ_64M

2019-04-09 Thread David Abdurachmanov
After updating Fedora/RISCV kernel to 5.1-rc3+ the size increased above the current threshold. Looking into HiKey, Dragonboards, etc. seems that SZ_64M is a popular option. This sucessfully boots Fedora/RISCV with 5.1-rc3+ kernel on QEMU 4.0 (master) with OpenSBI -> U-Boot (S-mode) [extlinux] -> K

Re: [U-Boot] [PATCH] imx8qxp: mek: enable dm-spl for pm

2019-04-09 Thread Peng Fan
Ping.. Thanks, Peng > Hi Stefano, > > Are you fine with this patch? > > Thanks, > Peng. > > > -Original Message- > > From: Peng Fan > > Sent: 2019年3月7日 20:44 > > To: sba...@denx.de; feste...@gmail.com > > Cc: dl-uboot-imx ; u-boot@lists.denx.de; Peng Fan > > > > Subject: [PATCH] imx8q

Re: [U-Boot] [PATCH RESEND 10/10] imx: support i.MX8QM MEK board

2019-04-09 Thread Peng Fan
Hi Stefano, Fabio Any comments on this patchset? Thanks, Peng. > -Original Message- > From: Peng Fan [mailto:peng@nxp.com] > Sent: 2019年3月5日 10:33 > To: sba...@denx.de; Fabio Estevam > Cc: u-boot@lists.denx.de; van.free...@gmail.com; dl-uboot-imx > ; Peng Fan > Subject: [PATCH RESE

Re: [U-Boot] [linux-sunxi] [PATCH] arm: sunxi: Add support for the RerVision H3-DVK board

2019-04-09 Thread Paul Kocialkowski
Hi, Le mardi 09 avril 2019 à 15:56 +0530, Jagan Teki a écrit : > On Thu, Mar 14, 2019 at 4:10 PM Paul Kocialkowski > wrote: > > This is an H3-based board that sticks close to the reference design. > > > > Supported features: > > * UART > > * DRAM > > * MMC > > * eMMC > > * Ethernet > > * USB hos

[U-Boot] [RFC 1/1] cmd: fs: fix data abort in load cmd

2019-04-09 Thread Igor Opaniuk
With CONFIG_CMD_BOOTEFI=y, load command causes data abort when path_to_uefi(fp->str, path) tries to write uefi path out of bounds of u16 str[] array (check efi_device_path_file_path struct for details). This is caused by unproper handling of void *buf pointer in efi_dp_from_file(), particularly whe

Re: [U-Boot] [PATCH 1/2] riscv: set CONFIG_SYS_BOOTM_LEN to SZ_64M

2019-04-09 Thread Tom Rini
On Tue, Apr 09, 2019 at 12:42:46PM +0200, David Abdurachmanov wrote: > After updating Fedora/RISCV kernel to 5.1-rc3+ the size increased above > the current threshold. Looking into HiKey, Dragonboards, etc. seems that > SZ_64M is a popular option. > > This sucessfully boots Fedora/RISCV with 5.1-r

Re: [U-Boot] [PATCH v2 1/3] i2c: muxes: pca954x: update list of supported devices

2019-04-09 Thread Heiko Schocher
Hello Luca, Am 09.04.2019 um 08:57 schrieb Luca Ceresoli: The Kconfig help has not been updated while adding PCA9547 and PCA9646. Signed-off-by: Luca Ceresoli --- Changes v1 -> v2: - add missing comma (Michal) - reword and rewrap the sentence --- drivers/i2c/muxes/Kconfig | 10 +---

Re: [U-Boot] [PATCH v2 2/3] i2c: muxes: pca954x: clarify enable field

2019-04-09 Thread Heiko Schocher
Hello Luca, Am 09.04.2019 um 08:57 schrieb Luca Ceresoli: The chip_desc.enable field is used only for muxes, not for switches. Document it and remove the unused values. Signed-off-by: Luca Ceresoli Reviewed-by: Heiko Schocher --- Changes v1 -> v2: - fix typo in commit message (Michal) ---

Re: [U-Boot] [PATCH v2 3/3] i2c: muxes: pca954x: support PCA9543 I2C switch

2019-04-09 Thread Heiko Schocher
Hello Luca, Am 09.04.2019 um 08:57 schrieb Luca Ceresoli: The PCA9543 is a 2-channel I2C switch. Signed-off-by: Luca Ceresoli Reviewed-by: Heiko Schocher --- Changes v1 -> v2: - rebase on current tree --- drivers/i2c/muxes/Kconfig | 3 ++- drivers/i2c/muxes/pca954x.c | 6 ++ 2 f

Re: [U-Boot] [PATCH v1 5/5] board: toradex: add colibri imx8qxp 2gb wb it v1.0b module support

2019-04-09 Thread Marcel Ziswiler
Hi Igor On Tue, 2019-04-09 at 08:06 +, Igor Opaniuk wrote: > Hi Marcel, > > Just a couple of comments below after a brief look: > > On Sat, Apr 6, 2019 at 2:49 PM Marcel Ziswiler > wrote: > > From: Marcel Ziswiler > > > > This commit adds initial support for the Toradex Colibri iMX8QXP >

Re: [U-Boot] [PATCH v5] arm: dts: Stratix10: Add QSPI node

2019-04-09 Thread Marek Vasut
On 4/3/19 7:45 AM, Ley Foon Tan wrote: > Merge qspi dts node from Linux. > Commit 0cb140d07fc75fb (arm64: dts: stratix10: Add QSPI support for Stratix10) > > Add -u-boot.dtsi files for non Linux dts properties and > update properties for Uboot. > - add u-boot,dm-pre-reloc > - add alias for spi0 >

Re: [U-Boot] [PATCH v2 1/2] image: android: allow booting lz4-compressed kernels

2019-04-09 Thread Marek Vasut
On 4/9/19 2:29 PM, Eugeniu Rosca wrote: > On Tue, Apr 09, 2019 at 01:06:31PM +0200, Marek Vasut wrote: >> On 4/8/19 5:35 PM, Eugeniu Rosca wrote: >>> According to Android image format [1], kernel image resides at 1 page >>> offset from the boot image address. Grab the magic number from there >>> an

Re: [U-Boot] [PATCH 1/2] mtd: ubi debug: Remove the pid print from ubi_assert

2019-04-09 Thread Heiko Schocher
Hello Eran, Am 13.02.2019 um 19:55 schrieb Eran Matityahu: Add a new definition for ubi_assert and keep the original one in an ifndef __UBOOT__. Signed-off-by: Eran Matityahu --- drivers/mtd/ubi/debug.h | 10 ++ 1 file changed, 10 insertions(+) Applied to uboot-ubi.git master bye

Re: [U-Boot] [PATCH 2/2] mtd: ubi, ubifs debug: Use pr_debug instead of pr_crit

2019-04-09 Thread Heiko Schocher
Hello Eran, Am 13.02.2019 um 19:56 schrieb Eran Matityahu: Before printk.h was introduced and MTDDEBUG was removed, pr_crit() was calling MTDDEBUG(), which was since then replaced by the current pr_debug(). pr_debug is more appropriate here. Signed-off-by: Eran Matityahu --- drivers/mtd/ubi

[U-Boot] Pull request: u-boot-ubi/master

2019-04-09 Thread Heiko Schocher
Hello Tom, please pull from u-boot-ubi-git master The following changes since commit 3c99166441bf3ea325af2da83cfe65430b49c066: Prepare v2019.04 (2019-04-08 21:40:40 -0400) are available in the Git repository at: git://git.denx.de/u-boot-ubi.git master for you to fetch changes up to 734b0

[U-Boot] [PATCH v6 1/1] avb: add support for named persistent values

2019-04-09 Thread Igor Opaniuk
AVB 2.0 spec. revision 1.1 introduces support for named persistent values that must be tamper evident and allows AVB to store arbitrary key-value pairs [1]. Introduce implementation of two additional AVB operations read_persistent_value()/write_persistent_value() for retrieving/storing named persi

Re: [U-Boot] [PATCH 2/2 v2] watchdog: cadence: Remove driver specific "timeout-sec" handling

2019-04-09 Thread Stefan Roese
On 09.04.19 12:44, Michal Simek wrote: On 08. 04. 19 11:28, Stefan Roese wrote: Now that we have a generic DT property "timeout-sec" handling, the driver specific implementation can be dropped. This patch also changes the timeout restriction to the min and max values (clipping). Before this pat

[U-Boot] [PATCH v2] board: atmel: add SAMA5D2 ICP board

2019-04-09 Thread Eugen.Hristev
From: Eugen Hristev The SAMA5D2 ICP Board features the SAMA5D27 SoC, together with QSPI Flash, Wilc3000 wireless device and EtherCat support. Signed-off-by: Eugen Hristev --- Changes in v2: - created at91-sama5d2_icp-u-boot.dtsi with the pre-reloc properties - removed some #ifdef as suggeste

Re: [U-Boot] [RESEND RFC PATCH v1] MLK-12883 usb: limit USB_MAX_XFER_BLK to 256

2019-04-09 Thread Marcel Ziswiler
On Thu, 2019-03-28 at 14:38 +, Igor Opaniuk wrote: > There is a typo in the comment: USB Massstorage I believe it is just everywhere called USB mass storage really. > Also regarding refering to a specific commit ("(cherry picked from > commit df0052575b2bc9d66ae73584768e1a457ed5d914)" line):

Re: [U-Boot] [PATCH v1] ARM: dts: i.MX6Q: fix avoid_unnecessary_addr_size warnings

2019-04-09 Thread Marcel Ziswiler
On Mon, 2019-03-25 at 13:40 -0300, Fabio Estevam wrote: > Hi Marcel, > > On Mon, Mar 25, 2019 at 1:36 PM Marcel Ziswiler > wrote: > > > diff --git a/arch/arm/dts/imx6q.dtsi b/arch/arm/dts/imx6q.dtsi > > index ab1716b6b0..8381d24eff 100644 > > --- a/arch/arm/dts/imx6q.dtsi > > +++ b/arch/arm/dts/

Re: [U-Boot] [PATCH v2 1/2] image: android: allow booting lz4-compressed kernels

2019-04-09 Thread Eugeniu Rosca
On Tue, Apr 09, 2019 at 02:38:08PM +0200, Marek Vasut wrote: > On 4/9/19 2:29 PM, Eugeniu Rosca wrote: > > On Tue, Apr 09, 2019 at 01:06:31PM +0200, Marek Vasut wrote: > >> On 4/8/19 5:35 PM, Eugeniu Rosca wrote: > >>> According to Android image format [1], kernel image resides at 1 page > >>> offs

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

2019-04-09 Thread Marcel Ziswiler
On Wed, 2019-04-03 at 10:12 +0200, Igor Opaniuk wrote: > 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:

Re: [U-Boot] [PATCH 1/2 v2] watchdog: Implement generic watchdog_reset() version

2019-04-09 Thread Stefan Roese
On 09.04.19 12:45, Michal Simek wrote: On 08. 04. 19 11:28, Stefan Roese wrote: This patch tries to implement a generic watchdog_reset() function that can be used by all boards that want to service the watchdog device in U-Boot. This watchdog servicing is enabled via CONFIG_WATCHDOG. Without th

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

2019-04-09 Thread Marcel Ziswiler
On Wed, 2019-04-03 at 08:24 +, Igor Opaniuk wrote: > 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 notatio

Re: [U-Boot] [PATCH 1/2 v2] watchdog: Implement generic watchdog_reset() version

2019-04-09 Thread Michal Simek
On 09. 04. 19 16:22, Stefan Roese wrote: > On 09.04.19 12:45, Michal Simek wrote: >> On 08. 04. 19 11:28, Stefan Roese wrote: >>> This patch tries to implement a generic watchdog_reset() function that >>> can be used by all boards that want to service the watchdog device in >>> U-Boot. This watchdo

Re: [U-Boot] [PATCH v2 1/2] image: android: allow booting lz4-compressed kernels

2019-04-09 Thread Marek Vasut
On 4/9/19 4:08 PM, Eugeniu Rosca wrote: > On Tue, Apr 09, 2019 at 02:38:08PM +0200, Marek Vasut wrote: >> On 4/9/19 2:29 PM, Eugeniu Rosca wrote: >>> On Tue, Apr 09, 2019 at 01:06:31PM +0200, Marek Vasut wrote: On 4/8/19 5:35 PM, Eugeniu Rosca wrote: > According to Android image format [1]

Re: [U-Boot] [PATCH 1/2 v2] watchdog: Implement generic watchdog_reset() version

2019-04-09 Thread Stefan Roese
On 09.04.19 16:27, Michal Simek wrote: On 09. 04. 19 16:22, Stefan Roese wrote: On 09.04.19 12:45, Michal Simek wrote: On 08. 04. 19 11:28, Stefan Roese wrote: This patch tries to implement a generic watchdog_reset() function that can be used by all boards that want to service the watchdog dev

[U-Boot] [PATCH] ARM: rmobile: ulcb/salvator-x: re-enable rcar-common/common.c

2019-04-09 Thread Eugeniu Rosca
v2018.01 commit e23eb942ad103f ("ARM: rmobile: Stop using rcar-common/common.c on Gen3") removed board/renesas/rcar-common/common.c from the build chain. The reasoning is that calling arch_preboot_os() is no more needed. However, we use this file as a place for R-Car common features / functionalit

Re: [U-Boot] [PATCH] i2c: mvtwsi: fix hang on SPL bind

2019-04-09 Thread Stefan Roese
Hi Baruch, On 07.04.19 11:30, Baruch Siach wrote: The mvebu specific debug register is not accessible when the bind code runs in SPL. Skip it. The other I2C registers can be accessed but only the debug register not? Do you know, why this is the case? Thanks, Stefan Signed-off-by: Baruch S

[U-Boot] [RFC PATCH v2] MLK-12883 usb: limit USB_MAX_XFER_BLK to 256

2019-04-09 Thread Marcel Ziswiler
From: Peng Fan For Some USB mass storage devices, such as: " - Kingston DataTraveler 2.0 001D7D06CF09B04199C7B3EA - Class: (from Interface) Mass Storage - PacketSize: 64 Configurations: 1 - Vendor: 0x0930 Product 0x6545 Version 1.16 " When `usb read 0x8000 0 0x2000`, we met "EHCI timed

[U-Boot] [PATCH v2] ARM: dts: i.MX6Q: fix avoid_unnecessary_addr_size warnings

2019-04-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Re-synced the device tree with Linux 5.0. This fixes the following warnings: w+arch/arm/dts/imx6-apalis.dtb: Warning (reg_format): /soc/ipu@280/ port@2/endpoint@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) w+arch/arm/dts/imx6-a

[U-Boot] [PATCH v2] apalis_imx6: add device tree to makefile

2019-04-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Add device tree to Makefile to avoid newly introduced error: Device Tree Source is not correctly specified. Please define 'CONFIG_DEFAULT_DEVICE_TREE' or build with 'DEVICE_TREE=' argument make[1]: *** [dts/Makefile:28: arch/arm/dts/imx6-apalis.dtb] Error 1 make: *** [Make

[U-Boot] [PATCH v2] colibri_vf: fix ethernet by adding explicit phy node

2019-04-09 Thread Marcel Ziswiler
From: Marcel Ziswiler The implicit fallback mechanism for searching the whole MDIO bus for at least one PHY has been gone with the following commit b882005a18de ("drivers/net/fec: phy_init: remove redundant logic"). This lead to the Ethernet driver erroring out as follows: Net: Could not get P

[U-Boot] [PATCH v2] colibri_vf: fix tab vs. spaces

2019-04-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix indentation using tab vs. spaces. Signed-off-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v2: - Added Igor's reviewed-by. board/toradex/colibri_vf/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/toradex/colibri

Re: [U-Boot] [PATCH] ARM: rmobile: ulcb/salvator-x: re-enable rcar-common/common.c

2019-04-09 Thread Marek Vasut
On 4/9/19 5:08 PM, Eugeniu Rosca wrote: > v2018.01 commit e23eb942ad103f ("ARM: rmobile: Stop using > rcar-common/common.c on Gen3") removed > board/renesas/rcar-common/common.c from the build chain. > The reasoning is that calling arch_preboot_os() is no more needed. > > However, we use this file

Re: [U-Boot] [PATCH v2] ARM: dts: i.MX6Q: fix avoid_unnecessary_addr_size warnings

2019-04-09 Thread Fabio Estevam
On Tue, Apr 9, 2019 at 12:21 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Re-synced the device tree with Linux 5.0. > > This fixes the following warnings: > > w+arch/arm/dts/imx6-apalis.dtb: Warning (reg_format): /soc/ipu@280/ > port@2/endpoint@0:reg: property has invalid length (

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

2019-04-09 Thread Marcel Ziswiler
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 Reviewed-by: Igor Opaniuk --- Changes in v2: - Added Igor's reviewed-by. board/toradex/common/tdx-cfg-block.c | 62

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

2019-04-09 Thread Marcel Ziswiler
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 block is present and the product id mentions a SKU with Wi-Fi / Bluetooth. Signed-off-by: Stefan

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

2019-04-09 Thread Marcel Ziswiler
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 IT/non-IT decision. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler Reviewed-by: Igor

[U-Boot] [PATCH v2 04/14] apalis/colibri_imx6/imx6ull: make sure loadaddr does not collide

2019-04-09 Thread Marcel Ziswiler
From: Stefan Agner Currently $loadaddr and $fdt_addr_r point to the same address. This might be not ideal for some distro boot scripts which make use of $loadaddr after loading the device tree. Make sure the two variables point to two different addresses. Moving $loadaddr is not entirly trivial

[U-Boot] [PATCH v2 10/14] colibri-imx6ull: migrate usb to using driver model

2019-04-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate USB to using driver model. Add USBH_PEN GPIO regulator. While at it also add alias e.g. as required for UMS. Signed-off-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v2: - Added Igor's reviewed-by. arch/arm/dts/imx6ull-colibri.dts |

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

2019-04-09 Thread Marcel Ziswiler
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 which drops USB_FUNCTION_SDP. Signed-off-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Chang

[U-Boot] [PATCH v2 4/5] board: toradex: tdx-cfg-block: add new skus

2019-04-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Add all the latest new SKUs: - Apalis iMX8 QuadXPlus 2GB Wi-Fi / BT IT - Apalis iMX8 QuadMax 4GB IT - Apalis iMX8 QuadPlus 2GB Wi-Fi / BT - Apalis iMX8 QuadPlus 2GB", - Colibri iMX8 QuadXPlus 2GB IT - Colibri iMX8 DualX 1GB Wi-Fi / Bluetooth - Colibri iMX8 DualX 1GB Signed-

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

2019-04-09 Thread Marcel Ziswiler
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_REGULATOR and DM_REGULATOR_FIXED. While at it also update copyright period. Signed-off-by: Marcel Z

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

2019-04-09 Thread Marcel Ziswiler
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 the SOC to wake up properly. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Revi

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

2019-04-09 Thread Marcel Ziswiler
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 --- Changes in v2: None board/toradex/colibri-imx6ull/colibri-imx6ull.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/tora

[U-Boot] [PATCH v2 00/14] colibri-imx6ull device tree enablement and driver model conversion

2019-04-09 Thread Marcel Ziswiler
This series addresses some shortcomings, enables/introduces device tree support and converts all except video to using the driver model. This is fully tested both running our latest downstream BSP as well as the mainline Linux kernel. This series is available together with my previous series addr

[U-Boot] [PATCH v2 3/5] board: toradex: tdx-cfg-block: clean-up sku handling

2019-04-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Clean-up handling of several SKUs. Signed-off-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v2: - Added Igor's reviewed-by. board/toradex/common/tdx-cfg-block.c | 12 board/toradex/common/tdx-cfg-block.h | 22 -- 2 files

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

2019-04-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove vendor pre-fix fsl, from uart-has-rtscts property. Signed-off-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v2: - Added Igor's reviewed-by. arch/arm/dts/imx6ull-colibri.dts | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH v2 5/5] board: toradex: add colibri imx8qxp 2gb wb it v1.0b module support

2019-04-09 Thread Marcel Ziswiler
From: Marcel Ziswiler This commit adds initial support for the Toradex Colibri iMX8QXP 2GB WB IT V1.0B module. Unlike the V1.0A early access samples exclusively booting from SD card, they are now strapped to boot from eFuses which are factory fused to properly boot from their on-module eMMC. U-Bo

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

2019-04-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix compatible node to use regular Toradex notation. Annotate device tree with standard Colibri pin muxing comments. Use open-drain I2C pin muxings. Alphabetically re-order iomuxc nodes. Rename snvs-ad7879-int-grp touch interrupt node as per Linux device tree. Signed-off-b

[U-Boot] [PATCH v2 1/5] misc: imx8: remove duplicates from scfw api

2019-04-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove duplicate function declarations from the SCFW API header file. Signed-off-by: Marcel Ziswiler Reviewed-by: Peng Fan Reviewed-by: Igor Opaniuk --- Changes in v2: - Added Peng and Igor's reviewed-by. arch/arm/include/asm/arch-imx8/sci/sci.h | 4 1 file chan

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

2019-04-09 Thread Marcel Ziswiler
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. Signed-off-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v2: - Added Igor's reviewed-b

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

2019-04-09 Thread Marcel Ziswiler
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 Reviewed-by: Igor Opaniuk --- Changes in v2: - Added Igor's reviewed-by. arch/arm/dts/imx6ull-colibri.dts | 31 --

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

2019-04-09 Thread Marcel Ziswiler
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 Reviewed-by: Igor Opaniuk --- Changes in v2: - Added Igor's reviewed-by. arch/arm/dts/imx6ull-colibri.dts | 2 ++ arch/arm/dts/imx6ull-p

[U-Boot] [PATCH v2 2/5] arm: dts: imx8dx: add lpuart1, lpuart2, lpuart3

2019-04-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Add support for lpuart1, lpuart2 and lpuart3. Signed-off-by: Marcel Ziswiler Reviewed-by: Peng Fan Reviewed-by: Igor Opaniuk --- Changes in v2: - Added Peng and Igor's reviewed-by. arch/arm/dts/fsl-imx8dx.dtsi | 54 1 file changed

Re: [U-Boot] [PATCH] ARM: rmobile: ulcb/salvator-x: re-enable rcar-common/common.c

2019-04-09 Thread Eugeniu Rosca
On Tue, Apr 09, 2019 at 05:23:17PM +0200, Marek Vasut wrote: > On 4/9/19 5:08 PM, Eugeniu Rosca wrote: [..] > > diff --git a/board/renesas/rcar-common/common.c > > b/board/renesas/rcar-common/common.c [..] > This should be a separate patch, one which only removes this code which > is unused. Pre

[U-Boot] [PATCH v2 0/5] colibri imx8qxp 2gb wb it v1.0b module support

2019-04-09 Thread Marcel Ziswiler
This series fixes the i.MX 8QXP SCFW API header file, adds support for more lpuart instances, cleans-up and extends the Toradex SKU handling and last but not least introduces support for the Toradex Colibri iMX8QXP 2GB WB IT V1.0B module. This series is available together with my previous series

Re: [U-Boot] [PATCH v2] apalis_imx6: add device tree to makefile

2019-04-09 Thread Igor Opaniuk
Reviewed-by: Igor Opaniuk On Tue, Apr 9, 2019 at 5:22 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Add device tree to Makefile to avoid newly introduced error: > > Device Tree Source is not correctly specified. > Please define 'CONFIG_DEFAULT_DEVICE_TREE' > or build with 'DEVICE_TREE

[U-Boot] [PATCH V2 1/2] lib: fdt: Allow enabling both LZO and GZIP DT compression

2019-04-09 Thread Marek Vasut
Allow enabling both LZO and GZIP DT compression in SPL and fix a bug where if the GZIP decompression failed, the LZO decompression would not even be attempted. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Simon Glass Cc: Tom Rini --- V2: Rebase on u-boot/master --- lib/fdtdec.c | 19 +

[U-Boot] [PATCH V2 2/2] lib: fdt: Allow LZO and GZIP DT compression in U-Boot

2019-04-09 Thread Marek Vasut
Add required Kconfig symbols, Makefile bits and macro fixes in a few places to support LZO and DT compression in U-Boot. This can save a lot of space with multi-DTB fitImages. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Simon Glass Cc: Tom Rini --- V2: - Rebase on u-boot/master -

Re: [U-Boot] Pull request for UEFI sub-system for v2019.07-rc1

2019-04-09 Thread Tom Rini
On Mon, Apr 08, 2019 at 07:57:34PM +0200, Heinrich Schuchardt wrote: > The following changes since commit 0e62d5b2abb69ddc9e58215e2d8dfa5d33996b8a: > > Merge tag 'u-boot-imx-20190405' of git://git.denx.de/u-boot-imx > (2019-04-05 09:09:56 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] Pull request: u-boot-riscv/master

2019-04-09 Thread Tom Rini
On Mon, Apr 08, 2019 at 02:46:54PM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull some riscv updates: > > 1. RISC-V arch support SMP. > 2. Support Andestech's PLIC and PLMT. > 2. qemu, fu54e, ae350 boards enable SMP by default. > 3. Fix CONFIG_DEFAULT_DEVICE_TREE failure. > > https

[U-Boot] [PATCH] ARM: rmobile: Enable multi-DTB fit LZO compression

2019-04-09 Thread Marek Vasut
Enable LZO compression of the multi-DTB fitImages, since the U-Boot with multiple DTs enabled is becoming quite large and the DTs can be well compressed. The LZO compression saves almost 200 kiB on the Salvator-X(S) and ULCB targets. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm

Re: [U-Boot] [PATCH] ARM: rmobile: ulcb/salvator-x: re-enable rcar-common/common.c

2019-04-09 Thread Marek Vasut
On 4/9/19 5:34 PM, Eugeniu Rosca wrote: > On Tue, Apr 09, 2019 at 05:23:17PM +0200, Marek Vasut wrote: >> On 4/9/19 5:08 PM, Eugeniu Rosca wrote: > [..] >>> diff --git a/board/renesas/rcar-common/common.c >>> b/board/renesas/rcar-common/common.c > > [..] > >> This should be a separate patch, one

[U-Boot] [PATCH 1/7] clk: renesas: Synchronize Gen2 tables with Linux 5.0

2019-04-09 Thread Marek Vasut
Synchronize R-Car Gen2 clock tables with Linux 5.0, commit 1c163f4c7b3f621efff9b28a47abb36f7378d783 . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/r8a7790-cpg-mssr.c | 6 ++ drivers/clk/renesas/r8a7791-cpg-mssr.c | 8 ++-- drivers/clk/renesas/r8

[U-Boot] [PATCH 2/7] clk: renesas: Synchronize Gen3 tables with Linux 5.0

2019-04-09 Thread Marek Vasut
Synchronize R-Car Gen3 clock tables with Linux 5.0, commit 1c163f4c7b3f621efff9b28a47abb36f7378d783 . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/clk-rcar-gen3.c | 4 +- drivers/clk/renesas/r8a7795-cpg-mssr.c| 89 +++ drivers/clk/r

[U-Boot] [PATCH 3/7] pinctrl: renesas: Add TDSEL fixup for H2/E2 ES1.0 SoCs

2019-04-09 Thread Marek Vasut
Linux 5.0, commit 1c163f4c7b3f621efff9b28a47abb36f7378d783, has a TDSEL fix for R8A7790 H2 and R8A7794 E2 SoCs, implement similar fix for U-Boot. The difference here is that the SoC ES matching has to be implemented manually. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/pinctrl/

[U-Boot] [PATCH 4/7] pinctrl: renesas: Synchronize Gen2 tables with Linux 5.0

2019-04-09 Thread Marek Vasut
Synchronize R-Car Gen2 pin control tables with Linux 5.0, commit 1c163f4c7b3f621efff9b28a47abb36f7378d783 . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/pinctrl/renesas/pfc-r8a7791.c | 114 +++--- drivers/pinctrl/renesas/pfc-r8a7792.c | 23 +++--- drivers/pi

[U-Boot] [PATCH 6/7] ARM: dts: rmobile: Synchronize Gen2 DTs with Linux 5.0

2019-04-09 Thread Marek Vasut
Synchronize R-Car Gen2 device trees with Linux 5.0, commit 1c163f4c7b3f621efff9b28a47abb36f7378d783 . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7790-lager.dts | 2 -- arch/arm/dts/r8a7790-stout.dts | 19 --- arch/arm/dts/r8a7790.dtsi| 6 +

  1   2   3   >