On 12/31/25 9:29 AM, John Hubbard wrote:
> On 12/31/25 8:33 AM, Timur Tabi wrote:
>> On Tue, 2025-12-30 at 22:17 -0800, John Hubbard wrote:
>>> Actually, I should have been much more specific, and should have
>>> asked, "what git repository and branch should I be using for 
>>> linux-firmware?".
>>>
>>> Because none of the branches in either of these seem to have any file named
>>> gen_bootloader-570.144.bin:
>>>
>>>         https://github.com/NVIDIA/linux-firmware.git
>>>         
>>> git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
>>
>> It's right there, in the `main` branch:
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/nvidia/tu102/gsp
>>
>> Did you forget that you need to run the installer script, and not just 
>> blindly copy the files
>> over?
> 
> ummm, maybe. OK, definitely. :)
> 

So now that I have the right linux-firmware is installed, it's still
broken on TU117, but this fixes it:

<blueforge> linux-github (v4_20251217_ttabi_nvidia_com)$ git d
diff --git a/drivers/gpu/nova-core/firmware/gsp.rs 
b/drivers/gpu/nova-core/firmware/gsp.rs
index 112488216bff..60d657f4d204 100644
--- a/drivers/gpu/nova-core/firmware/gsp.rs
+++ b/drivers/gpu/nova-core/firmware/gsp.rs
@@ -163,6 +163,9 @@ pub(crate) fn new<'a, 'b>(
         let fw_section = elf::elf64_section(fw.data(), 
".fwimage").ok_or(EINVAL)?;
 
         let sigs_section = match chipset.arch() {
+            Architecture::Turing if chipset == Chipset::TU116 || chipset == 
Chipset::TU117 => {
+                ".fwsignature_tu11x"
+            }
             Architecture::Turing => ".fwsignature_tu10x",
             // GA100 uses the same firmware as Turing
             Architecture::Ampere if chipset == Chipset::GA100 => 
".fwsignature_tu10x",

You can merge that in somewhere, or let me know if you prefer a formal
patch from me, whatever is easiest for you.


thanks,
-- 
John Hubbard

Reply via email to