seluj78

Kernel modification for jetson

Apr 27th, 2018
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. High performance mode
  2.  
  3. sudo nvpmodel -m 0
  4.  
  5. Clone repo
  6. git clone https://github.com/jetsonhacks/buildJetsonTX2Kernel.git
  7.  
  8.  
  9. cd buildJetsonTX2Kernel.git
  10.  
  11. ./getKernelSources.sh
  12.  
  13. Configure Kernel ( see Jetson hAcks video )
  14.  
  15. Search for CP210X Uart family
  16.  
  17.  
  18. Before makeKernel run :
  19.  
  20. sudo sed -i 's/.*CONFIG_USB_ACM.*/CONFIG_USB_ACM=y/' /usr/src/kernel/kernel-4.4/.config
  21.  
  22.  
  23. make the kernel and copy it
  24.  
  25. ./makeKernel.sh
  26. ./copyImage.sh
  27.  
  28. reboot
  29.  
  30. sudo reboot
  31.  
  32.  
  33. Test that you can access a board (/dev/ttyACM0)
  34.  
  35. # Install Xbox360 Controller Kernel
  36. look for "joystick" in make xconfig. select the Xbox gamepad controller one, then make the module and insert it. It should show up in /dev/input/jsX
Advertisement
Add Comment
Please, Sign In to add comment