[U-Boot] [PATCH] clk: imx: imx8mm: Fix the first root clock in imx8mm_ahb_sels[]

2019-10-23 Thread Schrempf Frieder
From: Frieder Schrempf The 24MHz oscillator clock is referenced by "clock-osc-24m" and not "osc_24m". Signed-off-by: Frieder Schrempf --- drivers/clk/imx/clk-imx8mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx8mm.c

Re: [U-Boot] [PATCH V1 5/6] net: fec_mxc: support i.MX8M with CLK_CCF

2019-10-23 Thread Schrempf Frieder
On 22.10.19 05:30, Peng Fan wrote: > Add more clks for fec_mxc according to Linux Kernel 5.4.0-rc1 > drivers/net/ethernet/freescale/fec_main.c. > > Since i.MX8MQ not support CLK_CCF, so add a check to restrict > the code only effect when CONFIG_IMX8M and CONFIG_CLK_CCF both defined. > >

Re: [U-Boot] [PATCH V1 4/6] net: Kconfig: FEC: Add dependency on i.MX8M

2019-10-23 Thread Schrempf Frieder
On 22.10.19 05:29, Peng Fan wrote: > Make FEC driver could be used by i.MX8M when CONFIG_FEC_MXC defined > in defconfig. > > Signed-off-by: Peng Fan Reviewed-by: Frieder Schrempf Tested-by: Frieder Schrempf > --- > drivers/net/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [U-Boot] [PATCH V1 2/6] clk: imx: imx8mm: add set_parent callback

2019-10-23 Thread Schrempf Frieder
On 22.10.19 05:29, Peng Fan wrote: > Add set_parent callback, then assigned-clock-parents in dts could > be work. > > Signed-off-by: Peng Fan Reviewed-by: Frieder Schrempf Tested-by: Frieder Schrempf > --- > drivers/clk/imx/clk-imx8mm.c | 19 +++ > 1 file changed, 19

Re: [U-Boot] [PATCH V1 1/6] clk: imx8mm: add enet clk

2019-10-23 Thread Schrempf Frieder
On 22.10.19 05:29, Peng Fan wrote: > Add enet ref/timer/PHY_REF/root clk which are required to make enet > function well. > > Signed-off-by: Peng Fan Reviewed-by: Frieder Schrempf Tested-by: Frieder Schrempf > --- > drivers/clk/imx/clk-imx8mm.c | 27 +++ > 1 file

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-10-23 Thread Schrempf Frieder
Hi Ashish, On 22.10.19 18:11, Ashish Kumar wrote: > > >> -Original Message- >> From: Stefan Roese >> Sent: Tuesday, October 22, 2019 9:12 PM >> To: Schrempf Frieder ; Ashish Kumar >> ; Ye Li ; >> ja...@amarulasolutions.com >> Cc: Fabio

[U-Boot] [PATCH v3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-10-23 Thread Schrempf Frieder
From: Frieder Schrempf Most boards currently use SPI_FLASH_MTD only in U-Boot proper, not in SPL. They often rely on hacks in the board header files to include this option conditionally. To be able to fix this, we previously introduced a separate option SPL_SPI_FLASH_MTD. Therefore we can now

[U-Boot] [PATCH v2] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-10-23 Thread Schrempf Frieder
From: Frieder Schrempf Most boards currently use SPI_FLASH_MTD only in U-Boot proper, not in SPL. They often rely on hacks in the board header files to include this option conditionally. To be able to fix this, we previously introduced a separate option SPL_SPI_FLASH_MTD. Therefore we can now

Re: [U-Boot] [PATCH 3/3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-10-23 Thread Schrempf Frieder
On 23.10.19 09:09, Jagan Teki wrote: > On Wed, Oct 23, 2019 at 12:35 PM Schrempf Frieder > wrote: >> >> Hi Jagan, >> >> On 22.10.19 20:16, Jagan Teki wrote: >>> On Sat, Sep 14, 2019 at 4:14 AM Schrempf Frieder >>> wrote: >>>> >

Re: [U-Boot] [PATCH 3/3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-10-23 Thread Schrempf Frieder
Hi Jagan, On 22.10.19 20:16, Jagan Teki wrote: > On Sat, Sep 14, 2019 at 4:14 AM Schrempf Frieder > wrote: >> >> From: Frieder Schrempf >> >> Most boards currently use SPI_FLASH_MTD only in U-Boot proper, not in >> SPL. They often rely on hacks

Re: [U-Boot] [PATCH 2/3] stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD

2019-10-23 Thread Schrempf Frieder
Hi Jagan, On 22.10.19 20:10, Jagan Teki wrote: > On Tue, Oct 22, 2019 at 6:23 PM Schrempf Frieder > wrote: >> >> Hi Jagan, >> >> On 17.10.19 08:42, Frieder Schrempf wrote: >>> Hi Jagan, >>> >>> On 16.10.19 18:34, Jagan Teki wrote: >>

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-10-22 Thread Schrempf Frieder
On 22.10.19 15:55, Frieder Schrempf wrote: > Hi Stefan, > > On 22.10.19 15:18, Stefan Roese wrote: >> Hi Frieder, >> Hi Ashish, >> Hi Ye Li, >> Hi Fabio, >> >> On 18.09.19 09:42, Stefan Roese wrote: >>> Hi Frieder, >>> >>> O

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-10-22 Thread Schrempf Frieder
Hi Stefan, On 22.10.19 15:18, Stefan Roese wrote: > Hi Frieder, > Hi Ashish, > Hi Ye Li, > Hi Fabio, > > On 18.09.19 09:42, Stefan Roese wrote: >> Hi Frieder, >> >> On 18.09.19 09:08, Schrempf Frieder wrote: >> >> >> >>>> O

Re: [U-Boot] [PATCH v5 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-10-22 Thread Schrempf Frieder
Hi Lukasz, hi Xiaowei, On 22.10.19 14:20, Lukasz Majewski wrote: > Hi Xiaowei, > >> Hi Lukasz, >> >> My patches depends on your patches >> https://patchwork.ozlabs.org/project/uboot/list/?series=129069, do >> you have plan to update it? I saw that the status is "changes >> required", any

Re: [U-Boot] [PATCH 2/3] stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD

2019-10-22 Thread Schrempf Frieder
Hi Jagan, On 17.10.19 08:42, Frieder Schrempf wrote: > Hi Jagan, > > On 16.10.19 18:34, Jagan Teki wrote: >> On Sat, Sep 14, 2019 at 4:18 AM Schrempf Frieder >> wrote: >>> >>> From: Frieder Schrempf >>> >>> As SPI_FLASH_MTD

Re: [U-Boot] [PATCH 2/3] stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD

2019-10-17 Thread Schrempf Frieder
Hi Jagan, On 16.10.19 18:34, Jagan Teki wrote: > On Sat, Sep 14, 2019 at 4:18 AM Schrempf Frieder > wrote: >> >> From: Frieder Schrempf >> >> As SPI_FLASH_MTD is used in SPL and U-Boot proper, we enable both, >> now that a separate option for SPL was intr

Re: [U-Boot] [PATCH 36/37] dm: pmic: add da9063 PMIC driver and regulators

2019-10-16 Thread Schrempf Frieder
Hi Robert, On 15.10.19 17:53, Robert Beckett wrote: > Add DM driver to support Dialog DA9063. > Currently it support binding regulator children. > > Signed-off-by: Robert Beckett I also have a board with DA9063 and was looking for support in U-Boot. I found patches from Martin Fuzzey [1] and

Re: [U-Boot] [PATCH 3/3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-09-26 Thread Schrempf Frieder
On 14.09.19 00:44, Schrempf Frieder wrote: > From: Frieder Schrempf > > Most boards currently use SPI_FLASH_MTD only in U-Boot proper, not in > SPL. They often rely on hacks in the board header files to include > this option conditionally. To be able to fix this, we previous

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-18 Thread Schrempf Frieder
Hi Stefan, On 18.09.19 06:51, Stefan Roese wrote: > Hi Ashish, > > On 13.09.19 15:11, Stefan Roese wrote: >> On 12.09.19 14:36, Stefan Roese wrote: >> >> >> The spi-mem version is still under debug, I could make it working for ls1088rdb, ls1046rdb, but it is failing for

[U-Boot] Ethernet on i.MX8MM with mainline U-Boot

2019-09-17 Thread Schrempf Frieder
Hi Peng, I tried to get Ethernet running on i.MX8MM with mainline U-Boot and your latest patches for SoC-support. I added the missing clocks, but something still seems to be wrong. It seems like the clock parents are not set correctly. If I run "dm tree", I see that the enet_axi is a child of

[U-Boot] [PATCH 3/3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-09-13 Thread Schrempf Frieder
From: Frieder Schrempf Most boards currently use SPI_FLASH_MTD only in U-Boot proper, not in SPL. They often rely on hacks in the board header files to include this option conditionally. To be able to fix this, we previously introduced a separate option SPL_SPI_FLASH_MTD. Therefore we can now

[U-Boot] [PATCH 2/3] stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD

2019-09-13 Thread Schrempf Frieder
From: Frieder Schrempf As SPI_FLASH_MTD is used in SPL and U-Boot proper, we enable both, now that a separate option for SPL was introduced. Signed-off-by: Frieder Schrempf --- configs/stm32mp15_basic_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 1/3] mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig

2019-09-13 Thread Schrempf Frieder
From: Frieder Schrempf To allow SPI_FLASH_MTD being enabled separately in SPL we add a new option. The only user currently is the stm32mp15_basic board. Signed-off-by: Frieder Schrempf --- drivers/mtd/spi/Kconfig | 8 1 file changed, 8 insertions(+) diff --git

Re: [U-Boot] [PATCH v3 0/3] spi: Split CONFIG_DM_SPI* to CONFIG_{SPL_TPL}DM_SPI*

2019-09-12 Thread Schrempf Frieder
On 12.09.19 11:03, Lukasz Majewski wrote: > Hi Frieder, > >> Hi Lukasz, >> >> On 10.09.19 12:22, Lukasz Majewski wrote: >>> Hi Frieder, >>> >>>> On Mon, 9 Sep 2019 11:11:50 + >>>> Schrempf Frieder wrote: >

Re: [U-Boot] [PATCH v3 0/3] spi: Split CONFIG_DM_SPI* to CONFIG_{SPL_TPL}DM_SPI*

2019-09-12 Thread Schrempf Frieder
Hi Lukasz, On 10.09.19 12:22, Lukasz Majewski wrote: > Hi Frieder, > >> On Mon, 9 Sep 2019 11:11:50 + >> Schrempf Frieder wrote: >> >>> Hi Lukasz, >>> >>> On 05.09.19 20:09, Tom Rini wrote: >>>> On Thu, Sep 05, 2019 at 12:

Re: [U-Boot] [PATCH v3 0/3] spi: Split CONFIG_DM_SPI* to CONFIG_{SPL_TPL}DM_SPI*

2019-09-09 Thread Schrempf Frieder
Hi Lukasz, On 05.09.19 20:09, Tom Rini wrote: > On Thu, Sep 05, 2019 at 12:16:36AM +0200, Lukasz Majewski wrote: >> This patch series introduces new SPL and TPL specific Kconfig entries for >> DM_SPI* options. Such change allows using the spi driver in SPL/TPL or >> U-Boot proper. >> >> First two

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-09 Thread Schrempf Frieder
Hi Ashish, On 27.08.19 11:56, Ashish Kumar wrote: > > >> -Original Message----- >> From: Schrempf Frieder >> Sent: Wednesday, August 14, 2019 5:41 PM >> To: Ashish Kumar ; Ye Li ; >> ja...@amarulasolutions.com >> Cc: Fabio Estevam ; u-boot@lists

Re: [U-Boot] Regressions in MTD / SPI FLASH

2019-09-09 Thread Schrempf Frieder
Hi Eugeniy, On 04.09.19 20:07, Eugeniy Paltsev wrote: > We faced with regressions caused by > commit c4e8862308d4 (mtd: spi: Switch to new SPI NOR framework) > This switch was performed by removing entire u-boot spi-flash > core implementation and copying it from another project. > However the

Re: [U-Boot] [PATCH V3 24/27] imx8m: soc: probe clock device in arch_cpu_init_dm

2019-08-28 Thread Schrempf Frieder
On 29.08.19 03:21, Peng Fan wrote: > Hi Frieder, > >> Subject: Re: [PATCH V3 24/27] imx8m: soc: probe clock device in >> arch_cpu_init_dm >> >> Hi Peng, >> >> On 27.08.19 08:25, Peng Fan wrote: >>> Because we need to get cpu freq in print_cpuinfo at very early stage, >>> so we need to make sure

Re: [U-Boot] [PATCH V3 24/27] imx8m: soc: probe clock device in arch_cpu_init_dm

2019-08-28 Thread Schrempf Frieder
Hi Peng, On 27.08.19 08:25, Peng Fan wrote: > Because we need to get cpu freq in print_cpuinfo at very early stage, > so we need to make sure the ccm be probed. > > Signed-off-by: Peng Fan > --- > arch/arm/mach-imx/imx8m/soc.c | 17 + > 1 file changed, 17 insertions(+) > >

Re: [U-Boot] [PATCH 22/22] imx: Add i.MX8MM EVK board support.

2019-08-26 Thread Schrempf Frieder
On 15.08.19 02:57, Peng Fan wrote: >> Subject: Re: [PATCH 22/22] imx: Add i.MX8MM EVK board support. >> >> On 09.08.19 06:15, Peng Fan wrote: >>> Add board and SoC dts >>> Add ddr training code >>> support SD/MMC/GPIO/PINCTRL/UART >>> >>> Signed-off-by: Peng Fan >>> --- >>>

Re: [U-Boot] [PATCH v2 00/26] i.MX8MM support

2019-08-26 Thread Schrempf Frieder
On 19.08.19 11:42, Peng Fan wrote: > V2: > Fixed comments from Lukasz and Frieder This set has 26 patches, while the previous version had 22. You should document all changes here, so one can easily figure out which patches were added/removed/merged/split. > > V1: >

Re: [U-Boot] [PATCH 09/22] imx8m: update imx-regs for i.MX8MM

2019-08-26 Thread Schrempf Frieder
On 15.08.19 03:01, Peng Fan wrote: >> Subject: Re: [PATCH 09/22] imx8m: update imx-regs for i.MX8MM >> >> On 09.08.19 06:15, Peng Fan wrote: >>> i.MX8MM has similar architecture with i.MX8MQ, but it has totally >>> different PLL design and some register layout change. >>> >>> Note: Some registers

Re: [U-Boot] [PATCH v2 01/26] tools: imx8m_image: align spl bin image size

2019-08-26 Thread Schrempf Frieder
On 19.08.19 11:42, Peng Fan wrote: > The loader for the DDR firmware in drivers/ddr/imx/imx8m/helper.c uses a > 4-byte-aligned address to load the firmware. In cases where OF is > enabled in SPL the dtb will be appended to the SPL binary and can result > in a binary that is not aligned correctly.

Re: [U-Boot] [PATCH v2 02/26] ddr: imx8m: fix ddr firmware location when enable SPL OF

2019-08-26 Thread Schrempf Frieder
On 19.08.19 11:42, Peng Fan wrote: > With CONFIG_SPL_OF_CONTROL, the device tree will be padded to > end of the u-boot-spl-nodtb.bin, however we also put > the ddr firmware file to this location, so need to adapt > the code with SPL OF and align to 4bytes to ease copy firmware. Please add a space

Re: [U-Boot] [PATCH 00/22] i.MX8MM support

2019-08-14 Thread Schrempf Frieder
Hi Peng, On 09.08.19 06:14, Peng Fan wrote: > This is a splitted and updated patch from > https://patchwork.ozlabs.org/cover/1128799/ which is to support both > i.MX8MM and i.MX8MN. I have sent you feedback for some of the patches. My own board is working, but there are still a few things to

Re: [U-Boot] [PATCH 22/22] imx: Add i.MX8MM EVK board support.

2019-08-14 Thread Schrempf Frieder
On 09.08.19 06:15, Peng Fan wrote: > Add board and SoC dts > Add ddr training code > support SD/MMC/GPIO/PINCTRL/UART > > Signed-off-by: Peng Fan > --- > arch/arm/dts/Makefile |3 +- > arch/arm/dts/imx8mm-evk-u-boot.dtsi| 92 ++ >

Re: [U-Boot] [PATCH 09/22] imx8m: update imx-regs for i.MX8MM

2019-08-14 Thread Schrempf Frieder
On 09.08.19 06:15, Peng Fan wrote: > i.MX8MM has similar architecture with i.MX8MQ, but it has totally > different PLL design and some register layout change. > > Note: Some registers in this file are not updated because not used now. I think this is a bad idea. There seem to be many differences

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-08-14 Thread Schrempf Frieder
Sorry, I hit the "Send" button too early ;) On 14.08.19 14:07, Frieder Schrempf wrote: > Hi Ashish, > > On 14.08.19 14:02, Ashish Kumar wrote: >> >> >>> -Original Message- >>> From: U-Boot On Behalf Of Schrempf >>> Frieder >&

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-08-14 Thread Schrempf Frieder
Hi Ashish, On 14.08.19 14:02, Ashish Kumar wrote: > > >> -Original Message- >> From: U-Boot On Behalf Of Schrempf Frieder >> Sent: Wednesday, August 14, 2019 5:07 PM >> To: Ye Li ; ja...@amarulasolutions.com >> Cc: Fabio Estevam ; u-boot@lists.d

Re: [U-Boot] [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-08-14 Thread Schrempf Frieder
Hi Ye, On 14.08.19 12:08, Ye Li wrote: > On latest iMX platforms like iMX7D/iMX6UL/iMX8MQ, the QSPI controller > is updated to have TDH field in FLSHCR register. According to reference > manual, this TDH must be set to 1 when DDR_EN is set. Otherwise, the TX > DDR delay logic won't be enabled.

Re: [U-Boot] [PATCH 20/22] arm: dts: import i.MX8MM dtsi

2019-08-14 Thread Schrempf Frieder
On 09.08.19 06:15, Peng Fan wrote: > Import i.MX8MM dtsi from Linux Kernel, > commit <0a8ad0ffa4d8> ("Merge tag 'for-linus-5.3-ofs1' of > git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux") > > Signed-off-by: Peng Fan > --- > arch/arm/dts/imx8mm.dtsi | 733 >

Re: [U-Boot] [PATCH v2] i2c: mxc: add CONFIG_CLK support

2019-08-14 Thread Schrempf Frieder
On 13.08.19 10:05, Peng Fan wrote: > Hi Frieder > >> Subject: [PATCH v2] i2c: mxc: add CONFIG_CLK support >> >> When CONFIG_CLK enabled, use CLK UCLASS for clk related settings. > > Are you fine with this patch? Yes! Reviewed-by: Frieder Schrempf Tested-by: Frieder Schrempf > > Thanks, >

Re: [U-Boot] [PATCH 02/22] ddr: imx8m: fix ddr firmware location when enable SPL OF

2019-08-14 Thread Schrempf Frieder
On 14.08.19 09:59, Peng Fan wrote: > Hi, > >> Subject: Re: [PATCH 02/22] ddr: imx8m: fix ddr firmware location when enable >> SPL OF >> >> On 09.08.19 06:14, Peng Fan wrote: >>> With SPL_OF_SPERATE, the device tree will be padded to >> >> ^ Do you mean CONFIG_SPL_OF_CONTROL? > Yes.

Re: [U-Boot] [PATCH 03/22] imx8m: add image cfg for i.MX8MM lpddr4

2019-08-14 Thread Schrempf Frieder
On 09.08.19 06:14, Peng Fan wrote: > There is no HDMI on i.MX8MM, so we need to remove HDMI entry, then > we could not reuse imximage.cfg, so create a new one. > > Signed-off-by: Peng Fan > --- > arch/arm/mach-imx/imx8m/imximage-8mm-lpddr4.cfg | 16 > 1 file changed, 16

Re: [U-Boot] [PATCH 02/22] ddr: imx8m: fix ddr firmware location when enable SPL OF

2019-08-14 Thread Schrempf Frieder
On 09.08.19 06:14, Peng Fan wrote: > With SPL_OF_SPERATE, the device tree will be padded to ^ Do you mean CONFIG_SPL_OF_CONTROL? > end of the u-boot-spl-nodtb.bin, however we also put > the ddr firmware file to this location, so need to adapt > the code with SPL OF and align to 16bytes

Re: [U-Boot] [PATCH 01/22] tools: imx8m_image: align spl bin image size

2019-08-14 Thread Schrempf Frieder
Hi Peng, On 09.08.19 06:14, Peng Fan wrote: > Align spl bin image size to 4 byte aligned, because we need > to pad ddr firmware in the end of spl bin. However when enable > SPL OF, the spl dtb will be padded to u-boot-nodtb.bin, then > u-boot-spl.bin size might not be 4 bytes aligned. > >

Re: [U-Boot] [PATCH] i2c: mxc: add CONFIG_CLK support

2019-08-07 Thread Schrempf Frieder
Hi Peng, On 06.08.19 12:09, Peng Fan wrote: > When CONFIG_CLK enabled, use CLK UCLASS for clk related settings. > > Signed-off-by: Peng Fan > --- > arch/arm/include/asm/mach-imx/mxc_i2c.h | 6 ++ > drivers/i2c/mxc_i2c.c | 17 + > 2 files changed, 23

Re: [U-Boot] [PATCH 1/4] imx: add module fuse support

2019-07-24 Thread Schrempf Frieder
Hi Lukasz, On 24.07.19 14:12, Peng Fan wrote: > Hi Lukasz, > >> Subject: Re: [U-Boot] [PATCH 1/4] imx: add module fuse support >> >> Hi Peng, >> >>> Hi Lukasz, >>> Subject: Re: [U-Boot] [PATCH 1/4] imx: add module fuse support Hi Peng, > There are different parts from one

Re: [U-Boot] [PATCH V3 0/5] add i.MX8 container loading support

2019-07-22 Thread Schrempf Frieder
On 22.07.19 10:08, Peng Fan wrote: >> Subject: Re: [U-Boot] [PATCH V3 0/5] add i.MX8 container loading support >> >> On 22.07.19 04:12, Peng Fan wrote: >>> V3: >>>Drops patch 1/5 from V2, add 8QM support, nothing else changed. >>>Stefano, >>>This patchset was pending in patchwork for

Re: [U-Boot] [PATCH V3 0/5] add i.MX8 container loading support

2019-07-22 Thread Schrempf Frieder
On 22.07.19 04:12, Peng Fan wrote: > V3: > Drops patch 1/5 from V2, add 8QM support, nothing else changed. > Stefano, > This patchset was pending in patchwork for more that one month, > please consider to apply. I'm not the one to judge here and I don't know the rules for U-Boot, but

Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N

2019-07-18 Thread Schrempf Frieder
Hi Peng, On 17.07.19 10:37, Peng Fan wrote: > Hi Lukasz, Stefano, > >> Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N > [] The v5 of CCF has been posted ~2 weeks ago (with you on CC) with a high chance to be pulled by Stefano after the merge window opens.

Re: [U-Boot] [PATCH V2 28/51] clk: imx: add i.MX8MM clk driver

2019-07-10 Thread Schrempf Frieder
Hi Peng, On 08.07.19 03:39, Peng Fan wrote: > Add i.MX8MM clk driver support. > > Signed-off-by: Peng Fan > --- > arch/arm/mach-imx/imx8m/clock_imx8mm.c | 203 > + > drivers/clk/imx/Makefile | 1 + > drivers/clk/imx/clk-imx8mm.c |

Re: [U-Boot] [PATCH V2 04/51] i2c: mxc: add CONFIG_CLK support

2019-07-10 Thread Schrempf Frieder
Hi Peng, On 08.07.19 03:38, Peng Fan wrote: > When CONFIG_CLK enabled, use CLK UCLASS for clk related settings. > > Signed-off-by: Peng Fan > --- > arch/arm/include/asm/mach-imx/mxc_i2c.h | 6 ++ > drivers/i2c/mxc_i2c.c | 17 + > 2 files changed, 23

Re: [U-Boot] [PATCH V2 00/51] Support i.MX8MM/N

2019-07-08 Thread Schrempf Frieder
Hi Peng, On 08.07.19 03:38, Peng Fan wrote: > This patchset is to support i.MX8MM/8MN with some update > in ddr settings and ddr driver update. > > V2: > Fix build break, add Cc for some patches, and drop CCF select in i.MX8MM > Fix script to remove srctree in tools/imx8m_image.sh > Fix License

Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N

2019-07-08 Thread Schrempf Frieder
On 08.07.19 09:47, Peng Fan wrote: > Hi Lukasz, > >> Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N >> >> Hi Peng, >> Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N Hi Peng, > From: Peng Fan > > This patchset is to support i.MX8MM/8MN with some

Re: [U-Boot] [PATCH 05/52] tools: imx8m_image: align spl bin image size

2019-07-04 Thread Schrempf Frieder
Hi Peng, I just tried your patches for i.MX8MM and the first issue I faced is with this patch. See below. I have a few other things that I stumbled upon. I will send some comments about them in the coming days. On 02.07.19 04:31, peng@nxp.com wrote: > From: Peng Fan > > Align spl bin

Re: [U-Boot] [PATCH] treewide: Replace CONFIG_DM_SPI_FLASH with CONFIG_IS_ENABLED(DM_SPI_FLASH)

2019-07-01 Thread Schrempf Frieder
On 20.02.19 12:20, Marek Vasut wrote: > On 2/20/19 12:18 PM, Schrempf Frieder wrote: >> On 19.02.19 06:07, Marek Vasut wrote: >>> Perform the replacement to allow platforms use non-DM SPI flash access >>> in SPL/TPL. This is thus far needed on platforms with size cons

[U-Boot] [PATCH] spl: atf: Fix uninitialized pointer to bl31_image_info

2019-06-27 Thread Schrempf Frieder
From: Frieder Schrempf The pointer to struct atf_image_info in bl31_params_mem.bl31_params.bl31_image_info is not initialized before being dereferenced. This can cause U-Boot to crash right before jumping to the BL31 ATF binary. Signed-off-by: Frieder Schrempf Fixes: bcc1726a7bdd ("spl: add

Re: [U-Boot] [PATCH v5 00/18] clk: Port Linux common clock framework [CCF] to U-boot (tag: v5.1.12)

2019-06-25 Thread Schrempf Frieder
Hi Lukasz, On 24.06.19 15:50, Lukasz Majewski wrote: > This patch series brings the files from Linux kernel (SHA1: 5752b50477da > Linux 5.1.12 to provide clocks support as it is used on the Linux kernel > with Common Clock Framework [CCF] setup. > > This series also fixes several problems with

Re: [U-Boot] i.MX8MM mapped register access causes crashes

2019-06-06 Thread Schrempf Frieder
On 06.06.19 03:58, Peng Fan wrote: > >> Subject: Re: [U-Boot] i.MX8MM mapped register access causes crashes >> >> On Wed, Jun 5, 2019 at 10:52 PM Peng Fan wrote: >> >>> You need to pass an arg after `md 0x302d`. Default it will dump a >>> lot registers, might 40 registers. It surely will

[U-Boot] i.MX8MM mapped register access causes crashes

2019-06-05 Thread Schrempf Frieder
Hi Peng, I'm still trying to get my i.MX8MM board running with mainline U-Boot. I'm using your patches and added some modifications, so I'm now able to run SPL and U-Boot proper. One problem I have is, that accessing some regions in the memory map for peripheral register access, U-Boot

Re: [U-Boot] [PATCH 4/5] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP

2019-06-04 Thread Schrempf Frieder
Hi Sjoerd, On 03.06.19 21:00, Sjoerd Simons wrote: > From: Frieder Schrempf > > Add support for loading u-boot FIT images over the USB SPD protocol in > the SPL I always get confused by this acronym too, but *SPD* is the Social Democratic Party of Germany, currently in a deep crisis after the

Re: [U-Boot] Cannot boot mx6qsabred with 2019.07-rc2

2019-06-03 Thread Schrempf Frieder
n processing the FIT image and loading U-Boot proper from the image. Regards, Frieder > > Thanks and regards, > Shyam > > On Mon, May 27, 2019 at 12:10 PM Schrempf Frieder > wrote: >> >> Hi Fabio, >> >> On 23.05.19 19:45, Fabio Estevam wrote: >>>

Re: [U-Boot] [PATCH v2] fsl_qspi: Improve QSPI driver to incorporate 4 byte commands

2019-05-29 Thread Schrempf Frieder
Hi Jagan, On 29.05.19 13:06, Jagan Teki wrote: > On Fri, Apr 26, 2019 at 6:12 PM Rajat Srivastava > wrote: >> >> Previously, the SPI framework supported only 3-byte opcodes >> but the FSL QSPI controller used to deal with flashes that >> work with 4-byte opcodes. As a workaround to resolve this,

Re: [U-Boot] Cannot boot mx6qsabred with 2019.07-rc2

2019-05-27 Thread Schrempf Frieder
Hi Fabio, On 23.05.19 19:45, Fabio Estevam wrote: > Hi Schrempf, > > On Thu, May 23, 2019 at 2:26 PM Schrempf Frieder > wrote: > >> As luck would have it, I needed to load a FIT via SDP today, so I came >> up with a quick patch (see below). There are

Re: [U-Boot] Cannot boot mx6qsabred with 2019.07-rc2

2019-05-23 Thread Schrempf Frieder
On 23.05.19 19:07, Jagan Teki wrote: > On Thu, May 23, 2019 at 10:18 PM Fabio Estevam wrote: >> >> On Thu, May 23, 2019 at 1:11 PM Jagan Teki >> wrote: >> >>> Don't know whether this is SPL size issue or not? can you try >>> SPL_OF_PLATDATA and TINY* I can see the size reduced with 64512 bytes

Re: [U-Boot] DM for ci_udc

2019-05-20 Thread Schrempf Frieder
Hi Sven, On 06.05.19 12:12, Sven Schwermer wrote: > Hi, > > I’m running into linking issues when enabling CONFIG_DM_USB_GADGET with > CONFIG_CI_UDC because dm_usb_gadget_handle_interrupts is not available. That > made me look into what’s required to port ci_udc to driver model. I have a > few

Re: [U-Boot] [i.MX8MM+CCF 00/41] i.MX8MM + CCF

2019-05-06 Thread Schrempf Frieder
On 06.05.19 09:57, Frieder Schrempf wrote: > Hi Peng, > > I'm trying to add support for a board with i.MX8MM. First I applied > Lukasz's CCF patches and your patches to U-Boot 2019.04 and tried to > build imx8mm_evk config. But I'm getting build errors (see below). The build works if I enable

Re: [U-Boot] [i.MX8MM+CCF 00/41] i.MX8MM + CCF

2019-05-06 Thread Schrempf Frieder
Hi Peng, I'm trying to add support for a board with i.MX8MM. First I applied Lukasz's CCF patches and your patches to U-Boot 2019.04 and tried to build imx8mm_evk config. But I'm getting build errors (see below). Are there any other patches needed? What things are still missing to get i.MX8MM

Re: [U-Boot] [EXT] Re: [PATCH 2/2] fsl_qspi: Improve QSPI driver to incorporate 4 byte commands

2019-05-02 Thread Schrempf Frieder
Hi Ashish, On 01.05.19 07:32, Ashish Kumar wrote: > > >> -Original Message- >> From: U-Boot On Behalf Of Schrempf Frieder >> Sent: Tuesday, April 30, 2019 1:14 PM >> To: Vignesh Raghavendra ; Rajat Srivastava >> ; u-boot@lists.denx.de; ja...@opened

Re: [U-Boot] [PATCH 2/2] fsl_qspi: Improve QSPI driver to incorporate 4 byte commands

2019-04-30 Thread Schrempf Frieder
Hi, On 26.04.19 06:58, Vignesh Raghavendra wrote: > > > On 25/04/19 5:20 PM, Rajat Srivastava wrote: >> >> >>> -Original Message- >>> From: Vignesh Raghavendra >>> Sent: Wednesday, April 24, 2019 10:17 PM >>> To: Rajat Srivastava ; u-boot@lists.denx.de; >>> ja...@openedev.com >>> Cc:

Re: [U-Boot] UBIFS mount bug when mounting from multiple MTD partitions

2019-04-11 Thread Schrempf Frieder
On 10.04.19 15:59, Heiko Schocher wrote: > Hello Frieder, > > Am 10.04.2019 um 15:31 schrieb Schrempf Frieder: >> Hi Heiko, >> >> On 10.04.19 14:44, Heiko Schocher wrote: >>> Hello Frieder, >>> >>> Am 10.04.2019 um 12:49 schrieb Schrempf

Re: [U-Boot] UBIFS mount bug when mounting from multiple MTD partitions

2019-04-10 Thread Schrempf Frieder
Hi Heiko, On 10.04.19 14:44, Heiko Schocher wrote: > Hello Frieder, > > Am 10.04.2019 um 12:49 schrieb Schrempf Frieder: >> Hi, >> >> I have a customer who has a NAND device with two MTD partitions and >> each > of the partitions contains one UBI volume wi

[U-Boot] UBIFS mount bug when mounting from multiple MTD partitions

2019-04-10 Thread Schrempf Frieder
Hi, I have a customer who has a NAND device with two MTD partitions and each of the partitions contains one UBI volume with a UBIFS filesystem. Now U-Boot can mount the UBIFS from the first partition just fine, but if the UBIFS from the second partition is mounted afterwards this fails in

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

2019-04-10 Thread Schrempf Frieder
On 10.04.19 08:25, Marcel Ziswiler wrote: > 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 For Some

Re: [U-Boot] [PATCH] treewide: Replace CONFIG_DM_SPI_FLASH with CONFIG_IS_ENABLED(DM_SPI_FLASH)

2019-02-20 Thread Schrempf Frieder
On 19.02.19 06:07, Marek Vasut wrote: > Perform the replacement to allow platforms use non-DM SPI flash access > in SPL/TPL. This is thus far needed on platforms with size constraints. > > Signed-off-by: Marek Vasut > Cc: Jagan Teki > Cc: Vignesh R I stumbled upon this issue when trying to

Re: [U-Boot] [PATCH v3 13/28] mtd: ensure MTD is compiled when ENV_IS_IN_FLASH is selected

2018-12-05 Thread Schrempf Frieder
On 05.12.18 15:32, Miquel Raynal wrote: > Hi Wolfgang, > > Wolfgang Denk wrote on Wed, 05 Dec 2018 13:06:10 +0100: > >> Dear Miquel, >> >> In message <20181204235714.11805-14-miquel.ray...@bootlin.com> you wrote: >>> MTD support must be enabled when the environment is in NOR. >> >> Naked-by:

Re: [U-Boot] [PATCH] driver/spi: fsl_qspi: Remove non-DM stuff

2018-12-03 Thread Schrempf Frieder
Hi, On 07.09.18 06:19, Ashish Kumar wrote: > Convert fsl_qspi.c to complete DM mode. > > Signed-off-by: Ashish Kumar > Tested-by: Rajat Srivastava > Tested-by: Ye Li > --- > > Tested on LS1088ARDB(arm64). > Tested on LS1021ATWR(arm32) by Rajat > Tested on i.mx6 and i.mx7 by Ye Li > >

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-21 Thread Schrempf Frieder
On 18.02.2016 18:14, Fabio Estevam wrote: > On Thu, Feb 18, 2016 at 1:32 PM, Marek Vasut wrote: > >>> Also one of our customers tested a few non-working sticks with this >>> change and reported, that it fixed it for him. >>> Here's a list of those devices, but I guess there are a

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-18 Thread Schrempf Frieder
On 04.02.2016 12:28, Marek Vasut wrote: > On Thursday, February 04, 2016 at 09:21:08 AM, Schrempf Frieder wrote: >> On 03.02.2016 20:16, Sergei Temerkhanov wrote: >>> On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut<ma...@denx.de> wrote: >>>> On Wednesday, Februa

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-04 Thread Schrempf Frieder
On 03.02.2016 20:16, Sergei Temerkhanov wrote: > On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut <ma...@denx.de> wrote: >> On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf Frieder wrote: >>> On 03.02.2016 12:12, Marek Vasut wrote: >>>> On Wednesday, Februa

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-04 Thread Schrempf Frieder
On 03.02.2016 17:40, Marek Vasut wrote: > On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf Frieder wrote: >> On 03.02.2016 12:12, Marek Vasut wrote: >>> On Wednesday, February 03, 2016 at 11:15:00 AM, Schrempf Frieder wrote: >>>> On 03.02.2016 10:55, Fabio Es

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-03 Thread Schrempf Frieder
On 03.02.2016 10:55, Fabio Estevam wrote: > On Wed, Feb 3, 2016 at 7:40 AM, Marek Vasut wrote: > >> In that case, debug time. >> >> Usual problems are bad routing of the tracks on the board , so try with USB >> 1.1 >> hub and if that works, that's your problem. > Another

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-03 Thread Schrempf Frieder
On 03.02.2016 12:12, Marek Vasut wrote: > On Wednesday, February 03, 2016 at 11:15:00 AM, Schrempf Frieder wrote: >> On 03.02.2016 10:55, Fabio Estevam wrote: >>> On Wed, Feb 3, 2016 at 7:40 AM, Marek Vasut <ma...@denx.de> wrote: >>>> In that case, debug ti

[U-Boot] Issue with USB mass storage (thumb drives)

2016-02-02 Thread Schrempf Frieder
Hello, I'm using U-Boot on a custom i.MX6 board and I'm having problems while reading (large) files from USB thumb drives. I wouldn't really mind if this only happened with some specific USB device, but the problem occurs with 3 out of 4 tested thumb drives while loading a 100M test file. The

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-02 Thread Schrempf Frieder
On 02.02.2016 17:39, Marek Vasut wrote: > On Tuesday, February 02, 2016 at 05:28:42 PM, Fabio Estevam wrote: >> Adding Marek in case he has any ideas. >> >> On Tue, Feb 2, 2016 at 8:35 AM, Schrempf Frieder >> >> <frieder.schre...@exceet.de> wrote: >>