Changeset f028448 in rtems-docs


Ignore:
Timestamp:
08/03/22 04:20:52 (17 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
3859073
Parents:
e551cc7
git-author:
Chris Johns <chrisj@…> (08/03/22 04:20:52)
git-committer:
Chris Johns <chrisj@…> (08/03/22 04:28:19)
Message:

versions: Update arm

Updates #4695

Location:
user/bsps
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • user/bsps/arm/altera-cyclone-v.rst

    re551cc7 rf028448  
    2828.. code-block:: none
    2929
    30     arm-rtems5-objcopy -O binary app.exe app.bin
     30    arm-rtems@rtems-ver-major@-objcopy -O binary app.exe app.bin
    3131    gzip -9 -f -c app.bin > app.bin.gz
    3232    mkimage -A arm -O linux -T kernel -a 0x00300000 -e 0x00300000 -n RTEMS -d app.bin.gz app.img
  • user/bsps/arm/beagle.rst

    re551cc7 rf028448  
    3333.. code-block:: none
    3434
    35     arm-rtems5-objcopy hello.exe -O binary app.bin
     35    arm-rtems@rtems-ver-major@-objcopy hello.exe -O binary app.bin
    3636    gzip -9 app.bin
    3737    mkimage -A arm -O linux -T kernel -a 0x80000000 -e 0x80000000 -n RTEMS -d app.bin.gz rtems-app.img
     
    7878For example,
    7979
    80 .. code-block::
     80.. code-block:: none
     81
    8182     /dts-v1/;
    8283
     
    110111The function prototype is given below:
    111112
    112 .. code-block:: C
     113.. code-block:: c
    113114
    114115    rtems_status_code bsp_register_spi(
     
    154155The resulting wiring is:
    155156
    156 .. code-block::
     157.. code-block:: none
    157158
    158159    1 ===  /--=== 2
     
    199200following gdb start script can be used:
    200201
    201 .. code-block::
     202.. code-block:: none
    202203
    203204    define reset
  • user/bsps/arm/imx.rst

    re551cc7 rf028448  
    1616---------------------------
    1717
    18 The following options are available at the configure command line.
     18The following options can be used in the BSP section of the waf
     19configuration INI file. The waf defaults can be used to inspect the
     20values.
    1921
    2022``BSP_PRESS_KEY_FOR_RESET``
     
    7476.. code-block:: none
    7577
    76     arm-rtems5-objcopy -O binary app.exe app.bin
     78    arm-rtems@rtems-ver-major@-objcopy -O binary app.exe app.bin
    7779    gzip -9 -f -c app.bin > app.bin.gz
    7880    mkimage -A arm -O linux -T kernel -a 0x80200000 -e 0x80200000 -n RTEMS -d app.bin.gz app.img
  • user/bsps/arm/imxrt.rst

    re551cc7 rf028448  
    4040compiled RTEMS application with for example::
    4141
    42   arm-rtems6-objcopy -O binary build/arm/imxrt1052/testsuites/samples/hello.exe hello.bin
     42  arm-rtems@rtems-ver-major@-objcopy -O binary build/arm/imxrt1052/testsuites/samples/hello.exe hello.bin
    4343
    4444Then just copy the generated binary to the mass storage provided by the
     
    9292`bsps/arm/imxrt/dts/imxrt1050-evkb.dts`. The FDT is split up into two parts. The
    9393core part is put into an `dtsi` file and is installed together with normal
    94 headers into `${PREFIX}/arm-rtems6/imxrt1052/lib/include`. You can use that to
    95 create your own device tree based on that. Basically use something like::
     94headers into `${PREFIX}/arm-rtems@rtems-ver-major@/imxrt1052/lib/include`. You
     95can use that to create your own device tree based on that. Basically use
     96something like::
    9697
    9798  /dts-v1/;
    98  
     99
    99100  #include <imxrt/imxrt1050-pinfunc.h>
    100101  #include <imxrt/imxrt1050.dtsi>
    101  
     102
    102103  &lpuart1 {
    103104          pinctrl-0 = <&pinctrl_lpuart1>;
    104105          status = "okay";
    105106  };
    106  
     107
    107108  &chosen {
    108109          stdout-path = &lpuart1;
    109110  };
    110  
     111
    111112  /* put your further devices here */
    112  
     113
    113114  &iomuxc {
    114115          pinctrl_lpuart1: lpuart1grp {
     
    118119                  >;
    119120          };
    120  
     121
    121122          /* put your further pinctrl groups here */
    122123  };
    123124
    124125You can then convert your FDT into a C file with (replace `YOUR.dts` and similar
    125 with your FDT source names)::
    126 
    127   sh> arm-rtems6-cpp -P -x assembler-with-cpp \
    128                      -I ${PREFIX}/arm-rtems6/imxrt1052/lib/include \
    129                      -include "YOUR.dts" /dev/null | \
    130             dtc -O dtb -o "YOUR.dtb" -b 0 -p 64
     126with your FDT source names):
     127
     128.. code-block:: none
     129
     130  sh> arm-rtems@rtems-ver-major@-cpp -P -x assembler-with-cpp \
     131             -I ${PREFIX}/arm-rtems@rtems-ver-major@/imxrt1052/lib/include \
     132             -include "YOUR.dts" /dev/null | \
     133         dtc -O dtb -o "YOUR.dtb" -b 0 -p 64
    131134  sh> rtems-bin2c -A 8 -C -N imxrt_dtb "YOUR.dtb" "YOUR.c"
    132135
     
    146149
    147150  #include "fsl_clock_config.h"
    148  
     151
    149152  const clock_arm_pll_config_t armPllConfig_BOARD_BootClockRUN = {
    150153      .loopDivider = 100,
  • user/bsps/arm/raspberrypi.rst

    re551cc7 rf028448  
    1313
    1414Setup SD card
    15 ----------------
     15-------------
    1616
    1717The Raspberry Pis have an unconventional booting mechanism. The GPU
     
    2121`kernel=<img_name>` to ``config.txt``.
    2222
    23 You must provide the required firmware files on the SD card for the GPU to proceed,
    24 and thereby to boot RTEMS.
    25 The BSP currently boots up with an older version of the official firmware. These files
    26 can be downloaded from
    27 `the Raspberry Pi Firmware Repository <https://github.com/raspberrypi/firmware/tree/1.20200601/boot>`_.
    28 You can remove the ``kernel*.img`` files if you want to, but don't touch
    29 the other files.
     23You must provide the required firmware files on the SD card for the GPU to
     24proceed, and thereby to boot RTEMS.  The BSP currently boots up with an older
     25version of the official firmware. These files can be downloaded from `the
     26Raspberry Pi Firmware Repository
     27<https://github.com/raspberrypi/firmware/tree/1.20200601/boot>`_.  You can
     28remove the ``kernel*.img`` files if you want to, but don't touch the other
     29files.
    3030
    3131Copy these files in to a SD card with FAT filesystem.
     
    4242.. code-block:: none
    4343
    44      $ arm-rtems5-objcopy -Obinary hello.exe kernel.img
     44     $ xsarm-rtems@rtems-ver-major@-objcopy -Obinary hello.exe kernel.img
    4545
    4646Copy the kernel image to the SD card.
     
    5555
    5656SPI Driver
    57 ------------
     57----------
    5858
    5959SPI drivers are registered by the ``rpi_spi_init(bool bidirectional_mode)`` function.
     
    7373
    7474I2C Driver
    75 ------------
     75----------
    7676
    7777I2C drivers are registered by the ``rpi_setup_i2c_bus()`` function.
     
    133133.. code-block:: none
    134134
    135      $ arm-rtems5-gdb hello.exe
     135     $ arm-rtems@rtems-ver-major@-gdb hello.exe
    136136
    137137This will open GDB and will load the symbol table from hello.exe. Issue the
  • user/bsps/arm/xen.rst

    re551cc7 rf028448  
    4343.. code-block:: none
    4444
    45     arm-rtems5/c/xen_virtual/testsuites/samples/ticker.exe
     45    arm-rtems@rtems-ver-major@/c/xen_virtual/testsuites/samples/ticker.exe
    4646
    4747The ``ticker.exe`` elf file must be translated to a binary format.
     
    4949.. code-block:: none
    5050
    51     arm-rtems5-objcopy -O binary ticker.exe ticker.bin
     51    arm-rtems@rtems-ver-major@-objcopy -O binary ticker.exe ticker.bin
    5252
    5353Then place the ``ticker.bin`` file on the dom0 filesystem.
  • user/bsps/bsps-arm.rst

    re551cc7 rf028448  
    77*********
    88
    9 .. include:: arm/altera-cyclone-v.rst
    10 .. include:: arm/atsam.rst
    11 .. include:: arm/beagle.rst
    12 .. include:: arm/csb336.rst
    13 .. include:: arm/csb337.rst
    14 .. include:: arm/edb7312.rst
    15 .. include:: arm/gumstix.rst
    16 .. include:: arm/imx.rst
    17 .. include:: arm/imxrt.rst
    18 .. include:: arm/lm3s69xx.rst
    19 .. include:: arm/lpc176x.rst
    20 .. include:: arm/lpc24xx.rst
    21 .. include:: arm/raspberrypi.rst
    22 .. include:: arm/realview-pbx-a9.rst
    23 .. include:: arm/rtl22xx.rst
    24 .. include:: arm/smdk2410.rst
    25 .. include:: arm/stm32f4.rst
    26 .. include:: arm/stm32h7.rst
    27 .. include:: arm/tms570.rst
    28 .. include:: arm/xen.rst
    29 .. include:: arm/xilinx-zynq.rst
    30 .. include:: arm/xilinx-zynqmp.rst
     9.. toctree::
     10
     11  arm/altera-cyclone-v.rst
     12  arm/atsam.rst
     13  arm/beagle.rst
     14  arm/csb336.rst
     15  arm/csb337.rst
     16  arm/edb7312.rst
     17  arm/gumstix.rst
     18  arm/imx.rst
     19  arm/imxrt.rst
     20  arm/lm3s69xx.rst
     21  arm/lpc176x.rst
     22  arm/lpc24xx.rst
     23  arm/raspberrypi.rst
     24  arm/realview-pbx-a9.rst
     25  arm/rtl22xx.rst
     26  arm/smdk2410.rst
     27  arm/stm32f4.rst
     28  arm/stm32h7.rst
     29  arm/tms570.rst
     30  arm/xen.rst
     31  arm/xilinx-zynq.rst
     32  arm/xilinx-zynqmp.rst
Note: See TracChangeset for help on using the changeset viewer.