Welcome to Firefly
Switch language
Firefly Docsss
Last Updated: 2026-08-27 07:36:09

AMP Prerequisites

Prerequisites

4.1 Hardware and software

  • A Firefly board that supports AMP.
  • A Firefly/Rockchip AMP SDK matching the board and SoC.
  • The build dependencies and cross-compilation toolchain required by the SDK.
  • A serial adapter. It is recommended to connect both the Linux debug UART and the RTOS/HAL debug UART.
  • A recoverable full firmware image in case an invalid memory or boot configuration prevents normal startup.

The default AMP debug UART parameters are usually:

Baud rateData bitsStop bitsParityFlow control
150000081nonenone

The actual debug UART and IOMUX configuration depend on the target board. Do not directly reuse UART pins from another board.

4.2 Plan resources first

Create a resource allocation table before building the firmware:

ResourceLinuxRemote CoreChecks
CPUCPU0 through CPUnSpecified AP core or MCUAn AP core cannot belong to both Linux SMP and an RTOS
Private memoryLinux DRAMRTOS/HAL firmware regionDTS reserved-memory, ITS load/size, and the linker script must agree
Shared memoryRPMsg/shared memorySame physical regionMust not overlap CMA, display buffers, NPU memory, or another reserved region
PeripheralLinux driverRTOS/HAL driverOnly one system may actively manage a device
InterruptLinux GICGIC/NVIC/IPICCore mapping, interrupt number, and routing must agree
PinLinux pinctrlHAL IOMUXCheck the pinmux group and electrical settings
Clock/power domainManaged by the Linux AMP driverUsed by RTOS/HALLinux must not disable the clock or power domain because it sees no consumer

On this page