OpenWRT Plug Computer Distribution

From PlugWiki

Jump to: navigation, search

Contents

Creating a OpenWRT image for SheevaPlug

Requirements

  • A Linux Operating System, with git and gcc (probably other tools)
  • A working Console Connection

Compiling

Check out the sources:

$ git clone git://nbd.name/openwrt.git

Modify config-default using the sheeva.with-linux kernel settings:

$ cd openwrt
$ cd target/linux/kirkwood/

For the build from Kamikaze, use the 2.6.30.9 version as it is closer to what we need:

$ mv config-default config-default.orig
$ wget http://sheeva.with-linux.com/sheeva/2.6.30.9/sheeva-2.6.30.9.config 
$ mv sheeva-2.6.30.9.config config-default

Go back to the top level and issue make menuconfig:

$ cd ../../..
$ make menuconfig

Only the next two settings are required:

  • Target: Kirkwood
  • Target Image: Ramdisk

Select your settings, issue make. The resulting uImage will be placed under the bin directory, and it works fine on uBoot, using either tftp and usb from a flash disk.

References

Personal tools