Great. Completely answered my questions about how to boot from USB and resulting SD vs SSD vs HD benchmarks.
@JimSmith-u5g Жыл бұрын
Thank you for your channel Jetson Nano other channels really don’t know what to do with it and you have a very clear understanding of it thank you for explaining everything for beginners
@JetsonHacks Жыл бұрын
Thank you for the very kind words, and thanks for watching!
@glikar15 жыл бұрын
Anothe good choice of subject matter! I like your laidback attitude in dealing with the frustrations of setting up something as complex as "pivot the root". 5 gig/sec --plenty fast for most anything the nano needs todo. Thanks for another great video.
@JetsonHacks5 жыл бұрын
Thank you for the kind words, and thanks for watching!
@robbyprust5 жыл бұрын
This worked great , installed to a 250 gig usb drive , should be more than enough space for now. Thanks for a great video
@JetsonHacks5 жыл бұрын
You are welcome. I am glad everything is running smoothly. Thanks for watching!
@robbyprust5 жыл бұрын
Yes this thing is interesting. Going to also get the next step up from this one latter on. Now to print a case that will hold everything . Also need to bring the GPIO to a breakout
@keltonjohnson61975 жыл бұрын
Found you after watching ETA Prime. Love your Nvidia Jetson content.
@JetsonHacks5 жыл бұрын
Excellent! Glad to have you aboard. Thanks for watching!
@CocoBear845 жыл бұрын
I keep using your site for my Nano prototype projects. Great video, can't wait to do this on Monday!
@JetsonHacks5 жыл бұрын
I am glad to hear that you find the site useful. Thanks for watching!
@CocoBear845 жыл бұрын
@@JetsonHacks CAn the nano power the drive or do you need a powered hub?
@JetsonHacks5 жыл бұрын
@@CocoBear84 The USB drive is plugged directly into the Jetson Nano in this video. If you have other peripherals, a powered USB hub is useful.
@yezhang29475 жыл бұрын
Thank you for this excellent video. My Jetson Nano is significantly faster running off a SSD.
@garyblake42965 жыл бұрын
I love your teaching methods Jim, keep the nano tutorials coming, mines due 10th of May...:)
@JetsonHacks5 жыл бұрын
Always something to look forward to. Thanks for watching, and good luck with your new Nano!
@jameshyde63955 жыл бұрын
i have put this across to a physical usb3 hard drive but it's slower than an sd card tbh, but works a treat, Thanks.
@JetsonHacks5 жыл бұрын
Glad you got it to work!
@jameshyde63955 жыл бұрын
@@JetsonHacks you are an absolute genius on that keyboard but please slow down a bit for us mere mortals ;-)
@JetsonHacks5 жыл бұрын
There usually are articles linked in the description which have all of the commands in them. Also, you can slow the video down (in the KZbin settings for the video, the little gear icon next to the CC button) or hit pause when needed. Hope this helps.
@rickhunt31835 жыл бұрын
As a result of the pricing I’m going to predict a strong surge in the interest of the Jetson Nano SBC. As a consequence I’m going to also predict a much stronger interest in your channel over the next 6 months. I’d recommend for you to be thinking of projects. Write this down because I’m seldom wrong. The Nano just needs a liitle more main stream promotion. You’ll be able to afford that Indian Scout Bobber in no time, and perhaps a compantion to Mr fire extinguisher. I Also liked how you picked out what hard disk to use. Almost sounded like Goldilocks and the 3 bears picking out a bed.
@JetsonHacks5 жыл бұрын
@RickHunt You mean I'll be able to buy two pizzas a month instead of one from the KZbin earnings? Thanks for watching!
@JetsonHacks5 жыл бұрын
@Brad Viviviyal Champagne dreams, caviar lifestyle. And pizza!
@user-wc1em7pc2p5 жыл бұрын
@@JetsonHacks Eventually you'll be getting the 2 topping! In all seriousness, thanks for the content on the channel. I look forward to seeing what you'll show in the future.
@JetsonHacks5 жыл бұрын
@@user-wc1em7pc2p I appreciate the encouragement. I'm glad you find the content useful, and thanks for watching!
@skbhattacharya5 жыл бұрын
It's a wastage to keep a 16gb sdcard plugged in for just pivoting the root. Is there any way we can use smaller SDCards for this, as the rest of the linux image on the SDCard is not actually getting used after you pivot the root?
@mwolfer15 жыл бұрын
Works like a charm, thanks for all your great posts so far! Question: Is there any information that would indicate booting of USB 3 could be part of the 'official' retail version of the Nano?
@JetsonHacks5 жыл бұрын
I've heard talk on the NVIDIA Nano forum that they are working on it. I don't know which release it will be in. Thanks for watching!
5 жыл бұрын
very helpful Jim. Thank-you!
@JetsonHacks5 жыл бұрын
You're welcome and thanks for watching!
@mattizzle815 жыл бұрын
now this is a jetson hack I can use!
@JetsonHacks5 жыл бұрын
I am glad you found it useful. Thanks for watching!
@j.macjordan97795 жыл бұрын
Well OK...mildly complex...(?)...BUT it worked! Thank You for the post! Also, NanoSSD500 ...utterly demolished by NanoSSD120 @ 371.7 MB/s.....(!!!) The 120GB PNY SSD is one ...serious ....Pony w that huge of a difference.....I guess......
@JetsonHacks5 жыл бұрын
I'm glad you got it to work. Thanks for watching!
@j.macjordan97795 жыл бұрын
@@JetsonHacks - I did; the only difference was the final script; I got "IBUS-Warning" running 'sudo gedit...' (ibus/bus didn't have root permissions?). So I changed it to 'sudo -H gedit extlinux...' It stopped the warning from appearing & it rebooted just fine....seems like all is good..(?).
@williamhart48965 жыл бұрын
Nice man that answers my question from earlier
@JetsonHacks5 жыл бұрын
Thanks for watching!
@quaternion-pi5 жыл бұрын
Worked perfectly! Should I move my pre-existing 2GB swap file from the SD card to the SSD drive? If yes, can I just use your tutorial on adding a swap file to the nano and change the settings to use the SSD instead? Then delete the swap file on the SD card? Thanks so much for your tutorials!!
@Ibiky_Stern5 жыл бұрын
my old WesternDigital external Hdd gives me about 32MB/s...T_T that time the TFcard about 80...i'm really crying. Thank u for video. i'm absolutely new at linuxlike system, so it was educational
@JetsonHacks5 жыл бұрын
I am glad you found it useful. Thanks for watching!
@Ibiky_Stern5 жыл бұрын
@@JetsonHacks thanx a lot again
@Shise-5 жыл бұрын
Any chance you can explore overclocking the GPU or CPU?
@nickmarsh93845 жыл бұрын
I had an EVO970 NVMe laying around, put it in the Xavier... in 10W power mode , I Benchmarked Read at 2.4GB/s (100samples) and 0.10mSex access(100 samples) Huge ! going to try this technique for make the Evo my primary kernel device. cross your fingers, better ask shark "what could possibly go wrong ?"
@JetsonHacks5 жыл бұрын
The Xavier has a different low level layout than the Nano. The kernel image is signed and placed in a separate partition. The pivot the root trick does not work on the Xavier.
@puvi0075 жыл бұрын
your channel is the best guide for Jetson nano :) , Is performance on USB connected Hard disk affected by USB connected camera are they connected via USB HUB to processor?, as you have both peripherals can you check and show its performance?
@JetsonHacks5 жыл бұрын
Thank you for the kind words. Yes, all of the USB peripherals effect the performance. Even though there are 4 USB 3 connectors, there's only one USB hub onboard which they all go through. This means you're limited to the limits of USB 3 (theoretical 5 Gbps (540 MBs)). Each USB 3 peripheral 'reserves' it's bandwidth when it's enumerated, so sometimes everything acts differently than what you'd expect. Thanks for watching!
@puvi0075 жыл бұрын
@@JetsonHacks May be you can take this testing as a topic for one future video ! as this scenario peripheral combination is more common in any project
@Mo7dBa7rani4 жыл бұрын
Great start to my project that I want to make and if I may, I need your advice in this particular part. I'm planning to make a micro storage server + media box to connect to my tv. I want to connect 4tb hdd to it and hdmi to consume the movies I have + access remotely to store data. Is it a valid use-case here? Can I do that with Jetson nano? I know this could be done with other chips but I want nano because of the great hdmi output quality. Thanks!
@sy25325 жыл бұрын
Looks great Jim...I only wish you would print out a syllabus so that I could order all of my parts at one time!
@JetsonHacks5 жыл бұрын
Lol. Like there's a method to my madness that one could actually write down. Thanks for watching!
@BrianBaliat5 жыл бұрын
Request: Can you plug in a decent battery plus the raspberry pi camera and run the object detection example on both the 5 watts and 10 watts. I would like to know how long it the battery lasts and the performance difference.
@AndriusJankauskasJankiz5 жыл бұрын
Will try this out definitely! Also wanted to ask, could you show how to build kernel modules for unsupported USB devices? Specifically I have a RTL8812AU wifi adapter that I got working on desktop Ubuntu and RPi but failed to *make build* because of missing kernel headers. I assume "Step 1" in your video would build the kernel and include everything but I'm yet to try it. Any input greatly appreciated
@JetsonHacks5 жыл бұрын
I don't have that WiFi adapter, so it's hard to tell what you need to do. Typically you would have to get the kernel sources, then make and install modules (the buildKernelAndModules has a script for that). You do not have to rebuild the kernel Image. You may also need to install the firmware for the RTL8812AU which can be a little trickier if the linux-firmware .deb doesn't have it. Thanks for watching!
@LilSarge5 жыл бұрын
I used this method github.com/abperiasamy/rtl8812AU_8821AU_linux
@rahmataldino88372 жыл бұрын
can it be implemented on jetson nano developer kit b01 integrated storage emmc without micro sd slot on board, can related with your tutorial?
@eyeIO5 жыл бұрын
Can this be the basis to boot from NFS? Jim it will be great if you can do a video in how to boot from network! Your videos are amazing!
@JetsonHacks5 жыл бұрын
Thank you for the kind words. I do not spend time in an environment where I would boot from a network. I wouldn't be able to provide any useful information to you. Thanks for watching!
@anthonyshort89575 жыл бұрын
Very useful. How do system updates work when you have the root image on the SD card and another one on the external SSD?
@JetsonHacks5 жыл бұрын
System updates update the rootfs. The rootfs is now on the USB drive, so that's the set that gets updated. Thanks for watching!
@RichardEricCollins5 жыл бұрын
@@JetsonHacks Does that include any kernel updates?
@JetsonHacks5 жыл бұрын
@@RichardEricCollins It is the stock kernel that ships with L4T 32.1.0 (kernel 4.9.140)
@hk27805 жыл бұрын
Could you do some tutorial video for tensorflow and pytorch? It would be great. I checked the hompage and they support python3 tensorflow. I am curious that what environment we can use for this. Visual studio code might be good?
@VanWarren5 жыл бұрын
try tensorflow running in jupyter notebooks in a browser on the jetson nano, no visual studio required.
@hk27805 жыл бұрын
@@VanWarren visual studio code is one of the text editor. Not the visual studio. It is very slim and support many function. Jupyter notebook is also good editor but I am just wondering the what environment people use.
@methanoid5 жыл бұрын
I wonder if any of this and previous stuff can be done on Nvidia Shield TV. It's a better processor there and would be great to use Linux on. Would love to see some vids from you on it
@eyeIO5 жыл бұрын
Love this idea!! I hope Jim can have the time and do this with the newest nVidia Shield
@柳如风5 жыл бұрын
big leg!thank you,great job!I have a problem about camera driver,if we can rebuild linux kernel to add usb driver,can we add the raspberry pi V1 module driver to linux?
@JetsonHacks5 жыл бұрын
If you have the source, you should be able to add the driver. However, I don't know if the camera is electrically compatible with the connector. Thanks for watching!
@tthtlc5 жыл бұрын
thank you very much. Can I ask: will the same steps also allow me to recompile my kernel to reboot the raspberry pi from USB drive, given that it is booting up from SD card right now?
@JetsonHacks5 жыл бұрын
The RPi is a different machine, it allows booting from the USB drive directly. Thanks for watching!
@leilaghasemzade58803 жыл бұрын
Thanks for the video. Actually I was searching for an error and find your video. I get memory error during running a model. I don’t know if this technique can help me or not. I want to know why we need to run nano on usb drive? What is its benefit? By understanding it I can figure out if this technique can resolve my issue or not. I would appreciate if you answer.
@JetsonHacks3 жыл бұрын
My understanding is that models are run in main, physical memory. External storage may help by adding swap memory, but are unlikely to solve the issue you are encountering. For more information, please ask you question on the official NVIDIA Jetson forums, where a large group of developers and NVIDIA engineers share their experience.
@leilaghasemzade58802 жыл бұрын
@@JetsonHacks thanks
@ardnano32235 жыл бұрын
Did you install open cv python or it is already available? Thanks for your vedio
@JetsonHacks5 жыл бұрын
It is installed on the default disk image. Thanks for watching!
@angelleal30054 жыл бұрын
In other words I could get a Jetson nano with 2 GB memory-size and add additional storage capacity by doing this configuration ?
@Diamond_Hanz5 жыл бұрын
TyTy! We do love them GBs! heh. =)
@JetsonHacks5 жыл бұрын
You are welcome, and thanks for watching!
@ansjaved34843 жыл бұрын
Hi Jim, my Jetson Nano is shutting down when I try to run camera and Lidar both. I have connected with Lipo battery of 4A, 2200mah,11V and 14.43Wh. I'm using buck converter to step down(4A, 5V) the voltage. If I unplug Lidar then it's working fine but shutting down if both connected. And I'm also able to run both with 5V, 4A adapter. Can you tell me where the problem is? Thank you so much. :)
@JetsonHacks3 жыл бұрын
do not know where the problem is. However, it seems unlikely that your battery solution is actually providing 4A. A buck converter, while efficient, will still cause some power loss (usually a little >10%). Also, the claim that the 2200mAh battery provides 4A seems odd. If the battery is 1C, you would expect 2.2A, if 2C you would expect 4.4A. Sometimes the manufacturers fib a little, or the battery might be a little older and not provide that much current.
@ansjaved34843 жыл бұрын
@@JetsonHacks www.rawlix.com/product/2200mah-111v-25c-lipo-battery-xf-model-637252307895606139 I have this one battery. Please view.
@호두-o2u3 жыл бұрын
Hello, Is this possible with the jetson nano production module (emmc)? The emmc capacity is only 16GB, so it's very frustrating. Thank you.
@JetsonHacks3 жыл бұрын
I have not tried it on that device. Thanks for watching!
@nickmarsh93845 жыл бұрын
nope on the Xavier, that folder /boot/extlinux does not exist :( can it be done ?
@janj17865 жыл бұрын
great thx!
@JetsonHacks5 жыл бұрын
You're welcome, and thanks for watching!
@simonbunn58414 жыл бұрын
This is out of date already. Cloning the git has no buildkernel.sh and trying to run the copyRootToUSB fails as it does not understand the -v switch with the USB disk drive name. Follow the instructions up to build kernel, then skip to the instructions on github which is to run ./addUSBToInitramfs.sh, partition the drive and format, and create an additional swap drive in the 10 GB of space you left at the end of the partition, selecting 'other' and 'swap file' in the partition options. You must reboot your Nano at this point then come back to this guide and run the copyRootToUSB with the -p command and use the /dev/sda1 or whatever name you drive has taken. Then you can continue the guide for changing /boot/extlinux/extlinux.conf again putting in/dev/sda1 if that is your drive. You must also change to this line INITRD /boot/initrd-xusb.img Worked for me
@kerron_5 жыл бұрын
So you still need the SD card in Jetson at early boot up to point to the usb ssd to boot up from?
@JetsonHacks5 жыл бұрын
Yes. The Nano boots from the SD card.
@kerron_5 жыл бұрын
Good to know
@brianaichlmayr2 жыл бұрын
@@JetsonHacks what if you have no sd card slot?
@JetsonHacks2 жыл бұрын
@@brianaichlmayr You should use the SDK Manager to set things up.
@brianaichlmayr2 жыл бұрын
@@JetsonHacks thank you! Took around 10hrs but finally got it going. The SDK program doesn’t work with Ubuntu 22.04. Had to revert to Ubuntu 18 (heard 20 worked but wanted a more definite chance of it working so went 18). Stored everything to the onboard 16GB drive it had but couldn’t get DeepStream as I ran out of space. Do you have suggestions on how to add deepstream as well as if adding an additional thumb drive for additional downloads would help for example still need to download opencv, regular updates etc. Still new to all this but learning everyday
@caleb74755 жыл бұрын
Can we use uuid Instead of sda1? because sda1 could change between boots
@JetsonHacks5 жыл бұрын
Sure. Thanks for watching!
@caleb74755 жыл бұрын
@@JetsonHacks How though? can you update your page to give an example? I think that would be helpful to others. Arch linux has some relevent docs on it. wiki.archlinux.org/index.php/syslinux#Kernel_parameters . I tried this but couldn't get it to work. Maybe you could take a stab at it.
@wekker244 жыл бұрын
Hello can i boot and use Jetson Nano without a SD CARD?
@JetsonHacks4 жыл бұрын
Not sure I understand your question. As far as I know, the SD card is needed with the Jetson Nano Developer Kit. However, you should ask on the official NVIDIA Jetson Nano developers forum for a definitive answer. Thanks for watching!
@marknabilibrahim4 жыл бұрын
Hi can I ask why the normal flash memory was discarded, can anyone elaborate more what is wear characteristics ? Thanks
@JetsonHacks4 жыл бұрын
I don't understand what you mean by the term "discarded". The USB drives are about 10x faster than the SD cards.
@ardnano32235 жыл бұрын
Did youn install anaconda on nano or Tx2? and are cuda and cudnn installed on jetson nano?
@JetsonHacks5 жыл бұрын
I did not install Anaconda. CUDA and cuDNN are installed in the stock image. Thanks for watching!
@CuteLittleMiku5 жыл бұрын
Is there anyway to use KDE instead of GNOME
@JetsonHacks5 жыл бұрын
I don't know. Please ask this question on the official NVIDIA Jetson forum where a large number of developers and NVIDIA engineers share their experience. The forum is here: devtalk.nvidia.com/default/board/371/jetson-nano/
@kerron_5 жыл бұрын
Very good video I got it working only on fresh build but it doesn't work on the dlinano_v1-0-0_image_20GB image :(. but good video
@AltMarc5 жыл бұрын
Be careful, some usb3 ssd adapters have problems with linux, because of UAS troubles. If the Jetson Nano, hangs, or have troubles when copying massive numbers of files like the root directory, then take a look at the dmesg output to find some UAS problems... Solution add "usb-storage.quirks=xxxx.yyyy" to the extlinux.conf where xxxx.yyyy is the usb product/vendor code of "lsusb" and to modpobe...
@sy25325 жыл бұрын
I had a problem rebuilding the Kernel. It says make[1]:*** No rule to make target 'Y/tegra21x_xusb_firmware', needed by 'firmware/tegra21x_xush_firmware.gen.o'. Stop. Makefile:1104: recipe for target 'firmware'failed make: *** [firmware] Error 2 Make did not successfully build. Please fix issues and retry build
@JetsonHacks5 жыл бұрын
Did the usb firmware file get copied to the firmware directory correctly, and did you hit the 'Enter' key when asked to confirm the firmware directory during the build?
@sy25325 жыл бұрын
@@JetsonHacks I remember seeing a questions and I thought I should put a Y ? I would guess that caused a problem? Now what?
@sy25325 жыл бұрын
@@JetsonHacks I was able to reinitialize the sd card and starting over everything worked as advertised. Thanks.
@nickmarsh93845 жыл бұрын
the copyRoottoUSB Script worked perfectly on the Evo970, it took 5 minutes 22 to copy the 16.49GB image across.. now to Pivot the Root, sounds like ............. a medieval giant, what did you think I was going to say ?
@satyamrout14005 жыл бұрын
Sir can i connect a hard drive to my jetson nano ..... ??
@JetsonHacks5 жыл бұрын
What kind of hard drive?
@satyamrout14005 жыл бұрын
@@JetsonHacks a hdd which is used in pc ....
@JetsonHacks5 жыл бұрын
@@satyamrout1400 Depends on the type of hdd. There are several different types. For example, if you are using a SATA drive, you will need some type of converter (USB->SATA, or PCIe Key E to SATA) to attach the hdd. Thanks for watching!
@satyamrout14005 жыл бұрын
@@JetsonHacks thank u sir
@JetsonHacks5 жыл бұрын
@@satyamrout1400 You are welcome, and thanks for watching!
@dexterpengji21185 жыл бұрын
Thank you so much!
@kevin_delaney3 жыл бұрын
How would you modify this for this? This is an overclocked retropie style image for the Nano, do you know what I'd have to change? I'm hesitant to play around with the extlinux.conf postimg.cc/YvPsp5xN
@companymen425 жыл бұрын
Can it run android?
@JetsonHacks5 жыл бұрын
Folks are working on that currently. Android works on the other Jetsons, so it should be available soon. Thanks for watching!
@jameshyde63955 жыл бұрын
ROOT!! ON USB!!
@JetsonHacks5 жыл бұрын
Just in time for football season!
@jameshyde63955 жыл бұрын
@@JetsonHacks sorry but football is English, you lot call it soccer he he
@AltMarc5 жыл бұрын
Great, I got what I asked for, thanks. 5:55 You forgot to create the swap partition... Got my USB3 drive today, just waiting for then Jetson...
@JetsonHacks5 жыл бұрын
With the advent of SSD the best practice is to use a swap file when necessary. The advantage over a swap partition is that the swap file will move around the disk as it is written and deleted. That way the wear leveling algorithms can help manage the loads. A partition is always in the same place. Thanks for watching!
@AltMarc5 жыл бұрын
@@JetsonHacks Good advice, thanks.
@guidolehwalder93765 жыл бұрын
"Let's get started" sound so 90s :(
@JetsonHacks5 жыл бұрын
I see. What do all the kids say now?
@guidolehwalder93765 жыл бұрын
@@JetsonHacks So you are a Pro and not a kid - you dont have to say that ;) I like your Jetson-videos maybe in a far future I will also grab a jetson :)
@vvwording48445 жыл бұрын
Thanks, Tried saving an "Image" but Ubuntu won't let me. When I could get into rootOnUSB I tried several different ways with cp but no luck. Guess I tried too long, because instead of me finally giving up and Restart, the JetsonNano just stalled. Turned off the CPU, and this time I couldn't run "git clone github.com/jetsonhacksnano/rootOnUSB" - said I caused something 'fatal' - so Image was probably there; but I couldn't do anything with it. Learned about 'sudo su' and went to /media/-myname-/ and 3444i224 full of Image is there - taunting me. I don't want to buy another 64G card, and I have already figured out that a 16G card won't work - even deleting all I could find of LibreOffice and the example video and example song. So any ideas? My suggestion is that you add a warning to use 32G card or more, or an additional section saying what can be obliterated safely and then restore later. But please don't think I'm not grateful. It will work, I'm pretty sure of that. I've just created a problem that wouldn't have been there had I just worked on through. Should be fun, but as I said earlier, any ideas?
@JetsonHacks5 жыл бұрын
I can't tell what command you execute from your execution that leads to your issues. Please read the article: wp.me/p7ZgI9-1bf