Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
From ee95d952d78d7b167a672cb2821e40306c463e23 Mon Sep 17 00:00:00 2001
From: Your Name <your.email@example.com>
Date: Wed, 4 Mar 2026 16:20:00 +0800
Subject: [PATCH] Fix Python 3.14 multiprocessing compatibility

Force fork method for multiprocessing to avoid pickle errors
with lambda functions in Python 3.14+ which uses forkserver by default.

Upstream-Status: Pending

Signed-off-by: Meng Li <Meng.Li@windriver.com>
---
jtop/service.py | 3 +++
1 file changed, 3 insertions(+)

diff --git a/jtop/service.py b/jtop/service.py
index 02b9d9d..96a36e5 100644
--- a/jtop/service.py
+++ b/jtop/service.py
@@ -25,6 +25,7 @@ import sys
import stat
import shlex
import subprocess as sp
+import multiprocessing
from copy import deepcopy
from grp import getgrnam
from shutil import copyfile, rmtree
@@ -148,6 +149,8 @@ class JtopServer(Process):

def __init__(self, force=False):
self.force = force
+ # Force fork method for Python 3.14+ compatibility
+ multiprocessing.set_start_method('fork', force=True)
# Load configuration
self.config = Config()
# Save version jtop
--
2.34.1

Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
From dd3d3562c37d5f0727446e8a6147c7d53505a38a Mon Sep 17 00:00:00 2001
From: Meng Li <Meng.Li@windriver.com>
Date: Thu, 5 Mar 2026 10:20:18 +0800
Subject: [PATCH] jtop: add L4T 36.5.0 support

Add L4T 36.5.0 to NVIDIA_JETPACK dictionary for Jetpack detection.

Upstream-Status: Pending

Signed-off-by: Meng Li <Meng.Li@windriver.com>
---
jtop/core/jetson_variables.py | 1 +
1 file changed, 1 insertion(+)

diff --git a/jtop/core/jetson_variables.py b/jtop/core/jetson_variables.py
index 120b7b8..c955252 100644
--- a/jtop/core/jetson_variables.py
+++ b/jtop/core/jetson_variables.py
@@ -42,6 +42,7 @@ if not sys.warnoptions:
# https://developer.nvidia.com/embedded/jetpack-archive
NVIDIA_JETPACK = {
# -------- JP6 --------
+ "36.5.0": "6.2.2",
"36.4.3": "6.2",
"36.4.2": "6.1 (rev1)",
"36.4.0": "6.1",
--
2.34.1

2 changes: 2 additions & 0 deletions recipes-devtools/python/python3-jetson-stats_4.3.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8763b57f0092c337eb12c354870a324a"

SRC_URI += "file://0001-fix-installation-process-issue-and-cleanup.patch \
file://0002-fix-paths-to-match-with-OE-and-getting-the-right-ver.patch \
file://0001-Fix-Python-3.14-multiprocessing-compatibility.patch \
file://0001-jtop-add-L4T-36.5.0-support.patch \
"
SRC_URI[sha256sum] = "38b11fcb6a27d59a194bc587e7665bccfc0c658979171969974550013e62afeb"

Expand Down