Skip to content

smcgroty/octoprint-buildroot

 
 

Repository files navigation

NOTE: NEITHER UPSTREAM NOR THIS REPO CURRENTLY WORK. THIS IS A WORK IN PROGRESS.

Initialization

  1. Download and unpack buildroot
  2. Download and unpack octoprint-buildroot
  3. cd into the buildroot directory and run
$ make BR2_EXTERNAL=/path/to/octoprint-buildroot `TARGET`

TARGET can be any build option supported by Buildroot. Examples for Raspberry Pi are below

  • raspberrypi3_defconfig : Raspberry Pi 3/3B/CM3
  • raspberrypi0w_defconfig: Raspberry Pi Zero W

Buildroot configuration

TODO: include this configuration automatically

  1. cd into the buildroot directory
  2. Run make menuconfig
  3. Select the following options:
    System configuration --> Path to the users table --> /path/to/octoprint-buildroot/board/raspi/octoprint/users
    System configuration --> Root filesystem overlay directories --> /path/to/octoprint-buildroot/board/raspi/octoprint/rootfs-overlay
    Toolchain --> Enable WCHAR support
    Target packages --> Interpreter languages and scripting --> Python
    External options --> OctoPrint --> octoprint
  4. Save and exit
  5. Run make

Once the build is finished, write the sdcard.img file in output/images to an SD card using dd or other option of your choice.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 100.0%