I’m using Lauterbach Power Debug Probe on LS1043ARDB and before loading code to SDRAM I use u-boot SPL to initialize DDR. On my custom LS1043A based board that is coming soon I would like to use PBI commands to initialize the DDR.
1) Is this possible?
2) Do you have example for LS1043ARDB ?
Thanks for your quick reply.
I Created a QorIQ configuration project by importing rcw for QorIQ SDK2.0 RCW (rcw_1600.bin), then appended PBI commands you provided.
I have written the generated PBL.bin to alternate NOR flash bank. I cleared u-boot image from there so that no software will run when setting boot switches to NOR bank v4.
But when trying to load images to RAM the Lauterbach probe hangs with this message “debug port fail”. It behaves exactly as when I did not use SPL to initialize DDR.
I think rcw part is correct because I changed ASLEEP function to GPIO1_13 so when the board gets powered the LED stays on.
So something is going wrong with DDR. Do you have a validated rcw+pbi image that initialize DDR so I could directly load code in SDRAM by any means?
It was just an example. For getting the correct configuration as pbi commands I recommend QCVS DDRv tool for validate the DDR configuration on your board and generate the correct pbi commands.