Giter Site home page Giter Site logo

Comments (8)

jetsonhacks avatar jetsonhacks commented on August 16, 2024

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.

gustavz avatar gustavz commented on August 16, 2024

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.

gustavz avatar gustavz commented on August 16, 2024

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.

jetsonhacks avatar jetsonhacks commented on August 16, 2024

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.

gustavz avatar gustavz commented on August 16, 2024

a perfectly thanks! Why are those files created? as backup?

from buildjetsontx2kernel.

jetsonhacks avatar jetsonhacks commented on August 16, 2024

They are created to compile the kernel and module source files.

from buildjetsontx2kernel.

gustavz avatar gustavz commented on August 16, 2024

is it also safe to delete /usr/src/linux-headers-4.4.38-tegra ?

from buildjetsontx2kernel.

jetsonhacks avatar jetsonhacks commented on August 16, 2024

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)

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.