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.
  • Наука та технологія

КОМЕНТАРІ • 113

  • @cernejr
    @cernejr 3 роки тому +9

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

  • @llortaton2834
    @llortaton2834 3 роки тому +4

    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.

  • @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!

  • @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

  • @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.

  • @FrankGraffagnino
    @FrankGraffagnino 3 роки тому

    great video. new tool in the toolbelt!

  • @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.

  • @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

  • @edgecrush3r
    @edgecrush3r 3 роки тому

    Great as Always! many thanks.

  • @siriokds
    @siriokds 2 роки тому +1

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

  • @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.

  • @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 8 місяців тому

    Incredible Insights.

  • @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...😀

  • @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?

  • @davocc2405
    @davocc2405 3 роки тому

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

  • @juggalotuz04
    @juggalotuz04 3 роки тому

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

  • @ScottAshmead
    @ScottAshmead 3 роки тому

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

  • @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.

  • @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 6 місяців тому

      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 ?

  • @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.

  • @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

  • @Sam-vw2be
    @Sam-vw2be 11 місяців тому

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

  • @mydisk2859
    @mydisk2859 3 роки тому

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

  • @System64-Fumo
    @System64-Fumo 3 роки тому +2

    Ur starting to reach my speeds Don
    Im impressed

  • @harrytrueman4216
    @harrytrueman4216 3 роки тому

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

  • @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

  • @ThongThong
    @ThongThong 2 роки тому

    Thank you !

  • @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.

  • @gurujr9904
    @gurujr9904 6 місяців тому

    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 ?

  • @Pupek497
    @Pupek497 8 місяців тому

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

  • @rexjuggler19
    @rexjuggler19 3 роки тому

    Excellent

  • @TheGroovebot
    @TheGroovebot 3 роки тому

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

  • @xamashee
    @xamashee 2 роки тому

    Champion!

  • @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.

  • @ViperrKsa
    @ViperrKsa 2 роки тому

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

  • @calebc6028
    @calebc6028 2 роки тому

    So I could use this to boot tuner studio?

  • @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.

  • @sannithraomadhavaneni1179
    @sannithraomadhavaneni1179 11 місяців тому

    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!

  • @ariel-jc5ug
    @ariel-jc5ug 2 роки тому

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

  • @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 роки тому

    And by the way I love your videos

  • @snakeblood913games3
    @snakeblood913games3 3 роки тому +1

    Forgot you could make your own OS for the RPi lol

  • @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 ua-cam.com/video/8mdLR6s05mk/v-deo.html

  • @srivastavanurag99
    @srivastavanurag99 Рік тому

    thanks

  • @KaranveerSingh97
    @KaranveerSingh97 Рік тому

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

  • @keerthanam342
    @keerthanam342 2 роки тому

    howmuch time takes mke -j8 command

  •  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.

  • @MrFaaaaaaaaaaaaaaaaa
    @MrFaaaaaaaaaaaaaaaaa 3 роки тому +1

    I'm running openHD and it takes 90 seconds to boot up 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.

  • @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 💪😎

  • @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 🥰😊.

  • @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++

  • @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

  • @armandomiguelcerasoli2610
    @armandomiguelcerasoli2610 2 дні тому

    And what is the buildroot default login username and password?

  • @absmustang
    @absmustang 3 роки тому

    I don't think you hit that Enter key hard enough.
    Funny: UA-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.

  • @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.

  • @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.

  • @gigger-nigga
    @gigger-nigga 2 роки тому +1

    lmao gentoo boots up in 3 secs

  • @smartassist9700
    @smartassist9700 3 роки тому

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

  • @casianreport3318
    @casianreport3318 2 роки тому

    set to static, get rid of dhcp

  • @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

  • @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...

  • @desmondsparrs
    @desmondsparrs Рік тому

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