Skip to content

Buildroot configuration for building a custom rootfs for KeyASIC WifiSD based cards.

License

Notifications You must be signed in to change notification settings

nicoinn/kcard-buildroot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Buildroot configuration for building a custom rootfs for KeyASIC WifiSD based cards.

Resources

License

Stars

Watchers

Forks

Packages

No packages published