[U-Boot] [PATCH] colibri-imx6ull: fix usb host mode

2019-04-26 Thread Marcel Ziswiler
From: Marcel Ziswiler This fixes an issue with USB host mode. Signed-off-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- I believe this is the one and only v3 change we missed as Stefano pulled v2 instead. arch/arm/dts/imx6ull-colibri.dts | 2 +- 1 file changed, 1 insertion(+), 1

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

2019-04-26 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

[U-Boot] [REGRESSION] [PATCH] imx: 8qxp_mek: fix fdt_file and console

2019-04-26 Thread Marcel Ziswiler
"initrd_high=0x\0" \ > "mmcdev="__stringify(CONFIG_SYS_MMC_ENV_DEV)"\0" \ > -- > 2.16.4 > > ___ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot Cheers Marcel ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [REGRESSION] [PATCH] imx: add lowlevel init for ARM64

2019-04-26 Thread Marcel Ziswiler
Resetting CPU ... resetting ... Reverting commit 5955c6eeb453 ("imx: add lowlevel init for ARM64") makes it work again. Unfortunately, I don't have a MEK in my home office but will check Ethernet operation there on Monday as well. Anyway, does anybody know what exactly is going on? Cheer

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

2019-04-26 Thread Marcel Ziswiler
u-boot-imx.git;a=commitdiff;h=0d331c035a091c1c1af4180b40bd234e3b87e80a#patch1 I will fix this and also make sure stuff is alphabetically sorted again in my updated Colibri iMX8X introduction patch. OK? > Best regards, > Stefano Babic Cheers Marcel ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

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

2019-04-26 Thread Marcel Ziswiler
Hi Stefano On Fri, 2019-04-26 at 11:46 +0200, Stefano Babic wrote: > On 26/04/19 11:20, Marcel Ziswiler wrote: > > Hi Igor > > > > Sorry, somehow I missed your comments below (;-p). > > > > I will send out a v4 (yes there already was a v3 BTW) shortly > >

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

2019-04-26 Thread Marcel Ziswiler
; > > Hi Peng, > > > > > > On 26/04/19 04:10, Peng Fan wrote: > > > > Hi Stefano, > > > > > > > > > Subject: Re: [PATCH v2 5/5] board: toradex: add colibri > > > > > imx8qxp > > > > > 2gb wb it

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

2019-04-26 Thread Marcel Ziswiler
Hi Igor Sorry, somehow I missed your comments below (;-p). I will send out a v4 (yes there already was a v3 BTW) shortly including the SPL resp. without SPL build fix. On Thu, 2019-04-11 at 12:47 +0200, Igor Opaniuk wrote: > Hi Marcel, > > Reviewed-by: Igor Opaniuk > > Some

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

2019-04-26 Thread Marcel Ziswiler
Hi Peng and Stefano On Fri, 2019-04-26 at 10:38 +0200, Stefano Babic wrote: > Hi Peng, > > On 26/04/19 04:10, Peng Fan wrote: > > Hi Stefano, > > > > > Subject: Re: [PATCH v2 5/5] board: toradex: add colibri imx8qxp > > > 2gb wb it > >

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

2019-04-25 Thread Marcel Ziswiler
Hi Stefano On Thu, 2019-04-25 at 12:48 +0200, Stefano Babic wrote: > Hi Marcel, > > On 09/04/19 17:25, Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > > > This commit adds initial support for the Toradex Colibri iMX8QXP > > 2GB WB > > IT V1.0B module

[U-Boot] [PATCH] board: toradex: drop support.arm maintainer email

2019-04-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Drop Toradex ARM Support from maintainer email list as this just clogs our support ticketing system. Signed-off-by: Marcel Ziswiler --- board/toradex/colibri-imx6ull/MAINTAINERS | 1 - board/toradex/colibri_imx7/MAINTAINERS| 1 - 2 files changed, 2 deletions

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

2019-04-17 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

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

2019-04-17 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 v3: None Changes in v2: - Added Igor's reviewed-by. arch/arm/dts/imx6ull-colibri.dts | 7 +-- 1 file changed, 5 insertions(+), 2

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

2019-04-17 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 Reviewed-by: Igor Opaniuk --- Changes in v3: None Changes in v2: - Added Igor's reviewed-by tag. board/toradex/colibri-imx6ull/colibri

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

2019-04-17 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 v3: None Changes in v2: - Added Igor's reviewed-by. arch/arm/dts/imx6ull-colibri.dts | 31

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

2019-04-17 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 v3: - Fixed issue with host mode as pointed out by Igor. Changes in v2: - Added

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

2019-04-17 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 v3: None Changes in v2

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

2019-04-17 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

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

2019-04-17 Thread Marcel Ziswiler
(1): tdx-cfg-block: add support for new colibri iMX6ull skus Marcel Ziswiler (9): colibri-imx6ull: fix ethernet phy power on colibri-imx6ull: configuration clean-up colibri-imx6ull: migrate pinctrl and regulators to dtb/dm colibri-imx6ull: migrate mmc to using driver model colibri

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

2019-04-17 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

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

2019-04-17 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 v3: None Changes in v2: - Added Igor's reviewed-by. arch/arm/dts/imx6ull-colibri.dts | 2

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

2019-04-17 Thread Marcel Ziswiler
since it is defined in mx6_common.h. Move $fdt_addr_r and $ramdisk_addr_r by 1MiB, which should be enough for scripts. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v3: None Changes in v2: - Added Igor's reviewed-by. include/configs

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

2019-04-17 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 v3 06/14] board: imx6ull: Add disable PMIC_STBY_REQ

2019-04-17 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

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

2019-04-17 Thread Marcel Ziswiler
Agner Acked-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v3: None Changes in v2: - Added Igor's reviewed-by. board/toradex/colibri-imx6ull/colibri-imx6ull.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/board/toradex/colibri-imx6ull/colibri

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

2019-04-17 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 v3: None Changes in v2: - Added Igor's reviewed-by. board/toradex/common

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

2019-04-17 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

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

2019-04-17 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

[U-Boot] [RFC PATCH v3] usb: limit USB_MAX_XFER_BLK to 256

2019-04-17 Thread Marcel Ziswiler
quot;EHCI timed out on TD - token=0x80008d80". The devices does not support scsi VPD page, we are not able to get the maximum transfer length for READ(10)/WRITE(10). So we limit this to 256 blocks as READ(6). Signed-off-by: Peng Fan Acked-by: Marcel Ziswiler (cherr

Re: [U-Boot] [PATCH v2 1/1] colibri_imx7: migrate usb to driver model

2019-04-17 Thread Marcel Ziswiler
Perfect, thanks Igor. The most minor little nitpick: I would order otg1, otg2 and maybe add some comment about what exact USB ports in the Colibri pin muxing each of those actually is. With that: Acked-by: Marcel Ziswiler On April 16, 2019 10:19:01 AM GMT+02:00, Igor Opaniuk wrote: >As

Re: [U-Boot] [PATCH 1/1] colibri_imx6: use UUID for rootfs

2019-04-12 Thread Marcel Ziswiler
Hi Igor On Fri, 2019-04-12 at 11:15 +, Igor Opaniuk wrote: > Hi Marcel, > > Thanks for your comments. > > On Fri, Apr 12, 2019 at 11:32 AM Marcel Ziswiler > wrote: > > Hi Igor > > > > Thanks for cleaning that up. > > > > On Fr

Re: [U-Boot] [PATCH 1/1] colibri_imx7: migrate usb to driver model

2019-04-12 Thread Marcel Ziswiler
Hi Igor Just some minor nitpicks below. On Thu, 2019-04-11 at 16:55 +0200, Igor Opaniuk wrote: > Migrate USB to Driver Model (CONFIG_DM_USB=y). > > Signed-off-by: Igor Opaniuk Tested-by: Marcel Ziswiler > --- > arch/arm/dts/imx7-colibri-emmc.dts| 37 ++

Re: [U-Boot] [PATCH 1/1] colibri_imx6: use UUID for rootfs

2019-04-12 Thread Marcel Ziswiler
Linux kernel. Basically a dream come true (;-p). Looks fine and works with latest 2.8b6 as well as today's linux-next. Just a few minor comments below. > Signed-off-by: Igor Opaniuk With that addressed you may add my Tested-by: Marcel Ziswiler And tackle all the other board

Re: [U-Boot] Migration to KConfig

2019-04-12 Thread Marcel Ziswiler
gt; ___ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot Best regards - Mit freundlichen GrĂ¼ssen - Meilleures salutations Marcel Ziswiler Platform Manager Embedded Linux Toradex AG Altsagenstrasse 5 |

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

2019-04-10 Thread Marcel Ziswiler
Hi Lukasz On April 10, 2019 7:11:11 AM GMT+02:00, Lukasz Majewski wrote: >On Tue, 9 Apr 2019 17:14:26 -0400 >Tom Rini wrote: > >> On Tue, Apr 09, 2019 at 05:20:45PM +0200, Marcel Ziswiler wrote: >> >> > From: Peng Fan >> >

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

2019-04-09 Thread Marcel Ziswiler
on i.MX 8X anyway neither works well nor makes any much sense at all. Marcel Ziswiler (5): misc: imx8: remove duplicates from scfw api arm: dts: imx8dx: add lpuart1, lpuart2, lpuart3 board: toradex: tdx-cfg-block: clean-up sku handling board: toradex: tdx-cfg-block: add new skus board

[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

[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

[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 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

[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

[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

[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

[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 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

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

2019-04-09 Thread Marcel Ziswiler
for new colibri iMX6ull skus Marcel Ziswiler (9): colibri-imx6ull: fix ethernet phy power on colibri-imx6ull: configuration clean-up colibri-imx6ull: migrate pinctrl and regulators to dtb/dm colibri-imx6ull: migrate mmc to using driver model colibri-imx6ull: migrate usb to using driver model

[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

[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

[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

[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 S

[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

[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 04/14] apalis/colibri_imx6/imx6ull: make sure loadaddr does not collide

2019-04-09 Thread Marcel Ziswiler
since it is defined in mx6_common.h. Move $fdt_addr_r and $ramdisk_addr_r by 1MiB, which should be enough for scripts. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v2: - Added Igor's reviewed-by. include/configs/apalis_imx6.h | 4

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

2019-04-09 Thread Marcel Ziswiler
Agner Acked-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v2: - Added Igor's reviewed-by. board/toradex/colibri-imx6ull/colibri-imx6ull.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/board/toradex/colibri-imx6ull/colibri-imx6ull.c b/board

[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 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

[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

[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: Cou

[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

[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

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

2019-04-09 Thread Marcel Ziswiler
quot;EHCI timed out on TD - token=0x80008d80". The devices does not support scsi VPD page, we are not able to get the maximum transfer length for READ(10)/WRITE(10). So we limit this to 256 blocks as READ(6). Signed-off-by: Peng Fan Acked-by: Marcel Ziswiler (cherr

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 > > > >

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. > > >

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/

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

2019-04-09 Thread Marcel Ziswiler
2 characters. > [1]: > https://www.kernel.org/doc/html/v5.1-rc2/process/submitting-patches.html > > On Mon, Mar 25, 2019 at 6:20 PM Marcel Ziswiler > wrote: > > From: Peng Fan > > > > For Some USB mass storage devices, such as: > > " > > - K

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 sup

Re: [U-Boot] [PATCH] ARM: dts: i.MX6ULL: U-Boot specific dts for u-boot, dm-spl

2019-04-08 Thread Marcel Ziswiler
ecific instead like e.g. done elsewhere [1]? [1] https://git.denx.de/?p=u-boot.git;a=blob;f=arch/arm/dts/am335x-chiliboard-u-boot.dtsi;h=4f9d3080394be001f79731b736c5eac934c07ebf;hb=HEAD Cheers Marcel > Signed-off-by: Parthiban Nallathambi > --- > arch/arm/dts/imx6ull-u

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

2019-04-06 Thread Marcel Ziswiler
addressing Apalis and Colibri iMX6 as well as Colibri Vybrid aka VF50/VF61 and Colibri iMX6ULL on our git server [1]. [1] http://git.toradex.com/cgit/u-boot-toradex.git/log/?h=for-next Marcel Ziswiler (5): misc: imx8: remove duplicates from scfw api arm: dts: imx8dx: add lpuart1, lpuart2

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

2019-04-06 Thread Marcel Ziswiler
From: Marcel Ziswiler Add support for lpuart1, lpuart2 and lpuart3. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/fsl-imx8dx.dtsi | 54 1 file changed, 54 insertions(+) diff --git a/arch/arm/dts/fsl-imx8dx.dtsi b/arch/arm/dts/fsl-imx8dx.dtsi index

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

2019-04-06 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

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

2019-04-06 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 S

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

2019-04-06 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove duplicate function declarations from the SCFW API header file. Signed-off-by: Marcel Ziswiler --- arch/arm/include/asm/arch-imx8/sci/sci.h | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/include/asm/arch-imx8/sci/sci.h b/arch/arm/include/asm

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

2019-04-06 Thread Marcel Ziswiler
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 -- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/board

Re: [U-Boot] [PATCH] mx6: colibri: fix build due to missing DTB

2019-04-01 Thread Marcel Ziswiler
set in default config, but it is not > built > because the target is missing in dts/Makefile I already did send that one: https://patchwork.ozlabs.org/patch/1064558/ > Signed-off-by: Stefano Babic > CC: Marcel Ziswiler > --- > > I got build error after rebasing on current Tom's

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

2019-03-29 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 --- arch/arm/dts/imx6ull-colibri.dts | 31 --- configs/colibri-imx6ull_defconfig | 3 +-- include/configs

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

2019-03-29 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

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

2019-03-29 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 --- arch/arm/dts/imx6ull-colibri.dts | 2 ++ arch/arm/dts/imx6ull-pinfunc.h | 26 ++ 2 files changed, 16

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

2019-03-29 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 --- configs/colibri

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

2019-03-29 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

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

2019-03-29 Thread Marcel Ziswiler
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(+), 2 deletions(-) diff --git a/arch/arm/dts/imx6ull-colibri.dts b/arch/arm/dts/imx6ull-colibri.dts

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

2019-03-29 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

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

2019-03-29 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 --- board/toradex/colibri-imx6ull/colibri-imx6ull.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/toradex/colibri-imx6ull

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

2019-03-29 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 --- arch/arm/dts/imx6ull-colibri.dts | 24 ++ .../toradex/colibri-imx6ull/colibri-imx6ull.c | 48

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

2019-03-29 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 --- arch/arm/dts/imx6ull-colibri.dts | 15

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

2019-03-29 Thread Marcel Ziswiler
since it is defined in mx6_common.h. Move $fdt_addr_r and $ramdisk_addr_r by 1MiB, which should be enough for scripts. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler --- include/configs/apalis_imx6.h | 4 ++-- include/configs/colibri-imx6ull.h | 4 ++-- include/configs/colibri_imx6

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

2019-03-29 Thread Marcel Ziswiler
addressing Apalis and Colibri iMX6 as well as Colibri Vybrid aka VF50/VF61 on our git server [1]. [1] http://git.toradex.com/cgit/u-boot-toradex.git/log/?h=for-next Gerard Salvatella (1): tdx-cfg-block: add support for new colibri iMX6ull skus Marcel Ziswiler (9): colibri-imx6ull: fix ethernet

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

2019-03-29 Thread Marcel Ziswiler
Agner Acked-by: Marcel Ziswiler --- board/toradex/colibri-imx6ull/colibri-imx6ull.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/board/toradex/colibri-imx6ull/colibri-imx6ull.c b/board/toradex/colibri-imx6ull/colibri-imx6ull.c index fcb49a0718..fe60b8e870

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

2019-03-29 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 --- board

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

2019-03-29 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 --- board/toradex/common/tdx-cfg-block.c | 62 +--- board/toradex/common/tdx-cfg-block.h

Re: [U-Boot] [PATCH v1] apalis/colibri_imx6: add device trees to makefile

2019-03-29 Thread Marcel Ziswiler
Hi Igor On Thu, 2019-03-28 at 16:49 +, Igor Opaniuk wrote: > Hi Marcel, > > Could you please provide steps to reproduce this issue? I've double > checked on the latest master of u-boot-imx, and can sucessfully build > U-boot for Colibri iMX6DL (as an example). To be honest I

Re: [U-Boot] [PATCH v2 09/22] configs: colibri_vf: disable obscure options

2019-03-29 Thread Marcel Ziswiler
On Thu, 2019-03-28 at 16:58 +, Igor Opaniuk wrote: > Hi Marcel, > > The actual line which does have impact is `CONFIG_DFU_MMC=y`. Vybrid is using raw NAND and not eMMC. > Not sure I understand the reason of adding "# ... is not set" lines > in > this defconf

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

2019-03-28 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: Cou

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

2019-03-28 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix indentation using tab vs. spaces. Signed-off-by: Marcel Ziswiler --- board/toradex/colibri_vf/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/toradex/colibri_vf/MAINTAINERS b/board/toradex/colibri_vf/MAINTAINERS index

Re: [U-Boot] [PATCH v2 13/22] colibri_vf: add distroboot support

2019-03-28 Thread Marcel Ziswiler
Hi Igor On Thu, 2019-03-28 at 15:01 +, Igor Opaniuk wrote: > Hi Marcel, > > Reviewed-by: Igor Opaniuk > > Please check some minor comments below (could be addressed in a > separate patchset): > > On Mon, Mar 25, 2019 at 6:35 PM Marcel Ziswiler > wr

Re: [U-Boot] [REGRESSION: PATCH 34/34] drivers/net/fec: phy_init: remove redundant logic

2019-03-26 Thread Marcel Ziswiler
Hi Hannes On Tue, 2019-03-26 at 10:15 +0100, Hannes Schmelzer wrote: > On 3/25/19 5:07 PM, Marcel Ziswiler wrote: > > Hi Stefano > > > > On Wed, 2019-03-13 at 08:28 +, sba...@denx.de wrote: > > > > The phy_connect_dev(...) function from phy.c does all the &g

[U-Boot] [PATCH v2 00/22] colibri vybrid fixes, device tree enablement and driver model conversion

2019-03-25 Thread Marcel Ziswiler
): colibri_vf: sync the board info message Gerard Salvatella (1): colibri_vf: fix sdboot for vybrid modules Marcel Ziswiler (12): Add missing space in comment vf610: ddrmc: add missing include imx: bootaux: add dependency on vf610 configs: move CONFIG_USB_EHCI_VF to Kconfig configs

[U-Boot] [PATCH v2 07/22] configs: move CONFIG_MXC_OCOTP to Kconfig

2019-03-25 Thread Marcel Ziswiler
From: Marcel Ziswiler While commit 3e020f03e94f ("driver: misc: add MXC_OCOTP Kconfig entry") introduced a Kconfig entry it did not actually migrate all configurations to using it. As CONFIG_MXC_OCOTP was in mx{6/7}_common.h enable it by default on those architectures. Additionally, a

[U-Boot] [PATCH v1] apalis/colibri_imx6: add device trees to makefile

2019-03-25 Thread Marcel Ziswiler
From: Marcel Ziswiler Add device trees 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

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

2019-03-25 Thread Marcel Ziswiler
From: Marcel Ziswiler 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-apalis.dtb: Warning (reg_format): /soc/ipu

[U-Boot] [PATCH v2 18/22] config: colibri_vf: enable mtd partitions via dt

2019-03-25 Thread Marcel Ziswiler
From: Stefan Agner Use device tree to set MTD partitions of the NAND chip. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v2: None configs/colibri_vf_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/colibri_vf_defconfig

<    3   4   5   6   7   8   9   10   11   12   >