Skip to content

How To generate images and rootfs using Buildroot for BeagleBone-Black

Notifications You must be signed in to change notification settings

PranabNandy/buildroot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

How To generate images and rootfs using Buildroot for BeagleBone-Black

Step 1: Download source and extract file

I'm using version buildroot-2017.05

https://buildroot.org/downloads/
tar xfv buildroot-2017.05.tar.gz

Step 2: Clean all the previously compiled/generated object files

make distclean

Step 3: Apply board default configuration

make beaglebone_config

Step 4: If you want to do any settings other than default configuration

make menuconfig

You can refer to how I configure the following:

  • 1.Target option (not configure)

  • 2.Build option (not configure)

  • 3.Toolchain:

    • Toolchain: Linaro 6.4.1 Screenshot from 2020-09-02 22-00-49
  • 4.System configuration: Screenshot from 2020-09-02 22-01-33

  • 5.Kernel:

    • Defconfig name (v4.11.3) → omap2plus
    • Loadaddress: 0x80008000
    • Device tree source: am335x-boneblack Screenshot from 2020-09-02 22-01-50
  • 6.Target packages: (you can enable function if you need, Ex: ssh (openssh),..)

  • 7.Filesystem images (not configure)

  • 8.Bootloaders:

    • Build system: Kconfig
    • U-boot version: 2017.03
    • Board defconfig: am335x_boneblack Screenshot from 2020-09-02 22-02-19
  • 9.Host utilities (not configure)

  • 10.Legacy config options (not configure)

Step 5: Generate (about 15~20 min)

make -j4

Note: j4 (4 core machine) will instructs the make tool to spawn 4 threads
You can find number of cores your CPU have

cat /proc/cpuinfo | grep processor | wc -l

After generated, move to /output/images

Screenshot from 2020-09-02 21-59-42

Step 6: Copy file into SD card or anything can boot

sudo cp uImage u-boot.img amx335x-boneblack.dtb MLO /media/neko/BOOT
sudo tar -xf rootfs.tar -C /media/neko/ROOTFS

About

How To generate images and rootfs using Buildroot for BeagleBone-Black

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published