L25.INC2.5 Release Notes

From OMAPpedia

Revision as of 11:59, 17 September 2010 by Francisco21 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

[edit] Introduction

This release has been developed and tested in the following environment.

OS Kernel: Linux® 2.6.29.
AndroidTM Éclair 2.1 public project.
Toolchain: CodeSourcery compiler version 2008q3-72.
Manifest: http://git.omapzoom.org/?p=repo/android/platform/omapmanifest.git;a=commit;h=bdee72ef50370e07aaa13b254a1ec7d2451796b8.
U-boot Version: 248783f15092779da506801e97936aa2b7ed3783.
X-loader version: 49f261c4e0bbc5d50e164f5fc58442dec68654b6.

[edit] Release Content

The release refers to the source code in git trees and the binary packages are distributed in different projects. The next section on how to build will help pull them into the correct directories to integrate the software system.

Documentation
OMAPpedia is an excellent source for details on the various components. There is a project listing in the main page on the various components. You may also go and check the following: Refer to BSP release notes at

   https://gforge.ti.com/gf/project/omapandroid/docman/?subdir=11

Refer to Bridge release notes at

   https://gforge.ti.com/gf/project/omapandroid/docman/?subdir=17

Power Management materials PM is enabled by default in the kernel, but for enabling any of the features we need to use some sysfs entries from user space:

   http://omappedia.org/wiki/Linux_OMAP_Kernel_Main
   http://elinux.org/OMAP_Power_Management

Refer to OMX release notes at https://gforge.ti.com/gf/project/omapandroid/docman/?subdir=22

Source code
Release Manifest for open code source. Release Tag - RLS25.INC2.5rc2

Follow these instructions in order to download RLS25.INC2.5rc2 manifest:

mkdir RLS25.INC2.5RC2
cd RLS25.INC2.5RC2
repo init -u git://git.omapzoom.org/platform/omapmanifest.git -b eclair
cd .repo/manifests
git reset --hard RLS25.INC2.5rc2
cd ../..
repo sync

Kernel cloning

git clone git://git.omapzoom.org/kernel/omap.git
cd omap/
git checkout --track -b p-android-omap-2.6.29 origin/p-android-omap-2.6.29
git checkout 6bec52ae43198677467744befd6598ab19f5c041

Other Binary packages
DSP Binary Package - binaries Connectivity Package - project Graphics Package - Please refer to Build/Install instructions on details

[edit] Build and Installation Instructions

Building the Bootloader, Kernel and Android File System

The final Release RC tag from L25x manifest for the source should be used. Perform a clean build of u-boot, x-loader, kernel and the android file system. Instructions on how to build can also be obtained from Android Wiki

Pre-built binaries from this release can be obtained from Package. Please follow the below instructions to modify the file system to make it work.

DSP binaries package

Pull in the DSP binaries and install them following the instructions in the readme.txt in the package. Features supported can be referred at OpenMAX page

IMPORTANT: First you need to rename/move a couple of libraries to make them work. The libraries are in /system/lib:

Rename them to something else (e.g. libOMX.TI.AMR.decode.so.bak and libOMX.TI.AMR.encode.so.bak). By default, AMR libraries have been already renamed in available pre-compiled binaries RLS25.INC2.5 Package.

If you are booting from NAND then once you have booted your filesystem, on your terminal type the following:

cd /system/lib
mv libOMX.TI.AMR.decode.so libOMX.TI.AMR.decode.so.bak
mv libOMX.TI.AMR.encode.so libOMX.TI.AMR.encode.so.bak

then reboot.

Connectivity package

Connectivity package can be obtained from Wilink package. For instructions to build and test, refer to Wilink wiki

Graphics package

To access the graphics package - following steps are required



[edit] Booting with zoom2 (OMAP 3430):

RLS25.INC2.5rc2 release is supported by Zoom2 (OMAP 3430). Pre-compiled binaries are already available:

Rename the files above by removing '_zoom2' (e.g. uImage_zoom2 to uImage) and boot as usual using the following bootargs:

Bootargs

nand unlock
nand ecc hw
nand erase
setenv bootargs console=ttyS3,115200n8 root=/dev/mmcblk0p2 rw rootdelay=1 mem=256M init=/init
setenv videoout=omap24xxvout omap_vout.video1_numbuffers=6 omap_vout.vid1_static_vrfb_alloc=y omapfb.vram="0:4M"
setenv bootcmd 'mmcinit 0; fatload mmc 0 0x81c00000 uImage; bootm 0x81c00000'
saveenv
boot

If you want to create your own build for zoom2; then consider the following updates to the build procedure.

Note that even when you do not need to re-compile the Android File System; if you plan to test Wifi you will need to clone (if it is not yet available in your environment) at least this particular project using the specified version within the manifest and re-compile as instructed below.

Uboot

cd $MYDROID/bootable/bootloader/u-boot
make distclean
make CROSS_COMPILE=arm-none-linux-gnueabi- omap3430zoom2_config
make CROSS_COMPILE=arm-none-linux-gnueabi-
cp $MYDROID/bootable/bootloader/u-boot/tools/mkimage ~/bin/

Xloader

cd $MYDROID/bootable/bootloader/x-loader
make distclean
make CROSS_COMPILE=arm-none-linux-gnueabi- omap3430zoom2_config
make CROSS_COMPILE=arm-none-linux-gnueabi- ift

Kernel

Before the kernel compilation, you will need to download the RLS25.INC2.5rc2 patches for zoom2.

cd <path_to_kernel>
git apply 0001-Page-flipping-frame-buffer-issue-FIXED.patch
git apply 0001-Including-FM-during-kernel-modules-compilation-for-3.patch
make CROSS_COMPILE=<path to compiler>/arm-none-linux-gnueabi- distclean
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- zoom2_defconfig
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage

Kernel modules

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules
cd $MYDROID/../myfs_25.INC2.5
cp -prf <path_to_kernel>/drivers/misc/ti-st/*.ko .

WIFI

cd $MYDROID/system/wlan/ti/wilink_6_1/platforms/os/linux
export ARCH=arm
export HOST_PLATFORM=zoom2
export KERNEL_DIR=<path_to_kernel>
export CROSS_COMPILE=arm-none-linux-gnueabi-
make
cd $MYDROID/system/wlan/ti/wilink_6_2/platforms/os/linux
make

Now you should have available:

Copy these into your myfs folder. If you downloaded the pre-compiled binaries then by default is named as myfs_25.INC2.5.

cp $MYDROID/system/wlan/ti/wilink_6_1/config/tiwlan.ini $MYDROID/../myfs_25.INC2.5/system/etc/wifi
cp $MYDROID/system/wlan/ti/wilink_6_1/platforms/os/linux/tiwlan_drv.ko $MYDROID/../myfs_25.INC2.5/system/etc/wifi
cp $MYDROID/system/wlan/ti/wilink_6_2/platforms/os/linux/tiap_drv.ko $MYDROID/../myfs_25.INC2.5/system/etc/wifi/softap
cp $MYDROID/system/wlan/ti/wilink_6_2/config/tiwlan_ap.ini $MYDROID/../myfs_25.INC2.5/system/etc/wifi/softap

Unless stated otherwise, ensure you have allocated firmware.bin included in Wilink package in the usual place ($MYDROID/../myfs_25.INC2.5/system/etc/wifi).



[edit] New in this Release

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox