robot/patch-0-1760727667
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.
-
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.
-
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