Hi everyone, I’m trying to enable the pwm output on my Jetson Tk1 but I’m running into some problem. FYI, I’m a new to all of this and I’m just trying to learn so go easy on me. Anyway, i have read the tutorial on http://elinux.org/Jetson/PWM#PWM_in_L4T_rel21 about applying the patch in order to enable PWM0, PWM2, and PWM3 on L4T but I’m having trouble understanding the instruction and I need someone to elaborate on it for me. More specifically, the instruction ask me to use $git diff command but it gives me the following error:
Not a git repository
To compare two paths outside a working tree:
usage: git diff [–no-index]
Then I try the next command which is:
$ diff --git a/arch/arm/boot/dts/tegra124-platforms/tegra124-jetson_tk1-gpio-pm375-0000-c00-00.dtsi b/arch/arm/boot/dts/tegra124-platforms/tegra124-jetson_tk1-gpio-pm375-0000-c00-00.dtsi
and it gives me this error:
diff: unrecognized option ‘–git’
diff: Try ‘diff --help’ for more information.
My question is how do I use git diff to apply the patch like mentioned http://elinux.org/Jetson/PWM#PWM_in_L4T_rel21? I don’t seem to know what is the exact command to type into Terminal and in what directory. Any help would be greatly appreciated.