Re: [PATCH v2 04/22] drivers: mtd: spi-nand: add missed add missed MODULE_DEVICE_TABLE()

2025-08-04 Thread Frieder Schrempf
Am 05.08.25 um 00:11 schrieb Mikhail Kshevetskiy: > Signed-off-by: Mikhail Kshevetskiy There is some duplication in the subject line of this patch. Also it should be "missing" not "missed". The prefix in the subject line for this patch and all the other spinand patches in this series should not

Re: [PATCH] arm: imx: imx9: scmi: Fix booting from USB

2025-07-29 Thread Frieder Schrempf
ough. [1] https://source.denx.de/u-boot/u-boot/-/commit/d175982c207bb2ace592d7985cd3f05ab99759d9 Best regards Frieder >From 49b028284e36eeb7516f618e31bbf569956295ad Mon Sep 17 00:00:00 2001 From: Frieder Schrempf Date: Thu, 16 May 2024 14:27:39 +0200 Subject: [PATCH] arm: imx: imx9: Allow

[PATCH v2 2/2] configs: imx6dl_sielaff: Set CONFIG_SDP_LOADADDR to fix SDP boot

2025-07-22 Thread Frieder Schrempf
From: Frieder Schrempf We need to set CONFIG_SDP_LOADADDR to a reasonable value in order to successfully load the U-Boot proper image in SPL via SDP. Signed-off-by: Frieder Schrempf --- Changes for v2: * none --- configs/imx6dl_sielaff_defconfig | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v2 1/2] imx6dl-sielaff: Convert to OF_UPSTREAM

2025-07-22 Thread Frieder Schrempf
From: Frieder Schrempf Switch to OF_UPSTREAM to make use of the upstream devicetree. Signed-off-by: Frieder Schrempf --- Changes for v2: * move OF_UPSTREAM from KConfig to defconfig --- arch/arm/dts/Makefile| 1 - arch/arm/dts/imx6dl-sielaff.dts | 533

Re: [PATCH 1/2] imx6dl-sielaff: Convert to OF_UPSTREAM

2025-07-22 Thread Frieder Schrempf
Am 21.07.25 um 15:27 schrieb Quentin Schulz: > Hi Frieder, > > On 7/21/25 3:08 PM, Frieder Schrempf wrote: >> Hi Quentin, >> >> Am 21.07.25 um 15:01 schrieb Quentin Schulz: >>> Hi Frieder, >>> >>> On 7/21/25 2:51 PM, Frieder Schrempf wrote: &

Re: [PATCH 2/2] imx: power-domain: Enable refcounting on imx8mp

2025-07-22 Thread Frieder Schrempf
Am 22.07.25 um 09:26 schrieb Frieder Schrempf: > Am 21.07.25 um 18:01 schrieb Frieder Schrempf: >> Hi Miquel, >> >> Am 25.04.25 um 08:49 schrieb Miquel Raynal: >>> Prevent enabling/disabling multiple times the same power domain to avoid >>> breakages due to

[PATCH] imx: power-domain: Fix crash due to uninitialized 'id' field

2025-07-22 Thread Frieder Schrempf
From: Frieder Schrempf In case of the i.MX8M power-domains (i.MX8MQ, MM, MN) there is only one power-domain for each device. Therefore the 'id' field in struct power_domain should always be zero. Currently if a power-domain is accessed after the initial bind, the 'id

Re: [PATCH 2/2] imx: power-domain: Enable refcounting on imx8mp

2025-07-22 Thread Frieder Schrempf
Am 21.07.25 um 18:01 schrieb Frieder Schrempf: > Hi Miquel, > > Am 25.04.25 um 08:49 schrieb Miquel Raynal: >> Prevent enabling/disabling multiple times the same power domain to avoid >> breakages due to the same power domains being referenced several times >>

Re: [PATCH 2/2] imx: power-domain: Enable refcounting on imx8mp

2025-07-21 Thread Frieder Schrempf
Hi Miquel, Am 25.04.25 um 08:49 schrieb Miquel Raynal: > Prevent enabling/disabling multiple times the same power domain to avoid > breakages due to the same power domains being referenced several times > by different device nodes. > > Signed-off-by: Miquel Raynal I've stumbled upon some issue

Re: [PATCH 1/2] imx6dl-sielaff: Convert to OF_UPSTREAM

2025-07-21 Thread Frieder Schrempf
Hi Quentin, Am 21.07.25 um 15:01 schrieb Quentin Schulz: > Hi Frieder, > > On 7/21/25 2:51 PM, Frieder Schrempf wrote: >> [You don't often get email from frie...@fris.de. Learn why this is >> important at https://aka.ms/LearnAboutSenderIdentification ] >> >>

[PATCH 2/2] configs: imx6dl_sielaff: Set CONFIG_SDP_LOADADDR to fix SDP boot

2025-07-21 Thread Frieder Schrempf
From: Frieder Schrempf We need to set CONFIG_SDP_LOADADDR to a reasonable value in order to successfully load the U-Boot proper image in SPL via SDP. Signed-off-by: Frieder Schrempf --- configs/imx6dl_sielaff_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs

[PATCH 1/2] imx6dl-sielaff: Convert to OF_UPSTREAM

2025-07-21 Thread Frieder Schrempf
From: Frieder Schrempf Switch to OF_UPSTREAM to make use of the upstream devicetree. Signed-off-by: Frieder Schrempf --- arch/arm/dts/Makefile| 1 - arch/arm/dts/imx6dl-sielaff.dts | 533 --- arch/arm/mach-imx/mx6/Kconfig| 1 + configs

Re: [PATCH 00/12] imx9: switch to bootstd for i.MX93/1 EVK/QSB and i.MX8M EVK

2025-01-13 Thread Frieder Schrempf
On 07.01.25 12:45 AM, Tony Dinh wrote: > Hi Peng & Simon, > > On Mon, Jan 6, 2025 at 4:15 AM Simon Glass wrote: >> >> Hi Peng, >> >> On Sun, 5 Jan 2025 at 18:14, Peng Fan wrote: >>> Subject: Re: [PATCH 00/12] imx9: switch to bootstd for i.MX93/1 EVK/QSB and i.MX8M EVK Hi Peng

Re: [PATCH] imx: Fix usable memory ranges for imx8m SOCs

2024-12-18 Thread Frieder Schrempf
e and have 32b and 64b > platforms define ram_top identically. Some more ideas for cleaning up the situation in the long run: * Get rid of board_get_usable_ram_top() and fix the drivers that require address space below SZ_4G. * Parse the 'dma-ranges' property in the SoC node of the dev

Re: [PATCH] kontron-sl-mx6ul: switch to DM_SERIAL

2024-07-22 Thread Frieder Schrempf
On 20.07.24 5:54 PM, Anatolij Gustschin wrote: > Enable DM_SERIAL to avoid board removal warning. > > Signed-off-by: Anatolij Gustschin > Cc: Frieder Schrempf Reviewed-by: Frieder Schrempf > --- > configs/kontron-sl-mx6ul_defconfig | 1 + > 1 file changed, 1 insertion

Re: [PATCH v4 6/6] spinand: bind UBI block

2024-06-10 Thread Frieder Schrempf
y: Reviewed-by: Frieder Schrempf > --- > drivers/mtd/nand/spi/core.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c > index 8edb468aed..db71e0627b 100644 > --- a/drivers/mtd/nand/spi

Re: [PATCH 080/149] board: kontron: Remove and add needed includes

2024-05-06 Thread Frieder Schrempf
On 01.05.24 04:42, Tom Rini wrote: > Remove from this board vendor directory and when needed > add missing include files directly. > > Signed-off-by: Tom Rini Acked-by: Frieder Schrempf

Re: [PATCH v2 6/6] spinand: bind UBI block

2024-04-03 Thread Frieder Schrempf
On 25.03.24 15:41, Alexey Romanov wrote: > UBI block is virtual block device, which is an abstraction > over MTD layer. Therefore it is logical to use it in combination > with MTD drivers. > > Signed-off-by: Alexey Romanov Reviewed-by: Frieder Schrempf > --- > drivers/mt

Re: [PATCH v2 3/3] spinand: bind mtdblock

2024-03-19 Thread Frieder Schrempf
On 07.03.24 14:07, Alexey Romanov wrote: > Bind SPI-NAND driver to MTD block driver. > > Signed-off-by: Alexey Romanov Reviewed-by: Frieder Schrempf > --- > drivers/mtd/nand/spi/core.c | 20 > 1 file changed, 20 insertions(+) > > diff --git a/dri

Re: [PATCH V3] mtd: spinand: Add support for XTX SPINAND

2024-03-11 Thread Frieder Schrempf
ed from > linux-6.7.1.This driver is tested on Banana BPI-R3 with XT26G01A and > XT26G12D. > > Signed-off-by: Bruce Suen The commit message still has some minor flaws like missing spaces after the periods, but anyway: Reviewed-by: Frieder Schrempf

Re: [PATCH V2] mtd: spinand: Add support for XTX SPINAND

2024-03-11 Thread Frieder Schrempf
Hi Bruce, On 11.03.24 03:54, Bruce Suen wrote: > [Sie erhalten nicht häufig E-Mails von bruce_s...@163.com. Weitere > Informationen, warum dies wichtig ist, finden Sie unter > https://aka.ms/LearnAboutSenderIdentification ] > > Add support for XTX XT26G0xA and XT26xxxD,the driver is ported from

Re: [PATCH v1 0/4] Introduce mtdblock device

2024-03-06 Thread Frieder Schrempf
Hi Alexey, On 01.03.24 14:42, Alexey Romanov wrote: > Hi Frieder, > > On Thu, Feb 29, 2024 at 09:51:04AM +0100, Frieder Schrempf wrote: >> Hi Alexey, >> >> On 27.02.24 11:04, Alexey Romanov wrote: >>> Hello! >>> >>> This series adds support f

Re: [PATCH] mtd: spinand: Add support for XTX SPI NAND

2024-03-06 Thread Frieder Schrempf
Hi Bruce, On 01.03.24 09:01, Bruce Sun wrote: > Add support for XTX XT26G0xA and XT26xxxD,the driver is ported from > linux-6.7.1. This patch is missing your Signed-off-by tag. And it seems to be formatted incorrectly. At least I can't apply it to master or nand-next. How do you create the patch

Re: [PATCH] mtd: spinand: Add support for XTX XT26xxxDxxxxx

2024-02-29 Thread Frieder Schrempf
m to do that. Thanks Frieder > > Michael > > On Thu, Feb 29, 2024 at 10:24 AM Bruce Sun wrote: >> >> Thans for your advice, I will port the driver from linux driver(xtx.c) >> later. >> >> On 2/29/2024 5:05 PM, Frieder Schrempf wrote: >>> Hi Bruce,

Re: [PATCH] mtd: spinand: Add support for XTX XT26xxxDxxxxx

2024-02-29 Thread Frieder Schrempf
On 30.01.24 04:11, Bruce Sun wrote: > > Sie erhalten nicht oft eine E-Mail von bruce_s...@163.com. Erfahren Sie, > warum dies wichtig ist > > > > On 1/29/2024 8:00 PM, Jagan Teki wrote: >> On Tue, Dec 26, 2023 at 1:28 PM Bruce Suen wr

Re: [PATCH] mtd: spinand: Add support for XTX XT26xxxDxxxxx

2024-02-29 Thread Frieder Schrempf
Hi Bruce, On 26.12.23 08:58, Bruce Suen wrote: > [Sie erhalten nicht häufig E-Mails von bruce_s...@163.com. Weitere > Informationen, warum dies wichtig ist, finden Sie unter > https://aka.ms/LearnAboutSenderIdentification ] > > Add Support XTX Technology XT26G01DX, XT26G11DX, XT26Q01DXX

Re: [PATCH v1 0/4] Introduce mtdblock device

2024-02-29 Thread Frieder Schrempf
Hi Alexey, On 27.02.24 11:04, Alexey Romanov wrote: > Hello! > > This series adds support for the mtdblock device, which > allows to read/write data block by block. For example, > it can now be used for BCB or Android AB command: > > $ bcb load mtd 0 part_name > > Tested only on SPI NAND, so

[PATCH] board: imx6dl-sielaff: spl.c: Remove multiline string

2024-02-20 Thread Frieder Schrempf
From: Frieder Schrempf Remove the malformed multiline string and fix the checkpatch warning. Reported-by: Dan Carpenter Signed-off-by: Frieder Schrempf --- Cc: Fabio Estevam Cc: Stefano Babic --- board/sielaff/imx6dl-sielaff/spl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

Re: [PATCH v3 2/3] board: Add support for Sielaff i.MX6 Solo board

2024-02-20 Thread Frieder Schrempf
Hi Dan, On 20.02.24 06:56, Dan Carpenter wrote: > On Thu, Feb 15, 2024 at 02:35:20PM +0100, Frieder Schrempf wrote: >> +int board_mmc_getcd(struct mmc *mmc) > > This function is never called. Also for bool functions make them type > bool and name them so that it's clear

Re: [PATCH v3 1/3] mtd: spi-nor-ids: Add support for ESMT/EON EN25Q80B

2024-02-15 Thread Frieder Schrempf
Hi Andre, On 15.02.24 17:50, Andre Przywara wrote: > On Thu, 15 Feb 2024 14:35:19 +0100 > Frieder Schrempf wrote: > >> From: Frieder Schrempf >> >> The datasheet can be found here: >> https://www.esmt.com.tw/upload/pdf/ESMT/datasheets/EN25Q80B_Ver.E.pdf >

Re: [PATCH v3 3/3] doc: board: Add minimal documentation for Sielaff i.MX6 Solo board

2024-02-15 Thread Frieder Schrempf
Hi Heinrich, thanks for your comments. I fixed all these issues in v4. On 15.02.24 14:53, Heinrich Schuchardt wrote: > On 15.02.24 2:35 PM, Frieder Schrempf wrote: >> From: Frieder Schrempf >> >> Describe how to build and boot for the Sielaff i.MX6 Solo board. >>

[PATCH v4 3/3] doc: board: Add minimal documentation for Sielaff i.MX6 Solo board

2024-02-15 Thread Frieder Schrempf
From: Frieder Schrempf Describe how to build and boot for the Sielaff i.MX6 Solo board. Signed-off-by: Frieder Schrempf --- Changes in v4: * changes requested by Heinrich (thanks!) Changes in v3: * include docs in upper-level index Changes in v2: * none --- doc/board/index.rst

[PATCH v4 2/3] board: Add support for Sielaff i.MX6 Solo board

2024-02-15 Thread Frieder Schrempf
From: Frieder Schrempf The Sielaff i.MX6 Solo board is a control and HMI board for vending machines. Add support for this board. The devicetree files are taken from pending changes in the Linux kernel that are available from linux-next and will likely be part of Linux v6.9. Signed-off-by

[PATCH v4 1/3] mtd: spi-nor-ids: Add support for ESMT/EON EN25Q80B

2024-02-15 Thread Frieder Schrempf
From: Frieder Schrempf The datasheet can be found here: https://www.esmt.com.tw/upload/pdf/ESMT/datasheets/EN25Q80B_Ver.E.pdf Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v4: * none Changes in v3: * none Changes in v2: * Add R-b tag from Fabio (Thanks

Re: [PATCH v2 2/3] board: Add support for Sielaff i.MX6 Solo board

2024-02-15 Thread Frieder Schrempf
On 15.02.24 13:27, Fabio Estevam wrote: > Hi Frieder, > > On Tue, Feb 13, 2024 at 2:22 PM Frieder Schrempf wrote: >> >> From: Frieder Schrempf >> >> The Sielaff i.MX6 Solo board is a control and HMI board for vending >> machines. Add support for this boar

[PATCH v3 3/3] doc: board: Add minimal documentation for Sielaff i.MX6 Solo board

2024-02-15 Thread Frieder Schrempf
From: Frieder Schrempf Describe how to build and boot for the Sielaff i.MX6 Solo board. Signed-off-by: Frieder Schrempf --- Changes in v3: * include docs in upper-level index Changes in v2: * none --- doc/board/index.rst | 1 + doc/board/sielaff/imx6dl-sielaff.rst | 32

[PATCH v3 2/3] board: Add support for Sielaff i.MX6 Solo board

2024-02-15 Thread Frieder Schrempf
From: Frieder Schrempf The Sielaff i.MX6 Solo board is a control and HMI board for vending machines. Add support for this board. The devicetree files are taken from pending changes in the Linux kernel that are available from linux-next and will likely be part of Linux v6.9. Signed-off-by

[PATCH v3 1/3] mtd: spi-nor-ids: Add support for ESMT/EON EN25Q80B

2024-02-15 Thread Frieder Schrempf
From: Frieder Schrempf The datasheet can be found here: https://www.esmt.com.tw/upload/pdf/ESMT/datasheets/EN25Q80B_Ver.E.pdf Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v3: * none Changes in v2: * Add R-b tag from Fabio (Thanks!) --- drivers/mtd/spi/spi-nor

[PATCH v2 2/3] board: Add support for Sielaff i.MX6 Solo board

2024-02-13 Thread Frieder Schrempf
From: Frieder Schrempf The Sielaff i.MX6 Solo board is a control and HMI board for vending machines. Add support for this board. The devicetree files are taken from pending changes in the Linux kernel that are available from linux-next and will likely be part of Linux v6.9. Signed-off-by

[PATCH v2 3/3] doc: board: Add minimal documentation for Sielaff i.MX6 Solo board

2024-02-13 Thread Frieder Schrempf
From: Frieder Schrempf Describe how to build and boot for the Sielaff i.MX6 Solo board. Signed-off-by: Frieder Schrempf --- Changes in v2: * none --- doc/board/sielaff/imx6dl-sielaff.rst | 32 doc/board/sielaff/index.rst | 9 2 files changed, 41

[PATCH v2 1/3] mtd: spi-nor-ids: Add support for ESMT/EON EN25Q80B

2024-02-13 Thread Frieder Schrempf
From: Frieder Schrempf The datasheet can be found here: https://www.esmt.com.tw/upload/pdf/ESMT/datasheets/EN25Q80B_Ver.E.pdf Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam --- Changes in v2: * Add R-b tag from Fabio (Thanks!) --- drivers/mtd/spi/spi-nor-ids.c | 1 + 1 file

Re: [PATCH 2/3] board: Add support for Sielaff i.MX6 Solo board

2024-02-13 Thread Frieder Schrempf
Hi Fabio, thanks for reviewing! On 10.02.24 19:12, Fabio Estevam wrote: > Hi Frieder, > > On Thu, Feb 8, 2024 at 1:59 PM Frieder Schrempf wrote: > >> +/ { >> + binman: binman { >> + filename = "flash.bin"; >> +

[PATCH 3/3] doc: board: Add minimal documentation for Sielaff i.MX6 Solo board

2024-02-08 Thread Frieder Schrempf
From: Frieder Schrempf Describe how to build and boot for the Sielaff i.MX6 Solo board. Signed-off-by: Frieder Schrempf --- doc/board/sielaff/imx6dl-sielaff.rst | 32 doc/board/sielaff/index.rst | 9 2 files changed, 41 insertions(+) create

[PATCH 2/3] board: Add support for Sielaff i.MX6 Solo board

2024-02-08 Thread Frieder Schrempf
From: Frieder Schrempf The Sielaff i.MX6 Solo board is a control and HMI board for vending machines. Add support for this board. The devicetree files are taken from pending changes in the Linux kernel that are available from linux-next and will likely be part of Linux v6.9. Signed-off-by

[PATCH 1/3] mtd: spi-nor-ids: Add support for ESMT/EON EN25Q80B

2024-02-08 Thread Frieder Schrempf
From: Frieder Schrempf The datasheet can be found here: https://www.esmt.com.tw/upload/pdf/ESMT/datasheets/EN25Q80B_Ver.E.pdf Signed-off-by: Frieder Schrempf --- drivers/mtd/spi/spi-nor-ids.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi

Re: [PATCH v2 1/1] mtd: spinand: add support for ESMT F50x1G41LB

2023-10-24 Thread Frieder Schrempf
igned-off-by: Igor Prusov > Signed-off-by: Chuanhong Guo > Signed-off-by: Martin Kurbanov > Signed-off-by: Dmitry Rokosov > Tested-by: Martin Kurbanov Reviewed-by: Frieder Schrempf

Re: [PATCH v1 1/2] mtd: spinand: rework detect procedure for different READ_ID operation

2023-10-09 Thread Frieder Schrempf
On 04.10.23 17:07, Igor Prusov wrote: > Adaptation of Linux commit f1541773af49. > > Currently there are 3 different variants of read_id implementation: > 1. opcode only. Found in GD5FxGQ4xF. > 2. opcode + 1 addr byte. Found in GD5GxGQ4xA/E > 3. opcode + 1 dummy byte. Found in other currently supp

Re: [RFC PATCH] env: Export environment config to OS devicetree

2023-08-07 Thread Frieder Schrempf
Hi Simon, hi Stefano, On 04.08.23 15:39, Stefano Babic wrote: > Hi Simon, > > On 04.08.23 05:42, Simon Glass wrote: >> Hi, >> >> On Thu, 3 Aug 2023 at 07:21, Stefano Babic wrote: >>> >>> Hi Frieder, >>> >>> On 03.08.23 14:51, Fried

Re: [RFC PATCH] env: Export environment config to OS devicetree

2023-08-03 Thread Frieder Schrempf
Hi Stefano, On 03.08.23 10:14, Stefano Babic wrote: > Hi Frieder, > > On 01.08.23 16:46, Frieder Schrempf wrote: >> From: Frieder Schrempf >> >> There are plenty of cases where the OS wants to know where the >> persistent environment is stored in order to prin

[RFC PATCH] env: Export environment config to OS devicetree

2023-08-01 Thread Frieder Schrempf
From: Frieder Schrempf There are plenty of cases where the OS wants to know where the persistent environment is stored in order to print or manipulate it. In most cases a userspace tool like libubootenv [1] is used to handle the environment. It uses hardcoded settings in a config file in the

Re: [PATCH 00/30] imx: misc update and fix

2023-06-05 Thread Frieder Schrempf
On 02.06.23 08:45, Peng Fan (OSS) wrote: > From: Peng Fan > > This patchset includes some misc update and fix from NXP downstream > - i.MX8 SCU API usage correction > - Use ELE(EdgeLockSecure Enclave) public from NXP to replace S400 or Sentinel > - Secondary container support and header checki

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-05-31 Thread Frieder Schrempf
On 31.05.23 14:58, Dario Binacchi wrote: > Hi Frieder, All > > On Wed, May 31, 2023 at 12:58 PM Frieder Schrempf > wrote: >> >> On 17.05.23 09:43, Frieder Schrempf wrote: >>> Hi Michael, hi Dario, >>> >>> On 15.05.23 23:33, Michael Nazzareno Tr

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-05-31 Thread Frieder Schrempf
On 17.05.23 09:43, Frieder Schrempf wrote: > Hi Michael, hi Dario, > > On 15.05.23 23:33, Michael Nazzareno Trimarchi wrote: >> Hi >> >> Il lun 15 mag 2023, 23:12 Tom Rini > <mailto:tr...@konsulko.com>> ha scritto: >> >> On Tue, May 0

Re: [PATCH] imx8m: soc.c: demote some printfs to debug

2023-05-22 Thread Frieder Schrempf
ose. Demote the > "Found ..." lines to debug(), which is consistent with other instances > in soc.c. > > Signed-off-by: Rasmus Villemoes Reviewed-by: Frieder Schrempf

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-05-17 Thread Frieder Schrempf
Hi Michael, hi Dario, On 15.05.23 23:33, Michael Nazzareno Trimarchi wrote: > Hi > > Il lun 15 mag 2023, 23:12 Tom Rini <mailto:tr...@konsulko.com>> ha scritto: > > On Tue, May 09, 2023 at 09:09:28AM +0200, Frieder Schrempf wrote: > > Hi Michael, hi Dari

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-05-09 Thread Frieder Schrempf
Hi Michael, hi Dario, On 18.04.23 15:46, Frieder Schrempf wrote: > Hi Michael, Dario, > > On 28.03.23 09:57, Frieder Schrempf wrote: >> Hi Michael, >> >> On 10.02.23 12:57, Michael Nazzareno Trimarchi wrote: >>> Hi >>> >>> I will review

Re: [PATCH V2 01/53] spl: imx8mm: enlarge SPL_MAX_SIZE

2023-04-19 Thread Frieder Schrempf
Hi, On 26.07.22 10:40, Peng Fan (OSS) wrote: > From: Peng Fan > > The CONFIG_SPL_MAX_SIZE could be 0x27000 for i.MX8MM when SPL_TEXT_BASE > set to 0x7E1000. > > The DDR firmware max uses 96KB, there is a 4KB padding header before > SPL_TEXT_BASE, so the SPL MAX SIZE is `256KB - 96KB - 4KB`. Am

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-04-19 Thread Frieder Schrempf
On 18.04.23 20:24, Michael Nazzareno Trimarchi wrote: > Hi > > On Tue, Apr 18, 2023 at 8:20 PM Mikhail Kshevetskiy > wrote: >> >> I can try to resend patches (flash drivers synced with linux-6.1). >> Unfortunately I am not sure I will be able to do it after changes in our >> mail system. > > I d

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-04-18 Thread Frieder Schrempf
Hi Michael, Dario, On 28.03.23 09:57, Frieder Schrempf wrote: > Hi Michael, > > On 10.02.23 12:57, Michael Nazzareno Trimarchi wrote: >> Hi >> >> I will review >> >> On Thu, Feb 9, 2023 at 5:52 PM Tom Rini wrote: >>> >>> On Thu, Feb 09,

Re: [PATCH v3] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-04-11 Thread Frieder Schrempf
() and panic() if the init failed. > - Replace a reference to SMARC with the current product name of the >SoM. > > v1…v2: > - Clarify details about the board and whether or not there is an >external SD-card interface. LGTM! Reviewed-by: Frieder Schrempf

Re: [PATCH v2] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-28 Thread Frieder Schrempf
On 28.03.23 11:37, Sebastian Andrzej Siewior wrote: > On 2023-03-28 11:34:42 [+0200], Frieder Schrempf wrote: >> You can easily answer that yourself, by looking at the comments I made >> in [1]. There are comments for the DT compatible, the PMIC node, the >> I2C1 pinctrl node

Re: [PATCH v2] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-28 Thread Frieder Schrempf
On 28.03.23 11:30, Sebastian Andrzej Siewior wrote: > On 2023-03-28 09:53:28 [+0200], Frieder Schrempf wrote: >> On 28.03.23 09:47, Sebastian Andrzej Siewior wrote: >>> The board is similar to "Kontron SL i.MX8M Mini" SoM. There are two >>> variants. &g

Re: [PATCH 1/2] MAINTAINERS: Add entry for SPI NAND framework and drivers

2023-03-28 Thread Frieder Schrempf
On 28.02.23 15:48, Tom Rini wrote: > On Tue, Feb 28, 2023 at 09:52:45AM +0100, Frieder Schrempf wrote: >> On 27.02.23 16:24, Dario Binacchi wrote: >>> Hi Frieder, >>> >>> On Mon, Feb 13, 2023 at 10:47 AM Frieder Schrempf wrote: >>>> >>>>

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-03-28 Thread Frieder Schrempf
Hi Michael, On 10.02.23 12:57, Michael Nazzareno Trimarchi wrote: > Hi > > I will review > > On Thu, Feb 9, 2023 at 5:52 PM Tom Rini wrote: >> >> On Thu, Feb 09, 2023 at 10:24:47AM +0100, Frieder Schrempf wrote: >>> Hi, >>> >>> On 10.0

Re: [PATCH v2] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-28 Thread Frieder Schrempf
On 28.03.23 09:47, Sebastian Andrzej Siewior wrote: > The board is similar to "Kontron SL i.MX8M Mini" SoM. There are two variants. > Snowflake_v2 has an external SDCard Interface. LEIG is the same, but without > display and without external SDCard Interface. Both variants support > only 1GiB of ma

Re: [PATCH] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-16 Thread Frieder Schrempf
On 16.03.23 11:33, Frieder Schrempf wrote: > On 10.03.23 14:50, Sebastian Andrzej Siewior wrote: >> From: Manuel Traut >> >> The board is similar to Kontron's N801x design. It lacks external eMMC >> support and only supports only 1GiB of main memory. > >

Re: [PATCH] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-16 Thread Frieder Schrempf
On 10.03.23 14:50, Sebastian Andrzej Siewior wrote: > From: Manuel Traut > > The board is similar to Kontron's N801x design. It lacks external eMMC > support and only supports only 1GiB of main memory. Good to see some custom boards being upstreamed! It would be worth mentioning here that it is

Re: i.MX8MP SPL failures due to memory corruption/overflow?

2023-03-16 Thread Frieder Schrempf
Hi Emanuele, On 15.03.23 22:25, Emanuele Ghidoli wrote: > [Sie erhalten nicht häufig E-Mails von ghidoliemanu...@gmail.com. > Weitere Informationen, warum dies wichtig ist, finden Sie unter > https://aka.ms/LearnAboutSenderIdentification ] > > On 15/03/2023 16:24, Frieder Schrem

Re: i.MX8MP SPL failures due to memory corruption/overflow?

2023-03-16 Thread Frieder Schrempf
Hi Rasmus, On 15.03.23 16:59, Rasmus Villemoes wrote: > On 15/03/2023 16.24, Frieder Schrempf wrote: >> On 15.03.23 15:42, Frieder Schrempf wrote: >>> On 15.03.23 15:17, Michael Nazzareno Trimarchi wrote: >>>> Hi >>>> >>>> On Wed

Re: i.MX8MP SPL failures due to memory corruption/overflow?

2023-03-15 Thread Frieder Schrempf
On 15.03.23 15:42, Frieder Schrempf wrote: > On 15.03.23 15:17, Michael Nazzareno Trimarchi wrote: >> Hi >> >> On Wed, Mar 15, 2023 at 3:13 PM Frieder Schrempf >> wrote: >>> >>> Hi, >>> >>> I'm trying to bring up a new board base

Re: i.MX8MP SPL failures due to memory corruption/overflow?

2023-03-15 Thread Frieder Schrempf
On 15.03.23 15:17, Michael Nazzareno Trimarchi wrote: > Hi > > On Wed, Mar 15, 2023 at 3:13 PM Frieder Schrempf > wrote: >> >> Hi, >> >> I'm trying to bring up a new board based on the i.MX8MP and I have an >> issue I'm hoping someone can help

i.MX8MP SPL failures due to memory corruption/overflow?

2023-03-15 Thread Frieder Schrempf
Hi, I'm trying to bring up a new board based on the i.MX8MP and I have an issue I'm hoping someone can help solving. I'm seeing failures in the early SPL code, usually in the DDR initialization. Often they look like: U-Boot SPL 2023.04-rc3 (Mar 07 2023 - 14:32:34 +) Training FAILED Fai

Re: [PATCH 1/2] MAINTAINERS: Add entry for SPI NAND framework and drivers

2023-02-28 Thread Frieder Schrempf
On 27.02.23 16:24, Dario Binacchi wrote: > Hi Frieder, > > On Mon, Feb 13, 2023 at 10:47 AM Frieder Schrempf wrote: >> >> From: Frieder Schrempf >> >> In [1] Michael agreed on taking patches for SPI NAND through the RAW >> NAND tree. Add a dedicated e

Re: [PATCH] mtd: spinand: Fix display of unknown raw ID

2023-02-14 Thread Frieder Schrempf
rastructure to support SPI > NANDs") > > Signed-off-by: Patrice Chotard Reviewed-by: Frieder Schrempf

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-02-13 Thread Frieder Schrempf
On 10.02.23 12:57, Michael Nazzareno Trimarchi wrote: > Hi > > I will review > > On Thu, Feb 9, 2023 at 5:52 PM Tom Rini wrote: >> >> On Thu, Feb 09, 2023 at 10:24:47AM +0100, Frieder Schrempf wrote: >>> Hi, >>> >>> On 10.01.23 12:58,

[PATCH 2/2] MAINTAINERS: Rename NAND FLASH to RAW NAND

2023-02-13 Thread Frieder Schrempf
From: Frieder Schrempf As there are other types of NAND flashes like SPI NAND, let's be more specific. Signed-off-by: Frieder Schrempf --- MAINTAINERS | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index e40c401337..00ad8

[PATCH 1/2] MAINTAINERS: Add entry for SPI NAND framework and drivers

2023-02-13 Thread Frieder Schrempf
From: Frieder Schrempf In [1] Michael agreed on taking patches for SPI NAND through the RAW NAND tree. Add a dedicated entry to the MAINTAINERS file which adds Michael and Dario as maintainers and myself as reviewer. [1] https://lists.denx.de/pipermail/u-boot/2023-February/508571.html Signed

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-02-09 Thread Frieder Schrempf
Hi, On 10.01.23 12:58, Frieder Schrempf wrote: > From: Mikhail Kshevetskiy > > Currently there are 3 different variants of read_id implementation: > 1. opcode only. Found in GD5FxGQ4xF. > 2. opcode + 1 addr byte. Found in GD5GxGQ4xA/E > 3. opcode + 1 dummy byte. Found

[PATCH] doc: sl-mx8mm: Fix mistake in merge conflict resolution

2023-02-08 Thread Frieder Schrempf
From: Frieder Schrempf There was a conflict between the following two commits, that wasn't resolved correctly. Fix this. a93985ddfcc3 ("doc: sl-mx8mm: Update the NXP TF-A source reference") f0f461287eff ("imx: Suggest the NXP ATF github repo") Signed-off-by: Fried

Re: [PATCH] imx: imx6ul: kontron-sl-mx6ul: Disable CONFIG_FSL_QSPI_AHB_FULL_MAP to fix SPI NAND read access

2023-01-31 Thread Frieder Schrempf
Hi Stefano, On 14.11.22 13:01, Frieder Schrempf wrote: > From: Frieder Schrempf > > The introduction of CONFIG_FSL_QSPI_AHB_FULL_MAP as default in: > > def88bce094e ("spi: fsl_qspi: Support to use full AHB space on i.MX") > > broke the SPI NAND read access on th

Re: [PATCH] imx: kontron-sl-mx8mm: Fix SD card IO voltage level

2023-01-26 Thread Frieder Schrempf
On 25.01.23 19:02, Marek Vasut wrote: > On 1/25/23 18:30, Frieder Schrempf wrote: >> Hi Marek, > > Hi, > >> On 25.01.23 18:15, Marek Vasut wrote: >>> On 1/25/23 14:41, Frieder Schrempf wrote: >>>> From: Frieder Schrempf >>> >>>

Re: [PATCH] imx: kontron-sl-mx8mm: Fix SD card IO voltage level

2023-01-25 Thread Frieder Schrempf
Hi Marek, On 25.01.23 18:15, Marek Vasut wrote: > On 1/25/23 14:41, Frieder Schrempf wrote: >> From: Frieder Schrempf > > Subject tags should be ARM: dts: imx: Ok, how do I know? Because "git log arch/arm/dts" shows me that ": :" is used quite often and it

[PATCH] imx: kontron-sl-mx8mm: Fix SD card IO voltage level

2023-01-25 Thread Frieder Schrempf
From: Frieder Schrempf The LDO5 of the PCA9450 PMIC can be switched between two different voltage settings (defaulting to 1.8V and 3.3V) using an external signal SD_VSEL that is connected to the VSELECT signal of the SD card interface. As the regulator driver can't deal with both LDO regi

Re: [PATCH] imx: Suggest the NXP ATF github repo

2023-01-19 Thread Frieder Schrempf
." > > Point to the NXP ATF github repo instead. > > Signed-off-by: Fabio Estevam Reviewed-by: Frieder Schrempf

[PATCH v2 6/6] doc: sl-mx8mm: Add CROSS_COMPILE to U-Boot make call and improve comment

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf Add the CROSS_COMPILE flag as we assume we build in a cross environment. Also improve the comment about copying the binary to SD card. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH v2 5/6] doc: sl-mx8mm: Add guide for copying the bootloader to SPI NOR

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf This adds a guide for copying the raw bootloader image on the SD card to the SPI NOR using U-Boot itself. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff

[PATCH v2 4/6] doc: sl-mx8mm: Update references to latest DDR firmware 8.18

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf Use the latest firmware available from NXP. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst index

[PATCH v2 2/6] doc: sl-mx8mm: Add note about using cross toolchain

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf This clarifies the usage of a cross toolchain to build U-Boot and TF-A. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst index

[PATCH v2 3/6] doc: sl-mx8mm: Update the NXP TF-A source reference

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf Use the latest version of the NXP TF-A code and add a note about quirks with GCC 12. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc

[PATCH v2 1/6] doc: sl-mx8mm: Mention OSM 1.1 support

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf The latest revision of the SoM is compliant to OSM 1.1. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst index

[PATCH v2 0/6] Some documentation updates for Kontron i.MX8MM hardware

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf This depends on Fabio's doc patch [1]. Changes in v2: * Rebase onto Fabio's patch [1] * Remove dot in subject line of patch 6 [1] https://patchwork.ozlabs.org/project/uboot/patch/20230113005223.1979599-1-feste...@denx.de/ Frieder Schrempf (6): doc

Re: [PATCH 3/6] doc: sl-mx8mm: Update the NXP TF-A source reference

2023-01-19 Thread Frieder Schrempf
Hi Fabio, On 19.01.23 12:04, Fabio Estevam wrote: > Hi Frieder, > > On 19/01/2023 07:52, Frieder Schrempf wrote: > >> -1. Get TF-A from: >> https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Fimx-atf&dat

[PATCH 6/6] doc: sl-mx8mm: Add CROSS_COMPILE to U-Boot make call and improve comment.

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf Add the CROSS_COMPILE flag as we assume we build in a cross environment. Also improve the comment about copying the binary to SD card. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 5/6] doc: sl-mx8mm: Add guide for copying the bootloader to SPI NOR

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf This adds a guide for copying the raw bootloader image on the SD card to the SPI NOR using U-Boot itself. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff

[PATCH 1/6] doc: sl-mx8mm: Mention OSM 1.1 support

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf The latest revision of the SoM is compliant to OSM 1.1. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst index

[PATCH 4/6] doc: sl-mx8mm: Update references to latest DDR firmware 8.18

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf Use the latest firmware available from NXP. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst index

[PATCH 3/6] doc: sl-mx8mm: Update the NXP TF-A source reference

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf Use the latest version of the NXP TF-A code and add a note about quirks with GCC 12. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc

[PATCH 2/6] doc: sl-mx8mm: Add note about using cross toolchain

2023-01-19 Thread Frieder Schrempf
From: Frieder Schrempf This clarifies the usage of a cross toolchain to build U-Boot and TF-A. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl-mx8mm.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst index

[PATCH 3/5] mtd/spinand: sync supported devices with linux-5.15.43

2023-01-10 Thread Frieder Schrempf
: Mikhail Kshevetskiy Signed-off-by: Frieder Schrempf (commit message) --- drivers/mtd/nand/spi/Makefile | 2 +- drivers/mtd/nand/spi/core.c | 1 + drivers/mtd/nand/spi/gigadevice.c | 223 ++ drivers/mtd/nand/spi/macronix.c | 145 +-- drivers

[PATCH 5/5] mtd: spinand: winbond: add Winbond W25N02KV flash support

2023-01-10 Thread Frieder Schrempf
From: Mikhail Kshevetskiy Add support of Winbond W25N02KV flash Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Frieder Schrempf Signed-off-by: Miquel Raynal Link: https://lore.kernel.org/linux-mtd/20221010105110.446674-2-mikhail.kshevets...@iopsys.eu Signed-off-by: Frieder Schrempf (U

  1   2   3   >