Hi,
I am using the latest DVSDK 4.02 and I am attempting to rebuild the UBL for a SDMMC boot. There are many issues that I have run into, and I have worked through some but I am still unable to get a UBL image that boots correctly.
It appears that DVSDK 4.02 PSP doesn't support building the SDMMC version of UBL. I modified the makefile to build the SDMMC version and encountered the error that others have discussion on this forum (the division and mod operator errors). I hardcoded the DDR timing values as suggested in a different post and was able to get the ubl compiled. I then used the mksdboot.sh script and pointed that to my newly compiled ubl executable. To my surprise, on boot from the SD card, the ubl executed and was attempting a UART boot. I took a closer look at the build flags and the build flags were set to UBL_SD_MMC where the files were expecting UBL_SDMMC. I changed those defines to be consistent with the build parameter and flashed the new UBL executable on the SD card but that version just prints out a strange character to the serial port and stops.
I have also tried downloading the new PSP (3.21) and build the the UBL in that package. It seems to build fine but I flashed that UBL executable on my SD card using the mksdboot.sh script and that UBL executable didn't seem to do anything.
The size of the prebuilt SDMMC UBL image contained in the DVSDK 4.02 is much larger than what I am getting. When opening with a hex editor, it seems like there are a lot of zeroed out space at the end of the file. Is there a reason for this space and why am I not getting that same thing when I build the UBL?
I am in the process of downloading CCS to try and build that way because it seems to be the preferred method to build the UBL. Can someone please let me know if I am missing a step or any of my procedures described above are invalid?
Thanks,
Randy Scheifele