RS9116 n-Link Linux and Android Technical Reference Manual
Version : 2.0
July 2020
130
27.2.4 Cross Compile and Copy OneBox-Mobile Software
If the OneBox-Mobile software's source is available, follow the steps mentioned in the
section in order to cross compile the OneBox-Mobile software for i.MX6.
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-3.0.35_SOLOLITE_hw
The
"make"
command for the i.MX6 is as follows, assuming the toolchain is present in the
"/toolchain/opt/
freescale"
folder:
make ARCH=arm CROSS_COMPILE=/toolchain/opt/freescale/FWIOCUA0R1M1P1/TOOLS/cross/bin/arm-mv5sft-linux-
gnueabi-
Next, plugin the SD/MMC card to the PC and copy the pre-built binaries or the binaries generated above to the SD/
MMC card.
Plugin the SD/MMC card into the i.MX6 board and follow the boot procedure. Once the bootup and login are
completed, go to the
release
folder and follow the procedure explained in the
27.3 Freescale i.MX53
27.3.1 Hardware Requirements
•
IMX53QSB: i.MX53 Quick Start Board. The kit contents are as follows:
a. i.MX53
‐
QUICK START Board
b. microSD Card preloaded with Ubuntu Demonstration Software
c. USB Cable (Standard
‐
A to Micro
‐
B connectors)
d. 5V/2.0A Power Supply
e. Quick Start Guide
f. Documentation DVD
g.
Linux PC with Serial port – this will be used to communicate with the processor platform.
h. Serial RS232 Cable
27.3.2 Software Requirements
The software requirements Free scale i MX53 platform are as follows:
•
Toolchain, BSP and Linux OS package for i.MX6 - Kernel version 2.6.35.
•
OneBox-Mobile Software Release package
•
minicom/GTKTerm on the Linux PC
27.3.3 Hardware Setup
The hardware setup is as follows:
1. Connect the i.MX53 board to the Linux PC using the Serial RS232 cable.
2. Connect the Redpine Evaluation Board (EVB) to the i.MX53 board using the SDIO adaptor or USB-to-
microUSB cable (both included in the Redpine Evaluation Kit), depending on which the Host Interface is
needed.
3. Open a serial terminal program like minicom or GTKTerm and configure it with the following settings:
a. Baud Rate: 115200
b. Data bits: 8
c. Stop bits: 1
d. Parity: None
e. Flow Control: