This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP-L138: u-boot ais file creation

Part Number: OMAP-L138
Other Parts Discussed in Thread: OMAPL138

Hi. I'm tying to create valid ais file load it to the custom board designed quite similar to the standard OMAP-L138 kit. Unfortunately, bard has only NAND flash.  I've build u-boot-dtb.bin file as recommended and wrote ini command script.

; General settings that can be overwritten in the host code
; that calls the AISGen library.
[General]

; Can be 8 or 16 - used in emifa
busWidth=16

; SPIMASTER,I2CMASTER,EMIFA,NAND,EMAC,UART,PCI,HPI,USB,MMC_SD,VLYNQ,RAW
BootMode=NAND

; 8,16,24 - used for SPI,I2C
;AddrWidth=16          

; NO_CRC,SECTION_CRC,SINGLE_CRC
crcCheckType=NO_CRC

[PLLANDCLOCKCONFIG]
PLL0CFG0 = 0x00180001
PLL0CFG1 = 0x00000B05
;PLL0CFG1 = 0x0000040B

;[PERIPHCLKCFG]
;PERIPHCLKCFG = 0x00000000
PERIPHCLKCFG = 0x00010064
;PERIPHCLKCFG = 0x00010051

; SDI AM1808 with DDR @150 MHz
[EMIF3DDR]

; This section allows setting up the PLL1. Usually this will 
; take place as part of the EMIF3a DDR setup. The format of
; the input args is as follows:
;           |------24|------16|-------8|-------0|
; PLL1CFG0: |    PLLM| POSTDIV| PLLDIV1| PLLDIV2|
; PLL1CFG1: |           RSVD           | PLLDIV3|
PLL1CFG0 = 0x18010001
PLL1CFG1 = 0x00000002
DDRPHYC1R = 0x00000047


FILENAME = u-boot-dtb.bin
ENTRYPOINTADDRESS = 0xC1080000
;DDRPHYC1R = 0x00000007

; Changed value
;SDCR = 0x08934832
SDCR = 0x00134832
SDTIMR = 0x204929C9
SDTIMR2 = 0x0C12C722
SDRCR = 0x00000406
CLK2XSRC = 0x00000000

[INPUTFILE]
;FILENAME=Filename of the binary or object file to include in the AIS iamge
;LOADADDRESS=Address to which file contents are loaded. If specified, input file is treated as a
;              binary file. For object files, the load address for loadable sections is embedded
;              in the object file itself.
;ENTRYPOINTADDRESS=Allows specifying the entry point for this module. This is typically used
;                    with binary files since object files embed the entry point.
;USEENTRYPOINT=Set to YES or TRUE to ensure that the entrypoint is taken from this input file
;                for the JUMP_CLOSE command
;ENCRYPT=Set to YES or TRUE to encrypt the data

FILENAME = u-boot-dtb.bin
ENTRYPOINTADDRESS = 0xC1080000

But when  i try to create ais bootable file running `mono HexAIS_OMAP-L138.exe -ini infralum.ini -otype binary -entrypoint 0xC1080000 -o il_uboot.ais`

i get error: `ERROR: Not a valid object file.`

The result file is only 72 bytes. Can anybody suggest me something?