9.12. powerpc (PowerPC)¶
9.12.1. beatnik¶
TODO.
9.12.2. gen5200¶
TODO.
9.12.3. gen83xx¶
TODO.
9.12.4. haleakala¶
TODO.
9.12.5. motorola_powerpc¶
9.12.5.1. Boot Image Generation¶
The application executable file (ELF file) must be converted to a boot image. Use the following commands:
powerpc-rtems6-objcopy -O binary -R .comment -S ticker.exe rtems
gzip -9 -f rtems
powerpc-rtems6-ld -o ticker.boot bootloader.o --just-symbols=ticker.exe -b binary rtems.gz -T ppcboot.lds -no-warn-mismatch
powerpc-rtems6-objcopy -O binary ticker.boot ticker.bin
9.12.6. mpc55xxevb¶
TODO.
9.12.7. mpc8260ads¶
TODO.
9.12.8. mvme3100¶
TODO.
9.12.9. mvme5500¶
TODO.
9.12.10. psim¶
TODO.
9.12.11. qemuppc¶
TODO.
9.12.12. qoriq (QorIQ)¶
The BSP for the QorIQ chip family offers three variants. The qoriq_e500 variant supports the P-series chips such as P1020, P2010 and P2020. The qoriq_e6500_32 (32-bit ISA) and qoriq_e6500_64 (64-bit ISA) variants support the T-series chips such as T2080 and T4240. The basic hardware initialization is not performed by the BSP. A boot loader with device tree support must be used to start the BSP, e.g. U-Boot.
The BSP is known to run on these boards:
NXP P1020RDB
MicroSys miriac MPX2020 (System on Module)
Artesyn MVME2500 (VME64x SBC)
NXP T2080RDB
NXP T4240RDB
MEN G52A (CompactPCI Serial)
The qoriq_core_0 and qoriq_core_1 variants should be used with care. They are inteded for a RTEMS_MULTIPROCESSING configuration on the P1020.
9.12.12.1. Boot via U-Boot¶
The application executable file (ELF file) must be converted to an U-Boot image. Use the following commands:
powerpc-rtems6-objcopy -O binary app.exe app.bin
gzip -9 -f -c app.bin > app.bin.gz
mkimage -A ppc -O linux -T kernel -a 0x4000 -e 0x4000 -n RTEMS -d app.bin.gz app.img
Use the following U-Boot commands to boot an application via TFTP download:
tftpboot ${loadaddr} app.img && run loadfdt && bootm ${loadaddr} - ${fdt_addr} ; reset
9.12.12.2. Clock Driver¶
The clock driver uses two MPIC global timer (QORIQ_CLOCK_TIMER
and
QORIQ_CLOCK_TIMECOUNTER
). In case QORIQ_IS_HYPERVISOR_GUEST
is
defined, then the PowerPC decrementer is used.
9.12.12.3. Console Driver¶
The console driver supports the on-chip NS16550 compatible UARTs. In case
QORIQ_IS_HYPERVISOR_GUEST
is defined, then the EPAPR byte channel is used
for the console device.
9.12.12.4. Network Interface Driver¶
The network interface driver is provided by the libbsd. The DPAA is supported including 10Gbit/s Ethernet.
9.12.12.5. Topaz Hypervisor Guest¶
For a Topaz hypervisor guest configuration use:
../configure --enable-rtemsbsp=qoriq_e6500_32 \
QORIQ_IS_HYPERVISOR_GUEST=1 \
QORIQ_UART_0_ENABLE=0 \
QORIQ_UART_1_ENABLE=0 \
QORIQ_TLB1_ENTRY_COUNT=16
You may have to adjust the linker command file according to your partition configuration.
9.12.13. ss555¶
TODO.
9.12.14. t32mppc¶
TODO.
9.12.15. tqm8xx¶
TODO.
9.12.16. virtex¶
TODO.
9.12.17. virtex4¶
TODO.
9.12.18. virtex5¶
TODO.