Comments (4)
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.
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.
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.
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)
- patching / compiling kernel with Auvidea J20 CSI camera module support, missing files.. HOT 2
- Packaging kernel? HOT 6
- Advice on version mismatch does not match version number HOT 3
- kernel source code for L4T28.1 HOT 1
- make error HOT 1
- lspci does not show any PCI devices HOT 6
- drivers HOT 1
- can we use this for xavier? HOT 1
- what should i do ?for enable can module HOT 1
- TX2:cudatooktik erro
- Can I use this for L4T 28.1 (jetpack 3.1) for RacecarJ? HOT 1
- Can I use this for TX2i? HOT 1
- L4T 32.2.1 support
- Readme mistake or script bug? HOT 1
- Jetpack4.4, failed to boot after building kernel HOT 3
- error in "makeKernel.sh"
- Is there a version suitable for jetpack4.5?
- Will this work with the latest version, L4T 32.5.1/ Kernal version 4.9.201?
- updating device tree HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildjetsontx2kernel.