GithubHelp home page GithubHelp logo

mseyfi / buildjetsontx2kernel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from frankjoshua/buildjetsontx2kernel

0.0 1.0 0.0 44 KB

Build the NVIDIA Jetson TX2 Kernel on the device itself

License: MIT License

Shell 18.80% Makefile 81.20%

buildjetsontx2kernel's Introduction

buildJetsonTX2Kernel

Scripts to help build the kernel and modules onboard the Jetson TX2

As of this writing, the "official" way to compile the Jetson TX2 is to use a cross compiler on a Linux PC. These scripts will down load the kernel source to the Jetson TX2, wrangle some of the Makefiles to make them work on the Jetson, and then compile the kernel and selected modules. The newly compiled kernel can then be installed.

These scripts are for building the 64-bit L4T 27.1 (Ubuntu 16.04 based) operating system on the NVIDIA Jetson TX2. The scripts should be run directly after flashing the Jetson with L4T 27.1 from a host PC. There are three scripts:

getKernelSources.sh

Downloads the kernel sources for L4T 27.1 from the NVIDIA website, decompresses them and opens a graphical editor on the .config file.

makeKernel.sh

This script applies a few patches to makefiles in the kernel source, and then compiles the kernel and modules using make.

copyImage.sh

Copies the Image and zImage files created by compiling the kernel to the /boot directory

Note: The kernel source files are downloaded in a .tgz2 format. After compilation you may want to remove those files. The files are in /usr/src You will need to use sudo to remove the files, as they are in a system area.

Note: that you may want to save the newly built Image, zImage and modules to external media so that can be used to flash a Jetson image, or clone the disk image.

buildjetsontx2kernel's People

Contributors

jetsonhacks avatar

Watchers

 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.