L25.INC3.4P3 Community Release Notes

From OMAPpedia

(Difference between revisions)
Jump to: navigation, search
m (Created page with '=Introduction= This release has been developed and tested in the following environment. OS Kernel: Linux® 2.6.32. AndroidTM Froyo 2.2.1 public project. Toolchain: Android Fro…')
m (Booting with zoom2 (OMAP 3430):)
Line 122: Line 122:
----
----
----
----
-
===<span style="color:#ff0000">'''Booting with zoom2 (OMAP 3430): '''</span> ===
+
===<span style="color:#ff0000">'''NO Zoom2 (OMAP 3430) for this L25.INC3.4P3 Release'''</span> ===
-
 
+
-
RLS25.INC2.5rc2 release is supported by Zoom2 (OMAP 3430). Pre-compiled binaries are already available:
+
-
* [https://gforge.ti.com/gf/download/frsrelease/296/3902/u-boot_zoom2.bin Uboot]
+
-
* [https://gforge.ti.com/gf/download/frsrelease/296/3904/MLO_zoom2 Xloader]
+
-
* [https://gforge.ti.com/gf/download/frsrelease/296/3903/uImage_zoom2 Kernel]
+
-
* [https://gforge.ti.com/gf/download/frsrelease/296/3901/RLS25.INC2.5_AFS_zoom2.tar.bz2 Android File System]
+
-
 
+
-
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 [https://gforge.ti.com/gf/download/frsrelease/296/3893/RLS25.INC2.5rc2_zoom.bz2 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
+
-
Now you should have available:
+
-
* tiwlan_drv.ko
+
-
* tiwlan.ini
+
-
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
+
-
Unless stated otherwise, ensure you have allocated firmware.bin included in [https://gforge.ti.com/gf/download/frsrelease/295/3359/TI_Connectivity_Package_Firmware_InitScripts_RLS25.INC2.5-25.INC2.5-Linux-x86-Install.tar.bz2 Wilink package] in the usual place ($MYDROID/../myfs_25.INC2.5/system/etc/wifi).
+
-
----
+
-
----
+
= New in this Release =
= New in this Release =

Revision as of 19:32, 14 December 2010

Contents

Introduction

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

OS Kernel: Linux® 2.6.32.
AndroidTM Froyo 2.2.1 public project.
Toolchain: Android Froyo Toolchain : arm-eabi-4.4.0 (Using GCC4.4.0).
Manifest: 25.INC3.4P3_Manifest.
U-boot Version: fbe4cef852de5a39412234b4acd47a830d0282a2.
X-loader version: eb8b047c29a2027fbdd841cd1289fa27ddb22d72.
Kernel version: 0d27f8409fd277b66d46e16ffadb0ec9bf26eb8a.

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.INC3.4P3DB237rc0

Follow these instructions in order to download RLS25.INC3.4P3DB237rc0 manifest:

mkdir RLS25.INC3.4P3DB237rc0
cd RLS25.INC3.4P3DB237rc0
repo init -u git://git.omapzoom.org/platform/omapmanifest.git -b eclair
cd .repo/manifests
git reset --hard RLS25.INC3.4P3DB237rc0
cd ../..
repo sync

Kernel cloning/building

git clone git://git.omapzoom.org/kernel/omap.git
cd omap/
git checkout --track -b p-android-omap-2.6.32 origin/p-android-omap-2.6.32
git checkout -b L25.I3.4P3 android-2.6.32-2.2-Inc3-4P3
make ARCH=arm CROSS_COMPILE=arm-eabi- android_zoom3_defconfig
make ARCH=arm CROSS_COMPILE=arm-eabi- uImage

U-Boot cloning/building

git clone  git://git.omapzoom.org/repo/u-boot.git
cd u-boot/
git checkout -b L25.I3.4P3 fbe4cef852de5a39412234b4acd47a830d0282a2
make ARCH=arm CROSS_COMPILE=arm-eabi- omap3630zoom3_config
make ARCH=arm CROSS_COMPILE=arm-eabi-

X-Loader cloning/building

git clone git://git.omapzoom.org/repo/x-loader.git
cd x-loader/
git checkout -b L25.I3.4P3 eb8b047c29a2027fbdd841cd1289fa27ddb22d72
make ARCH=arm CROSS_COMPILE=arm-eabi- omap3630zoom3_config
make ARCH=arm CROSS_COMPILE=arm-eabi- ift

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

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



NO Zoom2 (OMAP 3430) for this L25.INC3.4P3 Release

New in this Release

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox