Skip to content

Commit

Permalink
Update Nvidia BSP sources to version 36.3
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Koskela <[email protected]>
Co-authored-by: Tanel Dettenborn <[email protected]>
  • Loading branch information
juliuskoskela and DettenbornTanel committed Jan 17, 2025
1 parent 9964549 commit cc9c0f3
Show file tree
Hide file tree
Showing 7 changed files with 1,304 additions and 1,301 deletions.
4 changes: 2 additions & 2 deletions sourceinfo/debs-update.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
#!nix-shell -i python -p "python3.withPackages (ps: with ps; [ debian ])
#!nix-shell -i python -p "python3.withPackages (ps: with ps; [ debian ])"

import gzip
import json
Expand All @@ -11,7 +11,7 @@

BASE_URL = 'https://repo.download.nvidia.com/jetson'
REPOS = ['t234', 'common']
VERSION = 'r35.6'
VERSION = 'r36.3'

def fetch_debs(url):
fd = urllib.request.urlopen(url)
Expand Down
4 changes: 2 additions & 2 deletions sourceinfo/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchurl, fetchgit, l4tVersion }:
{ lib, fetchurl, fetchgit, l4tVersion, fvForEKB, fvForSSK }:

let
debsJSON = lib.importJSON (./r${lib.versions.majorMinor l4tVersion}-debs.json);
Expand All @@ -11,7 +11,7 @@ let
};
debs = lib.mapAttrs (repo: pkgs: lib.mapAttrs (pkgname: pkg: pkg // { src = fetchDeb repo pkg; }) pkgs) debsJSON;

gitJSON = lib.importJSON (./r${lib.versions.majorMinor l4tVersion}-gitrepos.json);
gitJSON = lib.importJSON (./r${l4tVersion}-gitrepos.json);
gitRepos = lib.mapAttrs
(relpath: info: fetchgit {
inherit (info) url rev hash;
Expand Down
8 changes: 4 additions & 4 deletions sourceinfo/gitrepos-update.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
#!/usr/bin/env nix-shell
#!nix-shell -i python -p python3 nix-prefetch-git

# This script is intended to be run against the source_sync.sh file in the unpacked BSP

import json
import re
import subprocess
import sys
import os

VERSION = '35.6'
VERSION = '36.3'
TAG = 'jetson_' + VERSION

FILENAME = 'r' + VERSION + '-gitrepos.json'

REPOS_TO_SKIP = [
Expand Down Expand Up @@ -40,7 +39,8 @@ def main():
for line in source_info.split('\n'):
k, relpath, giturl, _ = line.split(':')

giturl = "https://" + giturl
#giturl = "https://" + giturl
giturl = "git://" + giturl

if relpath not in data and relpath not in REPOS_TO_SKIP:
print(f"Checking out {giturl}")
Expand Down
Loading

0 comments on commit cc9c0f3

Please sign in to comment.