u-boot shows 256MB memory but only 128MB memory is getting read/write

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

u-boot shows 256MB memory but only 128MB memory is getting read/write

725 Views
vidyasagartata
Contributor II

Dear All,

I am working with P2020 processor board, there is 256MB NOR flash (S70GL02GS)  on board.

I have configured 256MB NOR memory in the u-boot config file (p1_p2_rdb_pc.h).

#CONFIG_SYS_FLASH_BASE       0XE0000000

#CONFIG_SYS_MAX_FLASH_SECT 2048

u-boot log shows 256MB memory but only 128MB memory (0xe0000000 - 0xe7fffffff) is getting read/write.

Please help me what need to configure for the accessing rest of the memory.

Thanks,

Vidya

0 Kudos
5 Replies

446 Views
vidyasagartata
Contributor II

Dear All,

Since 2 months facing issue.

Anybody is available for support.

Through CW 256MB NOR memory works fine there is no issue but in the u-boot level only 128MB NOR memory read/write happen.

Thanks,

Vidya

0 Kudos

446 Views
vidyasagartata
Contributor II

Dear Alexander,

Hope you will reply.

Thanks,

Vidya

0 Kudos

446 Views
vidyasagartata
Contributor II

Dear Alexander,

Thanks for quick response.

Please find schematics in the attachment. 

I have verified through Code Warrior also, 256MB (F0000000 - FFFFFFFF)  NOR read/write is working without any issue.

Please find the tcl file in the attachment.

Thanks,

Vidya

0 Kudos

446 Views
vidyasagartata
Contributor II

Dear Alexander,

Waiting for your reply, please help me where i am doing mistake.

Thanks,

Vidya

0 Kudos

446 Views
alexander_yakov
NXP Employee
NXP Employee

As per my understanding, you are talking about custom board. Please describe how the flash is connected.


Have a great day,
Alexander

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos