Git Product home page Git Product logo

Comments (4)

jetsonhacks avatar jetsonhacks commented on May 23, 2024

If you have created the Image file on external media, the Image file is in the /boot directory
The Jetson typically boots from the eMMC, so it would not see the new Image file. Therefore, you would cp the /boot/Image file to the /boot/Image using sudo.
See the copyImage script as an example. I do not know how to refer easily to the internal eMMC for use in a script, or else I would have added it.

from buildjetsontx2kernel.

dan9thsense avatar dan9thsense commented on May 23, 2024

Sorry, I guess I am a bit dense. I flashed the TX2 development kit, then created the Image file and it is located in /boot. Properties show a disk size of 29.5 GB, so perhaps this is the eMMC (32GB) after all. I thought perhaps there was an external drive as part of the development kit.

What is the difference between flashing the TX2 vs. creating the kernel from source and installing in /boot?

from buildjetsontx2kernel.

jetsonhacks avatar jetsonhacks commented on May 23, 2024

Here's an article on the kernel build process: https://www.jetsonhacks.com/2018/03/22/build-kernel-modules-nvidia-jetson-tx2-2/

The eMMC is internal flash memory. External memory can be added using a SD card, a USB drive, SATA drive or PCIE drive. In a variety of flavors, SSD, disk, and so on. Developers may want to develop on an external drive for a couple of reasons. First, there is a lot more room available and second the drives are much faster than the internal flash memory.

If you were to build the Image on external memory/media (this is required on the Jetson TX1 which does not have enough internal eMMC flash memory to hold both the kernel sources and build artifacts), you need to copy the Image from external memory to the internal flash/eMMC so that it can boot from the new Image. Typically you would have both the new kernel Image and the old kernel Image available with the appropriate entries in extlinux.conf so that you can boot into the old/new image using a serial console. This is useful if there is a bad kernel build.

Flashing the TX2 builds a new file system (a complete System Image) and flashes it onto the Jetson. The Image that is created in this process is a subset, and refers specifically to the Linux kernel image, built in drivers, and device drivers.

In addition, flashing also creates 14 other hidden partitions on the internal eMMC that hold such things as the device tree.

from buildjetsontx2kernel.

dan9thsense avatar dan9thsense commented on May 23, 2024

Thank you very much for your help on this. That link is the one I used to build the kernel. I didn't understand the difference between flashing the drive vs. just creating and installing a kernel image. Your detailed answer makes it clear.

from buildjetsontx2kernel.

Related Issues (20)

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.