Merge pull request #243435 from thillux/bluefield2

authored by Ryan Lahfa and committed by GitHub bf9bba6a d1a9aa51

+12
+4
lib/systems/examples.nix
··· 37 config = "armv6l-unknown-linux-gnueabihf"; 38 } // platforms.raspberrypi; 39 40 remarkable1 = { 41 config = "armv7l-unknown-linux-gnueabihf"; 42 } // platforms.zero-gravitas;
··· 37 config = "armv6l-unknown-linux-gnueabihf"; 38 } // platforms.raspberrypi; 39 40 + bluefield2 = { 41 + config = "aarch64-unknown-linux-gnu"; 42 + } // platforms.bluefield2; 43 + 44 remarkable1 = { 45 config = "armv7l-unknown-linux-gnueabihf"; 46 } // platforms.zero-gravitas;
+8
lib/systems/platforms.nix
··· 209 # Legacy attribute, for compatibility with existing configs only. 210 raspberrypi2 = armv7l-hf-multiplatform; 211 212 zero-gravitas = { 213 linux-kernel = { 214 name = "zero-gravitas";
··· 209 # Legacy attribute, for compatibility with existing configs only. 210 raspberrypi2 = armv7l-hf-multiplatform; 211 212 + # Nvidia Bluefield 2 (w. crypto support) 213 + bluefield2 = { 214 + gcc = { 215 + arch = "armv8-a+fp+simd+crc+crypto"; 216 + cpu = "cortex-a72"; 217 + }; 218 + }; 219 + 220 zero-gravitas = { 221 linux-kernel = { 222 name = "zero-gravitas";