Hi all,
I need some help loading a custom UBL into NOR on custom hardware. I am
trying to use DVFlasher to do this. I am sure that the boot configuration
pins are correct. I am pretty sure the NOR part is working fine. If I
issue a DVFlasher -enor, It appears to work correctly.
I edited the UBL source for my DDR. That consisted of the register values
in dm644x.c, .ddrram2 in ubl_davinci.lds, MAX_IMAGE_SIZE and RAM_END_ADDR in
ubl.h.
I don't know if I am using DVFlasher correctly. What I think is correct is:
DVFlasher_1_10.exe -fnorbin -useMyUBL ubl_davinci_nor.bin u-boot.bin -v
Here is what I am seeing:
-----------------------------------------------------
TI DVFlasher Host Program for DM644x
(C) 2007, Texas Instruments, Inc.
-----------------------------------------------------
Platform is Windows.
Flashing NOR with ubl_davinci_nor.bin and u-boot.bin.
Attempting to connect to device COM1...
Press any key to end this program at any time.
Waiting for DVEVM...
DVEVM: BOOTME
BOOTME commmand received. Returning ACK and header...
ACK command sent. Waiting for BEGIN command...
DVEVM: BEGIN
BEGIN commmand received. Sending CRC table...
CRC table sent. Waiting for DONE...
DVEVM: DONE
DONE received. Sending the UART UBL file...
DVEVM: DONE
DONE received. UART UBL file was accepted.
UART UBL Transmitted successfully.
DVEVM: TI UBL Version: 1.00, Flash type: NOR
DVEVM: Booting PSP Boot Loader
DVEVM: PSPBootMode = UART
Waiting for UBL on DVEVM...
DVEVM: Starting UART Boot...
DVEVM: BOOTPSP
UBL's BOOTPSP commmand received. Returning CMD and command...
CMD value sent.
DVEVM: SENDUBL
SENDUBL received. Returning ACK and header for UBL data...
ACK command sent. Waiting for BEGIN command...
DVEVM: BEGIN
UART UBL's BEGIN commmand received. Sending the Flash UBL code...
Flash UBL code sent. Waiting for DONE...
DVEVM: DONE
DONE received. All bytes of Flash UBL code received...
DVEVM: S-record Decode Failed.
DVEVM: Starting UART Boot...
DVEVM: BOOTPSP
It then continues to loop through the BOOTPSP part until I stop it.
I am a bit confused on why I am seeing the "S-record Decode Failed."
Any help would be greatly appreciated.
Thanks
Eric Tanner
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source