Comments (8)
After flashing the TX2, there is approximately 8GB used if the Jetson was flashed with the standard libraries, specialty libraries and samples.
The compressed kernel source files are: 138.6 MB
/usr/src/public_release which are the decompressed source files: 122MB
/usr/src/hardware source files: 2MB
/usr/src/kernel source files and compiled object files: 3.9 GB
If you set your local version to something other than 4.4.38-tegra, the compiled modules take up about 113.3 MB.
I am not sure why you are asking me to provide this information. This information is provided in the 'Notes' of the README.MD file. On a TX2 this does not kill all free disk space, typically there are over > 15GB free after building a kernel and modules.
All of this is covered in the article: http://www.jetsonhacks.com/2018/03/22/build-kernel-modules-nvidia-jetson-tx2-2/
In the YouTube video: https://www.youtube.com/watch?v=80c5j0rSN_0
You could also read the code as a last resort.
from buildjetsontx2kernel.
i was using this for installing librealsense.
Their installation guide used this repo as workaround for jetsons.
My jetson was all setup and running, but running through the scripts in this repo filled my remaining 3gb, probably it would have taken more, but it obviously stopped after the disk was full.
Now the Jetson won't boot due to the full disk.
How can i reflash it without it booting?
I am able to do ctrl+alt+f1 and deleted some files, but still it is not able to boot.
Maybe its the damaged image the kernel created...
Edit:
df -h says:
/dev/root is 100% used with 28 GB
from buildjetsontx2kernel.
i reflashed the jetson with jetpack 3.2 and again tried to buil librealsense with the kernel patches and now source files are of this size when look at with du
:
3248 /usr/src/hardware
817136 /usr/src/kernel
So more than double of yours, does this just copy everything?
how can i clean the /usr/src/kernel directory?
from buildjetsontx2kernel.
Those are the correct sizes.
You can erase all of the kernel/module files source and build files:
$ sudo rm -r /usr/src/kernel
$ sudo rm -r /usr/src/hardware
$ sudo rm -r /usr/src/public_release
$ sudo rm -r /usr/src/source_release.tbz2
You can also delete the build kernel repository:
$ cd ~/
$ sudo rm -r buildJetsonTX2Kernel
This should remove everything installed by the buildJetsonTX2Kernel.
from buildjetsontx2kernel.
a perfectly thanks! Why are those files created? as backup?
from buildjetsontx2kernel.
They are created to compile the kernel and module source files.
from buildjetsontx2kernel.
is it also safe to delete /usr/src/linux-headers-4.4.38-tegra
?
from buildjetsontx2kernel.
Those are part of the stock L4T installation. You will need to determine if they are valuable to your development environment or not.
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
- How to copy image to eMMC? HOT 4
- 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.