lib.systems.bluefield2: init

Add support for Nvidia's Bluefield 2 plattform as a compilation
target. There exists a version with and without crypto support,
while the crypto supported version is the most common one.

Support for the non-crypto version can be easily added in the future,
if needed.

For a datasheet of the hardware, see:

https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/documents/datasheet-nvidia-bluefield-2-dpu.pdf

Signed-off-by: Markus Theil <theil.markus@gmail.com>
This commit is contained in:
Markus Theil 2023-07-14 11:18:41 +02:00
parent 712d6cf98e
commit f6f0ccd6c9
2 changed files with 12 additions and 0 deletions

View File

@ -37,6 +37,10 @@ rec {
config = "armv6l-unknown-linux-gnueabihf"; config = "armv6l-unknown-linux-gnueabihf";
} // platforms.raspberrypi; } // platforms.raspberrypi;
bluefield2 = {
config = "aarch64-unknown-linux-gnu";
} // platforms.bluefield2;
remarkable1 = { remarkable1 = {
config = "armv7l-unknown-linux-gnueabihf"; config = "armv7l-unknown-linux-gnueabihf";
} // platforms.zero-gravitas; } // platforms.zero-gravitas;

View File

@ -209,6 +209,14 @@ rec {
# Legacy attribute, for compatibility with existing configs only. # Legacy attribute, for compatibility with existing configs only.
raspberrypi2 = armv7l-hf-multiplatform; raspberrypi2 = armv7l-hf-multiplatform;
# Nvidia Bluefield 2 (w. crypto support)
bluefield2 = {
gcc = {
arch = "armv8-a+fp+simd+crc+crypto";
cpu = "cortex-a72";
};
};
zero-gravitas = { zero-gravitas = {
linux-kernel = { linux-kernel = {
name = "zero-gravitas"; name = "zero-gravitas";