bifferboard

Recent site activity

OpenWrt svn


Root File System

First checkout the latest version from OpenWrt svn:

$ svn co svn://svn.openwrt.org/openwrt/trunk/
$ cd trunk

Configure for a platform fairly close to the Bifferboard - WL-153 will do:

$ make menuconfig

- Choose Target System -> RDC321x
- Choose Target Profile -> Sitecom WL-153
- Choose Target Image -> tgz (you can deselect the other ones)
- Remove some other packages like ppp, firewall etc... if you want the compilation to run quicker.
- Now exit and save the configuration

$ make V=99

After some time, you should find the rootfs tarball appears at bin/openwrt-rdc-rootfs.tgz.

You can decompress this rootfs onto a USB stick, however there are a couple of things you need to do before it will boot and give you a login terminal.

It probably makes sense to use ext3 for the file system:

$ mkdir t
$ mkfs.ext3 /dev/sdXX
$ mount /dev/sdXX t
$ cd t
$ tar xvf ../bin/openwrt-rdc-rootfs.tgz

Replace XX with the device and partition of you media (like, /dev/sda1, or /dev/sdd1 etc). If your linux install use SATA disk(s), be wary that the /dev/sda, /dev/sdb etc might be your system disk(s)... check the command "dmesg" output to know your card reader or usb stick device names.
 
You also need to make some device nodes:

$ mknod dev/console c 5 1
$ mknod dev/null c 3 1
$ mknod dev/ttyS0 c 4 64

That's it!  Your rootfs has been created, next you need to create a suitable kernel.

Kernel