Other Parts Discussed in Thread: OMAP-L138, OMAPL138
Hi,
We have a custom board that we would like to upgade uboot to via serial port, I have gone through the documentation on http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138, however, I am getting alot of errors when trying to rebuild the code under linux.
I am using CROSSCOMPILE=arm-none-linux-gnueabi- , has anyone been able to rebuilt this flash utility under linux, am I missing something. I am going to try now to do a build under Windows XP, I would appreciate any feedback on this.
James
I have set my device.mak to:
# Generic string for device family
DEVSTRING=OMAP-L138
# Particular device types of the family
ARM_DEVICETYPES:=OMAPL138
DSP_DEVICETYPES:=C6748
DEVICETYPES:=$(ARM_DEVICETYPES) $(DSP_DEVICETYPES)
# Supported flash memory types for booting
FLASHTYPES:=SPI_MEM
Output:
[eointec@Eointec GNU]$ make
make[1]: Entering directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/AISUtils'
make[2]: Entering directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/AISUtils/AISextra'
make -C src
make[3]: Entering directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/AISUtils/AISextra/src'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/AISUtils/AISextra/src'
make[2]: Leaving directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/AISUtils/AISextra'
make[2]: Entering directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/AISUtils/HexAIS'
HexAIS.cs(398,39): warning CS0219: The variable `trace' is assigned but its value is never used
AISGen_OMAP-L138.module(189,26): warning CS0219: The variable `ebw' is assigned but its value is never used
ElfFile.module(531,26): warning CS0219: The variable `ebr' is assigned but its value is never used
ElfFile.module(595,34): warning CS0219: The variable `numBytesInSectionHdr' is assigned but its value is never used
ElfFile.module(899,14): warning CS0219: The variable `numSymbols' is assigned but its value is never used
BinaryFile.module(120,26): warning CS0219: The variable `ebr' is assigned but its value is never used
Ini.module(160,20): warning CS0414: The private field `TI.UtilLib.Ini.IniFile.fileName' is assigned but its value is never used
error CS1566: Error reading resource file `../AISExtra/ARM_AISExtra_OMAP-L138.out'
error CS1566: Error reading resource file `../AISExtra/DSP_AISExtra_OMAP-L138.out'
Compilation failed: 2 error(s), 7 warnings
make[2]: *** [../HexAIS_OMAP-L138.exe] Error 1
make[2]: Leaving directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/AISUtils/HexAIS'
make[1]: Leaving directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/AISUtils'
make[1]: Entering directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/genecc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/genecc'
make[1]: Entering directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/sfh'
make -C ../sft all
make[2]: Entering directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/sft'
make[3]: Entering directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/sft/build'
../../AISUtils/HexAIS_OMAP-L138.exe -ini ../sft_hexais.ini -o ../sft_OMAPL138_SPI_MEM.bin ../sft_OMAPL138_SPI_MEM.out
../../AISUtils/HexAIS_OMAP-L138.exe: ../../AISUtils/HexAIS_OMAP-L138.exe: cannot execute binary file
make[3]: *** [../sft_OMAPL138_SPI_MEM.bin] Error 126
make[3]: Leaving directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/sft/build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/sft'
make[1]: *** [sft] Error 2
make[1]: Leaving directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/sfh'
make[1]: Entering directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/sft'
make[2]: Entering directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/sft/build'
../../AISUtils/HexAIS_OMAP-L138.exe -ini ../sft_hexais.ini -o ../sft_OMAPL138_SPI_MEM.bin ../sft_OMAPL138_SPI_MEM.out
../../AISUtils/HexAIS_OMAP-L138.exe: ../../AISUtils/HexAIS_OMAP-L138.exe: cannot execute binary file
make[2]: *** [../sft_OMAPL138_SPI_MEM.bin] Error 126
make[2]: Leaving directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/sft/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/sft'
make[1]: Entering directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/slh'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/slh'
make[1]: Entering directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/ubl'
make[2]: Entering directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/ubl/build'
../../AISUtils/HexAIS_OMAP-L138.exe -ini ../ubl_hexais.ini -o ../ubl_OMAPL138_SPI_MEM.bin ../ubl_OMAPL138_SPI_MEM.out
../../AISUtils/HexAIS_OMAP-L138.exe: ../../AISUtils/HexAIS_OMAP-L138.exe: cannot execute binary file
make[2]: *** [../ubl_OMAPL138_SPI_MEM.bin] Error 126
make[2]: Leaving directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/ubl/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/valeo/Downloads/OMAP-L138_FlashAndBootUtils_2_27/OMAP-L138/GNU/ubl'
make: *** [all] Error 2
[eointec@Eointec GNU]$