Hi Yipingwang,
Thanks for your quick response.
We were able to create and run a SRAM project successfully. Using SRAM object, we were able to configure and access DDR too. Then we proceeded to do booting from SDcard. And got struck in booting.
We create a PBL using codewarrior with the following RCW and PBI commands as given in SDK document page 1930. We put the PBL at sector 8 again using the dd command as specified by you.
aa 55 aa 55 01 0e 01 00 12 0c 00 17 15 00 00 00
00 00 00 00 00 00 00 00 6c 00 00 02 00 00 80 00
68 00 00 00 c1 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 03 87 ff 00 00 00 00 00 00 00 04
00 00 00 00 00 00 00 04 09 01 00 00 00 20 04 00
09 13 80 00 00 00 00 00 09 13 80 c0 00 00 01 00
09 01 01 00 00 00 00 00 09 01 01 04 ff f8 00 09
09 01 0f 00 08 00 00 00 09 01 00 00 80 00 00 00
09 00 0d 00 00 00 00 00 09 00 0d 04 ff f8 00 00
09 00 0d 08 81 00 00 12 09 11 00 00 80 00 04 03
We see that Processor is initializing the SD card and is reading the RCW but getting struck after that.
Is our RCW correct (are there any issues with Endianness or others)?
How to know whether the processor has got the RCW correctly. We checked from hardware wise, there are no issues on the SD card data lines or command lines.
In a related note, if we want to run this PBL or u-boot-spl from SRAM, how can we do it? If you want, I can open another thread for this query.
This is the rcw we are using for sd card booting,
T2081 (2 1) (210001 0x120c0017) (210002 0x15000000) (210003 0x00000000) (210004 0x00000000) (210005 0x6c000002) (210006 0x00008000) (210007 0x68000000) (210008 0xc1000000) (210009 0x00000000) (210010 0x00000000) (210011 0x00000000) (210012 0x000387ff) (210013 0x00000000) (210014 0x00000004) (210015 0x00000000) (210016 0x00000004)
thanks