StarGate

Installing a new Image and Booting

Connect the StarGate to a serial console like you would an iPAQ.

  1. Hold down a key (I like to use backspace since then I don't have to backspace over the garbage I type in) to get into the bootloader.
  2. Make three new partitions, params, kernel, and root:

    partition params 0x00040000 0x00040000 0
    partition kernel 0x00080000 0x000C0000 0
    partition kernel 0x00140000 0x01EC0000 16
    partition save

    At the end of this exercise, you should have the following partitions:

    boot> partition show
    npartitions=00000004
    bootldr
      base: 00000000
      size: 00040000
       end: 00040000
     flags: 00000002
    params
      base: 00040000
      size: 00040000
       end: 00080000
     flags: 00000000
    kernel
      base: 00080000
      size: 000C0000
       end: 00140000
     flags: 00000000
    root
      base: 00140000
      size: 01EC0000
       end: 02000000
     flags: 00000010
  3. Reinstall the bzImage and root.jffs2 via the serial console:

    load kernel
    load root
  4. Set the linux arguments to boot off of the third (root) partition:

    set linuxargs root=/dev/mtdblock3 console=ttyS0,115200

Networking

Wireless Networking with a CF or PC Card

The wireless card in the CF slot is recognized as a PC Card, so it is configured through the PCMCIA networking configuration rather than editing the /etc/network/interfaces file. Setting up Wireless from Acroname has decent instructions for setting up and ad-hoc network. Below are the instructions for setting up on an infrastructure network.

  1. Figure out the MAC address of the kind of card you're using. We only need the company part of the MAC address, the first three bytes. For Ambicom cards, use 00:10:7A.
  2. Edit /etc/pcmcia/wireless.opts:

    1. Comment out the lines that look like this:

       *,*,*,*)
           ;;
      
      This is a catch-all configuration section, which will catch before out card's configuration section.
    2. Add a section that looks like this:

      *,*,*,00:10:7A:*)
              ESSID="StataCenter"
              MODE="Managed"
              ;;

      If you're not using an Ambicom card, substitute your own MAC Address fragment.

Troubleshooting

If you can only get networking on the local subnet, run ifconfig and see what the MAC address of the network card is. And address of all 0s won't work beyond the subnet, so find the card's actual MAC and do the following:

ifdown eth0
ifconfig eth0 hw ether MA:CA:DD:DD:RE:SS
ifup eth0

where MA:CA:DD:DD:RE:SS is your card's actual MAC.

Booting Familiar

  1. Load famliar into the root partition.
  2. Set the linuxargs:

    set linuxargs noinitrd root=/dev/mtdblock1 init=/linuxrc console=ttySA0
  3. To make the thing boot off of the Familiar image, you need to set the following parameters:

    bootldr: set boot_type "jffs2"
    bootldr: set autoboot_kernel_part "root"
    bootldr: set linuxargs "root=/dev/mtdblock2 console=ttyS0"
    bootldr: set loadmethod "serial"
    bootldr: set boot_flags 0x00000004
    bootldr: set enable_mmu 1

last edited 2005-08-02 21:49:00 by JustinMazzolaPaluska