summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Gielda <mgielda@antmicro.com>2014-04-08 22:37:15 +0200
committerMichael Gielda <mgielda@antmicro.com>2014-04-08 22:37:15 +0200
commitd15ef7420b21d901365379919e04418573396c51 (patch)
tree7b7e1eab4cc13ab6d76906ded7314b979963b7d4
parent078cce5804b1b6345771a3a8b80bbd8928a9a748 (diff)
Minor changes, renamed some refs
-rw-r--r--doc/source/introduction.rst23
1 files changed, 12 insertions, 11 deletions
diff --git a/doc/source/introduction.rst b/doc/source/introduction.rst
index 1a4753a..c07b56a 100644
--- a/doc/source/introduction.rst
+++ b/doc/source/introduction.rst
@@ -39,7 +39,7 @@ This eCos port provides the following software packages specific for Toradex Col
* GPIO handling
Also, the port has been verified to work with the standard eCos POSIX an µITRON compatibility layers.
-See :ref:`compat` for more information on this.
+See :ref:`appendix-b` for more information on this.
Version information
-------------------
@@ -114,7 +114,7 @@ Now you can download and use :program:`ecosconfig`. You also need to make :progr
.. note::
A `handbook on ecosconfig <http://ecos.sourceware.org/docs-3.0/user-guide/using-ecosconfig-on-linux.html>`_ exists to help in the manual creation of :abbr:`.ecc` files.
- Also, if you want to create custom eCos configuration files, see :ref:`custom-config`.
+ Also, if you want to create custom eCos configuration files, see :ref:`appendix-a`.
Source code
-----------
@@ -140,7 +140,7 @@ The following commands will prepare a sample :abbr:`.ecc` file for a kernel with
.. code-block:: bash
- export ECOS_REPOSITORY="{path/to/ecos-colibri-vf61/ecos}/packages" # modify this
+ export ECOS_REPOSITORY="{path/to/ecos-colibri-vf61/ecos}/packages" # modify
# Create ecos.ecc file based on Colibri VF61 default template
ecosconfig new col_vf61 default
@@ -165,14 +165,14 @@ A short shell script is proposed to make the compilation process easier:
.. code-block:: bash
- export ECOS_REPOSITORY="{path/to/ecos-colibri-vf61/ecos}/packages" # modify this
- export PATH="{path/to/toolchain}/bin:$PATH" # modify this
+ export ECOS_REPOSITORY="{path/to/ecos-colibri-vf61/ecos}/packages" # modify
+ export PATH="{path/to/toolchain}/bin:$PATH" # modify
mkdir -p build-tree
rm -rf build-tree/*
cd build-tree
- ecosconfig --config={path/to}/ecos.ecc tree # modify this
+ ecosconfig --config={path/to}/ecos.ecc tree # modify
make
cd ..
@@ -203,7 +203,7 @@ You can compile an eCos program with a procedure similar to the following listin
.. code-block:: bash
- export PATH="{path/to/toolchain}/bin:$PATH" # modify this
+ export PATH="{path/to/toolchain}/bin:$PATH" # modify
# Set compiler options
OPT="-Wall -Wpointer-arith -Wstrict-prototypes -Wundef \
@@ -212,7 +212,7 @@ You can compile an eCos program with a procedure similar to the following listin
-mcpu=cortex-m4"
# Set path to eCos kernel
- BTPATH="{path/to/ecos/build-tree}" # modify this
+ BTPATH="{path/to/ecos/build-tree}" # modify
# Do compilation and link your application with kernel
arm-eabi-gcc -g -I./ -g -I${BTPATH}/install/include hello.c \
@@ -234,7 +234,8 @@ Vybrid has three available memory regions:
.. note::
- Out of the 16MB of the DRAM memory in the CPU, 6MB was reserved for enabling the passing of large data blocks between Cortex-A and Cortex-M. This setting can be changed in the ``ecos/packages/hal/cortexm/vybrid/col_vf61/current/include/pkgconf/mlt_vybrid_ext_dram.ldi`` file by modifying the ``DRAM LENGTH`` and ``hal_startup_stack`` values (currently ``0x9FFFF0``).
+ Out of the 16MB of the DRAM memory in the CPU, 6MB was reserved for enabling the passing of large data blocks between Cortex-A and Cortex-M.
+ This setting can be changed in the ``mlt_vybrid_ext_dram.ldi`` file located in ``ecos/packages/hal/cortexm/vybrid/col_vf61/current/include/pkgconf/``, by modifying the ``DRAM LENGTH`` and ``hal_startup_stack`` values (currently ``0x9FFFF0``).
U-Boot over TFTP
----------------
@@ -328,7 +329,7 @@ OCRAM is recommended as default, but you may refer to :ref:`memory` for informat
mqxboot hello.bin 0x1f800400 0x1f800411
-.. _custom-config:
+.. _appendix-a:
Appendix A: custom eCos configuration
=====================================
@@ -410,7 +411,7 @@ The associated parameters are:
* CYG_HAL_STARTUP_PLF (ByVariant / DRAM)
* CYG_HAL_STARTUP_VAR (OCRAM / TCML)
-.. _compat:
+.. _appendix-b:
Appendix B: POSIX and µITRON compatibility
==========================================