|
| 1 | +# This file defines the pipeline for building the NVIDIA Bluefield artifacts. |
| 2 | +version: '2' |
| 3 | +pipelines: |
| 4 | + - name: nvidiabluefield-buildroot |
| 5 | + stages: |
| 6 | + # Copy in the original buildroot |
| 7 | + - type: org.osbuild.copy |
| 8 | + inputs: |
| 9 | + tree: |
| 10 | + type: org.osbuild.tree |
| 11 | + origin: org.osbuild.pipeline |
| 12 | + references: |
| 13 | + - mpp-format-string: '{buildroot}' |
| 14 | + options: |
| 15 | + paths: |
| 16 | + - from: input://tree/ |
| 17 | + to: tree:/// |
| 18 | + devices: |
| 19 | + disk: |
| 20 | + type: org.osbuild.loopback |
| 21 | + options: |
| 22 | + filename: disk.img |
| 23 | + partscan: true |
| 24 | + # And then install two mlx* RPMs that will be used to create the BFB image |
| 25 | + - type: org.osbuild.rpm |
| 26 | + inputs: |
| 27 | + packages: |
| 28 | + type: org.osbuild.files |
| 29 | + origin: org.osbuild.source |
| 30 | + mpp-depsolve: |
| 31 | + architecture: |
| 32 | + mpp-format-string: '{arch}' |
| 33 | + repos: |
| 34 | + - id: mellanox |
| 35 | + # Using `rhel-9.6` here because the packages we need aren't in the rhel 10 versions of the repos yet. |
| 36 | + baseurl: https://linux.mellanox.com/public/repo/doca/3.3.0/rhel9.6/arm64-dpu |
| 37 | + packages: |
| 38 | + # mlxbf-bfscripts contains the mlx-mkbfb.py, a python script that runs well with the stdlib |
| 39 | + - mlxbf-bfscripts |
| 40 | + # mlxbf-bootimages-signed contains the binary blobs we use to build the BFB |
| 41 | + - mlxbf-bootimages-signed |
| 42 | + excludes: |
| 43 | + - binutils |
| 44 | + - mlxbf-bootctl |
| 45 | + options: |
| 46 | + exclude: |
| 47 | + docs: true |
| 48 | + gpgkeys: |
| 49 | + # https://linux.mellanox.com/public/repo/doca/latest-3.2-LTS/rhel9.6/aarch64/GPG-KEY-Mellanox.pub |
| 50 | + - | |
| 51 | + -----BEGIN PGP PUBLIC KEY BLOCK----- |
| 52 | + Version: GnuPG v1 |
| 53 | +
|
| 54 | + mQENBFpbc0cBCADDST+ekKD1YJje77oDX94gRolmUlh0df4n6/xvE700M1vPAiTT |
| 55 | + kU3WJcvwnuTZpyMGSsAQCXXQRJuQObnkPEvjVAPgh8fvghCXgVElcr6dqXu3EVze |
| 56 | + iCkdYm08t/+FF3kg/P6VYPjgEM/GIFnKTz37LrQlUM4ArG0ENIYM9xjurnKWuV9r |
| 57 | + JuckJcUsmZUS/D9QMM2fuurYOEWHrE8t+n2EcO4aoY2x0ogYce0vON539rJiskjz |
| 58 | + OPhIB9G7ZFQabQnyxzEKiUUDyJsbe38XDT4eyjUR2mlHGgTY/WzGdDEtIKRBWsd3 |
| 59 | + TV3wXt42nF9YA3oieeaTbIluyywNnOj1vyT1ABEBAAG0VU1lbGxhbm94IFRlY2hu |
| 60 | + b2xvZ2llcyAoTWVsbGFub3ggVGVjaG5vbG9naWVzIC0gU2lnbmluZyBLZXkgdjMp |
| 61 | + IDxzdXBwb3J0QG1lbGxhbm94LmNvbT6JATcEEwEIACEFAlpbc0cCGwMFCwkIBwMF |
| 62 | + FQoJCAsFFgIDAQACHgECF4AACgkQoCT28ObWooFXYwgAunwBFELGlwKonnmnbi4/ |
| 63 | + avUa8e0wRpww//DJjI0HQWjMk7oPLDbS50CVps1Mu0SxBAPYGtsFeSH6UMC6A0K4 |
| 64 | + yoxXICVl409vYkycNu/vq6eLTbM2Y0PFvBDzRAf3rJXL0ApLuUb57ARZvc7Np7LA |
| 65 | + v8K53PdOJUEFns8Ipp+2puEVx5dfezm7LwRca6ohoLUEdI/PobmGUeNvO5dvfiix |
| 66 | + LvSVw2A2awihB7dcs5cpo57VxBWPs7+sYBZ0+EUJbtQEiHAyPvKs29nMeaCIwPTd |
| 67 | + 88A5RrhsEJx+QWXuG6NA4rfehy5e9j1PW3XnC2fMl6w7gNLY5I8Vq6c2MJ73NZ6y |
| 68 | + wLkBDQRaW3NHAQgAynkQ+mf4f5cdM4/bJuRWlPxxuN3CUxN9Q6B5B1/13p6tkydP |
| 69 | + C7S4ro8H8sSlO5FbbxihfZLPTbFNrBkd///OQYMJW/slbtT6D9dYmCIeuHObMEMb |
| 70 | + V+Bn1bWQId2vZgr0+m0Xe3K+KqhsylsrmC1ebShMnny/V+MlOQQt+L089BNiyCB4 |
| 71 | + 70mhgM1NiJFv9EOQlXWWaMqWTxZGYkdOuFW0q8NnSGOqI5xjrAUxaHZ/1U3yPy0k |
| 72 | + eAjX1AKJngaj86SvIzEefxq4oA2gZ8UFVO/qFH5OhfoovrEwudJEuIgGb76XOb9m |
| 73 | + AoZlAqQLJniC97ld515ivBdSi4SZkaFbypnX4QARAQABiQEfBBgBCAAJBQJaW3NH |
| 74 | + AhsMAAoJEKAk9vDm1qKBHhMIAJuGbb6S3nb2xAD3GjB8F2xNcZxWQ+Qz70DY5vV/ |
| 75 | + WhrJl7cknXMxsbWvQupuYk6LujZraG9YoD4csZ5o+k3s3BGKVUXdZdhjaHpcAa5F |
| 76 | + X12ADLHca5mlmdCaaORYXQ+xHYRlOKas4I6LPpZ79BauVomEnPcv/bL0kGFzDvLr |
| 77 | + K3RdQ1n/pbcWcxxSY3InphAnslLUg0PTAME6Yay5F7WrJsnZnXApUjOlZvlPIl2c |
| 78 | + iplivN8o85eBKQXvYRg/c5iyc0koTmkM6OXNvUy0hV9z8WhhK9O+ApXwMUMf43DS |
| 79 | + KOIg9RxhZFQoPXptaQZDLz89sWmZaiXsyBPJyjlmaTjwHGM= |
| 80 | + =Iy5R |
| 81 | + -----END PGP PUBLIC KEY BLOCK----- |
| 82 | + - name: nvidiabluefield |
| 83 | + build: name:nvidiabluefield-buildroot |
| 84 | + stages: |
| 85 | + - type: org.osbuild.coreos.live-artifacts.mono |
| 86 | + inputs: |
| 87 | + kernel: |
| 88 | + type: org.osbuild.files |
| 89 | + origin: org.osbuild.pipeline |
| 90 | + references: |
| 91 | + name:live: |
| 92 | + file: |
| 93 | + mpp-format-string: '/{artifact_name_prefix}-live-kernel.{arch}' |
| 94 | + initramfs: |
| 95 | + type: org.osbuild.files |
| 96 | + origin: org.osbuild.pipeline |
| 97 | + references: |
| 98 | + name:live: |
| 99 | + file: |
| 100 | + mpp-format-string: '/{artifact_name_prefix}-live-initramfs.{arch}.img' |
| 101 | + rootfs: |
| 102 | + type: org.osbuild.files |
| 103 | + origin: org.osbuild.pipeline |
| 104 | + references: |
| 105 | + name:live: |
| 106 | + file: |
| 107 | + mpp-format-string: '/{artifact_name_prefix}-live-rootfs.{arch}.img' |
| 108 | + options: |
| 109 | + boot_args_v2: |
| 110 | + - "console=hvc0" |
| 111 | + - "console=ttyAMA0" |
| 112 | + - "earlycon=pl011,0x13010000" |
| 113 | + - "initrd=initramfs" |
| 114 | + - "modprobe.blacklist=mlxbf_pmc" |
| 115 | + - "ignition.firstboot" |
| 116 | + - "ignition.platform.id=nvidiabluefield" |
| 117 | + filename: |
| 118 | + mpp-format-string: '{artifact_name_prefix}-nvidiabluefield.{arch}.bfb' |
| 119 | + |
0 commit comments