package/microchip-hss-payload-generator: new package
The Buildroot icicle kit configuration uses the Hart Software Service's (HSS) payload generator tool. This tool creates a formatted payload image for the HSS zero-stage bootloader on PolarFire SoC, given a configuration file and a set of ELF binaries. The configuration file is used to map the ELF binaries or binary blobs to the individual application harts (U54s). Add the HSS payload generator as a host package to support this. Signed-off-by: Jamie Gibbons <jamie.gibbons@microchip.com> Reviewed-by: Valentina Fernandez <valentina.fernandezalanis@microchip.com> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
c46ba34cde
commit
312fcbf0ed
@ -1475,6 +1475,9 @@ F: package/rpm/
|
||||
F: package/swaybg/
|
||||
F: package/yad/
|
||||
|
||||
N: Jamie Gibbons <jamie.gibbons@microchip.com>
|
||||
F: package/microchip-hss-payload-generator/
|
||||
|
||||
N: Jan Heylen <jan.heylen@nokia.com>
|
||||
F: package/opentracing-cpp/
|
||||
|
||||
|
@ -60,6 +60,7 @@ menu "Host utilities"
|
||||
source "package/mender-artifact/Config.in.host"
|
||||
source "package/meson-tools/Config.in.host"
|
||||
source "package/mfgtools/Config.in.host"
|
||||
source "package/microchip-hss-payload-generator/Config.in.host"
|
||||
source "package/mkpasswd/Config.in.host"
|
||||
source "package/moby-buildkit/Config.in.host"
|
||||
source "package/mosquitto/Config.in.host"
|
||||
|
11
package/microchip-hss-payload-generator/Config.in.host
Normal file
11
package/microchip-hss-payload-generator/Config.in.host
Normal file
@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_HOST_MICROCHIP_HSS_PAYLOAD_GENERATOR
|
||||
bool "host microchip-hss-payload-generator"
|
||||
help
|
||||
Microchip PolarFire SoC Payload Generator. This tool creates
|
||||
a formatted payload image for the HSS zero-stage bootloader
|
||||
on PolarFire SoC, given a configuration file and a set of
|
||||
ELF binaries. The configuration file is used to map the ELF
|
||||
binaries or binary blobs to the individual application harts
|
||||
(U54s).
|
||||
|
||||
https://github.com/polarfire-soc/hart-software-services.git
|
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 f6f69412caf886e88abbf26de0dee1db790c790b89571f2f0def1e2f3620f057 microchip-hss-payload-generator-2023.06.tar.gz
|
||||
sha256 0b67b1d44bcad078580fc5d8e9580a48a9466b769db58aeb1631d4c5ef97e08a tools/hss-payload-generator/LICENSE.md
|
@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# microchip-hss-payload-generator
|
||||
#
|
||||
################################################################################
|
||||
|
||||
HOST_MICROCHIP_HSS_PAYLOAD_GENERATOR_VERSION = 2023.06
|
||||
HOST_MICROCHIP_HSS_PAYLOAD_GENERATOR_SITE = $(call github,polarfire-soc,hart-software-services,v$(HOST_MICROCHIP_HSS_PAYLOAD_GENERATOR_VERSION))
|
||||
# Some parts of the repository are under different licenses, but we
|
||||
# are only building/installing the code in
|
||||
# tools/hss-payload-generator/.
|
||||
HOST_MICROCHIP_HSS_PAYLOAD_GENERATOR_LICENSE = MIT or GPL-2.0+
|
||||
HOST_MICROCHIP_HSS_PAYLOAD_GENERATOR_LICENSE_FILES = tools/hss-payload-generator/LICENSE.md
|
||||
HOST_MICROCHIP_HSS_PAYLOAD_GENERATOR_DEPENDENCIES = host-elfutils host-libyaml host-openssl
|
||||
|
||||
define HOST_MICROCHIP_HSS_PAYLOAD_GENERATOR_BUILD_CMDS
|
||||
$(MAKE) -C $(@D)/tools/hss-payload-generator \
|
||||
HOST_INCLUDES="$(HOST_CPPFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)"
|
||||
endef
|
||||
|
||||
define HOST_MICROCHIP_HSS_PAYLOAD_GENERATOR_INSTALL_CMDS
|
||||
$(INSTALL) -D -m 755 \
|
||||
$(@D)/tools/hss-payload-generator/hss-payload-generator \
|
||||
$(HOST_DIR)/bin/hss-payload-generator
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
Loading…
Reference in New Issue
Block a user