* [PATCH 2/2] nvidia: add generic bootloader for GSP-enabled systems
2025-10-13 19:24 [PATCH 1/2] WHENCE: nvidia: rearrange GSP-RM firmware lines Timur Tabi
@ 2025-10-13 19:24 ` Timur Tabi
0 siblings, 0 replies; 3+ messages in thread
From: Timur Tabi @ 2025-10-13 19:24 UTC (permalink / raw)
To: linux-firmware
Add the generic bootloader to the GSP directory so that Nouveau and
Nova can use it, instead of borrowing the booloader from the acr/
directory.
On Turing and GA100 systems that boot GSP-RM, the "generic bootloader"
is a small firmware image used to boot FWSEC firmware. To date, this
image is the same as the "ACR bootloader" in the gp102/acr/ directory.
Nouveau simply grabs that image when it needs to boot FWSEC, even though
it is technically in the wrong directory and not generated from the
OpenRM source files like all of the other firmware files that Nouveau
uses. All GSP-related firmware images should be in the gsp/ directory.
For the Nova GPU driver, this approach has two problems.
1. Although the generic bootloader hasn't changed since 2016, it is
packaged in OpenRM as a binhex array and could theoretically change
for any future version of GSP-RM. The current approach that Nouveau
takes would not support this.
2. Borrowing images in other directories is problematic, as the firmware
loading code in Nova expects all images to be in the gsp/ directory.
To remedy both issues, a new build of the generic firmware is introduced
for the 570.144 firmware and placed in the gsp/ directory. This image
is generated by the extract-firmware-nouveau.py script used to build all
the other linux-firmware images. This new image, although slightly
different in composition, is interchangeable with the acr/bl.bin image.
A generic bootloader for r535 is not included, because Nova does not
support r535 and that firmware version is also deprecated for Nouveau.
Signed-off-by: Timur Tabi <ttabi@nvidia.com>
---
WHENCE | 3 +++
nvidia/tu102/gsp/gen_bootloader-570.144.bin | Bin 0 -> 816 bytes
2 files changed, 3 insertions(+)
create mode 100644 nvidia/tu102/gsp/gen_bootloader-570.144.bin
diff --git a/WHENCE b/WHENCE
index 5da99f80..1aab9007 100644
--- a/WHENCE
+++ b/WHENCE
@@ -5785,12 +5785,15 @@ File: nvidia/ga102/gsp/gsp-535.113.01.bin
Origin: gsp_ga10x.bin from NVIDIA-Linux-x86_64-535.113.01.run
Link: nvidia/ad102/gsp/gsp-535.113.01.bin -> ../../ga102/gsp/gsp-535.113.01.bin
+File: nvidia/tu102/gsp/gen_bootloader-570.144.bin
File: nvidia/tu102/gsp/bootloader-570.144.bin
File: nvidia/tu102/gsp/booter_load-570.144.bin
File: nvidia/tu102/gsp/booter_unload-570.144.bin
+Link: nvidia/tu116/gsp/gen_bootloader-570.144.bin -> ../../tu102/gsp/gen_bootloader-570.144.bin
File: nvidia/tu116/gsp/booter_load-570.144.bin
File: nvidia/tu116/gsp/booter_unload-570.144.bin
Link: nvidia/tu116/gsp/bootloader-570.144.bin -> ../../tu102/gsp/bootloader-570.144.bin
+Link: nvidia/ga100/gsp/gen_bootloader-570.144.bin -> ../../tu102/gsp/gen_bootloader-570.144.bin
File: nvidia/ga100/gsp/bootloader-570.144.bin
File: nvidia/ga100/gsp/booter_load-570.144.bin
File: nvidia/ga100/gsp/booter_unload-570.144.bin
diff --git a/nvidia/tu102/gsp/gen_bootloader-570.144.bin b/nvidia/tu102/gsp/gen_bootloader-570.144.bin
new file mode 100644
index 0000000000000000000000000000000000000000..d7269c05d06638c5c85fd9f0049d9e1c63895d17
GIT binary patch
literal 816
zcmeH@F;Bu!5Xb+N7GDLSR0k3#zk%$garGPM=67&+XVIF}_zKcG5I+DUm7yJ(b<k0C
zabN<Ir)f+2^eVXN?%*Zw{+G+$z2Du~016;efd<KT9v6Wu*KboO$R8EnVHc1pqTaEQ
zAy!(H=AO>GtBJ`wX7IwCrv|^QWm4nqb$+(N?W%l7@WA94U&TIi66VNC=4qL)$<8uc
z;chv)5B-^Slp*b^LzliAK9alk1$&KG2Ed`%QBHwUi=e4D5@}M3i!`+$+lw*YT7MEg
z&#arDXDk4!+|>hN1m`UDZ1OqAvi}!2gM0PhjX9G>UV8yrQ%(^HYfIvUfI?}fi8lPm
zY3G7X<D$-PUCbON%9})7*t3!Ps44n>E=*TR23M%`H<OWdAd!q{JySFd(X5N6894+L
O_2zZD?!Wz|3w#1w)}l55
literal 0
HcmV?d00001
--
2.51.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] nvidia: add generic bootloader for GSP-enabled systems
@ 2025-10-17 18:54 Timur Tabi
2025-10-20 12:15 ` Josh Boyer
0 siblings, 1 reply; 3+ messages in thread
From: Timur Tabi @ 2025-10-17 18:54 UTC (permalink / raw)
To: Mario.Limonciello, linux-firmware
Add the generic bootloader to the GSP directory so that Nouveau and
Nova can use it, instead of borrowing the booloader from the acr/
directory.
On Turing and GA100 systems that boot GSP-RM, the "generic bootloader"
is a small firmware image used to boot FWSEC firmware. To date, this
image is the same as the "ACR bootloader" in the gp102/acr/ directory.
Nouveau simply grabs that image when it needs to boot FWSEC, even though
it is technically in the wrong directory and not generated from the
OpenRM source files like all of the other firmware files that Nouveau
uses. All GSP-related firmware images should be in the gsp/ directory.
For the Nova GPU driver, this approach has two problems.
1. Although the generic bootloader hasn't changed since 2016, it is
packaged in OpenRM as a binhex array and could theoretically change
for any future version of GSP-RM. The current approach that Nouveau
takes would not support this.
2. Borrowing images in other directories is problematic, as the firmware
loading code in Nova expects all images to be in the gsp/ directory.
To remedy both issues, a new build of the generic firmware is introduced
for the 570.144 firmware and placed in the gsp/ directory. This image
is generated by the extract-firmware-nouveau.py script used to build all
the other linux-firmware images. This new image, although slightly
different in composition, is interchangeable with the acr/bl.bin image.
A generic bootloader for r535 is not included, because Nova does not
support r535 and that firmware version is also deprecated for Nouveau.
Signed-off-by: Timur Tabi <ttabi@nvidia.com>
---
WHENCE | 3 +++
nvidia/tu102/gsp/gen_bootloader-570.144.bin | Bin 0 -> 816 bytes
2 files changed, 3 insertions(+)
create mode 100644 nvidia/tu102/gsp/gen_bootloader-570.144.bin
diff --git a/WHENCE b/WHENCE
index 5da99f80..1aab9007 100644
--- a/WHENCE
+++ b/WHENCE
@@ -5785,12 +5785,15 @@ File: nvidia/ga102/gsp/gsp-535.113.01.bin
Origin: gsp_ga10x.bin from NVIDIA-Linux-x86_64-535.113.01.run
Link: nvidia/ad102/gsp/gsp-535.113.01.bin -> ../../ga102/gsp/gsp-535.113.01.bin
+File: nvidia/tu102/gsp/gen_bootloader-570.144.bin
File: nvidia/tu102/gsp/bootloader-570.144.bin
File: nvidia/tu102/gsp/booter_load-570.144.bin
File: nvidia/tu102/gsp/booter_unload-570.144.bin
+Link: nvidia/tu116/gsp/gen_bootloader-570.144.bin -> ../../tu102/gsp/gen_bootloader-570.144.bin
File: nvidia/tu116/gsp/booter_load-570.144.bin
File: nvidia/tu116/gsp/booter_unload-570.144.bin
Link: nvidia/tu116/gsp/bootloader-570.144.bin -> ../../tu102/gsp/bootloader-570.144.bin
+Link: nvidia/ga100/gsp/gen_bootloader-570.144.bin -> ../../tu102/gsp/gen_bootloader-570.144.bin
File: nvidia/ga100/gsp/bootloader-570.144.bin
File: nvidia/ga100/gsp/booter_load-570.144.bin
File: nvidia/ga100/gsp/booter_unload-570.144.bin
diff --git a/nvidia/tu102/gsp/gen_bootloader-570.144.bin b/nvidia/tu102/gsp/gen_bootloader-570.144.bin
new file mode 100644
index 0000000000000000000000000000000000000000..d7269c05d06638c5c85fd9f0049d9e1c63895d17
GIT binary patch
literal 816
zcmeH@F;Bu!5Xb+N7GDLSR0k3#zk%$garGPM=67&+XVIF}_zKcG5I+DUm7yJ(b<k0C
zabN<Ir)f+2^eVXN?%*Zw{+G+$z2Du~016;efd<KT9v6Wu*KboO$R8EnVHc1pqTaEQ
zAy!(H=AO>GtBJ`wX7IwCrv|^QWm4nqb$+(N?W%l7@WA94U&TIi66VNC=4qL)$<8uc
z;chv)5B-^Slp*b^LzliAK9alk1$&KG2Ed`%QBHwUi=e4D5@}M3i!`+$+lw*YT7MEg
z&#arDXDk4!+|>hN1m`UDZ1OqAvi}!2gM0PhjX9G>UV8yrQ%(^HYfIvUfI?}fi8lPm
zY3G7X<D$-PUCbON%9})7*t3!Ps44n>E=*TR23M%`H<OWdAd!q{JySFd(X5N6894+L
O_2zZD?!Wz|3w#1w)}l55
literal 0
HcmV?d00001
--
2.51.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] nvidia: add generic bootloader for GSP-enabled systems
2025-10-17 18:54 [PATCH 2/2] nvidia: add generic bootloader for GSP-enabled systems Timur Tabi
@ 2025-10-20 12:15 ` Josh Boyer
0 siblings, 0 replies; 3+ messages in thread
From: Josh Boyer @ 2025-10-20 12:15 UTC (permalink / raw)
To: Timur Tabi; +Cc: Mario.Limonciello, linux-firmware
On Fri, Oct 17, 2025 at 2:56 PM Timur Tabi <ttabi@nvidia.com> wrote:
>
> Add the generic bootloader to the GSP directory so that Nouveau and
> Nova can use it, instead of borrowing the booloader from the acr/
> directory.
>
> On Turing and GA100 systems that boot GSP-RM, the "generic bootloader"
> is a small firmware image used to boot FWSEC firmware. To date, this
> image is the same as the "ACR bootloader" in the gp102/acr/ directory.
> Nouveau simply grabs that image when it needs to boot FWSEC, even though
> it is technically in the wrong directory and not generated from the
> OpenRM source files like all of the other firmware files that Nouveau
> uses. All GSP-related firmware images should be in the gsp/ directory.
>
> For the Nova GPU driver, this approach has two problems.
>
> 1. Although the generic bootloader hasn't changed since 2016, it is
> packaged in OpenRM as a binhex array and could theoretically change
> for any future version of GSP-RM. The current approach that Nouveau
> takes would not support this.
>
> 2. Borrowing images in other directories is problematic, as the firmware
> loading code in Nova expects all images to be in the gsp/ directory.
>
> To remedy both issues, a new build of the generic firmware is introduced
> for the 570.144 firmware and placed in the gsp/ directory. This image
> is generated by the extract-firmware-nouveau.py script used to build all
> the other linux-firmware images. This new image, although slightly
> different in composition, is interchangeable with the acr/bl.bin image.
>
> A generic bootloader for r535 is not included, because Nova does not
> support r535 and that firmware version is also deprecated for Nouveau.
>
> Signed-off-by: Timur Tabi <ttabi@nvidia.com>
Merged and pushed out.
https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/745
josh
> ---
> WHENCE | 3 +++
> nvidia/tu102/gsp/gen_bootloader-570.144.bin | Bin 0 -> 816 bytes
> 2 files changed, 3 insertions(+)
> create mode 100644 nvidia/tu102/gsp/gen_bootloader-570.144.bin
>
> diff --git a/WHENCE b/WHENCE
> index 5da99f80..1aab9007 100644
> --- a/WHENCE
> +++ b/WHENCE
> @@ -5785,12 +5785,15 @@ File: nvidia/ga102/gsp/gsp-535.113.01.bin
> Origin: gsp_ga10x.bin from NVIDIA-Linux-x86_64-535.113.01.run
> Link: nvidia/ad102/gsp/gsp-535.113.01.bin -> ../../ga102/gsp/gsp-535.113.01.bin
>
> +File: nvidia/tu102/gsp/gen_bootloader-570.144.bin
> File: nvidia/tu102/gsp/bootloader-570.144.bin
> File: nvidia/tu102/gsp/booter_load-570.144.bin
> File: nvidia/tu102/gsp/booter_unload-570.144.bin
> +Link: nvidia/tu116/gsp/gen_bootloader-570.144.bin -> ../../tu102/gsp/gen_bootloader-570.144.bin
> File: nvidia/tu116/gsp/booter_load-570.144.bin
> File: nvidia/tu116/gsp/booter_unload-570.144.bin
> Link: nvidia/tu116/gsp/bootloader-570.144.bin -> ../../tu102/gsp/bootloader-570.144.bin
> +Link: nvidia/ga100/gsp/gen_bootloader-570.144.bin -> ../../tu102/gsp/gen_bootloader-570.144.bin
> File: nvidia/ga100/gsp/bootloader-570.144.bin
> File: nvidia/ga100/gsp/booter_load-570.144.bin
> File: nvidia/ga100/gsp/booter_unload-570.144.bin
> diff --git a/nvidia/tu102/gsp/gen_bootloader-570.144.bin b/nvidia/tu102/gsp/gen_bootloader-570.144.bin
> new file mode 100644
> index 0000000000000000000000000000000000000000..d7269c05d06638c5c85fd9f0049d9e1c63895d17
> GIT binary patch
> literal 816
> zcmeH@F;Bu!5Xb+N7GDLSR0k3#zk%$garGPM=67&+XVIF}_zKcG5I+DUm7yJ(b<k0C
> zabN<Ir)f+2^eVXN?%*Zw{+G+$z2Du~016;efd<KT9v6Wu*KboO$R8EnVHc1pqTaEQ
> zAy!(H=AO>GtBJ`wX7IwCrv|^QWm4nqb$+(N?W%l7@WA94U&TIi66VNC=4qL)$<8uc
> z;chv)5B-^Slp*b^LzliAK9alk1$&KG2Ed`%QBHwUi=e4D5@}M3i!`+$+lw*YT7MEg
> z&#arDXDk4!+|>hN1m`UDZ1OqAvi}!2gM0PhjX9G>UV8yrQ%(^HYfIvUfI?}fi8lPm
> zY3G7X<D$-PUCbON%9})7*t3!Ps44n>E=*TR23M%`H<OWdAd!q{JySFd(X5N6894+L
> O_2zZD?!Wz|3w#1w)}l55
>
> literal 0
> HcmV?d00001
>
> --
> 2.51.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-10-20 12:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-17 18:54 [PATCH 2/2] nvidia: add generic bootloader for GSP-enabled systems Timur Tabi
2025-10-20 12:15 ` Josh Boyer
-- strict thread matches above, loose matches on Subject: below --
2025-10-13 19:24 [PATCH 1/2] WHENCE: nvidia: rearrange GSP-RM firmware lines Timur Tabi
2025-10-13 19:24 ` [PATCH 2/2] nvidia: add generic bootloader for GSP-enabled systems Timur Tabi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox