8.2.1. altera-cyclone-v (Intel Cyclone V)#
This BSP offers only one variant, the altcycv_devkit. This variant supports the Intel Cyclone V system on chip. 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:
8.2.1.1. Boot via U-Boot#
The application executable file (ELF file) must be converted to an U-Boot image. Use the following commands:
arm-rtems6-objcopy -O binary app.exe app.bin
gzip -9 -f -c app.bin > app.bin.gz
mkimage -A arm -O linux -T kernel -a 0x00300000 -e 0x00300000 -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
The loadfdt
command may be not defined in your U-Boot environment. Just
replace it with the appropriate commands to load the device tree at
${fdt_addr}
.
8.2.1.2. Clock Driver#
The clock driver uses the Cortex-A9 MPCore Global Timer.
8.2.1.3. Console Driver#
The console driver supports up to two on-chip NS16550 UARTs. The console driver does not configure the pins.
8.2.1.4. I2C Driver#
There is a legacy I2C driver. It should be converted to the I2C driver framework.
8.2.1.5. Network Interface Driver#
The network interface driver is provided by the libbsd. It is initialized according to the device tree. It supports checksum offload.
8.2.1.6. MMC/SDCard Driver#
The MMC/SDCard driver is provided by the libbsd. It is initialized according to the device tree. Pin re-configuration according to the serial clock frequency is not supported. DMA transfers are supported.
8.2.1.7. USB Host Driver#
The USB host driver is provided by the libbsd. It is initialized according to the device tree. The driver works in polled mode.
8.2.1.8. Caveats#
The clock and pin configuration support is quite rudimentary and mostly relies on the boot loader.