Skip to contentSkip to conversation

mtd: spi-nor-ids: Add support for ESMT/EON EN25Q80B

PATCH Superseded Frieder Schrempf 7 participants 13 messages Feb 15, 2024 – Feb 20, 2024

Subsystems (4)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

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

From: Frieder Schrempf <[email protected]>

The datasheet can be found here:
https://www.esmt.com.tw/upload/pdf/ESMT/datasheets/EN25Q80B_Ver.E.pdf

---
Changes in v3:
* none

Changes in v2:
* Add R-b tag from Fabio (Thanks!)

---
 drivers/mtd/spi/spi-nor-ids.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mtd/spi/spi-nor-ids.c +1 -0
index 38a287487ed..4e83b8c94c9 100644
@@ -80,6 +80,7 @@ const struct flash_info spi_nor_ids[] = {
 #endif
 #ifdef CONFIG_SPI_FLASH_EON		/* EON */
 	/* EON -- en25xxx */
+	{ INFO("en25q80b",   0x1c3014, 0, 64 * 1024,   16, SECT_4K) },
 	{ INFO("en25q32b",   0x1c3016, 0, 64 * 1024,   64, 0) },
 	{ INFO("en25q64",    0x1c3017, 0, 64 * 1024,  128, SECT_4K) },
 	{ INFO("en25q128b",  0x1c3018, 0, 64 * 1024,  256, 0) },
Signature · 1 line
2.43.0
#1 lore raw

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

From: Frieder Schrempf <[email protected]>

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.

---
Changes in v3:
* Add missing MAINTAINERS file

Changes in v2:
* Implement changes suggested by Fabio (Thanks!)
* Fix system reset and remove unneeded cpu_reset()
* Add 'static const' to nfc_pads[]
* Remove hostname from env
* Remove options to disable caches
* Enable watchdog and wdt command
* Enable LTO

---
 arch/arm/dts/Makefile                         |   1 +
 arch/arm/dts/imx6dl-sielaff-u-boot.dtsi       |  38 ++
 arch/arm/dts/imx6dl-sielaff.dts               | 533 ++++++++++++++++++
 arch/arm/mach-imx/mx6/Kconfig                 |  10 +
 board/sielaff/imx6dl-sielaff/Kconfig          |  15 +
 board/sielaff/imx6dl-sielaff/MAINTAINERS      |   9 +
 board/sielaff/imx6dl-sielaff/Makefile         |   8 +
 board/sielaff/imx6dl-sielaff/imx6dl-sielaff.c | 111 ++++
 .../sielaff/imx6dl-sielaff/imx6dl-sielaff.env | 114 ++++
 board/sielaff/imx6dl-sielaff/spl.c            | 273 +++++++++
 configs/imx6dl_sielaff_defconfig              | 120 ++++
 include/configs/imx6dl-sielaff.h              |  25 +
 12 files changed, 1257 insertions(+)
 create mode 100644 arch/arm/dts/imx6dl-sielaff-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6dl-sielaff.dts
 create mode 100644 board/sielaff/imx6dl-sielaff/Kconfig
 create mode 100644 board/sielaff/imx6dl-sielaff/MAINTAINERS
 create mode 100644 board/sielaff/imx6dl-sielaff/Makefile
 create mode 100644 board/sielaff/imx6dl-sielaff/imx6dl-sielaff.c
 create mode 100644 board/sielaff/imx6dl-sielaff/imx6dl-sielaff.env
 create mode 100644 board/sielaff/imx6dl-sielaff/spl.c
 create mode 100644 configs/imx6dl_sielaff_defconfig
 create mode 100644 include/configs/imx6dl-sielaff.h
arch/arm/dts/Makefile +1 -0
index 0fcae77cefe..d60fa1179af 100644
@@ -930,6 +930,7 @@ dtb-y += \
 	imx6dl-riotboard.dtb \
 	imx6dl-sabreauto.dtb \
 	imx6dl-sabresd.dtb \
+	imx6dl-sielaff.dtb \
 	imx6dl-wandboard-revd1.dtb \
 	imx6s-dhcom-drc02.dtb
 
arch/arm/dts/imx6dl-sielaff-u-boot.dtsi new file +38 -0
new file mode 100644
index 00000000000..8f5a70ccb85
@@ -0,0 +1,38 @@
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
+/*
+ * Copyright (C) 2022 Kontron Electronics GmbH
+ */
+
+#include "imx6qdl-u-boot.dtsi"
+
+/ {
+	binman: binman {
+		filename = "flash.bin";
+		pad-byte = <0x00>;
+
+		spl: blob-ext@1 {
+			offset = <0x0>;
+			filename = "SPL";
+		};
+
+		uboot: blob-ext@2 {
+			offset = <0x11000>;
+			filename = "u-boot.img";
+		};
+	};
+
+	wdt-reboot {
+		compatible = "wdt-reboot";
+		wdt = <&wdog1>;
+	};
+};
+
+&fec {
+	phy-mode = "rmii";
+	phy-reset-gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
+	phy-reset-duration = <100>;
+};
+
+&gpmi {
+	fsl,legacy-bch-geometry;
+};
arch/arm/dts/imx6dl-sielaff.dts new file +533 -0

533 lines not on this page · raw message

arch/arm/mach-imx/mx6/Kconfig +10 -0
index 114cce4d9b9..15ee2b933f6 100644
@@ -356,6 +356,15 @@ config TARGET_MX6Q_ACC
 	select DM_THERMAL
 	select SUPPORT_SPL
 
+config TARGET_MX6S_SIELAFF
+	bool "Sielaff i.MX6 Solo Board"
+	depends on MX6S
+	select BINMAN
+	select DM
+	select DM_THERMAL
+	select SUPPORT_SPL
+	imply CMD_DM
+
 config TARGET_MX6SABREAUTO
 	bool "mx6sabreauto"
 	depends on MX6QDL
@@ -708,6 +717,7 @@ source "board/softing/vining_2000/Kconfig"
 source "board/liebherr/display5/Kconfig"
 source "board/liebherr/mccmon6/Kconfig"
 source "board/logicpd/imx6/Kconfig"
+source "board/sielaff/imx6dl-sielaff/Kconfig"
 source "board/solidrun/mx6cuboxi/Kconfig"
 source "board/somlabs/visionsom-6ull/Kconfig"
 source "board/technexion/pico-imx6/Kconfig"
board/sielaff/imx6dl-sielaff/Kconfig new file +15 -0
new file mode 100644
index 00000000000..1b74a7d90ee
@@ -0,0 +1,15 @@
+if TARGET_MX6S_SIELAFF
+
+config SYS_BOARD
+	string
+	default "imx6dl-sielaff"
+
+config SYS_VENDOR
+	string
+	default "sielaff"
+
+config SYS_CONFIG_NAME
+	string
+	default "imx6dl-sielaff"
+
+endif
board/sielaff/imx6dl-sielaff/MAINTAINERS new file +9 -0
new file mode 100644
index 00000000000..c0d3a09c95f
@@ -0,0 +1,9 @@
+Sielaff i.MX6 Solo Board
+M:	Frieder Schrempf <[email protected]>
+S:	Maintained
+F:	arch/arm/dts/imx6dl-sielaff*
+F:	board/sielaff/imx6dl-sielaff/
+F:	configs/imx6dl_sielaff_defconfig
+F:	doc/board/sielaff/imx6dl-sielaff.rst
+F:	include/configs/imx6dl-sielaff.h
+F:	include/configs/kontron-sl-mx6ul.h
board/sielaff/imx6dl-sielaff/Makefile new file +8 -0
new file mode 100644
index 00000000000..65cecfe6f6c
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0+
+# (C) Copyright 2022 Kontron Electronics GmbH
+
+ifdef CONFIG_SPL_BUILD
+obj-y := spl.o
+else
+obj-y := imx6dl-sielaff.o
+endif
board/sielaff/imx6dl-sielaff/imx6dl-sielaff.c new file +111 -0

111 lines not on this page · raw message

board/sielaff/imx6dl-sielaff/imx6dl-sielaff.env new file +114 -0

114 lines not on this page · raw message

board/sielaff/imx6dl-sielaff/spl.c new file +273 -0

273 lines not on this page · raw message

configs/imx6dl_sielaff_defconfig new file +120 -0

120 lines not on this page · raw message

include/configs/imx6dl-sielaff.h new file +25 -0
new file mode 100644
index 00000000000..df074135079
@@ -0,0 +1,25 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2022 Kontron Electronics GmbH
+ */
+#ifndef __MX6SSIELAFF_CONFIG_H
+#define __MX6SSIELAFF_CONFIG_H
+
+#include <asm/arch/imx-regs.h>
+#include <linux/sizes.h>
+#include "mx6_common.h"
+
+#define CFG_MXC_UART_BASE		UART2_BASE
+
+#define PHYS_SDRAM_SIZE			SZ_512M
+#define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
+#define CFG_SYS_SDRAM_BASE		PHYS_SDRAM
+#define CFG_SYS_INIT_RAM_ADDR		IRAM_BASE_ADDR
+#define CFG_SYS_INIT_RAM_SIZE		IRAM_SIZE
+
+#define CFG_SYS_FSL_ESDHC_ADDR		USDHC3_BASE_ADDR
+#define CFG_SYS_FSL_USDHC_NUM		1
+
+#define CFG_SYS_NAND_BASE		0x40000000
+
+#endif /* __MX6SSIELAFF_CONFIG_H */
Signature · 1 line
2.43.0
#2 lore raw

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

Quoted 1 line · Frieder Schrempf

+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 they return true/false such as board_mmc_getcd_was_successful() but less wordy.

Quoted 25 lines
board/sielaff/imx6dl-sielaff/spl.c new file +25 -0
+{
+	struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv;
+	int ret = 0;
+
+	switch (cfg->esdhc_base) {
+	case USDHC3_BASE_ADDR:
+		ret = !gpio_get_value(USDHC3_CD_GPIO);
+		break;
+	}
+
+	return ret;
+}
+
+int board_mmc_init(struct bd_info *bis)
+{
+	int i, ret;
+
+	/*
+	 * According to the board_mmc_init() the following map is done:
+	 * (U-boot device node)    (Physical Port)
+	 * mmc0                    USDHC1
+	 * mmc1                    USDHC2
+	 */
+	for (i = 0; i < CFG_SYS_FSL_USDHC_NUM; i++) {
+		switch (i) {

board/sielaff/imx6dl-sielaff/spl.c line 98

Quoted 10 lines
board/sielaff/imx6dl-sielaff/spl.c new file +10 -0
+		case 0:
+			imx_iomux_v3_setup_multiple_pads(usdhc3_pads,
+							 ARRAY_SIZE(usdhc3_pads));
+			gpio_direction_input(USDHC3_CD_GPIO);
+			usdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK);
+			break;
+		default:
+			printf("Warning: you configured more USDHC controllers \
+				(%d) than supported by the board\n", i + 1);
+			return -EINVAL;

This will look weird if it's ever printed:

"Warning: you configured more USDHC controllers (%d) than supported by the board\n"

There is a checkpatch warnings for this.

WARNING: Avoid line continuations in quoted strings #1137: FILE: board/sielaff/imx6dl-sielaff/spl.c:96:
+ printf("Warning: you configured more USDHC controllers \

regards,
dan carpenter

#3 lore raw

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

Hi Dan,

Quoted 6 lines · Dan Carpenter
Quoted 1 line · Frieder Schrempf

+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 they return true/false such as board_mmc_getcd_was_successful() but less wordy.

What makes you think so? This is an implementation for the existing prototype from mmc.h. As far as I can see this is called by the mmc driver and I can't change it in any way.

Quoted 39 lines
Quoted 26 lines
board/sielaff/imx6dl-sielaff/spl.c new file +25 -0
+{
+	struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv;
+	int ret = 0;
+
+	switch (cfg->esdhc_base) {
+	case USDHC3_BASE_ADDR:
+		ret = !gpio_get_value(USDHC3_CD_GPIO);
+		break;
+	}
+
+	return ret;
+}
+
+int board_mmc_init(struct bd_info *bis)
+{
+	int i, ret;
+
+	/*
+	 * According to the board_mmc_init() the following map is done:
+	 * (U-boot device node)    (Physical Port)
+	 * mmc0                    USDHC1
+	 * mmc1                    USDHC2
+	 */
+	for (i = 0; i < CFG_SYS_FSL_USDHC_NUM; i++) {
+		switch (i) {

board/sielaff/imx6dl-sielaff/spl.c line 98

Quoted 10 lines
board/sielaff/imx6dl-sielaff/spl.c new file +10 -0
+		case 0:
+			imx_iomux_v3_setup_multiple_pads(usdhc3_pads,
+							 ARRAY_SIZE(usdhc3_pads));
+			gpio_direction_input(USDHC3_CD_GPIO);
+			usdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK);
+			break;
+		default:
+			printf("Warning: you configured more USDHC controllers \
+				(%d) than supported by the board\n", i + 1);
+			return -EINVAL;

This will look weird if it's ever printed:

Quoted 7 lines

"Warning: you configured more USDHC controllers (%d) than supported by the board\n"

There is a checkpatch warnings for this.

WARNING: Avoid line continuations in quoted strings #1137: FILE: board/sielaff/imx6dl-sielaff/spl.c:96:
+ printf("Warning: you configured more USDHC controllers \

Agreed. Fabio already applied this to his tree. I can send a fixup for this.

Thanks
Frieder

#4 lore raw

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

Quoted 6 lines · Frieder Schrempf

Hi Dan,

Quoted 3 lines · Dan Carpenter
Quoted 1 line · Frieder Schrempf

+int board_mmc_getcd(struct mmc *mmc)

Quoted 8 lines
Quoted 3 lines

This function is never called. Also for bool functions make them type bool and name them so that it's clear they return true/false such as board_mmc_getcd_was_successful() but less wordy.

What makes you think so? This is an implementation for the existing prototype from mmc.h. As far as I can see this is called by the mmc driver and I can't change it in any way.

Ah, yes. You're right. My bad.

regards,
dan carpenter

#5 lore raw

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

In reply to Frieder Schrempf

From: Frieder Schrempf <[email protected]>

Describe how to build and boot for the Sielaff i.MX6 Solo board.

---
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 ++++++++++++++++++++++++++++
 doc/board/sielaff/index.rst          |  9 ++++++++
 3 files changed, 42 insertions(+)
 create mode 100644 doc/board/sielaff/imx6dl-sielaff.rst
 create mode 100644 doc/board/sielaff/index.rst
doc/board/index.rst +1 -0
index d0f9f355d2e..62357c99388 100644
@@ -42,6 +42,7 @@ Board-specific doc
    renesas/index
    rockchip/index
    samsung/index
+   sielaff/index
    siemens/index
    sifive/index
    sipeed/index
doc/board/sielaff/imx6dl-sielaff.rst new file +32 -0
new file mode 100644
index 00000000000..24dd67ccaef
@@ -0,0 +1,32 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+Sielaff i.MX6 Solo Board
+========================
+
+The Sielaff i.MX6 Solo board is a control and HMI board for vending
+machines.
+
+Quick Start
+-----------
+
+- Build U-Boot
+- Boot
+
+Build U-Boot
+^^^^^^^^^^^^
+
+.. code-block:: bash
+
+   $ make imx6dl_sielaff_defconfig
+   $ make CROSS_COMPILE=arm-none-linux-gnueabihf-
+
+Burn the flash.bin to SD card at an offset of 1 KiB:
+
+.. code-block:: bash
+
+   $ dd if=flash.bin of=/dev/sd[x] bs=1K seek=1 conv=notrunc
+
+Boot
+^^^^
+
+Put the SD card in the slot on the board and apply power.
doc/board/sielaff/index.rst new file +9 -0
new file mode 100644
index 00000000000..a8376484d88
@@ -0,0 +1,9 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+Sielaff
+=======
+
+.. toctree::
+   :maxdepth: 2
+
+   imx6dl-sielaff
Signature · 1 line
2.43.0
#6 lore raw

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

Quoted 37 lines · Frieder Schrempf

From: Frieder Schrempf <[email protected]>

Describe how to build and boot for the Sielaff i.MX6 Solo board.

---
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 ++++++++++++++++++++++++++++
  doc/board/sielaff/index.rst          |  9 ++++++++
  3 files changed, 42 insertions(+)

create mode 100644 doc/board/sielaff/imx6dl-sielaff.rst create mode 100644 doc/board/sielaff/index.rst

doc/board/index.rst +1 -0
index d0f9f355d2e..62357c99388 100644
@@ -42,6 +42,7 @@ Board-specific doc
     renesas/index
     rockchip/index
     samsung/index
+   sielaff/index
     siemens/index
     sifive/index
     sipeed/index
doc/board/sielaff/imx6dl-sielaff.rst new file +0 -0
new file mode 100644
index 00000000000..24dd67ccaef

doc/board/sielaff/imx6dl-sielaff.rst line 7

Quoted 7 lines
doc/board/sielaff/imx6dl-sielaff.rst new file +7 -0
@@ -0,0 +1,32 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+Sielaff i.MX6 Solo Board
+========================
+
+The Sielaff i.MX6 Solo board is a control and HMI board for vending
+machines.

Thank you for providing the build instruction.

I had to look up the abbreviation:

%s/HMI/Human Machine Interface (HMI)/

doc/board/sielaff/imx6dl-sielaff.rst line 13

Quoted 6 lines
doc/board/sielaff/imx6dl-sielaff.rst new file +6 -0
+
+Quick Start
+-----------
+
+- Build U-Boot
+- Boot

These lines are not needed. We have a navigation tree on the left side of the generated HTML page.

doc/board/sielaff/imx6dl-sielaff.rst line 21

Quoted 8 lines
doc/board/sielaff/imx6dl-sielaff.rst new file +8 -0
+
+Build U-Boot
+^^^^^^^^^^^^
+
+.. code-block:: bash
+
+   $ make imx6dl_sielaff_defconfig
+   $ make CROSS_COMPILE=arm-none-linux-gnueabihf-

U-Boot does not use floats.

make CROSS_COMPILE=arm-linux-gnueabi-

doc/board/sielaff/imx6dl-sielaff.rst line 23

Quoted 2 lines
doc/board/sielaff/imx6dl-sielaff.rst new file +2 -0
+
+Burn the flash.bin to SD card at an offset of 1 KiB:

Copy the flash.bin file to an SD card at an offset of 1 KiB:

doc/board/sielaff/imx6dl-sielaff.rst line 27

Quoted 4 lines
doc/board/sielaff/imx6dl-sielaff.rst new file +4 -0
+
+.. code-block:: bash
+
+   $ dd if=flash.bin of=/dev/sd[x] bs=1K seek=1 conv=notrunc

Please, remove '$ '. It makes copy and paste more difficult. Anyway $ is the wrong prompt. Only root can use dd. If you really want a prompt, use:

.. prompt:: bash #

conv=notrunc has no effect on SD-cards but is needed when copying to an image file.

Best regards

Heinrich

Quoted 20 lines
doc/board/sielaff/imx6dl-sielaff.rst new file +5 -0
+
+Boot
+^^^^
+
+Put the SD card in the slot on the board and apply power.
doc/board/sielaff/index.rst new file +9 -0
new file mode 100644
index 00000000000..a8376484d88
@@ -0,0 +1,9 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+Sielaff
+=======
+
+.. toctree::
+   :maxdepth: 2
+
+   imx6dl-sielaff
#7 lore raw

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

Quoted 6 lines · Heinrich Schuchardt
Quoted 5 lines · Frieder Schrempf

From: Frieder Schrempf <[email protected]>

Describe how to build and boot for the Sielaff i.MX6 Solo board.

[snip]

Quoted 11 lines

doc/board/sielaff/imx6dl-sielaff.rst line 21

Quoted 7 lines
doc/board/sielaff/imx6dl-sielaff.rst new file +7 -0
+Build U-Boot
+^^^^^^^^^^^^
+
+.. code-block:: bash
+
+   $ make imx6dl_sielaff_defconfig
+   $ make CROSS_COMPILE=arm-none-linux-gnueabihf-

U-Boot does not use floats.

make CROSS_COMPILE=arm-linux-gnueabi-

It's not about floats or not (we pass the right flags) but consistency. And in that case, yes, we should say arm-linux-gnueabi- but also we really need to expand doc/build/{gcc,clang}.rst to be generic enough for platforms to refer back to rather than repeating in slightly different ways what's in those files.

Signature · 1 line
Tom
#8 lore raw

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

In reply to Heinrich Schuchardt

Hi Heinrich,

thanks for your comments. I fixed all these issues in v4.

Quoted 90 lines · Heinrich Schuchardt
Quoted 38 lines · Frieder Schrempf

From: Frieder Schrempf <[email protected]>

Describe how to build and boot for the Sielaff i.MX6 Solo board.

---
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 ++++++++++++++++++++++++++++ doc/board/sielaff/index.rst          |  9 ++++++++

  3 files changed, 42 insertions(+)

  create mode 100644 doc/board/sielaff/imx6dl-sielaff.rst create mode 100644 doc/board/sielaff/index.rst

doc/board/index.rst +0 -0
index d0f9f355d2e..62357c99388 100644
@@ -42,6 +42,7 @@ Board-specific doc

     renesas/index
     rockchip/index
     samsung/index
+   sielaff/index
     siemens/index
     sifive/index
     sipeed/index

doc/board/sielaff/imx6dl-sielaff.rst new file +0 -0
new file mode 100644
index 00000000000..24dd67ccaef

doc/board/sielaff/imx6dl-sielaff.rst line 7

Quoted 7 lines
doc/board/sielaff/imx6dl-sielaff.rst new file +7 -0
@@ -0,0 +1,32 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+Sielaff i.MX6 Solo Board
+========================
+
+The Sielaff i.MX6 Solo board is a control and HMI board for vending
+machines.

Thank you for providing the build instruction.

I had to look up the abbreviation:

%s/HMI/Human Machine Interface (HMI)/

doc/board/sielaff/imx6dl-sielaff.rst line 13

Quoted 6 lines
doc/board/sielaff/imx6dl-sielaff.rst new file +6 -0
+
+Quick Start
+-----------
+
+- Build U-Boot
+- Boot

These lines are not needed. We have a navigation tree on the left side of the generated HTML page.

doc/board/sielaff/imx6dl-sielaff.rst line 21

Quoted 8 lines
doc/board/sielaff/imx6dl-sielaff.rst new file +8 -0
+
+Build U-Boot
+^^^^^^^^^^^^
+
+.. code-block:: bash
+
+   $ make imx6dl_sielaff_defconfig
+   $ make CROSS_COMPILE=arm-none-linux-gnueabihf-

U-Boot does not use floats.

make CROSS_COMPILE=arm-linux-gnueabi-

doc/board/sielaff/imx6dl-sielaff.rst line 23

Quoted 2 lines
doc/board/sielaff/imx6dl-sielaff.rst new file +2 -0
+
+Burn the flash.bin to SD card at an offset of 1 KiB:

Copy the flash.bin file to an SD card at an offset of 1 KiB:

doc/board/sielaff/imx6dl-sielaff.rst line 27

Quoted 4 lines
doc/board/sielaff/imx6dl-sielaff.rst new file +4 -0
+
+.. code-block:: bash
+
+   $ dd if=flash.bin of=/dev/sd[x] bs=1K seek=1 conv=notrunc

Please, remove '$ '. It makes copy and paste more difficult. Anyway $ is the wrong prompt. Only root can use dd. If you really want a prompt, use:

Quoted 4 lines

.. prompt:: bash #

conv=notrunc has no effect on SD-cards but is needed when copying to an image file.

Thanks
Frieder

#9 lore raw
In reply to Frieder Schrempf
Quoted 10 lines · On Thu, 15 Feb 2024 14:35:19 +0100 Frieder Schrempf <[email protected]> wrote:

From: Frieder Schrempf <[email protected]>

The datasheet can be found here:
https://www.esmt.com.tw/upload/pdf/ESMT/datasheets/EN25Q80B_Ver.E.pdf

---
Changes in v3:
* none

Why do you resend then? Also v4 seems unchanged? Did you adjust the people in CC:? If you want to notify more people, please just reply to your own patch.

Cheers,
Andre

Quoted 18 lines

Changes in v2:
* Add R-b tag from Fabio (Thanks!)

---
 drivers/mtd/spi/spi-nor-ids.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mtd/spi/spi-nor-ids.c +1 -0
index 38a287487ed..4e83b8c94c9 100644
@@ -80,6 +80,7 @@ const struct flash_info spi_nor_ids[] = {
 #endif
 #ifdef CONFIG_SPI_FLASH_EON		/* EON */
 	/* EON -- en25xxx */
+	{ INFO("en25q80b",   0x1c3014, 0, 64 * 1024,   16, SECT_4K) },
 	{ INFO("en25q32b",   0x1c3016, 0, 64 * 1024,   64, 0) },
 	{ INFO("en25q64",    0x1c3017, 0, 64 * 1024,  128, SECT_4K) },
 	{ INFO("en25q128b",  0x1c3018, 0, 64 * 1024,  256, 0) },
#10 lore raw

Hi Andre,

Quoted 14 lines · Andre Przywara
Quoted 10 lines · On Thu, 15 Feb 2024 14:35:19 +0100 Frieder Schrempf <[email protected]> wrote:

From: Frieder Schrempf <[email protected]>

The datasheet can be found here:
https://www.esmt.com.tw/upload/pdf/ESMT/datasheets/EN25Q80B_Ver.E.pdf

---
Changes in v3:
* none

Quoted 3 lines

Why do you resend then? Also v4 seems unchanged? Did you adjust the people in CC:? If you want to notify more people, please just reply to your own patch.

This is part of a patch series and there are changes in other patches within the series. The usual workflow is to send the whole series again even if not all patches changed. At least that's what I've always been doing and so far no one complained. If there's a better way, please let me know.

Thanks
Frieder

#11 lore raw

Hello Frieder,

Quoted 18 lines · Frieder Schrempf
Quoted 13 lines · Andre Przywara
Quoted 10 lines · On Thu, 15 Feb 2024 14:35:19 +0100 Frieder Schrempf <[email protected]> wrote:

From: Frieder Schrempf <[email protected]>

The datasheet can be found here:
https://www.esmt.com.tw/upload/pdf/ESMT/datasheets/EN25Q80B_Ver.E.pdf

---
Changes in v3:
* none

Quoted 3 lines

Why do you resend then? Also v4 seems unchanged? Did you adjust the people in CC:? If you want to notify more people, please just reply to your own patch.

Quoted 5 lines

This is part of a patch series and there are changes in other patches within the series. The usual workflow is to send the whole series again even if not all patches changed. At least that's what I've always been doing and so far no one complained. If there's a better way, please let me know.

Perhaps having a cover letter would make it easier to see what changed in each version of the series. Just my two cents.

#12 lore raw
In reply to Frieder Schrempf

On Thu, 15 Feb 2024 17:56:10 +0100
Frieder Schrempf <[email protected]> wrote:

Hi Frieder,

Quoted 15 lines · Andre Przywara
Quoted 14 lines
Quoted 10 lines · On Thu, 15 Feb 2024 14:35:19 +0100 Frieder Schrempf <[email protected]> wrote:

From: Frieder Schrempf <[email protected]>

The datasheet can be found here:
https://www.esmt.com.tw/upload/pdf/ESMT/datasheets/EN25Q80B_Ver.E.pdf

---
Changes in v3:
* none

Quoted 5 lines
Quoted 3 lines

Why do you resend then? Also v4 seems unchanged? Did you adjust the people in CC:? If you want to notify more people, please just reply to your own patch.

This is part of a patch series and there are changes in other patches

Ah, sorry, I missed that, because I only got 1/3. I think it's recommended to send a cover letter to the superset of all recipients, or, for such a small series, just all patches to everyone.

Anyway, it's fine in this case, so just ignore me.

Cheers,
Andre.

Quoted 7 lines

within the series. The usual workflow is to send the whole series again even if not all patches changed. At least that's what I've always been doing and so far no one complained. If there's a better way, please let me know.

Thanks
Frieder