Reference Manual
Redpine Signals, Inc. Proprietary and Confidential Page 131
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
27.4.4 Cross Compile and Copy OneBox-Mobile Software
If the OneBox-Mobile software's source is available, follow the steps mentioned in the section Compiling the Driver in
order to cross compile the OneBox-Mobile software for the Atmel processor.
Assign the DEF_KERNEL_DIR variable in the Makefile as follows (assuming the kernel source is available in the
"/lib/modules" folder):
DEF_KERNEL_DIR := /lib/modules/linux-2.6.30
The "make" command for the AT91SAM9G45/M10 is as follows, assuming the toolchain is present in the
"/toolchain/opt/atmel" folder:
make ARCH=arm CROSS_COMPILE=/toolchain/opt/atmel/arm-2007q1/bin/arm-none-linux-
gnueabi-
The steps need to be followed inorder to copy the pre-built binaries or the binaries
generated above the Atmel processor platform are as follows:
Ensure that the Linux PC and the Atmel platform are in the same subnet. The IP of the
processor platform can be assigned using the minicom/GTKTerm terminal.
ifconfig <vap_name> <ip_address>
Example: ifconfig eth0 192.168.1.24
Power cycle the board.
Login as "root". There is no password required for the default credentials unless and
until some changes has been done by the user.
Create a folder called "rsi" in the "/home" folder.
Copy the OneBox-Mobile binaries by using the command below:
scp –r release/ root@192.168.1.24:/home/rsi
Follow the procedure explained in the section Installing the Driver in order to start using the OneBox-Mobile software.