3 by Davidm McCullough <davidm@snapgear.com>
8 Before you can compile the Linux kernel, libraries and applications to
9 generate a Soekris/NET4801 image you must install an appropriate compiler
10 tool chain. You should use the i386-linux tool chain that accompanies
11 this source distribution (the i386-linux-XXXXXXXX.tar.gz package). To
12 install this toolchain do:
16 3. tar xvzf i386-linux-XXXXXXXX.tar.gz
18 This package contains binaries of the following tools:
24 2. Building the Source
26 Follow these simple steps to compile Compact Flash images ready to load
27 and run on the Soekris net4801 board:
29 1. tar xvzf uClinux-dist-XXXXXXXX.tar.gz
33 . Choose the "Vendor/Product Selection" menu item
34 . Select Soekris as the "Vendor"
35 . Scroll down to the "Soekris Products" and select net4801
36 . scroll to the bottom and select "Main Menu".
37 . Choose the "Kernel/Library/Defaults Selection" menu item
38 . Select "linux-2.4.x" as the kernel
39 . Select "glibc" or "uClibc" as the library
40 . scroll to the bottom and select "Main Menu".
41 . Select "Save and Exit" this configuration
46 . The make process will ask for the root password when required to
47 build the images. You will need ext3 and romfs support in your
48 kernel as well as loopback device support.
50 The make process will build everything, kernel, libraries and
51 applications and package it ready to copy onto a Compact Flash.
53 Currently only 64MiB and 128MiB images are generated, but adding more
54 images is simply a matter of editing the vendors/Soekris/net4801/Makefile
55 and adding the image names and parameters. Search for "extimage-64MB"
56 to find the appropriate parts.
58 3. Making a bootable Compact Flash
60 This is relatively simple if you have a Compact Flash reader/writer on
61 your linux box. Just uncompress and "dd" the image onto the copact
62 flash. Depending on your setup something like this should work:
64 gunzip < images/net4801-CF-64MB.img.gz | dd of=/dev/sda bs=1024k
66 Then insert the Compact Flash into the board and power it up. The
67 console should appear at 19200. The password for "root"
70 4. Customizing the Build
72 Using "make xconfig" in uClinux-dist you can customize the kernel and
73 application configurations. There is a large selection of packages in
74 the application configuration.
76 Consult the README file at the top level of uClinux-dist for some more
77 information about configuration and building.
81 You can upgrade the image in the Soekris over the network by running the
84 netflash -i <ip-of-tftp-server> net4801-CF-XXXMB.img.gz
86 Which is much faster than using "dd" to the Compact Flash.