Buildroot configuration for building a custom rootfs for KeyASIC WifiSD based cards.
Go to file
Dan Krause fe932eeebb Merge pull request #12 from hillct/master
Add RHEL/Centos docs, move to wpa_supplicant v2.0 and fix /etc bug
2013-12-03 07:23:38 -08:00
board/wifisd Automate /etc workaround for: https://github.com/dankrause/kcard-buildroot/issues/4 2013-11-30 11:24:18 -05:00
configs Moved to wpa_supplicant v2.0 built via buildroot, removing wpa_supplicant from fs_overlay 2013-11-30 10:21:38 -05:00
LICENSE Initial commit 2013-10-02 20:00:57 -07:00
README.md Add RHEL/Centos buildroot dependency install docs 2013-11-29 11:24:49 -05:00

README.md

kcard-buildroot

Buildroot configuration for building a custom rootfs for KeyASIC WifiSD based cards. This does not currently build a kernel, but that is planned. Check the releases section for pre-built images that are ready to use immediately.

To build your own image on Ubuntu/RHEL/Centos derivatives:

# install buildroot dependencies (this list may be incomplete - contributions welcome)
# Using apt-get:
sudo apt-get install build-essential bison flex gettext libncurses5-dev texinfo autoconf automake libtool
# OR using Yum:
sudo yum install subversion make gcc ncurses-devel bison flex gawk bc vim-common

# download and extract buildroot 2013.08.1
wget http://buildroot.uclibc.org/downloads/buildroot-2013.08.1.tar.bz2
tar -xf buildroot-2013.08.1.tar.bz2

# clone kcard-buildroot
git clone https://github.com/dankrause/kcard-buildroot.git

# create symlinks from buildroot to kcard-buildroot
ln -s ../../kcard-buildroot/board/wifisd buildroot-2013.08.1/board/wifisd
ln -s ../../kcard-buildroot/configs/wifisd_defconfig buildroot-2013.08.1/configs/wifisd_defconfig

# start working with buildroot
cd buildroot-2013.08.1

# tell buildroot to start using the buildroot conf file that comes with kcard-buildroot
make wifisd_defconfig

# build a rootfs
make

Once the build is complete, you should have an image (output/images/initramfs3.gz) ready for writing to your device. You still need to grab the kernel from Dmitry Grinberg if you haven't already.