Hspa-stick

From Openmoko

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
cd to the created folder ( cd linux-2.6)   (added by CQuarinto)
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)

I am not 100% sure that this will work (got it from: http://git.openmoko.org/?p=kernel.git;a=summary):

Apparently, the .config file is downloaded with the git checkout command and it is really 
gta02_defconfig (under linux-2.6/arch/arm/configs/). For my kernel though the name of the file was
gta02-moredrivers-defconfig. So to get the .config file I had to do:
cp ./arch/arm/configs/gta02-moredrivers-defconfig .config  (by CQuarinto)

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