Hspa-stick

From Openmoko

Revision as of 18:42, 7 August 2008 by Timo (Talk | contribs)

Jump to: navigation, search

Just for clarification freerunner do not support HSPA.

Here i will describe a way to get a HSPA USB stick working with the Freerunner. ( Tested with the Novatel MC950D )

Problem at installation was that the HSPA-Stick register a virtual cdrom drive if attached to usb host. Freerunner do not have installed UDF-filesystem modules so you have to comile that on you own. (Yes i know the virtual cdrom drive is useless because there are only windoof and osx drivers but you have to eject the cdrom to get a serial<->usb converter working.

1. Install crosscompile environment http://wiki.openmoko.org/wiki/Toolchain

2. on the phone:

opkg info kernel
Package: kernel
Version: 2.6.24_2.6.24+git27+1a95efdc23966343a3b432ceef2f6c24dc0e2052-r2
Depends: kernel-2.6.24
Status: install ok installed
Architecture: om-gta02
Installed-Time: 1217369038

copy the git serial number: 1a95efdc23966343a3b432ceef2f6c24dc0e2052

on host:

git clone git://git.openmoko.org/git/kernel.git linux-2.6
git checkout 1a95efdc23966343a3b432ceef2f6c24dc0e2052

after download go to the directory created and execute following commands:

Download .config file for installed kernel. (Hmm plz can someone add this info) search the line: CONFIG_UDF_FS=n and replace with: CONFIG_UDF_FS=m

compile the kernel and modules

. /usr/local/openmoko/arm/setup-env
export CROSS_COMPILE=arm-angstrom-linux-gnueabi-
make -f synthesize-gta-module-configs.mak
make ARCH=arm
make ARCH=arm modules

Next copy the kernel module to the freerunner:

scp fs/udf/udf.ko root@192.168.0.202:/lib/modules/2.6.24/kernel/fs/udf

Download the eject application:

cvs -d:pserver:anonymous@eject.cvs.sourceforge.net:/cvsroot/eject login 
cvs -z3 -d:pserver:anonymous@eject.cvs.sourceforge.net:/cvsroot/eject co -P eject

Compile the app:

cd eject
om-conf eject
cd eject
make
scp eject root@192.168.0.202:


Turn USB into host mode: (http://wiki.openmoko.org/wiki/Neo_1973_USB_host) (Hint: make sure your ssh connection is not through usb :-) )

Personal tools

Just for clarification freerunner do not support HSPA.

Here i will describe a way to get a HSPA USB stick working with the Freerunner. ( Tested with the Novatel MC950D )

Problem at installation was that the HSPA-Stick register a virtual cdrom drive if attached to usb host. Freerunner do not have installed UDF-filesystem modules so you have to comile that on you own. (Yes i know the virtual cdrom drive is useless because there are only windoof and osx drivers but you have to eject the cdrom to get a serial<->usb converter working.

1. Install crosscompile environment http://wiki.openmoko.org/wiki/Toolchain

2. on the phone:

opkg info kernel
Package: kernel
Version: 2.6.24_2.6.24+git27+1a95efdc23966343a3b432ceef2f6c24dc0e2052-r2
Depends: kernel-2.6.24
Status: install ok installed
Architecture: om-gta02
Installed-Time: 1217369038

copy the git serial number: 1a95efdc23966343a3b432ceef2f6c24dc0e2052

on host:

git clone git://git.openmoko.org/git/kernel.git linux-2.6
git checkout 1a95efdc23966343a3b432ceef2f6c24dc0e2052

after download go to the directory created and execute following commands:

Download .config file for installed kernel. (Hmm plz can someone add this info) search the line: CONFIG_UDF_FS=n and replace with: CONFIG_UDF_FS=m

compile the kernel and modules

. /usr/local/openmoko/arm/setup-env
export CROSS_COMPILE=arm-angstrom-linux-gnueabi-
make -f synthesize-gta-module-configs.mak
make ARCH=arm
make ARCH=arm modules

Next copy the kernel module to the freerunner:

scp fs/udf/udf.ko root@192.168.0.202:/lib/modules/2.6.24/kernel/fs/udf

Download the eject application:

cvs -d:pserver:anonymous@eject.cvs.sourceforge.net:/cvsroot/eject login 
cvs -z3 -d:pserver:anonymous@eject.cvs.sourceforge.net:/cvsroot/eject co -P eject

Compile the app:

cd eject
om-conf eject
cd eject
make
scp eject root@192.168.0.202:


Turn USB into host mode: (http://wiki.openmoko.org/wiki/Neo_1973_USB_host) (Hint: make sure your ssh connection is not through usb :-) )