/***************************************************************
* TI OMAP-L138 AIS Utilities *
* (C) 2009-2010 Texas Instruments, Inc. *
* *
***************************************************************/
This directory contains the source and build files for various utilities
associated with booting flashing the OMAP-L138 SoC device. These utilities
include
HexAIS - Command-line AIS generation utility for non-secure OMAP-L138 devices
UartHost - GUI application to boot non-secure AIS images over the serial port
Running
=======
These applications are built on the Microsoft's .Net framework. To use them, you
must run them on a system that has the Microsoft .Net framework v3.5 installed.
Alternatively, you can run them using the open-source Mono framework v2.4 or later.
This may allow the applications to be run under Linux, since Mono exists and runs on
that platform.
NOTE: On windows, using the mono framework requires you to use the mono executable. With
Mono in your path, the usage is as follows:
mono <ApplicationName> <ApplicationParams>
If the mono command is left off, the Microsoft framework will be used instead.
HexAIS tool
===========
The HexAIS and tool relies on its input parameters to be provided in INI files,
example of which are included in the package. The ini files are processed in order and are
primarily used to specify what AIS Function Execute commands you want to use to initialize the
system. The comments in the INI file themselves provide a rough documentation.
The tools have a number of options that can be specified on the command line. You can run the
program with the -h option to see the help screen for each program.
Command Syntax
==============
HexAIS_OMAP-L138 [Options] [Input File Names]
<Option> can be any of the following:
-h Show this help screen.
-entrypoint <Addr> Force specified entry point for AIS boot image.
-ini <INI file name> Specify the ini file (default is OMAP-L138.ini).
-otype <Output Type> Specify type of output file, from following:.
binary Create a binary AIS file (.bin), default.
carray Create a text file with AIS data in a C array (.c).
srecord@addr Create a Motorola S-record format (.srec) at addr.
text Create a text file with AIS data as ASCII text (.txt).
-o <Output File Name> Explicitly specify the output filename.
Default is input file name with extension based on
output type.
Input files (ELF or COFF object files OR Binary files) can be supplied on the command line
or via the INI file. Binary files must be supplied with a load address, so they are specified
in the following manner:
<Binary File Name>@<Hex Load Address>
It is recommended to use the INI file syntax for placing and including files since
that provides greater flexibility (see below).
Complete INI Syntax
===================
The INI file consists of a collection of INI sections. Except for the [General] sections,
which describe configuration information for the AIS file, the INI sections are processed
in order and result in contents being added to the generated AIS output. Each INI section
contains a collection of fields which are described below:
Configuration
-------------
[GENERAL]
; Can be 8 or 16 - used in emifa (NOR boot mode)
busWidth=8
; SPIMASTER,I2CMASTER,EMIFA,NAND,EMAC,UART,PCI,HPI,USB,MMC_SD,VLYNQ,RAW
BootMode=Specify boot mode (typically use NONE). Some boot modes can require
certain extra information beyond the actual AIS data. The tools
may support generating this information depending on the boot mode selection.
; TRUE/ON or FALSE/OFF
seqReadEn=Specify that sequential read should be used for I2C or SPI master modes. This
is equivalent to using the [AIS_SeqReadEnable] section (see below).
Include a file
--------------
The INPUTFILE section allows including a binary or object file into the AIS boot
image. The result of this INI section will be one or more AIS SectionLoad or
EncryptedSectionLoad commands inserted into the AIS output. Note that input files
can be specified on the command line, but using individual [INPUTFILE] sections
offer more control over placement and content.
[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
Insert ROM Function Calls (AIS Function Execute)
------------------------------------------------
These INI sections are used to insert specific AIS Function Execute
commands into the AIS output.
; This section allows setting the PLL0 system clock with a
; specified multiplier and divider as shown. The clock source
; can also be chosen for internal or external.
; |------24|------16|-------8|-------0|
; PLL0CFG0: | CLKMODE| PLLM | PREDIV | POSTDIV|
; PLL0CFG1: | RSVD | PLLDIV1| PLLDIV3| PLLDIV7|
[PLL0CONFIG]
PLL0CFG0=
PLL0CFG1=
; 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|
[PLL1CONFIG]
PLL1CFG0=
PLL1CFG1=
; This section lets us configure the peripheral interface
; of the current booting peripheral (I2C, SPI, or UART).
; Use with caution. The format of the PERIPHCLKCFG field
; is as follows:
; SPI: |------24|------16|-------8|-------0|
; | RSVD |PRESCALE|
;
; I2C: |------24|------16|-------8|-------0|
; | RSVD |PRESCALE| CLKL | CLKH |
;
; UART: |------24|------16|-------8|-------0|
; | RSVD | OSR | DLH | DLL |
[PERIPHCLKCFG]
PERIPHCLKCFG=
; This section can be used to configure the PLL1 and the EMIF3a registers
; for starting the DDR2 interface.
; See PLL1CONFIG section for the format of the PLL1CFG fields.
; |------24|------16|-------8|-------0|
; PLL1CFG0: | PLL1CFG |
; PLL1CFG1: | PLL1CFG |
; DDRPHYC1R: | DDRPHYC1R |
; SDCR: | SDCR |
; SDTIMR: | SDTIMR |
; SDTIMR2: | SDTIMR2 |
; SDRCR: | SDRCR |
; CLK2XSRC: | CLK2XSRC |
[EMIF3DDR]
PLL1CFG0=
PLL1CFG1=
DDRPHYC1R=
SDCR=
SDTIMR=
SDTIMR2=
SDRCR=
CLK2XSRC=
; This section can be used to configure the EMIFA to use
; CS0 as an SDRAM interface. The fields required to do this
; are given below.
没有合适的资源?快使用搜索试试~ 我知道了~
OMAP-L138_FlashAndBootUtils_2_29.tar.gz_FlashAndBootUtils_omap_o
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 123 浏览量
2022-09-24
04:10:21
上传
评论
收藏 3.65MB GZ 举报
温馨提示
共716个文件
obj:375个
module:41个
h:38个
OMP138 flash write source
资源推荐
资源详情
资源评论
收起资源包目录
OMAP-L138_FlashAndBootUtils_2_29.tar.gz_FlashAndBootUtils_omap_o (716个子文件)
UBL_C6748_SPI_MEM.ais 14KB
UBL_OMAPL138_NAND.ais 12KB
UBL_INTDEV0_NAND.ais 12KB
UBL_AM1808_NAND.ais 12KB
UBL_OMAPL138_NOR.ais 11KB
UBL_INTDEV0_NOR.ais 11KB
UBL_OMAPL138_SPI_MEM.ais 8KB
UBL_INTDEV0_SPI_MEM.ais 8KB
UBL_AM1808_SPI_MEM.ais 8KB
start_c674x.asm 1KB
start_c64p.asm 1KB
start.asm 922B
start_arm926ejs.asm 682B
arm_rom_vectors.asm 161B
arm_idle_vectors.asm 141B
sft_C6748_NAND.bin 20KB
sft_C6748_NOR.bin 17KB
sft_OMAPL138_NAND.bin 15KB
sft_INTDEV0_NAND.bin 15KB
sft_AM1808_NAND.bin 15KB
sft_C6748_SPI_MEM.bin 14KB
ubl_C6748_NAND.bin 14KB
ubl_C6748_NOR.bin 13KB
ubl_OMAPL138_NAND.bin 12KB
ubl_INTDEV0_NAND.bin 12KB
ubl_AM1808_NAND.bin 12KB
sft_OMAPL138_NOR.bin 12KB
sft_INTDEV0_NOR.bin 12KB
sft_AM1808_NOR.bin 12KB
ubl_OMAPL138_NOR.bin 11KB
ubl_INTDEV0_NOR.bin 11KB
ubl_AM1808_NOR.bin 11KB
sft_OMAPL138_SPI_MEM.bin 9KB
sft_INTDEV0_SPI_MEM.bin 9KB
sft_AM1808_SPI_MEM.bin 9KB
ubl_C6748_SPI_MEM.bin 8KB
ubl_OMAPL138_SPI_MEM.bin 8KB
ubl_INTDEV0_SPI_MEM.bin 8KB
ubl_AM1808_SPI_MEM.bin 8KB
uartboot.c 53KB
nand.c 46KB
nor.c 35KB
sdmmc.c 29KB
device.c 28KB
spi_mem.c 17KB
device_nand.c 16KB
spi_on_mcbsp.c 15KB
uart_irda.c 13KB
util.c 12KB
uart.c 11KB
spi.c 10KB
nandwriter.c 10KB
spiwriter.c 10KB
i2c.c 9KB
sdmmcboot.c 8KB
aisextra.c 8KB
nandboot.c 8KB
ubl.c 8KB
uartboot.c 8KB
i2c_mem.c 7KB
norwriter.c 7KB
uartboot.c 7KB
spi_memboot.c 6KB
norboot.c 6KB
i2c_memboot.c 6KB
pru.c 6KB
device_async_mem.c 6KB
slt.c 6KB
async_mem.c 5KB
selfcopy.c 5KB
sft.c 5KB
debug.c 5KB
boot.c 5KB
device_spi.c 5KB
device_uart.c 4KB
debug.c 4KB
device_sdmmc.c 4KB
changelog 1KB
DSP_ubl.cmd 3KB
UBL.cmd 3KB
UBL.cmd 1KB
DSP_sft.cmd 1KB
NORWriter_DSP.cmd 1KB
SPIWriter_DSP.cmd 1KB
ARM_ubl.cmd 1KB
ARM_sft.cmd 1KB
NANDWriter_DSP.cmd 993B
NANDWriter_ARM.cmd 913B
NORWriter_ARM.cmd 905B
SPIWriter_ARM.cmd 905B
DSP_AISExtra.cmd 548B
arm_vectors.cmd 382B
ubl2bin.cmd 119B
ubl2bin.cmd 119B
CREDITS 981B
SecureAISGen.cs 73KB
AISGen.cs 53KB
ElfFile.cs 46KB
sfh_ais.cs 41KB
sfh.cs 38KB
共 716 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
四散
- 粉丝: 54
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功