Skip to content

Commit

Permalink
550.90.07 p2p dk (#1)
Browse files Browse the repository at this point in the history
* need to replace this file as well (tinygrad#11)

* 550.67

* 550.76

* 550.78

* 550.90.07

* feat: build workflow

* feat: path

* feat: upload

* fix: -R

* feat: deterministic name

* feat: create release

* fix: token

* fix: permissions

* fix: need to copy this file over as well

* install.sh compiler choice

* signing for secure-boot with preexisting keys

* readme

* minor

---------

Co-authored-by: wozeparrot <wozeparrot@gmail.com>
Co-authored-by: Bernhard Stoeckner <bstoeckner@nvidia.com>
  • Loading branch information
3 people authored Jul 18, 2024
1 parent 38f547f commit 870026c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
*.o.cmd
*.o.d
_out/
MOK.*
5 changes: 3 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash
sudo make clean
sudo rmmod nvidia_drm nvidia_modeset nvidia_uvm nvidia
set -e
make modules -j$(nproc)
sudo make modules_install -j$(nproc)
CC=gcc-12 CXX=g++ sudo make modules -j$(nproc)
CC=gcc-12 CXX=g++ sudo make modules_install -j$(nproc)
sudo depmod
nvidia-smi
8 changes: 8 additions & 0 deletions sign_modules.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# assumes MOK.priv and MOK.der in the same folder, enrolled to secure-boot

for module in /lib/modules/$(uname -r)/kernel/drivers/video/nvidia*.ko
do
echo "Signing ${module}..."
sudo kmodsign sha512 MOK.priv MOK.der "$module" >> sign_results.out
done

0 comments on commit 870026c

Please sign in to comment.