MLC NAND Support in iMX6UL 4.14.78 kernel

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MLC NAND Support in iMX6UL 4.14.78 kernel

1,409 Views
michaelwesley
Contributor I

I'm working on iMX6 UL custom board and it is using NAND flash for booting with the help of 4.1.15 kernel version. UBI filesystem is used to mount the rootfile system. Recently, i moved the kernel version from 4.1.15 to the recent update, 4.14.78 and the board got failed to load the UBI volumes with error report as MLC NAND is not supported.

ubi: refuse attaching mtd12 - MLC NAND is not supported

UBI error: cannot attach mtd12

Why the MLC NAND support is got removed in the new mtd driver? but still the SLC NAND support is available.

I removed the hardware check part from the mtd - ubi support kernel driver file(build.c) and made it work, but still we don't know, why they removed the support. Is it good to go with the patchwork? What kind of issues i can expect? Is there any specific test need to address?

Thanks

Labels (1)
0 Kudos
3 Replies

1,109 Views
igorpadykov
NXP Employee
NXP Employee

Hi Michael

what bsp used in the case, one can try official nxp release:

Demo Images from

i.MX Software | NXP 

Linux L4.14.78
linux-imx - i.MX Linux kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,110 Views
michaelwesley
Contributor I

Igor,

We are using the same release(4.14.78) from the code aurora only.

URL :- https://source.codeaurora.org/external/imx/imx-manifest

Branch :- imx-linux-sumo

Manifest :- imx_4.14.78_1.0.0_ga

I attached the error file again and also highlighted the kernel error

report for your reference. Help us, if you get any insight!!!

Thanks

0 Kudos

1,110 Views
igorpadykov
NXP Employee
NXP Employee

Hi Michael

one can look on

ubi: Reject MLC NAND - Patchwork 

Best regards
igor

0 Kudos