I am trying to configure atbootstrap for custom board based on SAMA5D27C-D1G. There is NAND as main storage media. I need to use Galois tables from the SoC ROM. I wonder, which offsets values I need to set for the following configuration parameters?
Code: Select all
#define CONFIG_LOOKUP_TABLE_ALPHA_OFFSET
#define CONFIG_LOOKUP_TABLE_INDEX_OFFSET
#define CONFIG_LOOKUP_TABLE_ALPHA_OFFSET_1024
#define CONFIG_LOOKUP_TABLE_INDEX_OFFSET_1024
There is only one evaluation board based on SAMA5D2 which uses NAND flash. It is PTC-EK board. But atbootstrap configuration for this board has the folowing configuration parameter:
SAMA5D2 series datasheet is not clear about the Galois tables offsets.
Code: Select all
For a full description and an example of how to use the PMECC detection and correction feature, see the
software package dedicated to this device on our website.
So how to configure atbootstrap to use the Galois tables from SoC's ROM?