summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c66d286)
raw | patch | inline | side by side (parent: c66d286)
author | Sandeep Nair <sandeep_n@ti.com> | |
Thu, 26 May 2011 22:59:40 +0000 (18:59 -0400) | ||
committer | Sandeep Nair <sandeep_n@ti.com> | |
Thu, 26 May 2011 22:59:40 +0000 (18:59 -0400) |
doc/README.txt | patch | blob | history | |
doc/build_instructions.txt | [moved from doc/release_info.txt with 64% similarity] | patch | blob | history |
doc/evmc6670-instructions.txt | patch | blob | history | |
doc/evmc6678-instructions.txt | patch | blob | history | |
release.sh | patch | blob | history | |
src/make/Makefile | patch | blob | history | |
src/make/bin/i2cConfig.gel | [new symlink] | patch | blob |
diff --git a/doc/README.txt b/doc/README.txt
index 67e90427d4345fb480197fb88eb8aac748c9b9ae..2aedf9a6686372356645237f53b896edc3a919ca 100644 (file)
--- a/doc/README.txt
+++ b/doc/README.txt
+=====================================================
+C6x Intermediate Bootloader (IBL)
+Version: 1.0.0.5
+May 2011
+=====================================================
+
This directory contains the following documents:
This directory contains the following documents:
-1. release_info.txt: IBL release Notes
+1. build_instructions.txt: IBL Build instructions
2. IBL-software-manifest.html: Software manifest
2. IBL-software-manifest.html: Software manifest
-3. IBL-Configuration: Folder containing documentation on IBL configuration
+3. IBL-Configuration: Folder containing documentation on IBL configuration.
+ Load the index.html file from this folder in a browser.
4. evmc6678-instructions.txt: Document describing steps to use IBL on the c6678 EVM
5. evmc6670-instructions.txt: Document describing steps to use IBL on the c6670 EVM
4. evmc6678-instructions.txt: Document describing steps to use IBL on the c6678 EVM
5. evmc6670-instructions.txt: Document describing steps to use IBL on the c6670 EVM
similarity index 64%
rename from doc/release_info.txt
rename to doc/build_instructions.txt
index 00cd5daf9c09a0a354140b0bd984ec7b5b7e86a6..f610af9b11a17c7824769ee6d6f8c0837bc8c9be 100644 (file)
rename from doc/release_info.txt
rename to doc/build_instructions.txt
index 00cd5daf9c09a0a354140b0bd984ec7b5b7e86a6..f610af9b11a17c7824769ee6d6f8c0837bc8c9be 100644 (file)
--- a/doc/release_info.txt
=====================================================
=====================================================
-C6x Bootloader Release Note
-Version: 1.0.0.4
-May 2011
+C6x Bootloader Build Instructions
=====================================================
=====================================================
-1) Supported TARGETS:
- - C6455
- - C6472
- - C6474
- - C661x
+1) Supported EVM's:
+ - C6678 LC EVM
+ - C6670 LC EVM
2) Supported ENDIAN
- big
2) Supported ENDIAN
- big
- Set the environment variables:
On a Linux Bash shell run "source setupenvLnx.sh"
On a MinGW-MSYS Bash shell "source setupenvMsys.sh"
- Set the environment variables:
On a Linux Bash shell run "source setupenvLnx.sh"
On a MinGW-MSYS Bash shell "source setupenvMsys.sh"
- - For building run the following make command:
+ - Following are the commands for building IBL:
For C6678 Low Cost EVM:
make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51
For C6678 Low Cost EVM:
make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51
+ Output images:
+ IBL image: bin/i2crom_0x51_c6678_le.dat (CCS data format)
+ : bin/i2crom_0x51_c6678_le.bin (raw binary)
+ IBL configuration writer:
+ : bin/i2cparam_0x51_c6678_le_0x500.out
+ IBL configuration gel script:
+ : bin/i2cConfig.gel
+
For C6670 Low Cost EVM:
make evm_c6670_i2c ENDIAN=little I2C_BUS_ADDR=0x51
For C6670 Low Cost EVM:
make evm_c6670_i2c ENDIAN=little I2C_BUS_ADDR=0x51
-
- or for generic build option:
- make <TARGET> ENDIAN=[little|big]
- make c6455 ENDIAN=liitle
- make c6455 ENDIAN=big
+ Output images:
+ IBL image: bin/i2crom_0x51_c6670_le.dat (CCS data format)
+ : bin/i2crom_0x51_c6670_le.bin (raw binary)
+ IBL configuration writer:
+ : bin/i2cparam_0x51_c6670_le_0x500.out
+ IBL configuration gel script:
+ : bin/i2cConfig.gel
index 5ed7e0bf32995eaa08194d0e416295a070de635a..be93554c53d944b9b03706e23c5f129d1bd5de20 100644 (file)
boot mode on the EVM (please refer to the EVM technical reference manual
on how to set the boot mode dip switches.
(b) Open CCSv5 and launch the evmc66xx emulator target configuration and connect to core 0.
boot mode on the EVM (please refer to the EVM technical reference manual
on how to set the boot mode dip switches.
(b) Open CCSv5 and launch the evmc66xx emulator target configuration and connect to core 0.
- (c) Load the program i2cparam_c6670_le.out to CCS.
+ (c) Load the program i2cparam_0x51_c6670_le_0x500.out to CCS.
(d) Run the program and a message "Run the GEL for the device to be configured,
press return to program the I2C" will be printed on the CCS console.
(e) Load i2cConfig.gel (in CCSv5 Tools->GEL Files, right click mouse in GEL Files
(d) Run the program and a message "Run the GEL for the device to be configured,
press return to program the I2C" will be printed on the CCS console.
(e) Load i2cConfig.gel (in CCSv5 Tools->GEL Files, right click mouse in GEL Files
index b61b090bde31227e4edf110d7845e733d4813980..e6c61007be5fcb2fd2afd701077bf4e0a9d57a97 100644 (file)
boot mode on the EVM (please refer to the EVM technical reference manual
on how to set the boot mode dip switches.
(b) Open CCSv5 and launch the evmc66xx emulator target configuration and connect to core 0.
boot mode on the EVM (please refer to the EVM technical reference manual
on how to set the boot mode dip switches.
(b) Open CCSv5 and launch the evmc66xx emulator target configuration and connect to core 0.
- (c) Load the program i2cparam_c6678_le.out to CCS.
+ (c) Load the program i2cparam_0x51_c6678_le_0x500.out to CCS.
(d) Run the program and a message "Run the GEL for the device to be configured,
press return to program the I2C" will be printed on the CCS console.
(e) Load i2cConfig.gel (in CCSv5 Tools->GEL Files, right click mouse in GEL Files
(d) Run the program and a message "Run the GEL for the device to be configured,
press return to program the I2C" will be printed on the CCS console.
(e) Load i2cConfig.gel (in CCSv5 Tools->GEL Files, right click mouse in GEL Files
diff --git a/release.sh b/release.sh
index ed531418e2529b56d719b1f724ed6ec9a407e82b..9f645e57596fdd0b904b2f451f7dd02348512407 100755 (executable)
--- a/release.sh
+++ b/release.sh
make evm_c6455 I2C_MAP_ADDR=0x500
popd
# Copy the files to the Binary package
make evm_c6455 I2C_MAP_ADDR=0x500
popd
# Copy the files to the Binary package
-cp -f src/make/ibl_c6455/i2crom.dat ibl_bin_$IBL_VERSION/c6455/le-be/i2crom_0x50_c6455.dat
-cp -f src/make/ibl_c6455/i2crom.bin ibl_bin_$IBL_VERSION/c6455/le-be/i2crom_0x50_c6455.bin
-cp -f src/util/i2cConfig/i2cparam_c6455_le.out ibl_bin_$IBL_VERSION/c6455/le-be/i2cparam_c6455_le_0x500.out
+cp -f src/make/bin/i2crom_0x50_c6455_le-be.dat ibl_bin_$IBL_VERSION/c6455/le-be/
+cp -f src/make/bin/i2crom_0x50_c6455_le-be.bin ibl_bin_$IBL_VERSION/c6455/le-be/
+cp -f src/make/bin/i2cparam_0x50_c6455_le_0x500.out ibl_bin_$IBL_VERSION/c6455/le-be/
# Build C6455 EVM BE
pushd src/make
# Build C6455 EVM BE
pushd src/make
make evm_c6455 I2C_MAP_ADDR=0x800
popd
# Copy the files to the Binary package
make evm_c6455 I2C_MAP_ADDR=0x800
popd
# Copy the files to the Binary package
-cp -f src/util/i2cConfig/i2cparam_c6455_le.out ibl_bin_$IBL_VERSION/c6455/le-be/i2cparam_c6455_le_0x800.out
+cp -f src/make/bin/i2cparam_0x50_c6455_be_0x800.out ibl_bin_$IBL_VERSION/c6455/le-be/
# Build C6472 le
# Build C6472 le
make evm_c6472 I2C_MAP_ADDR=0x500
popd
# Copy the files to the Binary package
make evm_c6472 I2C_MAP_ADDR=0x500
popd
# Copy the files to the Binary package
-cp -f src/make/ibl_c6472/i2crom.dat ibl_bin_$IBL_VERSION/c6472/le-be/i2crom_0x50_c6472.dat
-cp -f src/make/ibl_c6472/i2crom.bin ibl_bin_$IBL_VERSION/c6472/le-be/i2crom_0x50_c6472.bin
-cp -f src/util/i2cConfig/i2cparam_c6472_le.out ibl_bin_$IBL_VERSION/c6472/le-be/i2cparam_c6472_le_0x500.out
+cp -f src/make/bin/i2crom_0x50_c6472_le-be.dat ibl_bin_$IBL_VERSION/c6472/le-be/
+cp -f src/make/bin/i2crom_0x50_c6472_le-be.bin ibl_bin_$IBL_VERSION/c6472/le-be/
+cp -f src/make/bin/i2cparam_0x50_c6472_le_0x500.out ibl_bin_$IBL_VERSION/c6472/le-be/
# Build C6472 EVM BE
pushd src/make
# Build C6472 EVM BE
pushd src/make
make evm_c6472 I2C_MAP_ADDR=0x800
popd
# Copy the files to the Binary package
make evm_c6472 I2C_MAP_ADDR=0x800
popd
# Copy the files to the Binary package
-cp -f src/util/i2cConfig/i2cparam_c6472_le.out ibl_bin_$IBL_VERSION/c6472/le-be/i2cparam_c6472_le_0x800.out
+cp -f src/make/bin/i2cparam_0x50_c6472_be_0x800.out ibl_bin_$IBL_VERSION/c6472/le-be/
-# Build c6474 EVM
+# Build c6474 EVM little endian
pushd src/make
make clean
pushd src/make
make clean
-make evm_c6474
+make evm_c6474 ENDIAN=little
popd
# Copy the files to the Binary package
popd
# Copy the files to the Binary package
-cp -f src/make/ibl_c6474/i2crom_0x50_c6474_le.dat ibl_bin_$IBL_VERSION/c6474/le/
-cp -f src/make/ibl_c6474/i2crom_0x50_c6474_le.bin ibl_bin_$IBL_VERSION/c6474/le/
-cp -f src/make/ibl_c6474/i2crom_0x50_c6474_be.dat ibl_bin_$IBL_VERSION/c6474/be/
-cp -f src/make/ibl_c6474/i2crom_0x50_c6474_be.bin ibl_bin_$IBL_VERSION/c6474/be/
-cp -f src/util/i2cConfig/i2cparam_c6474_le.out ibl_bin_$IBL_VERSION/c6474/le/
-cp -f src/util/i2cConfig/i2cparam_c6474_be.out ibl_bin_$IBL_VERSION/c6474/be/
+cp -f src/make/bin/i2crom_0x50_c6474_le.dat ibl_bin_$IBL_VERSION/c6474/le/
+cp -f src/make/bin/i2crom_0x50_c6474_le.bin ibl_bin_$IBL_VERSION/c6474/le/
+cp -f src/make/bin/i2cparam_0x50_c6474_le_0x200.out ibl_bin_$IBL_VERSION/c6474/le/
-# Build c6474l EVM
+# Build c6474 EVM Big endian
pushd src/make
make clean
pushd src/make
make clean
-make evm_c6474l
+make evm_c6474 ENDIAN=big
popd
# Copy the files to the Binary package
popd
# Copy the files to the Binary package
-cp -f src/make/ibl_c6474/i2crom_0x50_c6474l_le.dat ibl_bin_$IBL_VERSION/c6474l/le/
-cp -f src/make/ibl_c6474/i2crom_0x50_c6474l_le.bin ibl_bin_$IBL_VERSION/c6474l/le/
-cp -f src/make/ibl_c6474/i2crom_0x50_c6474l_be.dat ibl_bin_$IBL_VERSION/c6474l/be/
-cp -f src/make/ibl_c6474/i2crom_0x50_c6474l_be.bin ibl_bin_$IBL_VERSION/c6474l/be/
-cp -f src/util/i2cConfig/i2cparam_c6474_le.out ibl_bin_$IBL_VERSION/c6474l/le/i2cparam_c6474l_le.out
-cp -f src/util/i2cConfig/i2cparam_c6474_be.out ibl_bin_$IBL_VERSION/c6474l/be/i2cparam_c6474l_be.out
+cp -f src/make/bin/i2crom_0x50_c6474_be.dat ibl_bin_$IBL_VERSION/c6474/be/
+cp -f src/make/bin/i2crom_0x50_c6474_be.bin ibl_bin_$IBL_VERSION/c6474/be/
+cp -f src/make/bin/i2cparam_0x50_c6474_be_0x200.out ibl_bin_$IBL_VERSION/c6474/be/
+# Build c6474l EVM little Endian
+pushd src/make
+make clean
+make evm_c6474l ENDIAN=little
+popd
+# Copy the files to the Binary package
+cp -f src/make/bin/i2crom_0x50_c6474l_le.dat ibl_bin_$IBL_VERSION/c6474l/le/
+cp -f src/make/bin/i2crom_0x50_c6474l_le.bin ibl_bin_$IBL_VERSION/c6474l/le/
+cp -f src/make/bin/i2cparam_0x50_c6474l_le_0x200.out ibl_bin_$IBL_VERSION/c6474l/le/
+
+# Build c6474l EVM Big Endian
+pushd src/make
+make clean
+make evm_c6474l ENDIAN=big
+popd
+# Copy the files to the Binary package
+cp -f src/make/bin/i2crom_0x50_c6474l_be.dat ibl_bin_$IBL_VERSION/c6474l/be/
+cp -f src/make/bin/i2crom_0x50_c6474l_be.bin ibl_bin_$IBL_VERSION/c6474l/be/
+cp -f src/make/bin/i2cparam_0x50_c6474l_be_0x200.out ibl_bin_$IBL_VERSION/c6474l/be/
+
+# Build c6457 EVM little
+pushd src/make
+make clean
+make evm_c6457 ENDIAN=little
+popd
+cp -f src/make/bin/i2crom_0x50_c6457_le.dat ibl_bin_$IBL_VERSION/c6457/le/
+cp -f src/make/bin/i2crom_0x50_c6457_le.bin ibl_bin_$IBL_VERSION/c6457/le/
+cp -f src/make/bin/i2cparam_0x50_c6457_le_0x200.out ibl_bin_$IBL_VERSION/c6457/le/
-# Build c6457 EVM
+# Build c6457 EVM big
pushd src/make
make clean
pushd src/make
make clean
-make evm_c6457
+make evm_c6457 ENDIAN=big
popd
popd
-cp -f src/make/ibl_c6457/i2crom_0x50_c6457_le.dat ibl_bin_$IBL_VERSION/c6457/le/
-cp -f src/make/ibl_c6457/i2crom_0x50_c6457_le.bin ibl_bin_$IBL_VERSION/c6457/le/
-cp -f src/make/ibl_c6457/i2crom_0x50_c6457_be.dat ibl_bin_$IBL_VERSION/c6457/be/
-cp -f src/make/ibl_c6457/i2crom_0x50_c6457_be.bin ibl_bin_$IBL_VERSION/c6457/be/
-cp -f src/util/i2cConfig/i2cparam_c6457_le.out ibl_bin_$IBL_VERSION/c6457/le/
-cp -f src/util/i2cConfig/i2cparam_c6457_be.out ibl_bin_$IBL_VERSION/c6457/be/
+cp -f src/make/bin/i2crom_0x50_c6457_be.dat ibl_bin_$IBL_VERSION/c6457/be/
+cp -f src/make/bin/i2crom_0x50_c6457_be.bin ibl_bin_$IBL_VERSION/c6457/be/
+cp -f src/make/bin/i2cparam_0x50_c6457_be_0x200.out ibl_bin_$IBL_VERSION/c6457/be/
# Build c6678 EVM
pushd src/make
make clean
make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51
popd
# Build c6678 EVM
pushd src/make
make clean
make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51
popd
-cp -f src/make/ibl_c661x/i2crom.dat ibl_bin_$IBL_VERSION/c6678/le/i2crom_0x51_c6678_le.dat
-cp -f src/make/ibl_c661x/i2crom.bin ibl_bin_$IBL_VERSION/c6678/le/i2crom_0x51_c6678_le.bin
-cp -f src/util/i2cConfig/i2cparam_c661x_le.out ibl_bin_$IBL_VERSION/c6678/le/i2cparam_c6678_le.out
-cp -f src/make/ibl_c661x/i2crom.dat ibl_bin_$IBL_VERSION/c6670/le/i2crom_0x51_c6670_le.dat
-cp -f src/make/ibl_c661x/i2crom.bin ibl_bin_$IBL_VERSION/c6670/le/i2crom_0x51_c6670_le.bin
-cp -f src/util/i2cConfig/i2cparam_c661x_le.out ibl_bin_$IBL_VERSION/c6670/le/i2cparam_c6670_le.out
+cp -f src/make/bin/i2crom_0x51_c6678_le.dat ibl_bin_$IBL_VERSION/c6678/le/
+cp -f src/make/bin/i2crom_0x51_c6678_le.bin ibl_bin_$IBL_VERSION/c6678/le/
+cp -f src/make/bin/i2cparam_0x51_c6678_le_0x500.out ibl_bin_$IBL_VERSION/c6678/le/
# Build c6670 EVM
pushd src/make
make clean
make evm_c6670_i2c ENDIAN=little I2C_BUS_ADDR=0x51
popd
# Build c6670 EVM
pushd src/make
make clean
make evm_c6670_i2c ENDIAN=little I2C_BUS_ADDR=0x51
popd
-cp -f src/make/ibl_c661x/i2crom.dat ibl_bin_$IBL_VERSION/c6670/le/i2crom_0x51_c6670_le.dat
-cp -f src/make/ibl_c661x/i2crom.bin ibl_bin_$IBL_VERSION/c6670/le/i2crom_0x51_c6670_le.bin
-cp -f src/util/i2cConfig/i2cparam_c661x_le.out ibl_bin_$IBL_VERSION/c6670/le/i2cparam_c6670_le.out
+cp -f src/make/bin/i2crom_0x51_c6670_le.dat ibl_bin_$IBL_VERSION/c6670/le/
+cp -f src/make/bin/i2crom_0x51_c6670_le.bin ibl_bin_$IBL_VERSION/c6670/le/
+cp -f src/make/bin/i2cparam_0x51_c6670_le_0x500.out ibl_bin_$IBL_VERSION/c6670/le/
# Create Tar archive for binary package
tar -czf ibl_bin_$IBL_VERSION.tgz ibl_bin_$IBL_VERSION
# Create Tar archive for binary package
tar -czf ibl_bin_$IBL_VERSION.tgz ibl_bin_$IBL_VERSION
diff --git a/src/make/Makefile b/src/make/Makefile
index fdc38a1021f3c358c6494b42c7083f7c63f0f5d8..3362377fab469a9f919f9c2ce3961e0bdfd4497b 100644 (file)
--- a/src/make/Makefile
+++ b/src/make/Makefile
# The endian of the build. The default target builds a single ROM image with both endians present
ifeq ($(ENDIAN),big)
ENDIAN_MODE=big
# The endian of the build. The default target builds a single ROM image with both endians present
ifeq ($(ENDIAN),big)
ENDIAN_MODE=big
+ ENDIAN_SFX=be
else
ifeq ($(ENDIAN),little)
ENDIAN_MODE=little
else
ifeq ($(ENDIAN),little)
ENDIAN_MODE=little
+ ENDIAN_SFX=le
else
ENDIAN_MODE=both
else
ENDIAN_MODE=both
+ ENDIAN_SFX=le-be
endif
endif
endif
endif
endif
ifndef I2C_MAP_ADDR
endif
ifndef I2C_MAP_ADDR
-ifeq ($(ENDIAN),big)
- I2C_MAP_ADDR=0x800
- else
I2C_MAP_ADDR=0x500
I2C_MAP_ADDR=0x500
- endif
endif
endif
evm_c6455:
make -f makestg1 ARCH=c64x TARGET=c6455 I2C_BUS_ADDR=0x50 \
I2C_MAP_ADDR=$(I2C_MAP_ADDR) COMPACT_I2C=no ENDIAN_MODE=both CEXCLUDES='ELF COFF BIS NAND_GPIO MULTI_BOOT' c6455
evm_c6455:
make -f makestg1 ARCH=c64x TARGET=c6455 I2C_BUS_ADDR=0x50 \
I2C_MAP_ADDR=$(I2C_MAP_ADDR) COMPACT_I2C=no ENDIAN_MODE=both CEXCLUDES='ELF COFF BIS NAND_GPIO MULTI_BOOT' c6455
+ cp -f ibl_c6455/i2crom.dat bin/i2crom_0x50_c6455_le-be.dat
+ cp -f ibl_c6455/i2crom.bin bin/i2crom_0x50_c6455_le-be.bin
+ cp -f ../util/i2cConfig/i2cparam_c6455_le.out bin/i2cparam_0x50_c6455_le_$(I2C_MAP_ADDR).out
+ cp -f ../util/i2cConfig/i2cparam_c6455_be.out bin/i2cparam_0x50_c6455_be_$(I2C_MAP_ADDR).out
# The c6472 EVM has a 128k eeprom (64k at 0x50, 64k at 0x51), so both endians are built with full functionality
evm_c6472:
make -f makestg1 ARCH=c64x TARGET=c6472 I2C_BUS_ADDR=0x50 \
I2C_MAP_ADDR=$(I2C_MAP_ADDR) COMPACT_I2C=no ENDIAN_MODE=both CEXCLUDES='ELF BIS MULTI_BOOT NAND_GPIO' c6472
# The c6472 EVM has a 128k eeprom (64k at 0x50, 64k at 0x51), so both endians are built with full functionality
evm_c6472:
make -f makestg1 ARCH=c64x TARGET=c6472 I2C_BUS_ADDR=0x50 \
I2C_MAP_ADDR=$(I2C_MAP_ADDR) COMPACT_I2C=no ENDIAN_MODE=both CEXCLUDES='ELF BIS MULTI_BOOT NAND_GPIO' c6472
+ cp -f ibl_c6472/i2crom.dat bin/i2crom_0x50_c6472_le-be.dat
+ cp -f ibl_c6472/i2crom.bin bin/i2crom_0x50_c6472_le-be.bin
+ cp -f ../util/i2cConfig/i2cparam_c6472_le.out bin/i2cparam_0x50_c6472_le_$(I2C_MAP_ADDR).out
+ cp -f ../util/i2cConfig/i2cparam_c6472_be.out bin/i2cparam_0x50_c6472_be_$(I2C_MAP_ADDR).out
# The 6474 EVM has a 32k eeprom. A stripped down version is build with only one endian.
evm_c6474:
make -f makestg1 ARCH=c64x TARGET=c6474 I2C_BUS_ADDR=0x50 I2C_MAP_ADDR=0x200 \
# The 6474 EVM has a 32k eeprom. A stripped down version is build with only one endian.
evm_c6474:
make -f makestg1 ARCH=c64x TARGET=c6474 I2C_BUS_ADDR=0x50 I2C_MAP_ADDR=0x200 \
- COMPACT_I2C=yes ENDIAN_MODE=little CEXCLUDES='ELF NAND_GPIO COFF BIS MULTI_BOOT' I2C_SIZE_BYTES=0x8000 c6474
- cp ibl_c6474/i2crom.dat ibl_c6474/i2crom_0x50_c6474_le.dat
- cp ibl_c6474/i2crom.bin ibl_c6474/i2crom_0x50_c6474_le.bin
- make -f makestg1 ARCH=c64x TARGET=c6474 I2C_BUS_ADDR=0x50 I2C_MAP_ADDR=0x200 \
- COMPACT_I2C=yes ENDIAN_MODE=big CEXCLUDES='ELF NAND_GPIO COFF BIS MULTI_BOOT' I2C_SIZE_BYTES=0x8000 c6474
- cp ibl_c6474/i2crom.dat ibl_c6474/i2crom_0x50_c6474_be.dat
- cp ibl_c6474/i2crom.bin ibl_c6474/i2crom_0x50_c6474_be.bin
+ COMPACT_I2C=yes ENDIAN_MODE=$(ENDIAN) CEXCLUDES='ELF NAND_GPIO COFF BIS MULTI_BOOT' I2C_SIZE_BYTES=0x8000 c6474
+ cp -f ibl_c6474/i2crom.dat bin/i2crom_0x50_c6474_$(ENDIAN_SFX).dat
+ cp -f ibl_c6474/i2crom.bin bin/i2crom_0x50_c6474_$(ENDIAN_SFX).bin
+ cp -f ../util/i2cConfig/i2cparam_c6474_$(ENDIAN_SFX).out bin/i2cparam_0x50_c6474_$(ENDIAN_SFX)_0x200.out
evm_c6474l:
make -f makestg1 ARCH=c64x TARGET=c6474 I2C_BUS_ADDR=0x50 I2C_MAP_ADDR=0x200 \
evm_c6474l:
make -f makestg1 ARCH=c64x TARGET=c6474 I2C_BUS_ADDR=0x50 I2C_MAP_ADDR=0x200 \
- COMPACT_I2C=yes ENDIAN_MODE=little CEXCLUDES='ELF NAND_GPIO COFF BIS MULTI_BOOT' I2C_SIZE_BYTES=0x8000 c6474
- cp ibl_c6474/i2crom.dat ibl_c6474/i2crom_0x50_c6474l_le.dat
- cp ibl_c6474/i2crom.bin ibl_c6474/i2crom_0x50_c6474l_le.bin
- make -f makestg1 ARCH=c64x TARGET=c6474 I2C_BUS_ADDR=0x50 I2C_MAP_ADDR=0x200 \
- COMPACT_I2C=yes ENDIAN_MODE=big CEXCLUDES='ELF NAND_GPIO COFF BIS MULTI_BOOT' I2C_SIZE_BYTES=0x8000 c6474
- cp ibl_c6474/i2crom.dat ibl_c6474/i2crom_0x50_c6474l_be.dat
- cp ibl_c6474/i2crom.bin ibl_c6474/i2crom_0x50_c6474l_be.bin
+ COMPACT_I2C=yes ENDIAN_MODE=$(ENDIAN) CEXCLUDES='ELF NAND_GPIO COFF BIS MULTI_BOOT' I2C_SIZE_BYTES=0x8000 c6474
+ cp -f ibl_c6474/i2crom.dat bin/i2crom_0x50_c6474l_$(ENDIAN_SFX).dat
+ cp -f ibl_c6474/i2crom.bin bin/i2crom_0x50_c6474l_$(ENDIAN_SFX).bin
+ cp -f ../util/i2cConfig/i2cparam_c6474_$(ENDIAN_SFX).out bin/i2cparam_0x50_c6474l_$(ENDIAN_SFX)_0x200.out
# The 6457 EVM
evm_c6457:
make -f makestg1 ARCH=c64x TARGET=c6457 I2C_BUS_ADDR=0x50 I2C_MAP_ADDR=0x200 \
# The 6457 EVM
evm_c6457:
make -f makestg1 ARCH=c64x TARGET=c6457 I2C_BUS_ADDR=0x50 I2C_MAP_ADDR=0x200 \
- COMPACT_I2C=yes ENDIAN_MODE=little CEXCLUDES='ELF NAND_GPIO COFF BIS MULTI_BOOT' c6457
- cp ibl_c6457/i2crom.dat ibl_c6457/i2crom_0x50_c6457_le.dat
- cp ibl_c6457/i2crom.bin ibl_c6457/i2crom_0x50_c6457_le.bin
- make -f makestg1 ARCH=c64x TARGET=c6457 I2C_BUS_ADDR=0x50 I2C_MAP_ADDR=0x200 \
- COMPACT_I2C=yes ENDIAN_MODE=big CEXCLUDES='ELF NAND_GPIO COFF BIS MULTI_BOOT' c6457
- cp ibl_c6457/i2crom.dat ibl_c6457/i2crom_0x50_c6457_be.dat
- cp ibl_c6457/i2crom.bin ibl_c6457/i2crom_0x50_c6457_be.bin
+ COMPACT_I2C=yes ENDIAN_MODE=$(ENDIAN) CEXCLUDES='ELF NAND_GPIO COFF BIS MULTI_BOOT' c6457
+ cp -f ibl_c6457/i2crom.dat bin/i2crom_0x50_c6457_$(ENDIAN_SFX).dat
+ cp -f ibl_c6457/i2crom.bin bin/i2crom_0x50_c6457_$(ENDIAN_SFX).bin
+ cp -f ../util/i2cConfig/i2cparam_c6457_$(ENDIAN_SFX).out bin/i2cparam_0x50_c6457_$(ENDIAN_SFX)_0x200.out
# The 6608 EVM
EVM_6608_SPI_DEFS= SPI_MODE=1 SPI_ADDR_WIDTH=24 SPI_NPIN=5 SPI_CSEL=2 SPI_C2TDEL=1 SPI_CLKDIV=8 SPI_ROM=1
# The 6608 EVM
EVM_6608_SPI_DEFS= SPI_MODE=1 SPI_ADDR_WIDTH=24 SPI_NPIN=5 SPI_CSEL=2 SPI_C2TDEL=1 SPI_CLKDIV=8 SPI_ROM=1
make -f makestg1 I2C_BUS_ADDR=$(I2C_BUS_ADDR) I2C_MAP_ADDR=$(I2C_MAP_ADDR) \
ENDIAN_MODE=$(ENDIAN) ARCH=c64x TARGET=c661x SPI=no SPI_DEFS='$(EVM_667x_SPI_DEFS)' \
CEXCLUDES='COFF BIS NAND_GPIO' c661x
make -f makestg1 I2C_BUS_ADDR=$(I2C_BUS_ADDR) I2C_MAP_ADDR=$(I2C_MAP_ADDR) \
ENDIAN_MODE=$(ENDIAN) ARCH=c64x TARGET=c661x SPI=no SPI_DEFS='$(EVM_667x_SPI_DEFS)' \
CEXCLUDES='COFF BIS NAND_GPIO' c661x
+ cp -f ibl_c661x/i2crom.dat bin/i2crom_$(I2C_BUS_ADDR)_c6678_$(ENDIAN_SFX).dat
+ cp -f ibl_c661x/i2crom.bin bin/i2crom_$(I2C_BUS_ADDR)_c6678_$(ENDIAN_SFX).bin
+ cp -f ../util/i2cConfig/i2cparam_c661x_$(ENDIAN_SFX).out bin/i2cparam_$(I2C_BUS_ADDR)_c6678_$(ENDIAN_SFX)_$(I2C_MAP_ADDR).out
evm_c6670_i2c:
make -f makestg1 I2C_BUS_ADDR=$(I2C_BUS_ADDR) I2C_MAP_ADDR=$(I2C_MAP_ADDR) \
ENDIAN_MODE=$(ENDIAN) ARCH=c64x TARGET=c661x SPI=no SPI_DEFS='$(EVM_667x_SPI_DEFS)' \
CEXCLUDES='COFF BIS NAND_EMIF' c661x
evm_c6670_i2c:
make -f makestg1 I2C_BUS_ADDR=$(I2C_BUS_ADDR) I2C_MAP_ADDR=$(I2C_MAP_ADDR) \
ENDIAN_MODE=$(ENDIAN) ARCH=c64x TARGET=c661x SPI=no SPI_DEFS='$(EVM_667x_SPI_DEFS)' \
CEXCLUDES='COFF BIS NAND_EMIF' c661x
+ cp -f ibl_c661x/i2crom.dat bin/i2crom_$(I2C_BUS_ADDR)_c6670_$(ENDIAN_SFX).dat
+ cp -f ibl_c661x/i2crom.bin bin/i2crom_$(I2C_BUS_ADDR)_c6670_$(ENDIAN_SFX).bin
+ cp -f ../util/i2cConfig/i2cparam_c661x_$(ENDIAN_SFX).out bin/i2cparam_$(I2C_BUS_ADDR)_c6670_$(ENDIAN_SFX)_$(I2C_MAP_ADDR).out
test_c661x:
make -f makestg1 ARCH=c64x TARGET=c661x ENDIAN_MODE=both CEXCLUDES='NOR_SPI' SPI_DEFS='SPI_ROM=1 SPI_MODE=3 SPI_ADDR_WIDTH=24 SPI_NPIN=5 SPI_CSEL=2 SPI_C2TDEL=8 SPI_CLKDIV=0x20' I2C_BUS_ADDR=0x50 I2C_MAP_ADDR=$(I2C_MAP_ADDR) COMPACT_I2C=no c661x
test_c661x:
make -f makestg1 ARCH=c64x TARGET=c661x ENDIAN_MODE=both CEXCLUDES='NOR_SPI' SPI_DEFS='SPI_ROM=1 SPI_MODE=3 SPI_ADDR_WIDTH=24 SPI_NPIN=5 SPI_CSEL=2 SPI_C2TDEL=8 SPI_CLKDIV=0x20' I2C_BUS_ADDR=0x50 I2C_MAP_ADDR=$(I2C_MAP_ADDR) COMPACT_I2C=no c661x
make -C ../util/romparse clean
make -C ../test/test1 clean
make -C ../test/test2 clean
make -C ../util/romparse clean
make -C ../test/test1 clean
make -C ../test/test2 clean
+ rm -f bin/*.out
+ rm -f bin/*.dat
+ rm -f bin/*.bin
find ../ -name *.oc | xargs rm -f
find ../ -name *.dc | xargs rm -f
find ../ -name *.oa | xargs rm -f
find ../ -name *.oc | xargs rm -f
find ../ -name *.dc | xargs rm -f
find ../ -name *.oa | xargs rm -f
diff --git a/src/make/bin/i2cConfig.gel b/src/make/bin/i2cConfig.gel
--- /dev/null
@@ -0,0 +1 @@
+../../util/i2cConfig/i2cConfig.gel
\ No newline at end of file