VAR-SOM-AM33 Linux SDK 7: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
Line 53: Line 53:
</pre>
</pre>


Compile u-boot
Compile u-boot:
<pre>
<pre>
cd <sdk install dir>
cd <sdk install dir>
Line 59: Line 59:
</pre>
</pre>


Compile linux
Compile linux:
<pre>
<pre>
make linux
make linux
</pre>
</pre>


* extract pre-built file system:
* Extract pre-built file system:
<pre>
<pre>
./setup.sh
./setup.sh
</pre>
</pre>


* Install kernel modules to filesystem
* Install kernel modules to filesystem folder (targetNFS) :
<pre>
<pre>
make linux_install
make linux_install
</pre>
</pre>
= Create bootable SD-Card =
Follow http://processors.wiki.ti.com/index.php/Sitara_Linux_SDK_create_SD_card_script

Revision as of 16:10, 28 May 2014

VAR-SOM-AM33 SDK 7.0 User's Guide

About this Manual

This document describes how to install Variscite's Linux Support Package (LSP) for the VAR-SOM-AM33 based on TI's SDK 7.0

This LSP provides a fundamental software platform for development, deployment and execution on VAR-SOM-AM33. It abstracts the functionality provided by the hardware.

In this context, the document contains instructions to:

  • Install the release on a developmant machine.
  • Build the sources included in this release.
  • Instaling the binaries on the VAR-SOM-AM33.
  • Booting the VAR-SOM-AM33.

Installation

Prerequisites

Before starting the installation of the package, make sure below system requirements are met:

  • Host machine running a version of Windows OS such as Windows XP / 7 or a Linux such as Ubuntu.
  • VAR-SOM-AM33 Evaluation Kit + sources and binaries. Please refer to support@variscite.com for obtaining FTP credentials.


The Linux host is used for the following:

  • Recompiling U-Boot / kernel.
  • Hosting the NFS server to boot the EVM with NFS as root filesystem.


Either of Windows or Linux host can be used for:

  • Hosting the TFTP server required for downloading the kernel and file-system images from U-Boot using Ethernet.
  • Running a serial console terminal application

Install LSP packages

Variscite's LSP is based on TI's SDK 7.0 release. Follow TI's SDK installation guide step by step. After completing the initial SDK installation, patch the kernel and u-boot with supplied patches from FTP /VAR-SOM-AM33/Software/Linux/SDK_7_0_v30_beta and continue the process.

Patch kernel:

cd /home/user/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01
git apply kernel.patch

Patch uboot:

/home/orokach/ti-sdk-am335x-evm-07.00.00.00/board-support/u-boot-2013.10-ti2013.12.01
git apply u-boot.patch

Compile u-boot:

cd <sdk install dir>
make u-boot

Compile linux:

make linux
  • Extract pre-built file system:
./setup.sh
  • Install kernel modules to filesystem folder (targetNFS) :
make linux_install

Create bootable SD-Card

Follow http://processors.wiki.ti.com/index.php/Sitara_Linux_SDK_create_SD_card_script