I want to flash my Jetson TX1 with the latest Auvidea J120 Firmware (Version 3.0).
In the latest Firmware, there is also the possibility to use the fan control.
For this, it should be added and changed some code in the tegra210-jetson-cv-base-p2597-2180-a00.dts file.
enable Fan control on J1XX with TX1:
change in tegra210-jetson-cv-base-p2597-2180-a00.dts
add:
regulators{
vdd_fan: regulator@13{
gpio=<&gpio TEGRA_GPIO(BB,3) 0>;
};
};
and change:
from:
pwm_fan_shared_data: pfsd {
tach_gpio = <&gpio TEGRA_GPIO(K, 7) GPIO_ACTIVE_LOW>; /* TEGRA_GPIO_PK7 */
};
to
pwm_fan_shared_data: pfsd {
tach_gpio = <&gpio TEGRA_GPIO(K, 7) GPIO_ACTIVE_LOW>; /* TEGRA_GPIO_PK7 */
pwm_gpio = <&gpio TEGRA_GPIO(E, 7) GPIO_ACTIVE_LOW>; /* TEGRA_GPIO_PE7 */
};
My question is now. In my “tegra210-jetson-cv-base-p2597-2180-a00.dts” file i can`t find the line of code
Are we talking about the same Firmware ?
I downloaded the newest Firmware from this link: https://auvidea.eu/firmware/
If you unzip it then there is a text file with this message:
enable Fan control on J1XX with TX1:
change in tegra210-jetson-cv-base-p2597-2180-a00.dts
And in the same zip file there is also the file which is mentioned in the message. (tegra210-jetson-cv-base-p2597-2180-a00.dts)
But i can’t find the right place to change the code :/
Oh sorry. Now I understand your problem.
I don’t have your J120 carrier board to test.
Auvidea thinks you’ve downloaded the kernel and/or U-boot already.
You need to follow the steps in the documentation of NVIDIA “Kernel Customization”
The documentation is here :
[url]https://developer.nvidia.com/embedded/downloads[/url] (L4t documentiton version 28.2)
When you’ll finish to download the kernel there is a folder “hardware”,
“<path_to_the_folder_hardware>/hardware/nvidia/platform/t210/jetson/kernel-dts”
You’ll see the dts file tegra210-jetson-cv-base-p2597-2180-a00.dts.
Modify it and then compile the kernel to apply your change. (It can take hours to compile)
Other method 1 :
Try the command bellow (it works on the Development board kit): echo 0 255 > /sys/bus/platform/devices/pwm-fan/pwm_state_map
Other method 2 :
Is it possible to share us your dtb file ? “tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb”
I need to check if it is already modify.