GithubHelp home page GithubHelp logo

kirumang / buildjetsonmodules Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jetsonhacks/buildjetsonmodules

0.0 2.0 0.0 147 KB

Example on how to build modules and drivers for NVIDIA Jetson TK1

Shell 100.00%

buildjetsonmodules's Introduction

buildJetsonModules

This is an example on how to build modules and drivers for NVIDIA Jetson TK1. This example will build the Intel 'iwlwifi' driver and wireless modules. The example is specifically for the Linux for Tegra LT4 21.1 Nov, 2014 release, but should work in other situations.

This example is not an exhaustive missive on how to build modules and drivers, but more as a "I only need a module or driver for a particular application. I don't want to recompile the whole kernel, I just want the module/driver needed. Give me an example".

This example also assumes that you are comfortable with Ubuntu file layouts and paths. Please read through the shell files and adjust for your own purpose.

====== INSTRUCTIONS ==============

IMPORTANT: All shell files must be run as root

Step 0.

$ sudo ./maxCPU.sh

Enable performance for CPU, makes the development environment much more stable. Change takes effect until reboot.

NOTE: You may want to open configureIwlWifi.txt for guidance of navigating the menuconfig menus before the first step.

Install prerequisites and specify kernel modules and drivers to be built

$ sudo ./prepareDriver.sh

Build the modules and drivers Close configureIwlWifi.txt if open Close any open applications; this next bit seems to be persnickety at times

$ sudo ./buildWirelessDrivers.sh

Install new Modules and Drivers

$ sudo ./installModulesDrivers.sh

At this point new modules and drivers should be installed appropriately In order to access the mini PCIe wireless card, GPIO pin 191 must be set The stock kernel sets this to off on boot, so you must set it up yourself in /etc/rc.local An example rc.local file is in this repository

$ sudo gedit /etc/rc.local

Add this next bit at the end before the exit 0 instruction

# Enable GPIO 191 so that wireless works with mini PCIe cards
echo 191 > /sys/class/gpio/export;
echo out > /sys/class/gpio/gpio191/direction;
echo 1 > /sys/class/gpio/gpio191/value;
# Reload the wifi driver for the Intel mini PCIe card
modprobe -r iwlwifi;
modprobe iwlwifi;

Make sure to save the file.

At this point everything should be installed. Reboot the Jetson.

After Reboot, go to Network Icon in upper right corner and configure 7260.

buildjetsonmodules's People

Contributors

jetsonhacks avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.