How to Build Root on Raspberry Pi - Boots in 5 seconds!!!

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 มี.ค. 2021
  • How to Compile and Install buildroot on raspberry pi!
    ○○○ LINKS ○○○
    build root wifi ► blog.crysys.hu/2018/06/enabli...
    Raspberry Pi ► amzn.to/3bqDyMv
    ○○○ SHOP ○○○
    Novaspirit Shop ► teespring.com/stores/novaspir...
    Amazon Store ► amzn.to/2AYs3dI
    ○○○ SUPPORT ○○○
    💗 Patreon ► goo.gl/xpgbzB
    ○○○ SOCIAL ○○○
    🎮 Twitch ► / novaspirit
    🎮 Pandemic Playground ► / @pandemicplayground
    ▶️ novaspirit tv ► goo.gl/uokXYr
    🎮 Novaspirit Gaming ► / @novaspiritgaming
    🐤 Twitter ► / novaspirittech
    👾 Discord chat ► / discord
    FB Group Novaspirit ► / novasspirittech
    ○○○ Send Me Stuff ○○○
    Don Hui
    PO BOX 765
    Farmingville, NY 11738
    ○○○ Music ○○○
    From Epidemic Sounds
    patreon @ / novaspirittech
    Tweet me: @ / novaspirittech
    facebook: @ / novaspirittech
    Instagram @ / novaspirittech
    DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 114

  • @cernejr
    @cernejr 3 ปีที่แล้ว +10

    I learned something - thank you. Buildroot definitely has real-world potential.

  • @llortaton2834
    @llortaton2834 3 ปีที่แล้ว +5

    Yo don you are always on POINT PROPS!!!! i have a list of things i wanna learn about and the videos you release keep striking off the things one by one! Incredible i'm about to build my own midi controller from internet knowledge, awesome videos keep it up!

  • @ninline2000
    @ninline2000 3 ปีที่แล้ว

    Thank you so much for showing this off. The potential uses for something like this are amazing.

  • @ScottPlude
    @ScottPlude 3 ปีที่แล้ว +3

    I love it! Every time I watch another video from you, that is my new favorite. I have some pretty bold ideas for automotive tinkering. The std boot time has always been a limit but this opens up a whole new world! thanks!

    • @NovaspiritTech
      @NovaspiritTech  3 ปีที่แล้ว +3

      Wait till you search for this "raspberry pi 3 boot 1.75 seconds", this will boot into gui too. I'm also a big car guy myself. Built my first carpc in 2006

    • @steven1000000000
      @steven1000000000 3 ปีที่แล้ว

      @@NovaspiritTech Wow, I defintely need to look into this as well.

    • @steven1000000000
      @steven1000000000 3 ปีที่แล้ว

      This is exactly what I was thinking regarding the automotive options - a 1 minute boot time limits some of the practical possibilities.

  • @IMRANKHAN-we9un
    @IMRANKHAN-we9un 3 ปีที่แล้ว +2

    You have TURBO net speed🔥🔥🔥🔥. As always you are come with Amazing topics.

  • @edgecrush3r
    @edgecrush3r 3 ปีที่แล้ว

    Great as Always! many thanks.

  • @foobarbarfoo2377
    @foobarbarfoo2377 3 ปีที่แล้ว

    Nice. Note that buildroot also allows to auto-expand the persistent rootfs on the first boot
    to fill the storage device to its physical capacity

  • @Nalanaij
    @Nalanaij 3 ปีที่แล้ว +1

    Very interesting. I installed arch on a RPi4 and Banana Pi Zero M2. Really like the lack of unnecessary packages and got down to 12s boot time.
    Now I'm working on an yocto project image for both to further decrease power consumption and boot time

  • @itsmith32
    @itsmith32 2 ปีที่แล้ว +1

    Quite interesting. I was riding subway and saw black screen beneath the doors off the train with "buildroot." I thought: hmmm, Let's duck-duck... Now I've arrived and know a bit about what it is. Thank you!

  • @FrankGraffagnino
    @FrankGraffagnino 3 ปีที่แล้ว

    great video. new tool in the toolbelt!

  • @werty1st
    @werty1st 3 ปีที่แล้ว

    thats a nice video. i was looking for some method to customize my raspi images so i dont have to do the same basic setup over and over again.

  • @reyanshkhobragade5822
    @reyanshkhobragade5822 3 ปีที่แล้ว +6

    That looks really cool, great video after all!

    • @mikehensley78
      @mikehensley78 3 ปีที่แล้ว +2

      yes it got me thinking about how i could use buildroot. my pi0w running my ADS-B "radar" might benefit from building a system that has only what it needs and nothing more.
      pretty cool.

    • @NovaspiritTech
      @NovaspiritTech  3 ปีที่แล้ว +2

      that would be really cool, not sure if they provide the source codes so you can compile

    • @ninline2000
      @ninline2000 3 ปีที่แล้ว

      @@mikehensley78 Are you using RTL-SDR for that?

    • @mikehensley78
      @mikehensley78 3 ปีที่แล้ว

      @@ninline2000 yes.

    • @ninline2000
      @ninline2000 3 ปีที่แล้ว

      @@mikehensley78 I bought one recently but haven't had time to fool with it yet. Too many toys, not enough time.

  • @stephenreaves3205
    @stephenreaves3205 3 ปีที่แล้ว

    This sounds a lot like Gentoo. I'm pretty excited

  • @EcceBestia
    @EcceBestia 3 ปีที่แล้ว

    Ooh! I can see lots of potential for this in vm or docker container environments. Is there any way to remove the R-Pi logos or replace them?

  • @Orion3000k
    @Orion3000k 9 หลายเดือนก่อน

    Incredible Insights.

  • @davocc2405
    @davocc2405 3 ปีที่แล้ว

    Would this produce a less cluttered OS build that would potentially see the targeted apps run faster (less CPU contention, etc.)?

  • @xamashee
    @xamashee 3 ปีที่แล้ว

    Champion!

  • @KristovMars
    @KristovMars ปีที่แล้ว

    Thanks for this! My project* needs a fast boot so Build Root sounds like the ticket.
    *Basically an "instant on" WP or text editor.

  • @GeorgeKGrace
    @GeorgeKGrace ปีที่แล้ว

    Great video! This is exactly what I was looking for.
    Here's what I need:
    1st - I need the most minimal possible configuration (OS) to be able to boot directly into a program upon booting up on a Raspberry Pi Zero W2, with no fancy start up logo or anything (or maybe a logo of the program I'm using created in ASCII characters? That would be cool).
    2nd - Being able to specify the screen resolution, is this possible? (I'm planning on using a 1280 x 400 display because that's what the program would use up on a full screen).
    3rd - To be able to fetch packages from the command line if necessary for updating and upgrading purposes (all I'm familiar with is using "sudo apt update / upgrade / search / install" to be able to search and install programs from a repository, I'm not even sure what all this process is called, or if it's dependent on a specific OS (Debian?) but I'd like the same experience if possible.
    I assume that if I wanted to achieve the above, I can compile an extremely light version of Linux using Buildroot, but I'm not sure what to select or not.
    Wouldn't I need the Raspberry Pi Zero's Wi-fi to be activated to be able to fetch the packages and updates? What to select then? Obviously, I would a terminal to type into, maybe a text editor to edit the config file of the program in question, but how about any dependencies related to the program I need to run (I know for sure it needs ncurses). Wouldn't I be able to build upon the initial settings if I can fetch and download the packages/dependencies once I'm "connected" to the repositories? This is all speculation, but that's why I'm reaching out.
    I want specifically to be able to run NetHack on text mode upon booting up on a Raspberry Pi Zero W2 in the fastest and most simple possible way.
    Do you think you (or anybody) can guide me in the right direction?
    Thank you.

  • @siriokds
    @siriokds 2 ปีที่แล้ว +1

    You can even remove initial logo, delay serial initialization and other tricks to speedup boot process.

  • @ThongThong
    @ThongThong 2 ปีที่แล้ว

    Thank you !

  • @rexjuggler19
    @rexjuggler19 3 ปีที่แล้ว

    Excellent

  • @harrytrueman4216
    @harrytrueman4216 3 ปีที่แล้ว

    Do you have any experience in installing a kanban board on pi?

  • @shaharil8560
    @shaharil8560 2 ปีที่แล้ว

    Hi..It is a very interesting video…may I know, the 5s is starting from power supply of RPi is switched ON or from text displayed on terminal? I have tried the steps for RPi 4 8Gb..but I still cannot get the boot time less than 15s...😀

  • @protonspeed
    @protonspeed 13 วันที่ผ่านมา

    Hey, hope you are doing well. I was trying to build a buildroot to simply stream a USB camera on HDMI. I have one error that I'm stuck to. /dev/video0 no such file or directory. Either I use vlc to capture, gstreamer , ffmpeg everywhere. I'm making this on my windows using wsl. Can you help me with this? Please 😊

  • @Pupek497
    @Pupek497 9 หลายเดือนก่อน

    How can I connect with ssh to the raspberry when I connect it to my computer with a lan cable?

  • @gurujr9904
    @gurujr9904 7 หลายเดือนก่อน

    what is the difference between the lite version of raspberry pi 4 - 64bit OS, and root (as above) ....... if they are the same we can as well go directly to Imager and build it with one click isnt it ?

  • @calebc6028
    @calebc6028 2 ปีที่แล้ว

    So I could use this to boot tuner studio?

  • @davidianmusic4869
    @davidianmusic4869 3 ปีที่แล้ว

    Wow, way to release all the bcm chips’s power on a single task. Is this a real time OS? Or maybe operate with few interrupts due to its lean-ness?

  • @ViperrKsa
    @ViperrKsa 2 ปีที่แล้ว

    If I want python program to run on buildroot, how I can install python libraries on buildroot?

  • @ariel-jc5ug
    @ariel-jc5ug 2 ปีที่แล้ว

    i would like to do it with a old pc , to play ads idk if this one can work

  • @ScottAshmead
    @ScottAshmead 3 ปีที่แล้ว

    This sounds a bit similar to gentoo... Could you possibly do a review on gentoo some day?

  • @sannithraomadhavaneni1179
    @sannithraomadhavaneni1179 ปีที่แล้ว

    I have copied the .img to a sd card and loaded it to rpi-4. But after booting , its asking me a login and password..Whats the issue?
    Please help!

  • @System64-Fumo
    @System64-Fumo 3 ปีที่แล้ว +2

    Ur starting to reach my speeds Don
    Im impressed

  • @cornjulio4033
    @cornjulio4033 3 ปีที่แล้ว

    Thank you very much ! I wanted to understand how to do this for years.
    Dou you think it would be possible to compose a buildroot, and still make it boot over USB (SSD) ? It's possible with a normal Raspbian.

  • @mydisk2859
    @mydisk2859 3 ปีที่แล้ว

    New Hackintosh, When is macos big sur(arm) on raspberry pi video coming ?

  • @seerampraveenkalyan5446
    @seerampraveenkalyan5446 3 ปีที่แล้ว

    And by the way I love your videos

  • @juggalotuz04
    @juggalotuz04 3 ปีที่แล้ว

    I have the smartipi housing and pi screen, it's awesome

  • @pikachuchujelly7628
    @pikachuchujelly7628 ปีที่แล้ว

    Buildroot is so useful for projects that don't require a full blown desktop OS like Raspbian. The boot times and memory savings are unreal!

    • @gurujr9904
      @gurujr9904 7 หลายเดือนก่อน

      what is the difference between the lite version of raspberry pi 4 - 64bit OS, and root (as above) ....... if they are the same we can as well go directly to Imager and build it with one click isnt it ?

  • @keerthanam342
    @keerthanam342 2 ปีที่แล้ว

    howmuch time takes mke -j8 command

  • @Ryukachoo
    @Ryukachoo 2 ปีที่แล้ว +1

    Possible use case; rPi dash for car projects? For situations like that you really need under 6 seconds boot

    • @nathanchalecki4842
      @nathanchalecki4842 ปีที่แล้ว

      Exactly what I am thinking- unfortunately the learning curve is too steep for someone like me hahaha

  • @Sam-vw2be
    @Sam-vw2be ปีที่แล้ว

    I'm looking forward to doing that on Open Auto Pro

  • @TheTechieScientist
    @TheTechieScientist 3 ปีที่แล้ว +1

    Nice video , can you give links for that 8-inch monitor , I am looking to buy one for my pi 400

    • @NovaspiritTech
      @NovaspiritTech  3 ปีที่แล้ว +1

      th-cam.com/video/um24IYrADdA/w-d-xo.html

  • @BartekSzzz
    @BartekSzzz 3 ปีที่แล้ว

    Hello Novaspirit Tech! What about TinyCore disto? It's also small and fast, maybe you would show off this basic distro with Internet browser only? Some kind of Kiosk/Thin Client build on RPI, what do you think?

    • @pikachuchujelly7628
      @pikachuchujelly7628 ปีที่แล้ว

      Tiny Core boots lightning fast and is great for a kiosk scenario, though the packages are a bit lacking, and you have to install the WiFi packages manually, which can be a pain.

  • @mradaChris
    @mradaChris 3 ปีที่แล้ว +2

    I gave up a long time ago to get the boot up times for raspberry pi 3 to go faster. 5 seconds is much better than what I've seen in the past. But I still think it takes too long to boot up.

    • @pikachuchujelly7628
      @pikachuchujelly7628 ปีที่แล้ว

      A lot of that is due to initializing drivers. You can cut out drivers for hardware (like ethernet or Bluetooth) that you're not using in the kernel config to make it boot even faster.

  • @srivastavanurag99
    @srivastavanurag99 ปีที่แล้ว

    thanks

  • @TheGroovebot
    @TheGroovebot 3 ปีที่แล้ว

    Perhaps you could make one for the Pi Zero W with a Mumble client and contact Andreas Spiess?

  • @seerampraveenkalyan5446
    @seerampraveenkalyan5446 3 ปีที่แล้ว

    Please answer my question cause I am the one who uses raspberry Pi 4 as a desktop and I have totally coustomised my Pi by watching your videos please help me with the question.

  • @seerampraveenkalyan5446
    @seerampraveenkalyan5446 3 ปีที่แล้ว

    After installing the gnome software in raspberry Pi os then I lost the add and remove software. In gnome you suggest for snapd and flattap but there are not more software available than add and remove software. So please help me with something to do.

    • @NovaspiritTech
      @NovaspiritTech  3 ปีที่แล้ว +1

      if you installed gnome on top of raspberry pi OS then you shold still have the default add and remove programs in there that came with rpi os, i forgot the name of the software and i can check later but should still be in there. if not you can always install synaptic

    • @seerampraveenkalyan5446
      @seerampraveenkalyan5446 3 ปีที่แล้ว

      Thank you very much 🥰

    • @seerampraveenkalyan5446
      @seerampraveenkalyan5446 3 ปีที่แล้ว

      Yeah I searched for the default add and remove software but it is not showing up that's why I asked you. I will check again and if not I will go with synaptic. And thank you again 🥰😊.

  • @dimitris99880
    @dimitris99880 3 ปีที่แล้ว +1

    Does he have a video on the linux distribution that he uses? Its pretty cool with that cpu monitoring and windows style task bar.

    • @NovaspiritTech
      @NovaspiritTech  3 ปีที่แล้ว +3

      yup th-cam.com/video/8mdLR6s05mk/w-d-xo.html

    • @dimitris99880
      @dimitris99880 3 ปีที่แล้ว +1

      @@NovaspiritTech thanks!

  •  3 ปีที่แล้ว

    How does sd card speed affect the time? Or is it so small it is all read to RAM once?

    • @NovaspiritTech
      @NovaspiritTech  3 ปีที่แล้ว +2

      the sd card speeds does effect it veery slightly, when using a class 10 i was getting about 6~7 second boot vs using uhd 1 was getting the speeds you see, about 5 seconds

    •  3 ปีที่แล้ว +1

      Thanks for the answer and effort you put into your videos.

  • @mauisam1
    @mauisam1 3 ปีที่แล้ว

    You said something that really peaked my interest... That this the Build Root could be used as a wireless access point. WiFi is not very good and the ends of my house. I have tried extenders but they have a second WiFi name and when family comes to visit it is always confusing which WiFi to select. My house looks kinda like |____ , in which the internet and (my office) is in the left bottom corner. But the other ends of the house have very bad WiFi signals to them. I looked in to many solutions but being frugal person that I am I was not thrilled at there price. It sounds like you could use a Raspberry PI-W as an access point. Could you do a video where you connect three (or more) of them as access points? If the Zero can be used as an access point it would be a very low cost solution that could be in every room of the house. Thanks for your hard work.

    • @NovaspiritTech
      @NovaspiritTech  3 ปีที่แล้ว +3

      i'm actually working on a video for using ESP12 as mesh networks to expand the converge of wifi around my house. that is a much cheaper solution and covers more area.

    • @mauisam1
      @mauisam1 3 ปีที่แล้ว

      @@NovaspiritTech Can't wait for that video! It will be interesting to see if the ESP12 can handle the high speed network traffic, as in streaming 4k video. Thanks again.

  • @orionriker
    @orionriker 3 ปีที่แล้ว

    What linux os you use on your computer? Is it ubuntu?

    • @NovaspiritTech
      @NovaspiritTech  3 ปีที่แล้ว

      yes, i made a video on this setup th-cam.com/video/8mdLR6s05mk/w-d-xo.html

  • @snakeblood913games3
    @snakeblood913games3 3 ปีที่แล้ว +1

    Forgot you could make your own OS for the RPi lol

  • @armandomiguelcerasoli2610
    @armandomiguelcerasoli2610 หลายเดือนก่อน

    And what is the buildroot default login username and password?

  • @jean-francoiskohl8950
    @jean-francoiskohl8950 3 ปีที่แล้ว

    Hi,
    Thank you for this video.
    I try to make a build for raspberrypi0w and when i write the command make menuconfig i get an error like this:
    unable to find the ncurses libraries or the required header files.
    Have you an idea to solve this problem ?

    • @jean-francoiskohl8950
      @jean-francoiskohl8950 3 ปีที่แล้ว

      Hello, I'm doing the questions and answers! lol
      You have to install the library by passing the command
      sudo apt-get install libncurses5-dev
      and repeat make menuconfig
      am I right ?

    • @NovaspiritTech
      @NovaspiritTech  3 ปีที่แล้ว

      Yup

    • @alexmaya124
      @alexmaya124 2 ปีที่แล้ว +1

      @@jean-francoiskohl8950 thanks for your help, also you need a C++ compiler to build GCC: sudo apt -get install g++

  • @MrFaaaaaaaaaaaaaaaaa
    @MrFaaaaaaaaaaaaaaaaa 3 ปีที่แล้ว +1

    I'm running openHD and it takes 90 seconds to boot up lol

  • @KaranveerSingh97
    @KaranveerSingh97 ปีที่แล้ว

    Yocto takes a while to compile.... I was surprised when you said 15 minutes... Lol

  • @kkrt000
    @kkrt000 3 ปีที่แล้ว

    Just FYI
    Alpine Linux loads just as fast on RPIs, but its fully functional Linux, i would recommend it instead :)

    • @NovaspiritTech
      @NovaspiritTech  3 ปีที่แล้ว

      yea i heard about that, i have not tried it yet.

  • @jesusochoa6616
    @jesusochoa6616 2 ปีที่แล้ว

    HI! can i check my sdcard.img on virtualbox?

    • @pikachuchujelly7628
      @pikachuchujelly7628 ปีที่แล้ว

      No, but qemu can emulate a Raspberry Pi if you need quick testing.

  • @arnovije
    @arnovije 3 ปีที่แล้ว

    Thanks for sharing! Was looking for something like this :)
    Anyone knows if/how this can be made readonly so the SD-card will still function after a couple of months?

    • @NovaspiritTech
      @NovaspiritTech  3 ปีที่แล้ว

      yes it is possible to set to read only after boot

    • @jyvben1520
      @jyvben1520 3 ปีที่แล้ว +1

      does that system log anything, if not no wear on the sd card,
      if it does like most linux systems then maybe add a ram drive/usb drive and log to that.

    • @NovaspiritTech
      @NovaspiritTech  3 ปีที่แล้ว +1

      i agree, if you need system logs then you will need to link the logs folder to ram

    • @arnovije
      @arnovije 3 ปีที่แล้ว

      @@NovaspiritTech Great! Will give it a spin 👌

    • @arnovije
      @arnovije 3 ปีที่แล้ว

      @@jyvben1520 Thanks for the pointer. I remember vaguely that Busybox has a ram-syslog-thing. Going to check it out 💪😎

  • @ScottPlude
    @ScottPlude 3 ปีที่แล้ว

    I would like to support you but I heard youtube takes a big portion of the money you get. do you take paypal? they give you all the money.

    • @NovaspiritTech
      @NovaspiritTech  3 ปีที่แล้ว

      haha thank you, watching and share is more then enought, but if your interested i do have patreon which is much better then youtube payouts

  • @smartassist9700
    @smartassist9700 3 ปีที่แล้ว

    What benefit does it have? I hear none! Explain.

  • @absmustang
    @absmustang 3 ปีที่แล้ว

    I don't think you hit that Enter key hard enough.
    Funny: TH-cam went to commercials right after you smacked the enter key and fast forward lines appeared on screen. It looked as if you had broke your own video.

  • @dabutler44
    @dabutler44 3 ปีที่แล้ว

    Is modbros built with this?

    • @NovaspiritTech
      @NovaspiritTech  3 ปีที่แล้ว

      no, but i did suggest it to the developer, who knows maybe he will implement it in the future

  • @valshaped
    @valshaped 3 ปีที่แล้ว

    Buildroot pi-kvm? :P

  • @desmondsparrs
    @desmondsparrs ปีที่แล้ว

    could I use ths to create a gentoo-chroot that i can run on any android-device#

  • @gigger-nigga
    @gigger-nigga 3 ปีที่แล้ว +1

    lmao gentoo boots up in 3 secs

  • @casianreport3318
    @casianreport3318 2 ปีที่แล้ว

    set to static, get rid of dhcp

  • @seerampraveenkalyan5446
    @seerampraveenkalyan5446 3 ปีที่แล้ว

    Hi plese check out the minecraft server on raspberry Pi 4 which runs minecraft on Rpi 4 using pinecraft and it runs very smooth please check out and I hope you make a video on it.

  • @wcalera
    @wcalera 2 ปีที่แล้ว

    I would be better if it was a link to built image : -\

  • @amalirfan
    @amalirfan 3 ปีที่แล้ว

    hi

  • @ishanmadhuranga7947
    @ishanmadhuranga7947 3 ปีที่แล้ว +2

    First XD

  • @hammershigh
    @hammershigh 3 ปีที่แล้ว

    Terrible sound...

    • @ahoj113
      @ahoj113 3 ปีที่แล้ว

      no u