Tool/software:
Hi,
We are currently encountering a recurring issue with our product using the TI SITARA AM4378x processor.
Specifically, during Linux boot-up, the system fails to start, and error messages similar to those in the attached logs are observed.
U-Boot 2021.01-g44a87e3ab8 (Aug 20 2024 - 21:54:41 +0000) CPU : AM437X-GP rev 1.2 Model: TI AM437x GP EVM DRAM: 1 GiB PMIC: TPS65218 NAND: 1024 MiB MMC: OMAP SD/MMC: 0 Loading Environment from FAT... MMC: no card present Net: Could not get PHY for ethernet@4a100000: addr 0 eth2: ethernet@4a100000 Hit any key to stop autoboot: 0 MMC: no card present MMC: no card present MMC: no card present MMC: no card present starting USB... Bus usb@483d0000: Register 2000440 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus usb@483d0000 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Device 0: unknown device Booting from nand ... NAND read: device 0 offset 0x100000, size 0x80000 524288 bytes read: OK NAND read: device 0 offset 0x300000, size 0x700000 omap-elm: uncorrectable ECC errors omap-elm: uncorrectable ECC errors NAND read from offset 300000 failed -74 0 bytes read: ERROR ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8ffe2000, end 8ffffbaf ... OK Starting kernel ... It will freeze at this point. Sometimes it will start without any errors.
U-Boot 2021.01-g44a87e3ab8 (Aug 20 2024 - 21:54:41 +0000) CPU : AM437X-GP rev 1.2 Model: TI AM437x GP EVM DRAM: 1 GiB PMIC: TPS65218 NAND: 1024 MiB MMC: OMAP SD/MMC: 0 Loading Environment from FAT... MMC: no card present Net: Could not get PHY for ethernet@4a100000: addr 0 eth2: ethernet@4a100000 Hit any key to stop autoboot: 0 MMC: no card present MMC: no card present MMC: no card present MMC: no card present starting USB... Bus usb@483d0000: Register 2000440 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus usb@483d0000 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Device 0: unknown device Booting from nand ... NAND read: device 0 offset 0x100000, size 0x80000 524288 bytes read: OK NAND read: device 0 offset 0x300000, size 0x700000 omap-elm: uncorrectable ECC errors nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location omap-elm: uncorrectable ECC errors nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location nand: error: invalid bit-flip location NAND read from offset 300000 failed -74 0 bytes read: ERROR ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8ffe2000, end 8ffffb75 ... OK Starting kernel ...
Q1:
The logs from both units show NAND-related errors with error code -74
.
Additionally, the log from Unit 2 contains multiple instances of the following message:
nand: error: invalid bit-flip location
Q2:
According to Advisory 15 in the AM437x Sitara Processors Silicon Revisions 1.1, 1.2 documentation, the following is noted:
Advisory 15: ROM: NAND Boot Mode is Unsupported
Revisions Affected: 1.1
Details: The ROM does not send the proper commands to determine if the boot blocks are valid, thus NAND boot (NAND, NAND_I2C) is unreliable.
Workaround: None
In our case, the logs show that the CPU is rev 1.2
. Based on this, we understand that our units should not be affected by this advisory. Could you please confirm if this understanding is correct?
Thanks,
Conor