how is u-boot address set for PBL to find it

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

how is u-boot address set for PBL to find it

跳至解决方案
1,912 次查看
jsanchor
Contributor II

I have a PowerPC P5020DS board. The manual shows u-boot addresses as:

0xEFF8.0000 u-boot (current bank) Size: 512KB

0xEBF8.0000 u-boot (alternate bank) Size: 512 KB

My u-boot image won't fit in 512KB and hence I want to move u-boot, unfortunately i can't seem to find how this is done. I am thinking the Pre-Boot Loader (PBL) jumps to u-boot entry point. 

 

0 项奖励
回复
1 解答
1,847 次查看
yipingwang
NXP TechSupport
NXP TechSupport

You could refer to Linux SDK 2.0 u-boot source code. Please refer to the following NOR flash memory map in Linux SDK 2.0.

yipingwang_0-1650448027271.png

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,910 次查看
jsanchor
Contributor II

oh, processor jumps to 'reset' vector, and from there (probably) u-boot takes over. I found CONFIG_SYS_TEXT_BASE in u-boot code. I will keep looking, hopefully someone can confirm I am on the right track.

0 项奖励
回复
1,848 次查看
yipingwang
NXP TechSupport
NXP TechSupport

You could refer to Linux SDK 2.0 u-boot source code. Please refer to the following NOR flash memory map in Linux SDK 2.0.

yipingwang_0-1650448027271.png

 

0 项奖励
回复