Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

OggStreamer XportPro SDK

Georg Ottinger

Installing the OggStreamer XportPro SDK is a multi step process.
As it is based on Lantronix 2.0.0.3 Xport Pro SDK you first have to download this file

!!!! Stick to the proposed order !!!!!

1. Download the original Lantronix XPortPro SDK and Patches

You can download the ISO File from:
http://www.lantronix.com/ftp/Linux_SDK/SDK2_0_0_3/linux_sdk_2_0_0_3.iso

the following two files are needed for OggStreamer specific patches:

lantronix-linuxsdk-stage1-20130617.patch
xportprosdk_oggstreamer_patch-20130619.tar.bz2

direct links:
https://sourceforge.net/p/oggstreamer/patches/ci/master/tree/lantronix-linuxsdk-stage1-20130617.patch?format=raw
https://sourceforge.net/p/oggstreamer/patches/ci/master/tree/xportprosdk_oggstreamer_patch-20130619.tar.bz2?format=raw

The patches are located in the git repo:
https://sourceforge.net/p/oggstreamer/patches/ci/master/tree/

!!! Newer Patch available. Beware: Untested !!!
https://sourceforge.net/p/oggstreamer/patches/ci/master/tree/xportprosdk_oggstreamer_patch-20130620.tar.bz2?format=raw

2. Needed tools

Check that your linux provides the following packages:

  • build-essential
  • python
  • sudo
  • libacl1-dev
  • tftpd or tftpd-hpa
  • patch
  • libtasn1-3-dev
  • zlib1g-dev
  • rsync
  • ssh
  • nfs-kernel-server
  • libncurses5-dev (for the ncurses-based configuration utility)
  • git

3. Install the Lantronix SDK in your home folder

you can mount the ISO-Image using the '-o loop' option

for example

sudo mount -o loop ~/Downloads/linux_sdk_2_0_0_3.iso /media/CDROM4

create a install dir in your home dir

cd ~
mkdir xportprosdk

go to this directory and start the install process

cd xportprosdk
/media/CDROM/install.sh

4. 1st Stage patching of the Lantronix SDK

make sure you are in the "xportprosdk" directory

patch the Lantronix SDK with the following command

patch -p 1 < ~/Downloads/lantronix-linuxsdk-stage1-20130617.patch

5. Preliminary Build of the SDK

make sure you are in the "xportprosdk" directory

first set the needed enviroment variables

. env_m68k-uclinux

start the build process with make

make

now select "XPort_Pro_16MB" and "AUFS" as targets. For the other options just hit enter

*
* Select the Product you wish to target
*
Lantronix Products
> 1. XPort_Pro_16MB (DEFAULTS_LANTRONIX_XPORT_PRO_16MB) (NEW)
  2. XPort_Pro (DEFAULTS_LANTRONIX_XPORT_PRO) (NEW)
  3. MatchPort_AR (DEFAULTS_LANTRONIX_MATCHPORT_AR) (NEW)
  4. EDS2100 (DEFAULTS_LANTRONIX_EDS2100) (NEW)
  5. EDS1100 (DEFAULTS_LANTRONIX_EDS1100) (NEW)
choice[1-5]: 1
Configuration Profile
> 1. DEFAULT (LTRX_PROFILE_DEFAULT) (NEW)
  2. DEVELOPMENT (LTRX_PROFILE_DEVELOP) (NEW)
  3. NO_IPV6 (LTRX_PROFILE_NO_IPV6) (NEW)
  4. COMPACT (LTRX_PROFILE_COMPACT) (NEW)
  5. AUFS (LTRX_PROFILE_AUFS) (NEW)
  6. SHARED (LTRX_PROFILE_SHARED) (NEW)
choice[1-6?]: 5

now wait for a few minutes ...

6. Install the OggStreamer specific libraries and applications

again make sure you are in the "xportprosdk" directory

bzip2 -d -c ~/Downloads/xportprosdk_oggstreamer_patch-20130619.tar.bz2 | tar x

and rerun make

make

7. Integrating the GIT Repros (OPTIONAL)

go to the directory "~/xportprosdk/linux/user/"

cd ~/xportprosdk/linux/user/

for using the git repo for stm8flasher type:

rm -fR oggstreamer-stm8flasher
git clone git://git.code.sf.net/p/oggstreamer/stm8flasher oggstreamer-stm8flasher

for using the git repo for OggStreamer Main Application type:

rm -fR oggstreamer-oggs-uclinux-app
git clone git://git.code.sf.net/p/oggstreamer/oggs-uclinux-app oggstreamer-oggs-uclinux-app

for using the git repo for the OggStreamer WebGUI type:

rm -fR oggstreamer-webgui
git clone git://git.code.sf.net/p/oggstreamer/oggstreamer-webgui oggstreamer-webgui

Note: The repo Name for the WebGUI is "oggstreamer-webgui" - which breaks with our standard naming convention.


Related

Wiki: Linux Software