Hi Karunakaran,
Thanks for your support..
I have set the following parameters in the config file
CONFIG_SYS_FLASH_BASE 0xe0000000 CONFIG_SYS_MAX_FLASH_SECT 2048
CONFIG_SYS_NOR_AMASK IFC_AMASK(25610241024)As per these changes, I
have the following observations on your points, 1. Read the first and
last sector of NOR flash in u-boot to make sure the TLB,IFC and LAW are
configured properly *) Read from first and last sector works fine(Only
Read) 2. As you said earlier, If flash configured for only128MB is fully
write accessible. Same way configured to 256 and sector as 2048, check
last sector of first die (i.e 0xE7FE0000) is write accessible or not and
first sector of second die (i.e 0xE8000000) is write accessible or not.
*) When configured to 256MB, I am able to write to the last sector of
the first die (i.e 0xE7FE0000). But not to the first sector of the
second die (i.e 0xE8000000). 3. if “CONFIG_SYS_FLASH_USE_BUFFER_WRITE”
is enabled in your board's config
file,undef CONFIG_SYS_FLASH_USE_BUFFER_WRITE macro which is disable
buffer write . Check it is save environmental. *) This macro is enabled
for me. I will disable it and let you know if I am able to save the
environmental.
Regards Flaby