Booting MPC8309 custom board with SD card Problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Booting MPC8309 custom board with SD card Problem

730件の閲覧回数
satyaranjan
Contributor I

Hello,I'm trying to boot the MPC8309twr with sd card.

I followed the procedure as per the document AN3659_bf.pdf(which describes the format for sd card boot for MPC8536E)  as per the doubts asked by other members and response given i set up configuration file.

These are the following changes done for sd card boot:

Hardware specific:-
1)CFG_RESET_SOURCE[0:3]=[1:1:0:1] for esdhc boot
BSP specific :
1) Added macro to enable ramboot (CONFIG_SYS_RAMBOOT) 
2) Changed TEXT_BASE to 0x01000000 (ram address)
3)changed IMMR address (#define CONFIG_SYS_IMMR     0xFFF00000)
4) compile uboot and used uboot.bin file
I even used the boot format utility for formatting sd card and followed the complete steps as per the document
but still not able to boot.

Here I am having some doubts:

 

1: as per the mpc8309 reference manual BMS bit is 1 in RCWHR register for sd card boot, which means our boot memory space will be lower 8MB(0xFF80_0000 to 0xFFFF_FFFF.) so where should our boot code be present and how it is related with the Target address and Execution DDR address.

 

2:how we are defining the source address,Target address and Execution address.

          

  as suggested by Ufedor,

Target Address (DDR address) 0x01000000

Execution Starting Address is set to 0x01000100.

   are these two address fixed and if not,can i change it to some other address range.

 

3:where should be the microcode present.

  i mean only modifying  CONFIG_SYS_QE_FW_ADDR to a DDR address is sufficient or any other modifications to be done.

 

what should be the suitable DDR address for microcode

 

so please guide me if i have done any mistake in the above configurations for booting with sd card.

 

with regards,

satya ranjan

0 件の賞賛
返信
2 返答(返信)

584件の閲覧回数
satyaranjan
Contributor I

I am still facing the issue in sd card booting. I have applied the patches but still no u-boot print showing up in console. I am still having doubt that for sd card boot  if RCW=1101 (hard coded) the BMS bit is 1 which indicates that the boot code should be present at address  FF800000 to FFFFFFFF. So how should I put my uboot code at this location.

Please share some sd card debugging documents specific to mpc8309twr.what are the other requirements need to be modified or required to be added.

0 件の賞賛
返信

584件の閲覧回数
Pavel
NXP Employee
NXP Employee

Please create a Technical Case referring the following:

https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.nxp.com%2Fthread%2F3818...How I could create a Service Request? 

There is a program example for SD boot on the MPC8309. This example is not fully tested and cannot be publish on open community.


Have a great day,
Pavel Chubakov

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

0 件の賞賛
返信