Part Number: TDA4VM
Hi TI members:
My board have one SPI flash MT35XU01G, with Linux SDK 08_00_12 version.
I changed the drivers/mtd/micron-st.c with the following
diff --git a/kernel/linux-5.10.41+gitAUTOINC+4c2eade9f7-g4c2eade9f7/drivers/mtd/spi-nor/micron-st.c b/kernel/linux-5.10.41+gitAUTOINC+4c2eade9f7-g4c2eade9f7/drivers/mtd/spi-nor/micron-st.c
index c224e5982..6797d0823 100644
--- a/kernel/linux-5.10.41+gitAUTOINC+4c2eade9f7-g4c2eade9f7/drivers/mtd/spi-nor/micron-st.c
+++ b/kernel/linux-5.10.41+gitAUTOINC+4c2eade9f7-g4c2eade9f7/drivers/mtd/spi-nor/micron-st.c
@@ -125,6 +125,9 @@ static const struct flash_info micron_parts[] = {
SPI_NOR_OCTAL_DTR_PP |
SPI_NOR_IO_MODE_EN_VOLATILE)
.fixups = &mt35xu512aba_fixups},
+ { "mt35xu01g", INFO6(0x2c5b1b, 0x104100, 128 * 1024, 1024,
+ SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ |
+ SPI_NOR_4B_OPCODES) },
{ "mt35xu02g", INFO(0x2c5b1c, 0, 128 * 1024, 2048,
SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ |
SPI_NOR_4B_OPCODES) },
but the kernel started with the following:
[ 1.597147] spi-nor spi5.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[ 1.604037] spi-nor: probe of spi5.0 failed with error -2
I use the
and I successfully booted the TDA4VM,so the hardware connection is OK, but when it entered kernel state, it failed.
Does anyone can help us to debug this situation?