Documentation : Hardware | Software | Tutorials    Wardrobe : Jackets | Applications
Papers : Notes | Proposals | Research    Administration : Stock | Minutes | Progress

Making Bitsy Kernels and Ramdisks

Changing the ramdisk and the kernel involves three steps:

Making a ramdisk

Firstly, checkout a copy of the repository into your filespace. The Ramdisk module contains the filesystem for the Bitsy. Create a bin directory at the root of your CVS tree and add this to your $PATH. Cd into Utilities/Filesystem and do a 'make install'. This will install the scripts into your new bin directory.

Gotcha #1: Certain types of files don't exist very well within CVS so this file-system is not complete. Cd into the Ramdisk directory and type:

    make Slash/tmp
This will add the missing files to your copy (don't then do a cvs add on them as they are not meant to be stored in the repository). If you now perform a make in this directory it will turn the directory tree under Slash into a filesystem and zip it up for you. This is performed using the script makeFileSystem which can be called by hand (without any arguments it will give you usage info).

If you don't want to make your own kernel, you can load the file flash from http://www.cs.bris.ac.uk/Research/MobileWearable/Download/flash

Making a kernel

In order to make a kernel you will have to download a linux kernel, set it up (follow the instructions on http://www.applieddata.net/developers/linux/, you may want to incorporate the local patches), and type
    make zImage
The file arch/arm/boot/zImage will contain your kernel image. If you don't fancy making your own kernel, you can get one from the repository by going to the root of your CVS tree and typing
    make getkernel
This will pull the latest kernel from the website into your cvs root as kernel.gz. It is given a .gz extension because the makeBurnCard script expects one on the kernel image.

Flashing a Bitsy

The easy way

Put your ramdisk and or kernel on the web somewhere and load them using the Loadflash utility. This will only work if your board has a working network.

The harder way

If your card does not have a working network card, then you will need to flash the bitsy using an ATA flash card. Use a flash card, go to the root of your CVS directory and type
    make burncard
AMOSS DOES THAT WORK??? This will call the makefile in the Ramdisk module to ensure that the ramdisk.gz image is up-to-date and then call makeBurnCard for you. Ensure that there is a compactFlash card in waihona ready to receive it otherwise you will end up with your files written into the mount-point directory when it fails to mount. NOTE: The Bitsy won't recognise cards larger than about 10Mb so make sure you use one of these:
Example flashcard
This page last updated June 26, 2002
The material displayed is provided 'as is'. Contents may not be reused without prior permission.
For problems or questions regarding this web contact Cliff Randell.