1 | .. SPDX-License-Identifier: CC-BY-SA-4.0 |
---|
2 | |
---|
3 | .. Copyright (C) 2018 embedded brains GmbH |
---|
4 | |
---|
5 | powerpc (PowerPC) |
---|
6 | ***************** |
---|
7 | |
---|
8 | beatnik |
---|
9 | ======= |
---|
10 | |
---|
11 | TODO. |
---|
12 | |
---|
13 | gen5200 |
---|
14 | ======= |
---|
15 | |
---|
16 | TODO. |
---|
17 | |
---|
18 | gen83xx |
---|
19 | ======= |
---|
20 | |
---|
21 | TODO. |
---|
22 | |
---|
23 | haleakala |
---|
24 | ========= |
---|
25 | |
---|
26 | TODO. |
---|
27 | |
---|
28 | motorola_powerpc |
---|
29 | ================ |
---|
30 | |
---|
31 | Boot Image Generation |
---|
32 | --------------------- |
---|
33 | |
---|
34 | The application executable file (ELF file) must be converted to a boot |
---|
35 | image. Use the following commands: |
---|
36 | |
---|
37 | .. code-block:: none |
---|
38 | |
---|
39 | powerpc-rtems5-objcopy -O binary -R .comment -S ticker.exe rtems |
---|
40 | gzip -9 -f rtems |
---|
41 | powerpc-rtems5-ld -o ticker.boot bootloader.o --just-symbols=ticker.exe -b binary rtems.gz -T ppcboot.lds -no-warn-mismatch |
---|
42 | powerpc-rtems5-objcopy -O binary ticker.boot ticker.bin |
---|
43 | |
---|
44 | mpc55xxevb |
---|
45 | ========== |
---|
46 | |
---|
47 | TODO. |
---|
48 | |
---|
49 | mpc8260ads |
---|
50 | ========== |
---|
51 | |
---|
52 | TODO. |
---|
53 | |
---|
54 | mvme3100 |
---|
55 | ======== |
---|
56 | |
---|
57 | TODO. |
---|
58 | |
---|
59 | mvme5500 |
---|
60 | ======== |
---|
61 | |
---|
62 | TODO. |
---|
63 | |
---|
64 | psim |
---|
65 | ==== |
---|
66 | |
---|
67 | TODO. |
---|
68 | |
---|
69 | qemuppc |
---|
70 | ======= |
---|
71 | |
---|
72 | TODO. |
---|
73 | |
---|
74 | qoriq (QorIQ) |
---|
75 | ============= |
---|
76 | |
---|
77 | The BSP for the `QorIQ <https://en.wikipedia.org/wiki/QorIQ>`_ chip family |
---|
78 | offers three variants. The `qoriq_e500` variant supports the P-series chips |
---|
79 | such as P1020, P2010 and P2020. The `qoriq_e6500_32` (32-bit ISA) and |
---|
80 | `qoriq_e6500_64` (64-bit ISA) variants support the T-series chips such as T2080 |
---|
81 | and T4240. The basic hardware initialization is not performed by the BSP. A |
---|
82 | boot loader with device tree support must be used to start the BSP, e.g. |
---|
83 | U-Boot. |
---|
84 | |
---|
85 | The BSP is known to run on these boards: |
---|
86 | |
---|
87 | * NXP P1020RDB |
---|
88 | |
---|
89 | * MicroSys miriac MPX2020 (System on Module) |
---|
90 | |
---|
91 | * Artesyn MVME2500 (VME64x SBC) |
---|
92 | |
---|
93 | * NXP T2080RDB |
---|
94 | |
---|
95 | * NXP T4240RDB |
---|
96 | |
---|
97 | * MEN G52A (CompactPCI Serial) |
---|
98 | |
---|
99 | The `qoriq_core_0` and `qoriq_core_1` variants should be used with care. They |
---|
100 | are inteded for a `RTEMS_MULTIPROCESSING` configuration on the P1020. |
---|
101 | |
---|
102 | Boot via U-Boot |
---|
103 | --------------- |
---|
104 | |
---|
105 | The application executable file (ELF file) must be converted to an U-Boot |
---|
106 | image. Use the following commands: |
---|
107 | |
---|
108 | .. code-block:: none |
---|
109 | |
---|
110 | powerpc-rtems5-objcopy -O binary app.exe app.bin |
---|
111 | gzip -9 -f -c app.bin > app.bin.gz |
---|
112 | mkimage -A ppc -O linux -T kernel -a 0x4000 -e 0x4000 -n RTEMS -d app.bin.gz app.img |
---|
113 | |
---|
114 | Use the following U-Boot commands to boot an application via TFTP download: |
---|
115 | |
---|
116 | .. code-block:: none |
---|
117 | |
---|
118 | tftpboot ${loadaddr} app.img && run loadfdt && bootm ${loadaddr} - ${fdt_addr} ; reset |
---|
119 | |
---|
120 | Clock Driver |
---|
121 | ------------ |
---|
122 | |
---|
123 | The clock driver uses two MPIC global timer (``QORIQ_CLOCK_TIMER`` and |
---|
124 | ``QORIQ_CLOCK_TIMECOUNTER``). In case ``QORIQ_IS_HYPERVISOR_GUEST`` is |
---|
125 | defined, then the PowerPC decrementer is used. |
---|
126 | |
---|
127 | Console Driver |
---|
128 | -------------- |
---|
129 | |
---|
130 | The console driver supports the on-chip NS16550 compatible UARTs. In case |
---|
131 | ``QORIQ_IS_HYPERVISOR_GUEST`` is defined, then the EPAPR byte channel is used |
---|
132 | for the console device. |
---|
133 | |
---|
134 | Network Interface Driver |
---|
135 | ------------------------ |
---|
136 | |
---|
137 | The network interface driver is provided by the `libbsd`. The DPAA is |
---|
138 | supported including 10Gbit/s Ethernet. |
---|
139 | |
---|
140 | Topaz Hypervisor Guest |
---|
141 | ---------------------- |
---|
142 | |
---|
143 | For a Topaz hypervisor guest configuration use: |
---|
144 | |
---|
145 | :: |
---|
146 | |
---|
147 | ../configure --enable-rtemsbsp=qoriq_e6500_32 \ |
---|
148 | QORIQ_IS_HYPERVISOR_GUEST=1 \ |
---|
149 | QORIQ_UART_0_ENABLE=0 \ |
---|
150 | QORIQ_UART_1_ENABLE=0 \ |
---|
151 | QORIQ_TLB1_ENTRY_COUNT=16 |
---|
152 | |
---|
153 | You may have to adjust the linker command file according to your partition |
---|
154 | configuration. |
---|
155 | |
---|
156 | ss555 |
---|
157 | ===== |
---|
158 | |
---|
159 | TODO. |
---|
160 | |
---|
161 | t32mppc |
---|
162 | ======= |
---|
163 | |
---|
164 | TODO. |
---|
165 | |
---|
166 | tqm8xx |
---|
167 | ====== |
---|
168 | |
---|
169 | TODO. |
---|
170 | |
---|
171 | virtex |
---|
172 | ====== |
---|
173 | |
---|
174 | TODO. |
---|
175 | |
---|
176 | virtex4 |
---|
177 | ======= |
---|
178 | |
---|
179 | TODO. |
---|
180 | |
---|
181 | virtex5 |
---|
182 | ======= |
---|
183 | |
---|
184 | TODO. |
---|