Skip to content

This is a record of building a custom OS for RaspberryPi4 using buildroot

Notifications You must be signed in to change notification settings

bso-d/BuildrootRaspberryPi4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BuildrootRaspberryPi4

This is a record of building a custom OS for RaspberryPi4 using buildroot

Buildroot is a tool used to generate embedded system operating system through cross compilation

  1. Clone the buildroot repository by entering the following command

    git clone git://git.buildroot.net/buildroot
  2. Once the cloning is done, there will be several folders in the buildroot directory. Search for "board" folder and navigate using terminal.

     cd board
       ls 

    alttext

  3. Ensure the board you are building the OS for exists and is being supported.

  4. Further naviagte back to /buildroot directory and make the default config file for the <board name> specific board

    make raspberrypi4_64_defconfig
  5. After the default configuration is done, its time to install extra modules necessary for implementation based on the requirement of the application. To do thi, we use the configuration menu that buildroot allows to use by entering the following command.

    make menuconfig

    Select the modules and tools needed by pressing space (a star appears on the left on the selected element) and exit. A prompt pops up when exiting the menu to save the config setting, Hit Enter on Yes to save the config settings.

  6. The default configuration is built and necessary tools and modules have been added. Its time to make the image by entering the following command.

    make -j8

    This process takes time and is based on the processor of your computer. A faster processor might complete the task in 15 mins and a slower might take upto an hour.

About

This is a record of building a custom OS for RaspberryPi4 using buildroot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published