Tux
Communication
Mailing lists
Documentation
User Manual
Target board info.
Target chip info.
Support
Linux support
Bugzilla
Downloads
STLinux
Updates
Search
Google


The web
stlinux.com
Getting Started
Booting the Kernel
Old style st40load
ST Logo
  Contents   Next

Versions of st40load upto and including 0.06 have a much simpler interface, which requires passing all parameters on the command line. (The old version also uses very simple .poke files to set up any target registers prior to downloading the kernel.)

As the number of options which has to be passed in is quite large, we recommend that you write a small shell script, similar to the one below:

#!/bin/sh

JEIIP=jei3              # Name or IP address of the JEI/HTI
TARGETIP=10.0.0.56      # IP address to be given to the target
SERVERIP=10.0.0.96      # IP address of your NFS server
GWIP=10.0.0.1           # IP address of your network gateway
NETMASK=255.255.255.0   # Local network subnet mask
AUTOCONF=off		# Try to determine addresses automatically?

st40load \
        -t $JEIIP -m $ST40ROOT/pokes/overdrive.poke \
        /opt/hardhat/devkit/sh/sh4/target/boot/vmlinux-overdrive \
        console=ttySC0 root=/dev/nfs \
        nfsroot=$SERVERIP:/opt/hardhat/devkit/sh/sh4/target \
        ip=$TARGETIP::$GWIP:$NETMASK:target::$AUTOCONF \
        mem=32m
  Contents   Next
Valid HTML 4.01! Last updated: 2002/08/02 18:44:07
© Copyright STMicroelectronics Limited, 2005
Printer