87280a43a9
Add support for the icicle kit, the main development board for Microchip's PolarFire SoC. The configuration file is microchip_mpfs_icicle_defconfig. It builds a bootable kernel image with an embedded root file system. The image built can be flashed to the board using the eMMC or an SD card. The yaml configuration file is used by the hss payload generator. It maps the ELF binaries or binary blobs to the individual application harts (U54s). The image generator script sets the partitions of the image. The kernel fragment file sets additional configurations for the icicle kit in buildroot that are not in the default configuration. The image tree souce file creates a FIT image. The post image script creates the payload using the payload generator host package and finally, creates the FIT image using the ITS after the kernel build. The U-Boot script and additional U-Boot configurations ensure that U-Boot behaves as expected for the icicle kit and boots the FIT image. The readme.txt file documents how to build and boot the icicle kit with this configuration. Signed-off-by: Jamie Gibbons <jamie.gibbons@microchip.com> Reviewed-by: Giulio Benetti <giulio.benetti@micronovasrl.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
29 lines
1.1 KiB
YAML
29 lines
1.1 KiB
YAML
#
|
|
# HSS Payload Generator - buildroot configuration file
|
|
#
|
|
|
|
# First, we can optionally set a name for our image, otherwise one will be created dynamically
|
|
set-name: 'PolarFire-SoC-HSS::U-Boot'
|
|
|
|
#
|
|
# Next, we'll define the entry point addresses for each hart, as follows:
|
|
#
|
|
hart-entry-points: {u54_1: '0x80200000', u54_2: '0x80200000', u54_3: '0x80200000', u54_4: '0x80200000'}
|
|
#
|
|
# Finally, we'll define a payloads (source binary file) that will be placed at certain regions in memory
|
|
# The payload section is defined with the keyword payloads, and then a number of individual
|
|
# payload descriptors.
|
|
#
|
|
# Each payload has a name (path to its ELF/bin file), an owner-hart, and optionally 1-3 secondary-harts.
|
|
#
|
|
# Additionally, it has a privilege mode in which it will start execution.
|
|
# * Valid privilege modes are PRV_M, PRV_S and PRV_U.
|
|
#
|
|
#
|
|
# In this case, the only payload is the u-boot s-mode binary.
|
|
#
|
|
# Case only matters for the ELF path names, not the keywords.
|
|
#
|
|
payloads:
|
|
u-boot.bin: {exec-addr: '0x80200000', owner-hart: u54_1, secondary-hart: u54_2, secondary-hart: u54_3, secondary-hart: u54_4, priv-mode: prv_s}
|