PandaBoard L27.10.2-P1 Release Notes

From OMAPpedia

(Difference between revisions)
Jump to: navigation, search
(Copying Binaries onto SD Card)
m
 
(7 intermediate revisions not shown)
Line 58: Line 58:
   
   
  cd $YOUR_PATH/L27.10.2-P1/myfs
  cd $YOUR_PATH/L27.10.2-P1/myfs
 +
export myfs=`pwd`
  mkdir $myfs/system/etc/firmware
  mkdir $myfs/system/etc/firmware
  cp -rfp pandroid/wlan/BTFM_Firmware/* $myfs/system/etc/firmware
  cp -rfp pandroid/wlan/BTFM_Firmware/* $myfs/system/etc/firmware
Line 66: Line 67:
'''Proceed to:''' [[PandaBoard_L27.10.2-P1_Release_Notes#Booting_Kernel_and_Android_File_System_from_SD_card | Booting_Kernel_and_Android_File_System_from_SD_card]]
'''Proceed to:''' [[PandaBoard_L27.10.2-P1_Release_Notes#Booting_Kernel_and_Android_File_System_from_SD_card | Booting_Kernel_and_Android_File_System_from_SD_card]]
-
 
=Building Pandroid=
=Building Pandroid=
Line 511: Line 511:
==Copying Binaries onto SD Card==
==Copying Binaries onto SD Card==
-
Now type the following to mount your SD Card on your Linux box (logged as root@ubuntu-box):
+
Now type the following to mount your SD Card on your Linux box:
<pre>
<pre>
mkdir /tmp/mmc1
mkdir /tmp/mmc1
Line 519: Line 519:
</pre>
</pre>
-
Load the appropriate software to the SD Card (logged as root@ubuntu-box):
+
Load the appropriate software to the SD Card:
<pre>
<pre>
sudo cp $YOUR_PATH/L27.10.2-P1/x-loader/MLO /tmp/mmc1  #(if you are using EMU or HS device, plese copy signed MLO instead)
sudo cp $YOUR_PATH/L27.10.2-P1/x-loader/MLO /tmp/mmc1  #(if you are using EMU or HS device, plese copy signed MLO instead)
Line 527: Line 527:
sudo chmod -R 777 /tmp/mmc2/*
sudo chmod -R 777 /tmp/mmc2/*
sync
sync
-
umount /tmp/mmc1
+
sudo umount /tmp/mmc1
-
umount /tmp/mmc2
+
sudo umount /tmp/mmc2
</pre>
</pre>
Line 559: Line 559:
'''2. I can't hear any audio'''
'''2. I can't hear any audio'''
-
-- you and me both --> we are looking into this for GB release
+
-- we are looking into this for GB release
'''3. Start up takes forever'''
'''3. Start up takes forever'''
Line 565: Line 565:
'''4. I can't play videos'''
'''4. I can't play videos'''
-
-- me either -- another thing we are targeting for GB release
+
-- -- another thing we are targeting for GB release
-- we are still working on community release of codecs needed for AV playback
-- we are still working on community release of codecs needed for AV playback
='''Resources'''=
='''Resources'''=
[http://www.omapedia.org/wiki/L27.INC1.10.2-P1_OMAP4_Froyo_ES2_Release_Notes http://www.omapedia.org/wiki/L27.INC1.10.2-P1_OMAP4_Froyo_ES2_Release_Notes]
[http://www.omapedia.org/wiki/L27.INC1.10.2-P1_OMAP4_Froyo_ES2_Release_Notes http://www.omapedia.org/wiki/L27.INC1.10.2-P1_OMAP4_Froyo_ES2_Release_Notes]
 +
 +
 +
[[Category:PandaBoard]]
 +
[[Category:Android]]

Latest revision as of 04:51, 13 May 2011

Contents

[edit] Introduction

This software release has been developed and verified in the following software and hardware environment.

Please note Toolchain is upgraded since L27.7.0 release.
OMAP4 SGX hardware Graphics Accelerator libraries are needed to boot AFS.

OS Kernel: Linux® 2.6.35
Android: Froyo public project
Toolchain: CodeSourcery compiler version Sourcery G++ Lite 2010q1-202 for ARM GNU/Linux
Reference hardware platform: PandaBoard A1 -- ES2.1
Build Host OS: Ubuntu 10.04
HDMI Display: HP2159m
SD Card: 2GB Kingston Technology


[edit] Prebuilt binaries

Quick Environment setup

mkdir pandroid
cd pandroid
export pandroid='pwd'
mkdir pandroid/gfx
mkdir pandroid/wlan

Download binaries: L27.10.2-P1 Froyo Pre-Built Release Package

Package Contains:

Note: Download this to your pandroid directory

[edit] Adding GFX support for Prebuilt Environment

Download: Froyo_L27.10.2-P1_Graphics-1.0-Linux-x86-Install

sudo chmod a+x Froyo_L27.10.2-P1_Graphics-1.0-Linux-x86-Install
./Froyo_L27.10.2-P1_Graphics-1.0-Linux-x86-Install

Note: Install this into your $pandroid/gfx directory

cp -Rfpv pandroid/gfx/data/ $pandroid/myfs/
cp -Rfpv pandroid/gfx/system/ $pandroid/myfs/

[edit] Adding BT/WLAN support for Prebuilt Environment

Download: Froyo_L27.10.2-P1_Connectivity_127x-1.0-Linux-x86-Install-1.0

cd $YOUR_PATH
sudo chmod a+x Froyo_L27.10.2-P1_Connectivity_127x-1.0-Linux-x86-Install-1.0
./Froyo_L27.10.2-P1_Connectivity_127x-1.0-Linux-x86-Install-1.0
 

Note: Install this into pandroid/wlan/

cd $YOUR_PATH/L27.10.2-P1/myfs
export myfs=`pwd`
mkdir $myfs/system/etc/firmware
cp -rfp pandroid/wlan/BTFM_Firmware/* $myfs/system/etc/firmware
cp -rfp pandroid/wlan/WLAN_ini/* $myfs/system/etc/wifi
cp -rfp pandroid/wlan/WLAN_Firmware/firmware.bin $myfs/system/etc/wifi
cp -rfp pandroid/wlan/WLAN_Firmware/firmware_ap.bin $myfs/system/etc/wifi/softap


Proceed to: Booting_Kernel_and_Android_File_System_from_SD_card

[edit] Building Pandroid

[edit] Tools & Dependency for Building

Pre-requisite packages for build Android Filesystem (Note this is with reference to uBuntu 8.04)

If you are behind firewall, you will have to set-up firewall using the instructions in Support Tools

For higher versions of U-buntu please refer to Host PC COnfiguration

The following commands will install the correct packages to your server:

sudo apt-get install git-core flex bison gperf libesd0-dev libwxgtk2.6-dev zlib1g-dev build-essential libstdc++5 tofrodos
sudo apt-get install x-dev
sudo apt-get install libx11-dev
sudo apt-get install libncurses5-dev
sudo apt-get install sun-java5-jdk

If you do not have sudo rights to your machine, contact your System Administrator for assistance. Google has issued that “sun-java6-jdk” has become unsupported: “because of incompatibilities with @Override” To uninstall “sun-java6-jdk” please type:

sudo apt-get remove sun-java6-jdk

“Intrepid (8.10) users may need a newer version of libreadline:

sudo apt-get install lib32readline5-dev”

[edit] Android Environment Setup

Use the example below to setup your environment. Your environment may vary...

export YOUR_PATH=`pwd`
mkdir -p $YOUR_PATH/L27.10.2-P1/mydroid
mkdir -p $YOUR_PATH/L27.10.2-P1/wlan
mkdir -p $YOUR_PATH/L27.10.2-P1/gfx
mkdir -p $YOUR_PATH/L27.10.2-P1/build_tools
cd $YOUR_PATH/L27.10.2-P1/mydroid
export MYDROID=`pwd`
cd $YOUR_PATH/L27.10.2-P1/build_tools/arm-2010q1

[edit] Tool Chain for building Kernel and Drivers

The Kernel and Driver sources are built using Sourcery G++ Lite 2010q1-202 for ARM GNU/Linux version.

Download: arm-2010q1-202 to $Your_PATH/L27.10.2-P1/build_tools/

cd $Your_PATH/L27.10.2-P1/build_tools/
tar jxvf arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 .
cd $YOUR_PATH/L27.10.2-P1/build_tools/arm-2010q1/
export PATH=$PATH:$YOUR_PATH/L27.10.2-P1/build_tools/arm-2010q1/bin

[edit] Additional packages for building

Download: L27.10.2-P1 Froyo Pre-Built Release Package

Contains:

Download: Froyo_L27.10.2-P1_Connectivity_127x-1.0-Linux-x86-Install-1.0

Contains:

Download: Froyo_L27.10.2-P1_Graphics-1.0-Linux-x86-Install

Contains:

[edit] Downloading Release Software

[edit] Installing repo

For detail information regarding repo visit: Using Repo and Git

Other reference links on Git can be found in Techincal References page

Download repo to environment

$ cd $YOUR_PATH/L27.10.2-P1/mydroid
$ curl http://android.git.kernel.org/repo > ./repo
$ chmod a+x repo

[edit] Download Android source

cd $YOUR_PATH/L27.10.2-P1/
git clone git://git.omapzoom.org/platform/omapmanifest.git
cd omapmanifest
git reset --hard L27.10.2-P1_Froyo
export MANIFEST=`pwd`
cd $MYDROID
repo init -u $MANIFEST
repo sync

Thanks to rowboat project we can cherry pick the following patches to enable keyboard and mouse support.

After cloning (repo sync) the perform the following;

 cd $MYDROID/frameworks/base
 git remote add rowboat git://gitorious.org/rowboat/frameworks-base.git
 git fetch rowboat
 git branch -a
 git cherry-pick 24117ce3ae32c40798d2d9bda80675814f76730d
 git cherry-pick ac82681dffdba3ad0b93ed3558365bac1dacbcd1
 git cherry-pick b0f60c6
 git cherry-pick afee303
 git cherry-pick 64d7c77

[edit] Kernel & Driver Source

To clone kernel source from scratch do:

cd $YOUR_PATH/L27.10.2-P1/
git clone git://git.omapzoom.org/kernel/omap.git kernel/android-2.6.35
cd kernel/android-2.6.35
git checkout 41bac156b0f66c0932c4af3dd618775390544eff

If you already have kernel source cloned then just update it (and add a remote if it is the first time):

cd $YOUR_PATH/L27.10.2-P1/kernel/android-2.6.35
git fetch origin
git checkout 41bac156b0f66c0932c4af3dd618775390544eff

[edit] U-Boot Source

cd $YOUR_PATH/L27.10.2-P1/
git clone git://git.omapzoom.org/repo/u-boot.git u-boot
cd u-boot
git checkout e59fe26ac2fb5b2fc599cfc76a7618d7fdd7062e

[edit] X-loader Source

cd $YOUR_PATH/L27.10.2-P1/
git clone git://git.omapzoom.org/repo/x-loader.git x-loader
cd x-loader
git checkout ce983bb626e0c236bf1e1f748913c50c90ad5228


[edit] Build Instructions

[edit] Setting up build environment

cd $YOUR_PATH/L27.10.2-P1/
mkdir $MYDROID/logs
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
export CROSS_COMPILE=arm-none-linux-gnueabi-
export PATH=$YOUR_PATH/L27.10.2-P1/build_tools/arm-2010q1/bin:$PATH

[edit] Building u-boot

Before building u-boot adjust the bootdelay and bootargs in omap4430panda.h

Note: Anyone wanting to try Fastboot do not adjust the BOOTDELAY

changing bootdelay
vim $YOUR_PATH/L27.10.2-P1/u-boot/include/configs/omap4430panda.h
- #define CONFIG_BOOTDELAY         0
+ #define CONFIG_BOOTDELAY         5
build u-boot
cd $YOUR_PATH/L27.10.2-P1/u-boot
make distclean
make ARCH=arm omap4430panda_config
make 2>&1 |tee $MYDROID/logs/u-boot_make.out

For information regarding Fastboot visit: Android_eMMC_Booting

[edit] Building x-loader

cd $YOUR_PATH/L27.10.2-P1/x-loader
make distclean	
make ARCH=arm omap4430panda_config
make ift 2>&1 |tee $MYDROID/logs/x-loader_make.out

[edit] Building Kernel

Patches

Download Kernel-Patches to your environment. Apply the following patches to enable PandaBoard on L27.10.2-P1.

cd $YOUR_PATH/L27.10.2-P1/kernel/android-2.6.35
patch -p1 < kernel_ehci_patchset.patch
patch -p1 < 0001-Adding-WLAN-PowerEnable-GPIO-for-Panda.patch
patch -p1 < 0002-Enabling-CONFIG_WIFI_CONTROL_FUNC-for-MACH_OMAP4_PA.patch
Build Kernel

To create kernel uImage you need to add "mkimage" directory path to your "PATH" environment variable. "mkimage" is located in your u-boot/tools/ directory.

cd $YOUR_PATH/L27.10.2-P1/kernel/android-2.6.35
make ARCH=arm distclean #(required for rebuild only)
make ARCH=arm android_4430_defconfig
make ARCH=arm uImage 2>&1 |tee $MYDROID/logs/kernel_make.out
Building Kernel modules
cd $YOUR_PATH/L27.10.2-P1/kernel/android-2.6.35
make ARCH=arm modules 2>&1 |tee $MYDROID/logs/kernel_modules.out

[edit] Building WLAN driver

Patches

Dowload WLAN Package at: wlan1271 to enable wlan on AFS

cd $MYDROID/hardware/ti/wlan/
patch -p1 < 0001-WLAN-lib-scan-merge-fix-for-hidden-ssid.patch
patch -p1 < 0002-WLAN-wl1283-cleanup-on-comments.patch
patch -p1 < 0003-WLAN-wl1283-Removing-makefile-dependency-on-HOST_PLA.patch
patch -p1 < 0004-WLAN-wl1283_softAP-Removing-makefile-dependency-on-H.patch
patch -p1 < 0005-WLAN-wl1283-wl1283_softAP-Build-system-cleanup.patch
Build 127x station driver
cd $MYDROID/hardware/ti/wlan/wl1283
export KERNEL_DIR=$YOUR_PATH/L27.10.2-P1/kernel/android-2.6.35
cd platforms/os/linux
make ARCH=arm TNETW=1273
Build 127x softAp driver
cd $MYDROID/hardware/ti/wlan/wl1283_softAP/platforms/os/linux
make ARCH=arm TNETW=1273

[edit] Building Android Filesystem (AFS) with TI Codecs enabled

on step below use the number of cores you have available; i.e. -j4 or -j12:

cd $MYDROID
cp -Rfp device/ti/blaze/buildspec.mk.default buildspec.mk
make clean #(required for rebuild only)
make -j4 2>&1 |tee $MYDROID/logs/android_make.out

[edit] Preparing Android binaries

This step will prepare a directory, called myfs, containing all necessary Android files that you must include within your SD card.

[edit] Create Android Rootfs Directory

cd $YOUR_PATH/L27.10.2-P1/
mkdir myfs
cd myfs
cp -Rfp $YOUR_PATH/L27.10.2-P1/kernel/android-2.6.35/drivers/staging/ti-st/*.ko $MYDROID/out/target/product/blaze/root
cp -Rfp $MYDROID/hardware/ti/wlan/wl1283/platforms/os/linux/tiwlan_drv.ko $MYDROID/out/target/product/blaze/system/etc/wifi
cp -Rfp $MYDROID/out/target/product/blaze/root/* .
cp -Rfp $MYDROID/out/target/product/blaze/system .
cp -Rfp $MYDROID/out/target/product/blaze/data .
cp -Rfp $MYDROID/device/ti/blaze/init.omap4sdp.rc init.rc

[edit] Configure init.rc for PandaBoard

 cd $YOUR_PATH/L27.10.2-P1
 cd myfs
 vim init.rc
 
  # Enable secondary display on Blaze
  - write /sys/devices/platform/omapdss/display1/enabled 1
  - write /sys/devices/platform/omapdss/overlay1/enabled 0
  - write /sys/devices/platform/omapdss/overlay1/manager "2lcd"
  - write /sys/devices/platform/omapdss/overlay1/enabled 1
  # Enable secondary display on Blaze
  + #write /sys/devices/platform/omapdss/display1/enabled 1
  + #write /sys/devices/platform/omapdss/overlay1/enabled 0
  + #write /sys/devices/platform/omapdss/overlay1/manager "2lcd"
  + #write /sys/devices/platform/omapdss/overlay1/enabled 1

  # switch CPUfreq from performance to hotplug
   - write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor hotplug
   + write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance
    # Enabling write by applications such as Web Browser for Performance Boost
    chmod 0666 /sys/devices/system/cpu/cpu1/online
    chmod 0666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    + write /sys/devices/system/cpu/cpu1/online 1

   - # Enable Smart Reflex in debugfs
   -  write /debug/pm_debug/smartreflex/sr_core/autocomp 1
   -  write /debug/pm_debug/smartreflex/sr_iva/autocomp 1
   -  write /debug/pm_debug/smartreflex/sr_mpu/autocomp 1

   + # Enable Smart Reflex in debugfs:
   +  write /debug/pm_debug/smartreflex/sr_core/autocomp 0
   +  write /debug/pm_debug/smartreflex/sr_iva/autocomp 0
   +  write /debug/pm_debug/smartreflex/sr_mpu/autocomp 0

Or just copy the file from: Additional_packages_for_building

[edit] Configure vold.fstab for PandaBoard

 cd $YOUR_PATH/L27.10.2-P1
 cd myfs
 vim system/etc/vold.fstab

 - dev_mount sdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
 + dev_mount sdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc0

[edit] Replace Launcher apk

A new Launcher2.apk is required in order to boot Android on larger displays. Simply copy the apk to system/app

cd $YOUR_PATH/L27.10.2-P1/
cd myfs/system/app
cp -Rfp ../../../patches_for_building/Android_patches/Launcher2.apk .

[edit] Adding GFX support

Download: Froyo_L27.10.2-P1_Graphics-1.0-Linux-x86-Install to $YOUR_PATH

sudo chmod a+x Froyo_L27.10.2-P1_Graphics-1.0-Linux-x86-Install
./Froyo_L27.10.2-P1_Graphics-1.0-Linux-x86-Install

Note:Install this into $YOUR_PATH/L27.10.2-P1/gfx

cp -Rfpv $YOUR_PATH/L27.10.2-P1/gfx/* $YOUR_PATH/L27.10.2-P1/myfs

[edit] Adding BT/WLAN support

Download: Froyo_L27.10.2-P1_Connectivity_127x-1.0-Linux-x86-Install-1.0 to $YOUR_PATH

cd $YOUR_PATH
sudo chmod a+x Froyo_L27.10.2-P1_Connectivity_127x-1.0-Linux-x86-Install-1.0
./Froyo_L27.10.2-P1_Connectivity_127x-1.0-Linux-x86-Install-1.0
 

Note:Install this into $YOUR_PATH/L27.10.2-P1/wlan

cd $YOUR_PATH/L27.10.2-P1/myfs
mkdir -p system/etc/firmware
cp -rfp $MYDROID/hardware/ti/wlan/wl1283/platforms/os/linux/*.ko system/etc/wifi/
cp -rfp $MYDROID/hardware/ti/wlan/wl1283_softAP/platforms/os/linux/*.ko system/etc/wifi/softap/
cp -rfp $YOUR_PATH/L27.10.2-P1/wlan/BTFM_Firmware/* system/etc/firmware/
cp -rfp $YOUR_PATH/L27.10.2-P1/wlan/WLAN_ini/* system/etc/wifi
cp -rfp $YOUR_PATH/L27.10.2-P1/wlan/WLAN_Firmware/firmware.bin system/etc/wifi
cp -rfp $YOUR_PATH/L27.10.2-P1/wlan/WLAN_Firmware/firmware_ap.bin system/etc/wifi/softap

[edit] Booting Kernel and Android File System from SD card

[edit] Formatting SD Card

You will need to format your SD for the Linux file system. Connect your SD memory card reader with memory card inserted to a USB port on your Linux Ubuntu PC. You must login as Super User.

$ su
$ fdisk -l

Match the device to the size of your memory card. Look for the /dev/*** device which matches the memory card in the card reader. Use the matching device’s letter prefix in the next command. For example if the device for memory card reader card example was: /dev/sdb1, then use only /dev/sdb in the fdisk command.

Take note of the size in bytes of your SD Card. You will need this to calculate the number of cylinders in a future step.

$ fdisk /dev/sdb  (replace sdb with the letter prefix for your device)

(Delete all partitions on the card if they exist)
Command (m for help): d
Partition number (1-4): 1
Command (m for help): d
Selected partition 2

Command (m for help): x

(Change the number of heads, sectors and cylinders on the device)
Expert command (m for help): h
Number of heads (1-256, default 255): 255
Expert command (m for help): s
Number of sectors (1-63, default 63): 63
Expert command (m for help): c
Number of cylinders (1-1048576, default 248): <You must calculate the number of cylinders for your SD card.  To do this, use the following formula:  

new_cylinders = (Size in bytes from your fdisk –l command)/8225280
Drop any fractional values and enter the whole number in this command.
Use this number all the steps that refer to the number of cylinders>

(Now return to the main menu)
Expert command (m for help): r

(Create the first partition)
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-248, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-248, default 248): +64M

If you plan to use this SD card partition for storing media your can use +1024M assuming a 2+ GB SD card.

(Create the second partition)
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (10-248, default 10): 10
Last cylinder or +size or +sizeM or +sizeK (124-248, default 248): <use the cylinder value you calculated earlier>  

(Change the first partition to at FAT32 partition)
Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list codes): c
Changed system type of partition 1 to c (W95 FAT32 (LBA))

(Toggle the bootable flag for partition 1)
Command (m for help): a
Partition number (1-4): 1

(Print the partition table to confirm your settings)
Command (m for help): p

(Sample Output – your output may differ depending on your SD card’s size and brand)
Disk /dev/sdb: 2041 MB, 2041577472 bytes
255 heads, 63 sectors/track, 248 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         9        72261     c  W95 FAT32 (LBA)
/dev/sdb2              10       248     1919767+    83  Linux

(Write your changes to the SD Card)	
Command (m for help): w

(You will see the following output)
The partition table has been altered!

Calling ioctl() to re-read partition table.


WARNING: If you have created or modified any DOS 6.x partitions, please see the fdisk manual page for additional information.
Syncing disks.

Format your partitions typing the following commands (logged as root@ubuntu-box):
$ mkfs.vfat -F 32 -n boot /dev/<your device’s first partition’s name – see the print output from the previous step> 
$ mkfs.ext3 -L android_fs /dev/<your device’s second partition’s name – see the print output from the previous step> 

There is a shell script that all calculations above automatically; to get it do:
$ wget http://cgit.openembedded.org/cgit.cgi/openembedded/plain/contrib/angstrom/omap3-mkcard.sh

Add execution permission:
$ chmod +x omap3-mkcard.sh

And you are ready to use it by just typing:
$sudo ./omap3-mkcard.sh <your_device (e.g. /dev/sdb)>

[edit] Copying Binaries onto SD Card

Now type the following to mount your SD Card on your Linux box:

mkdir /tmp/mmc1
mkdir /tmp/mmc2
sudo mount /dev/<your device’s first partition’s name> /tmp/mmc1
sudo mount /dev/<your device’s second partition’s name> /tmp/mmc2

Load the appropriate software to the SD Card:

sudo cp $YOUR_PATH/L27.10.2-P1/x-loader/MLO /tmp/mmc1   #(if you are using EMU or HS device, plese copy signed MLO instead)
sudo cp $YOUR_PATH/L27.10.2-P1/u-boot/u-boot.bin /tmp/mmc1
sudo cp $YOUR_PATH/L27.10.2-P1/kernel/android-2.6.35/arch/arm/boot/uImage /tmp/mmc1
sudo cp -Rfp $YOUR_PATH/L27.10.2-P1/myfs/* /tmp/mmc2
sudo chmod -R 777 /tmp/mmc2/*
sync
sudo umount /tmp/mmc1
sudo umount /tmp/mmc2

[edit] Booting

Insert your SD card (with u-boot, x-loader and uImage loaded in FAT partition and ) into PandaBoard SD/MMC card slot, then plug the PandaBoard mini USB port to your PC and open a serial terminal (baudrate:115200, no parity, 8 bits). Power your board up and in your terminal window you should be able to see the ‘New’ u-boot prompt:

“PANDA #”

In your serial terminal define the bootargs and boot as mentioned in the bootarg section.</br>

Right after this your PandaBoard should start booting using the kernel image and loading the Android filesystem from your SD


[edit] Bootargs

Note that parameter mem=456M@0x80000000 mem=512M@0xA0000000 should be used in the bootargs

L27.10.2-P1 Bootargs for SD card boot

setenv bootargs 'console=ttyO2,115200n8 androidboot.console=ttyO2 mem=456M@0x80000000 mem=512M@0xA0000000 root=/dev/mmcblk0p2 rw rootdelay=2 init=/init vram="32M" omapfb.vram=0:16M,1:16M consoleblank=0' 
setenv bootcmd 'mmcinit 0;fatload mmc 0 0x80000000 uImage; bootm 0x80000000'
boot

[edit] Known Issues

1. Screen blacks out on start up -- set your Menu/Display/Screen timeout to 30min

2. I can't hear any audio -- we are looking into this for GB release

3. Start up takes forever -- just the initial boot-up

4. I can't play videos -- -- another thing we are targeting for GB release -- we are still working on community release of codecs needed for AV playback

[edit] Resources

http://www.omapedia.org/wiki/L27.INC1.10.2-P1_OMAP4_Froyo_ES2_Release_Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox