Marshmallow Porting on Beaglebone Black - eLin...

http://www.elinux.org/Thread:User_talk:Mahesh...

Marshmallow Porting on Beaglebone Black From User talk:MaheshKalmeshwar

http://www.globaledgesoft.com/ Quick Guide for Android Porting on ARM Architecture By Globaledge Software Pvt

Team Members:

Sravan Kumar Muppidi,

Mahesh Kalmeshwar

Contents: 1. General Porting Activity i.Linux Kernel Changes to make an Android Kernel ii.ARM SoC(System On Ship)Changes iii.Board specific Changes iv.OEM Changes v.OEM's customer changes vi.Library Integration

2. Case Study i.Previous Android Version is running on Board ii.No Android version is Running on board – But Linux is running iii.New Board and No Linux Kernel

3. Marshmallow porting on Beaglebone black 1. General Porting Activity i. Linux Kernel Changes to make an Android Kernel Binder,ashmem,Pmem,Logger,wakelock,OOMHandling,alarm timer,Paranoid Network security, Time out/Timed GPIO,RAM,Console,ADB etc

ii. ARM SoC(System On chip) Changes: Processor and SoC manufacture specific Example -Cortex series – Qualcomm, TI, Nvidia, ST etc...

iii. BSP(Board Support package) specific Changes: Example - Snapdragon, DM356, DM368 etc....

iv. OEM Changes: Reply

1 of 4

More

Friday 11 December 2015 12:47 PM

Marshmallow Porting on Beaglebone Black - eLin...

http://www.elinux.org/Thread:User_talk:Mahesh...

Example -LG, Samsung, MI etc

v. OEM's Customer Changes: Example -Reliance, Verizon etc.....

vi. Library Integration: Example - Modem ,GPU ,Telephony, Camera, OPENGL,OPENMAX etc.......

2. Case Study i.Previous android version is up and running on TI Board Lollipop is running on TI platform How to port next Android version on this Platform? Get the difference between AOSP and currently running android version Will get TI specific changes and any proprietary library. These Changes need to incorporate to next version AOSP porting (ex: Lollipop to Marshmallow). This is baseline code. Once the Base line is ready, distribute to the Other team (middleware and application Team). We ported Marshmallow on Begal Bone Black ,RPI etc. Skills required Moderate on Linux.

ii.No Andriod version is Running on board – But Linux is running Convert Linux Kernel to Android Kernel. Incorporate HAL, Middleware, Vendor specific, third party library Changes. Needs file system modifications. Skills required – Experts on Linux Porting

iii.New Board and No Linux Kernel Porting U-boot and Linux Kernel Follow The Case study ii. Skills Required -Strong Linux Kernel Porting On New SoC & Board.

3.Marshmallow porting on Beaglebone black: steps: Get AOSP source from Google $ $ $ $ $ $

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo mkdir ~/aosp cd aosp repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.0_r5 repo sync -c

Get device files for the BeagleBone Black $ $ $ $ $

cd ~/aosp/device mkdir ti cd ti git clone https://github.com/csimmonds/bbb-android-device-files.git beagleboneblack cd beagleboneblack

Get the Rowboat kernel configure and compile $ $ $ $ $ $ $

2 of 4

cd ~/aosp git clone https://gitorious.org/rowboat/kernel.git cd kernel git checkout rowboat-am335x-kernel-3.2 patch -p1 < ../device/ti/beagleboneblack/kernel-patches/0001-Tweak-backlight-PWM-forpatch -p1 < ../device/ti/beagleboneblack/kernel-patches/0002-Reboot-reason-flags-formake ARCH=arm CROSS_COMPILE=arm-eabi- am335x_evm_android_defconfig

LCD4-Beaglebone-cape.patch BBB.patch

Friday 11 December 2015 12:47 PM

Marshmallow Porting on Beaglebone Black - eLin...

http://www.elinux.org/Thread:User_talk:Mahesh...

$ make ARCH=arm CROSS_COMPILE=arm-eabi- -j4 uImage $ croot

Get U-Boot configure and compile: $ $ $ $ $

cd ~/aosp git clone https://github.com/csimmonds/u-boot cd u-boot make CROSS_COMPILE=arm-eabi- am335x_evm_config make CROSS_COMPILE=arm-eabi-

Build AOSP $ . build/envsetup.sh $ lunch - setect your device $ make -j8

Put the images on micro SD card: You need a micro SD card of at least 2 GiB capacity. $ croot $ device/ti/beagleboneblack/write_sdcard.sh

Issues and Modifications: Build has been tested on a BBB. The initial boot time is bit long. The screen flickers whenever it is updated Dont use gcc 4.8 toolchain that comes with AOSP 6.0 insted use gcc 4.7 toolchain

(1)init: could not import file '/init.unknown.rc' from '/init.rc' It has to be our device file init.am335xevm.rc Need to modify the BoardConfig.mk file in device/ti/beagleboneblack BOARD_KERNEL_CMDLINE := console=ttyO0,115200n8 androidboot.console=ttyO0 rootwait ro qemu=1 qemu.gles=0

modify the above line as below BOARD_KERNEL_CMDLINE := console=ttyO0,115200n8 androidboot.console=ttyO0 androidboot.hardware=am335xevm rootwait ro qemu=1 qemu.gles=0

(2)init: Service 'sdcard' (pid 124) exited with status 1 init: Service 'sdcard' (pid 124) killing any children in process group sol:modified the two file fstab.am335xevm-sd & init.am335xevm.rc. Its worked! The modifications are as follows: device/ti/beagleboneblack/fstab.am335xevm-sd Add the following line at the end of the above file /devices/*/xhci-hcd.0.auto/usb* auto auto defaults device/ti/beagleboneblack/ init.am335xevm.rc Remove the following lines: on init mkdir /mnt/shell/emulated 0700 shell shell mkdir /storage/emulated 0555 root root export EXTERNAL_STORAGE /storage/emulated/legacy export EMULATED_STORAGE_SOURCE /mnt/shell/emulated export EMULATED_STORAGE_TARGET /storage/emulated symlink /storage/emulated/legacy /sdcard symlink /storage/emulated/legacy /mnt/sdcard symlink /storage/emulated/legacy /storage/sdcard0 symlink /mnt/shell/emulated/0 /storage/emulated/legacy on post-fs-data mkdir /data/media 0770 media_rw media_rw on fs # virtual sdcard daemon running as media_rw (1023) service sdcard /system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023 class late_start Add the following lines: on init # Load persistent dm-verity state verity_load_state # Support legacy paths

3 of 4

voldmanaged=usb:auto

Friday 11 December 2015 12:47 PM

Marshmallow Porting on Beaglebone Black - eLin...

http://www.elinux.org/Thread:User_talk:Mahesh...

symlink /sdcard /mnt/sdcard symlink /sdcard /storage/sdcard0

compile the AOSP source: ~/aosp$ make -j8 Put the images on micro SD card: ~/aosp$ device/ti/beagleboneblack/write_sdcard.sh MaheshKalmeshwar (talk)

10:18, 4 December 2015

Retrieved from "http://www.elinux.org/Thread:User_talk:MaheshKalmeshwar /Quick_MarshMallow_Android_Porting_on_Beaglebone_Black#Marshmallow_Porting__on_Beaglebone_Black_2151"

This page has been accessed 123 times.

4 of 4

Friday 11 December 2015 12:47 PM

Marshmallow Porting on Beaglebone Black -

Dec 11, 2015 - mkdir /mnt/shell/emulated 0700 shell shell mkdir /storage/emulated 0555 root root export EXTERNAL_STORAGE /storage/emulated/legacy.

50KB Sizes 1 Downloads 571 Views

Recommend Documents

BeagleBone Black System Reference Manual
May 22, 2014 - Reference Manual. Rev C.1. Page 1 of 126. BeagleBone Black. System ... infringement of patents or services described herein. UNITED ...

TPS65217C - Asterisk for BeagleBone Black
100-mA, 500-mA, 1300-mA or 1800-mA Current ...... input over the USB and both over battery input to reduce the number of charge and discharge cycles on the.

How to Achieve 30 fps with BeagleBone Black ... - lemoneerlabs.com
Sep 24, 2013 - not work (at least for Video4Linux devices) and the default 30 fps is used. In order to ... amount of data being sent by the webcam saturates the bulk allotment on the BBB's USB bandwidth and select timeout ... frames to achieve higher

Beaglebone - eLinux.org
Beaglebone. Device Tree + Capebus. Pin Control. Weather Cape. I2C. One Wire. Geiger Cape. GPIO. PWM. Page 18. Radiation. Event. GPIO Interrupt Event. ~1 millisecond pulse. COSM. Reporting. COSM. Graphing. +Alerts. Page 19. • Green – Ground. • R

porting guide - GitHub
Mar 22, 2011 - This document describes the process of porting applications from ... Our development philosophy with BamTools so far has been to ... bool LocateIndex(const BamIndex::IndexType& preferredType = BamIndex::STANDARD);.

marshmallow graph.pdf
Page 1 of 1. Page 1 of 1. marshmallow graph.pdf. marshmallow graph.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying marshmallow graph.pdf. Page 1 of 1.

MIOpen Porting Guide - GitHub
cudnnCreateFilterDescriptor ( substituted by the respective. cudnnFilterDescriptor_t. TensorDescriptor APIs. * filterDesc). cudnnStatus t miopenstatus t. cudnnCreateConvolutionDescriptor (c miopenCreateConvolutionDescriptor. udnnConvolutionDescriptor

Marshmallow Media
Elizabeth Phipps. Mrs. Authement/Mrs. Kellrooney. Science Fair. April 5, 2016. Abstract. The purpose of this experiment was to find out whether or not changing the amounts of certain ingredients in a recipe adjusts the consistency and taste of a mars

marshmallow catapult.pdf
Whoops! There was a problem loading more pages. Whoops! There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. marshmallow catapult.pdf. marshmallow catapult.pdf.

Marshmallow Tower icon
Build the Tallest Freestanding Structure​: The winning team is the one that ... Prototyping Matters​: The reason kids do better than business school ... Max Gochioco​: Adapted the popular marshmallow challenge into a lesson plan format.

ePub 30 BeagleBone Black Projects for the Evil Genius ...
web-controlled rover; plant hydration system; sentinel turret; 7-segment clock; display for sensor information; internet radio; imperial march indicator; intruder ...

Marshmallow Bunny Math.pdf
PR. P. Page 2 of 2. Marshmallow Bunny Math.pdf. Marshmallow Bunny Math.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Marshmallow Bunny ...

Porting to BamTools 2.x Attention! - GitHub
Oct 11, 2011 - Our development philosophy with BamTools so far has been to allow ... Please be aware that the coordinate issue will affect any code that uses the multi-reader's ... I hope to update the API tutorial soon to reflect these new.

Marshmallow Infinity Scarf Crochet Pattern.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Marshmallow Infinity Scarf Crochet Pattern.pdf. Marshmallow Infinity Scarf Crochet Pattern.pdf. Open. Extrac

Marshmallow Molecule Chemical Bonding Lab.pdf
Page 1 of 4. Name. 2 pts ec printing Pd________ Sci #:______. Colored Marshmallow Molecule Lab (71 pts total). Objective: Create models of actual molecules ...

Marshmallow Molecule Chemical Bonding Lab.pdf
Nitrogen N small pink 3. Sodium Na red 2. Chlorine Cl green 2. Step 1: Write the symbol of each element on the marshmallow. Step 2: Use toothpicks to represent the bonds between the elements. Step 3: Glue the marshmallow molecule to the paper. Step 4

Whoopie Pies mit Marshmallow Fluff.pdf
Marshmallow Fluff erhält man im EDEKA oder im Lolipop. Page 1 of 1. Whoopie Pies mit Marshmallow Fluff.pdf. Whoopie Pies mit Marshmallow Fluff.pdf. Open.

Jacobson, Introductory Lectures on Black Hole Thermodynamics.pdf ...
1. Page 3 of 40. Jacobson, Introductory Lectures on Black Hole Thermodynamics.pdf. Jacobson, Introductory Lectures on Black Hole Thermodynamics.pdf. Open.

research evidence on race discrimination - Black Enterprise
production (often located within the creative department), and “overhead” departments such as accounting and human resources. Some full service agencies seek to serve a broad range of target audiences (such as multicultural, youth, or high income

Raid on Black Goat Wood.pdf
Try one of the apps below to open or edit this item. Raid on Black Goat Wood.pdf. Raid on Black Goat Wood.pdf. Open. Extract. Open with. Sign In. Main menu.