The problem about booting from NOR of P2020

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

The problem about booting from NOR of P2020

Jump to solution
679 Views
敏赵
Contributor I

Hi,

We are designing a product using p2020cpu refering to the design of p2020rdb-pc,booting from NOR. We use the u-boot of p1_p2_rdb_pc. It can work.

Now I want to modify the NOR's base address to 0x4f000000. So I modify the following codes in p1_p2_rdb_pc.h :

#define CONFIG_SYS_TEXT_BASE0xeff80000
#define CONFIG_RESET_VECTOR_ADDRESS0xeffffffc
#define CONFIG_SYS_FLASH_BASE0xef000000

But then the board can't work. It's blank in minicom.

Where am I wrong?

Best regards,

Min Zhao

Labels (1)
0 Kudos
1 Solution
392 Views
yipingwang
NXP TechSupport
NXP TechSupport

Is the physical address of NOR Flash is 0x4f000000?

In the original memory map of p1_p2_rdb_pc, 0x4f000000 should be DDR.


Have a great day,
Yiping Wang

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

View solution in original post

0 Kudos
4 Replies
392 Views
vidyasagartata
Contributor II

Dear All,

I have P2020-rdb board and also have codewarrior TAP and IDE.

Please let me know i can have u-boot, uImage and file system in NOR flash, how i can do tftpboot or NFS boot.

Please provide good document or link so that i can flash and boot the board easily.

Thanks,

VP

0 Kudos
392 Views
scottwood
NXP Employee
NXP Employee

Did you unset CONFIG_PHYS_64BIT?

392 Views
敏赵
Contributor I

Yes,I don't make 36-bit.

Best regards,

Min Zhao

0 Kudos
393 Views
yipingwang
NXP TechSupport
NXP TechSupport

Is the physical address of NOR Flash is 0x4f000000?

In the original memory map of p1_p2_rdb_pc, 0x4f000000 should be DDR.


Have a great day,
Yiping Wang

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

0 Kudos