-
Notifications
You must be signed in to change notification settings - Fork 46
Home
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
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 output/images/rootfs.squashfs
.
Disk space needed for build (December 2012): 400 MB in downloads (dl/
), 5 GB in build results (output/
).
It has been reported that building in a directory path containing spaces will fail, so please avoid spaces in directory names.
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:
/media/system/update_r.bin
Then reboot the GCW0.