Hello,
I read an errata ERR008506 and understand about FW2 load condition.
Our NAND have 2KB page size.
In this time if first page of FW1 is bad, it will start to load FW2 by this errata.
If 2nd page of FW1 is bad, ROM read 4KB (frist and 2nd page of FW1)
and ECC checking fails because 2nd page is bad.
In this condition, how to work ROM bootloader after this error?
1) start to load FW2?
2) load 3rd page of FW1?
3) others
Best regards,
Ishii.
Hello Igor,
Thank you for your support.
I will answer it to my customer.
Best regards,
Ishii.
Hello Igor
I can find my answer from sect. 8.5.2.5 in RM(sect 8.5.2.3 is not direct answer to me).
In this section, it say that
"flash updater or gang programmer applications need to swap Bad Block Information (BI) data to byte 0 of metadata area for
every page before programming NAND flash."
So my understand is that to skip Bad block in ROM boot, it must need to inform in DTTB or set BI in byte0.
Is it correct?
Best regards,
Ishii.
Hi Ishii
yes this is correct.
Best regards
igor
Hello Igor
Thank you for your quick response.
Our customer report us that when DBBT has bad block information about page2 of FW1,
It can boot by FW2.
BLOCK 0~3 FCB
BLOCK 4~7 DBBT
BLOCK 8~9 Firmware1
BLOCK 10~15 unused
BLOCK 16~17 Firmware2
BLOCK 18~23 unused
But it have no information in DBBT, only marked it, it cannot boot both FW1 and FW2.
BLOCK 0~3 FCB
BLOCK 4~7 DBBT (have no bad information about Block9)
BLOCK 8 FirmWare1_1
BLOCK 9 Bad
BLOCK 10 FirmWare1_2
BLOCK 11~15 unused
BLOCK 16~17 FirmWare2
BLOCK 18~23 unused
NAND writer detect bad condition in Block9 so skip to write Block9 and
write to block10 the second half of FW1.
Please teach me how load a firmware from NAND by boot ROM?
Best regards,
Ishii
Hi Ishii
as described in sect.8.5.2.3 Firmware Configuration Block i.MX6DQ RM
"The location information for DBBT search area, FW1, and FW2 are all specified in the FCB."
Best regards
igor
Hi Ishii
>In this condition, how to work ROM bootloader after this error?
1) start to load FW2
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------