[opensuse-kernel] [PATCH] config: armv7hl: Enable CONFIG_MTD_NAND_OMAP_BCH
Enable the option to overcome the following NAND issues: [ 44.347577] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xf1 [ 44.347599] nand: Micron MT29F1G08ABADAH4 [ 44.347613] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 44.347635] omap2-nand 8000000.nand: CONFIG_MTD_NAND_OMAP_BCH not enabled [ 44.347726] omap2-nand: probe of 8000000.nand failed with error -22 Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com> --- config/armv7hl/default | 3 ++- config/armv7hl/lpae | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/armv7hl/default b/config/armv7hl/default index 11aa154450..858da4396a 100644 --- a/config/armv7hl/default +++ b/config/armv7hl/default @@ -2139,7 +2139,8 @@ CONFIG_MTD_NAND_ECC_BCH=y # CONFIG_MTD_NAND_DENALI_DT is not set CONFIG_MTD_NAND_GPIO=m CONFIG_MTD_NAND_OMAP2=m -# CONFIG_MTD_NAND_OMAP_BCH is not set +CONFIG_MTD_NAND_OMAP_BCH=y +CONFIG_MTD_NAND_OMAP_BCH_BUILD=m # CONFIG_MTD_NAND_RICOH is not set CONFIG_MTD_NAND_DISKONCHIP=m CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED=y diff --git a/config/armv7hl/lpae b/config/armv7hl/lpae index 630e9a8dd0..972bb7f7b9 100644 --- a/config/armv7hl/lpae +++ b/config/armv7hl/lpae @@ -2072,7 +2072,8 @@ CONFIG_MTD_NAND_ECC_BCH=y # CONFIG_MTD_NAND_DENALI_DT is not set CONFIG_MTD_NAND_GPIO=m CONFIG_MTD_NAND_OMAP2=m -# CONFIG_MTD_NAND_OMAP_BCH is not set +CONFIG_MTD_NAND_OMAP_BCH=y +CONFIG_MTD_NAND_OMAP_BCH_BUILD=m # CONFIG_MTD_NAND_RICOH is not set CONFIG_MTD_NAND_DISKONCHIP=m CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED=y -- 2.13.6 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Hi Matwey, Am 03.06.2018 um 18:18 schrieb Matwey V. Kornilov:
Enable the option to overcome the following NAND issues:
[ 44.347577] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xf1 [ 44.347599] nand: Micron MT29F1G08ABADAH4 [ 44.347613] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 44.347635] omap2-nand 8000000.nand: CONFIG_MTD_NAND_OMAP_BCH not enabled [ 44.347726] omap2-nand: probe of 8000000.nand failed with error -22
Where are you seeing this? The Wega board?
Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com> --- config/armv7hl/default | 3 ++- config/armv7hl/lpae | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/config/armv7hl/default b/config/armv7hl/default index 11aa154450..858da4396a 100644 --- a/config/armv7hl/default +++ b/config/armv7hl/default @@ -2139,7 +2139,8 @@ CONFIG_MTD_NAND_ECC_BCH=y # CONFIG_MTD_NAND_DENALI_DT is not set CONFIG_MTD_NAND_GPIO=m CONFIG_MTD_NAND_OMAP2=m -# CONFIG_MTD_NAND_OMAP_BCH is not set +CONFIG_MTD_NAND_OMAP_BCH=y
I assume there was no =m option available here?
+CONFIG_MTD_NAND_OMAP_BCH_BUILD=m # CONFIG_MTD_NAND_RICOH is not set CONFIG_MTD_NAND_DISKONCHIP=m CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED=y diff --git a/config/armv7hl/lpae b/config/armv7hl/lpae index 630e9a8dd0..972bb7f7b9 100644 --- a/config/armv7hl/lpae +++ b/config/armv7hl/lpae
Does this affect the X15 or any other LPAE capable board? Regards, Andreas
@@ -2072,7 +2072,8 @@ CONFIG_MTD_NAND_ECC_BCH=y # CONFIG_MTD_NAND_DENALI_DT is not set CONFIG_MTD_NAND_GPIO=m CONFIG_MTD_NAND_OMAP2=m -# CONFIG_MTD_NAND_OMAP_BCH is not set +CONFIG_MTD_NAND_OMAP_BCH=y +CONFIG_MTD_NAND_OMAP_BCH_BUILD=m # CONFIG_MTD_NAND_RICOH is not set CONFIG_MTD_NAND_DISKONCHIP=m CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED=y
-- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
2018-06-03 19:24 GMT+03:00 Andreas Färber <afaerber@suse.de>:
Hi Matwey,
Am 03.06.2018 um 18:18 schrieb Matwey V. Kornilov:
Enable the option to overcome the following NAND issues:
[ 44.347577] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xf1 [ 44.347599] nand: Micron MT29F1G08ABADAH4 [ 44.347613] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 44.347635] omap2-nand 8000000.nand: CONFIG_MTD_NAND_OMAP_BCH not enabled [ 44.347726] omap2-nand: probe of 8000000.nand failed with error -22
Where are you seeing this? The Wega board?
Yes, this is on Wega.
Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com> --- config/armv7hl/default | 3 ++- config/armv7hl/lpae | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/config/armv7hl/default b/config/armv7hl/default index 11aa154450..858da4396a 100644 --- a/config/armv7hl/default +++ b/config/armv7hl/default @@ -2139,7 +2139,8 @@ CONFIG_MTD_NAND_ECC_BCH=y # CONFIG_MTD_NAND_DENALI_DT is not set CONFIG_MTD_NAND_GPIO=m CONFIG_MTD_NAND_OMAP2=m -# CONFIG_MTD_NAND_OMAP_BCH is not set +CONFIG_MTD_NAND_OMAP_BCH=y
I assume there was no =m option available here?
Unfortunately, it is boolean option.
+CONFIG_MTD_NAND_OMAP_BCH_BUILD=m # CONFIG_MTD_NAND_RICOH is not set CONFIG_MTD_NAND_DISKONCHIP=m CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED=y diff --git a/config/armv7hl/lpae b/config/armv7hl/lpae index 630e9a8dd0..972bb7f7b9 100644 --- a/config/armv7hl/lpae +++ b/config/armv7hl/lpae
Does this affect the X15 or any other LPAE capable board?
I don't know.
Regards, Andreas
@@ -2072,7 +2072,8 @@ CONFIG_MTD_NAND_ECC_BCH=y # CONFIG_MTD_NAND_DENALI_DT is not set CONFIG_MTD_NAND_GPIO=m CONFIG_MTD_NAND_OMAP2=m -# CONFIG_MTD_NAND_OMAP_BCH is not set +CONFIG_MTD_NAND_OMAP_BCH=y +CONFIG_MTD_NAND_OMAP_BCH_BUILD=m # CONFIG_MTD_NAND_RICOH is not set CONFIG_MTD_NAND_DISKONCHIP=m CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED=y
-- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg)
-- With best regards, Matwey V. Kornilov -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (2)
-
Andreas Färber
-
Matwey V. Kornilov