rbonghi / jetson_stats

📊 Simple package for monitoring and control your NVIDIA Jetson [Orin, Xavier, Nano, TX] series
https://rnext.it/jetson_stats
GNU Affero General Public License v3.0
2.18k stars 264 forks source link

Add new Drivers #2

Closed rbonghi closed 6 years ago

rbonghi commented 6 years ago

Following the @Rafcin issue #8 I open this new Issue to reply directly about it:

If I flash the Jetpack 4.1.1 it won't overwrite my system right files right?

Also run this to fix the Mbs rate. By default its slow so even if you add a Ethernet cable it will be terribly slow. echo "options iwlwifi 11n_disable=8" | sudo tee -a /etc/modprobe.d/iwlwifi.conf

Also sorry I might be mistaken, but if you have the ability to modify the kernel, can you enable V4L2 drivers. Device Drivers -> Multimedia Support -> Media USB Adapters -> USB Video Class V4L2 Sorry if its confusing, its 5am 💯

rbonghi commented 6 years ago

In these days I'm understanding how I can recompile the kernel for the nvidia Jetson AGX Xavier.

I see on this page https://developer.nvidia.com/embedded/linux-tegra the kernel for L4T 31.1, but I'm checking the hint from @griz1112 https://devtalk.nvidia.com/default/topic/1039294/jetson-agx-xavier/custom-kernel-selection-on-xavier-solved-/2

@Rafcin Do you have tried to recompile the kernel to add this new driver? Do you have seen particular issues?

Rafcin commented 6 years ago

Yes i've compiled all the drivers but on my computer and then to the Xavier flashing it. But yes i've compiled 99% of the drivers Rafael Szuminski - Presentation

On Sat, Nov 10, 2018 at 9:54 AM Raffaello Bonghi notifications@github.com wrote:

In these days I'm understanding how I can recompile the kernel for the nvidia Jetson AGX Xavier.

I see on this page https://developer.nvidia.com/embedded/linux-tegra the kernel for L4T 31.1, but I'm checking the hint from @griz1112 https://github.com/griz1112 https://devtalk.nvidia.com/default/topic/1039294/jetson-agx-xavier/custom-kernel-selection-on-xavier-solved-/2

Do you have tried to recompile the kernel to add this new driver? Do you have seen particular issues?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rbonghi/jetson_easy/issues/10#issuecomment-437602991, or mute the thread https://github.com/notifications/unsubscribe-auth/AKAje3-WBjju40BM-H737wm37PYAVfXdks5utxLBgaJpZM4YYF_U .

Rafcin commented 6 years ago

https://github.com/jtagxhub/jetpack-agx-build

rbonghi commented 6 years ago

Hi @Rafcin,

Where did you find this script to improve the performance of the Wi-Fi and Ethernet connection?

echo "options iwlwifi 11n_disable=8" | sudo tee -a /etc/modprobe.d/iwlwifi.conf

I'm searching online, but I didn't find any relevant post about it

Rafcin commented 6 years ago

https://askubuntu.com/questions/824052/wifi-working-slower-than-it-should/824061#824061 Rafael Szuminski - Presentation

On Sat, Nov 17, 2018 at 2:41 PM Raffaello Bonghi notifications@github.com wrote:

Hi @Rafcin https://github.com/Rafcin,

Where did you find this script to improve the performance of the Wi-Fi and Ethernet connection?

echo "options iwlwifi 11n_disable=8" | sudo tee -a /etc/modprobe.d/iwlwifi.conf

I'm searching online, but I didn't find any relevant post about it

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rbonghi/jetson_easy/issues/10#issuecomment-439652876, or mute the thread https://github.com/notifications/unsubscribe-auth/AKAje8nVTiycIfpj5vAoyn8qr0umiXXSks5uwJCDgaJpZM4YYF_U .

Rafcin commented 6 years ago

Let me see if I can get you some more useful stuff that can help fix the Jetson tonight, I've made plenty of modifications that you should probably have.

rbonghi commented 6 years ago

I just added this short wiki to add your personal script in your project. https://github.com/rbonghi/jetson_easy/wiki/Configuration-file-and-folder

This is a new feature written in this weekend :+1:

rbonghi commented 6 years ago

Hi @Rafcin ,

I'm checking the kernel configuration for: USB Video Class V4L2

Device Drivers -> Multimedia Support -> Media USB Adapters -> USB Video Class V4L2

And from the configuration file in /proc/config.gz i can see (with the firmware L4T=31.1.0) is by default enabled. Below an extract of the document:

CONFIG_VIDEO_V4L2_SUBDEV_API=y
CONFIG_VIDEO_V4L2=y

# ....
# ....

#
# Supported MMC/SDIO adapters
#
# CONFIG_CYPRESS_FIRMWARE is not set
CONFIG_VIDEO_V4L2_TPG=m
Rafcin commented 6 years ago

When I originally flashed the device with the first 4.1 Jetpack it was not, I'm still on the old version of Jetpack, I don't know how to update without and any problems.

On Mon, Nov 19, 2018, 10:36 AM Raffaello Bonghi <notifications@github.com wrote:

Hi @Rafcin https://github.com/Rafcin ,

I'm checking the kernel configuration for: USB Video Class V4L2

Device Drivers -> Multimedia Support -> Media USB Adapters -> USB Video Class V4L2

And from the configuration file in /proc/config.gz i can see (with the firmware L4T=31.1.0) is by default enabled. Below an extract of the document:

CONFIG_VIDEO_V4L2_SUBDEV_API=y CONFIG_VIDEO_V4L2=y

....

....

#

Supported MMC/SDIO adapters

#

CONFIG_CYPRESS_FIRMWARE is not set

CONFIG_VIDEO_V4L2_TPG=m

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rbonghi/jetson_easy/issues/10#issuecomment-439996655, or mute the thread https://github.com/notifications/unsubscribe-auth/AKAje825b-yvG5BCfrUVPf2YUQXIF9HHks5uwvohgaJpZM4YYF_U .

rbonghi commented 6 years ago

Keep me posted. Anyway I added in list this CONFIG_VIDEO_V4L2 in list.

Now you can check directly when ./biddibi_boddibi_boo.sh start ;-)

Rafcin commented 6 years ago

Hooray!

On Mon, Nov 19, 2018, 12:32 PM Raffaello Bonghi <notifications@github.com wrote:

Keep me posted. Anyway I added in list this CONFIG_VIDEO_V4L2 in list.

Now you can check directly when ./biddibi_boddibi_boo.sh start ;-)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rbonghi/jetson_easy/issues/10#issuecomment-440032047, or mute the thread https://github.com/notifications/unsubscribe-auth/AKAje41idxlpimo5lU-snhbrYBTmNOHlks5uwxVfgaJpZM4YYF_U .