This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3354: UBIFS issue with Toshiba NAND

Part Number: AM3354


* AM3354 based system, NAND booting (using PSP v04.06.00.11)

They are using Toshiba NAND, TC58NVG1S3.

Before, there was no such issue, but recently, booting issue happened with specific NAND devices. (There was no S/W H/W changes.)

The error rate is about 5%.

The symptom is when system booting, UBI file system runs "torture test" many times.

Booting failure also happened in some cases.

When doing NAND swap test, the issue happening follows the specific NAND device.

They are checking the difference between OK NAND and NG NAND device.

In the mean time, can you give any idea about "UBI: run torture test for PEB" log message happening with Toshiba NAND booting?

I referred below E2E post, it is locked with no answer.

https://e2e.ti.com/support/embedded/linux/f/354/t/564718

So, if you have any idea, please let me know.

Thanks and regards,

Hayden

  • One more thing,
    Same issue happened, with specific NG NAND, with both cases of GANG flashing and U-Boot flashing the UBIFS images.

    Regards,
    Hayden
  • The software team have been notified. They will respond here.
  • Hi Hayden,

    Hayden Kim said:
    * AM3354 based system, NAND booting (using PSP v04.06.00.11)

    Check if you are aligned with the NAND driver supported features:

    Hayden Kim said:
    In the mean time, can you give any idea about "UBI: run torture test for PEB" log message happening with Toshiba NAND booting?

    This message might occur of NAND driver issue, in some e2e threads this has been fixed with SW patches, check below links:

    Regards,
    Pavel

  • Hi Pavel,

    They are using "PSP 04.06.00.11", newer than that of above link.
    We checked that the release includes S/W patches already.
    UBIFS, BCH8 is supported feature and is recommended to use.
    As I mentioned, normally, there was no issue with NAND booting.
    Only issue happened with some specific NAND device, so I think it might be H/W not S/W, driver issue.
    So, do you have any idea about the issue on H/W side?
    How about using PSP release newer than 04.06.00.11?

    Thanks and regards,
    Hayden
  • Hayden,

    Hayden Kim said:
    They are using "PSP 04.06.00.11", newer than that of above link.

    The link is for "PSP 04.06.00.11" exactly. I do not get your point here.

    Hayden Kim said:
    Only issue happened with some specific NAND device, so I think it might be H/W not S/W, driver issue.
    So, do you have any idea about the issue on H/W side?

    You can validate the NAND chip with the MTD tests:

    http://www.linux-mtd.infradead.org/doc/general.html#L_mtd_tests

    Hayden Kim said:
    How about using PSP release newer than 04.06.00.11?

    Yes, you might try to align your NAND driver with the latest one available at AM335x TI PSDK v4.01 (kernel 4.9.41).

    Regards,
    Pavel

  • Hi,
    I checked that there was a patch about Toshiba 24nm raw SLC NAND device.
    The patch is applied with Linux kernel version 4.x.

    * about the patch - lists.infradead.org/.../047338.html

    (need to check if the patch will solve the issue..)

    Thanks and regards,
    Hayden