Hi!
I would like to request a reference code for C6424 internal ROM bootloader since there are no some valuable details in bootloader docs, namely SPRAAK5.
I have implemented a U-Boot command (for my board) that writes AIS image to NAND using bootloader ECC layout. It works fine for now. But once I tried to emulate bad blocks it fails to boot. I used signature 0xBADDBADD that was put in OOB at offset 4. I tried both little endian and big endian representation of signature. However I did not destroy ECC values in OOB, so the read status itself does not report an ECC error. However, the document SPRAAK5 states that bootloader just tests the signature in OOB to skip it. Nothing is said whether it occurs as error handling condition due to wrong ECC or just each time a page is read from NAND.
I would like to have a look on bootloader source code to support bad blocks marking in my U-boot implementation.