mpc8309twr sd card boot issue

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

mpc8309twr sd card boot issue

598 Views
satyaranjan
Contributor I

Hello,

i am asking this question again because i need to boot my custom board with sd card having mpc8309 processor.

till now i have successfully completed all the basic requirements needed to boot from sd card.The dat file is correct

as per the working example form mpc8309som board given by pavel.

in uboot code i applied all the patches required for sd boot.

changed CONFIG_DEFAULT_IMMR to FFF00000 also.

right now i am using codewarrior 10.5.1 to debug sd card.

my RCW for sd boot is 1101.i can see all the ddr registers are getting properly updated what i have written in the sd dat file using JTAG debugger. but the problem is only with the RCWLR.according to the 8309RM i should get RCWLR=44040003 but i am getting 42040003.i dont know what is the issue here.while all other registers (including  RCWHR and DDR registers) are properly updating.so right now i changed the RCW from 1101 to 1110.in this case i got the RCWLR with correct hard coded value.so what is the issue with 1101.but still uboot not showing in console.

please tell me what i am missing now.and please share some specific documents for debugging u-boot from sd card.

i already raised a technical ticket but still now i didn't receive any respnse related to these doubts.

if anyone found any solution,please share.

with regards

satya ranjan

0 Kudos
2 Replies

429 Views
satyaranjan
Contributor I

thank you for the help.i fanally able to boot from sd and spi flash with minor modifications.

0 Kudos

429 Views
Pavel
NXP Employee
NXP Employee

Check your CFG_RESET_SOURCE setting. The Table 4-19 of the MPC8309 shows correct RCWLR value for the CFG_RESET_SOURCE setting.

 

Look at AN4876 Application Note about u-boot debugging:

https://www.nxp.com/docs/en/application-note/AN4876.pdf?fsrch=1&sr=1&pageNum=1


Have a great day,
Pavel Chubakov

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

0 Kudos