Greetings all,
In advance, I'd like to apologize for the rapid fire style of questioning below. They pertain to the UBL and TI OMAP-L137 Boot and Flash Utilities.
UBL:
1.) What is the proper source to begin with for creating an ARM-UBL for the 1705?
I've been working with the armubl packaged in PSP3.20.00.14 but have noticed several differences in the register descriptions.
2.) Is there another repository that is "closer" to the 1705?
One of the things that burned me was the UART register description. The one packaged in the PSP is missing a definition for the MDR register. The RBL sets this to 13x oversampling for the associated UART_BOOTMODE, but the UBL does not have knowledge of this register. This can really hose the generated baud rate when the RBL finally jumps to the UBL.
I also get the following error when trying to boot from 8-bit NAND mode:
ARM9_0: Error: (Error -242 @ 0x2A49) A router subpath could not be accessed. The board configuration file is probably incorrect. (Release 5.0.333.0)
3.) Is there any additional debug information from this?
I've tried to search for the error code but cannot find any additional information.
TI OMAP-L137 Boot and Flash Utilities:
4.) What does a "compatible" UBL mean?
The wiki page clearly states:
Please note, for the AM1707, the ARM UBL must come from the /gnu/ubl/ directory of this release (i.e. ubl_AM1707_SPI_MEM.bin). The serial flasher is not compatible with the UBLs found in the PSP release.
5.) What can I do to debug the generated AIS script for my UBL and the SFH utility?
I have not been able to get my UBL to load correctly. It always hangs at:
(AIS Parse): AIS complete. Jump to address 0x80000000.
(AIS Parse): Waiting for DONE...
(AIS Parse): Boot completed successfully.
Waiting for SFT on the OMAP-L137...
After looking at the sfh.ais.module source, I know the utility is waiting for the BOOTUBL string. It is as if my application doesn't execute correctly once it jumps to 0x80000000.
If I program my UBL directly to the AM1705 with the XDS100v2, and let it run, I get the following:
Booting with TI UBL
Device OPP (300MHz, 1.2V)BOOTUBLBOOTUBLBOOTUBLBOOTUBL
This would lead me to believe my ARM-UBL image is valid but I'm misusing the AISGEN or SFH utility.
6.) What target type should be used with the SFH for the 1705?
I've been using the following:
-----------------------------------------------------
TI Serial Flasher Host Program for OMAP-L137
(C) 2010, Texas Instruments, Inc.
Ver. 1.67
-----------------------------------------------------
[TYPE] UBL and application image
[UBL] my_ubl_ais.bin
[APP IMAGE] my_u_boot.bin
[TARGET] AM1707
[DEVICE] NAND
Thanks in advance to whom ever takes the time to reply to this post.
Sincerely,
Andrew Foster