Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Buildroot will check if any required packages are missing.
Note that we include luajit in the rootfs and the luajit build requires a 32-bit host compiler to be installed, including 32-bit libc development files. I don't know what kind of trickery they're doing, but that's the way it is (mid-2014).
To install all dependencies at once:
apt-get install bzr bison flex gettext texinfo wget cpio python unzip mercurial subversion libncurses5-dev libc6-dev-i386
Building the toolchain and rootfs
git clone git://github.com/gcwnow/buildroot.git cd buildroot make gcw0_defconfig make
When the build is done, you can find the toolchain under
output/host/usr/ and the rootfs as
Disk space needed for build (December 2012): 400 MB in downloads (
dl/), 5 GB in build results (
It has been reported that building in a directory path containing spaces will fail, so please avoid spaces in directory names.
Updating the rootfs on your GCW0
First, make sure the system partition is mounted on your Zero. See the kernel wiki for instructions.
Rename the rootfs as "update_r.bin" and copy it to the root of the system partition of the GCW0. The exact location to place the rootfs:
Then reboot the GCW0.