Coder Social home page Coder Social logo

ci20_android's Introduction

Initialize the environment with the envsetup.sh script. Assuming you
are at the top of the Android source tree:
    $ export TOP=`pwd`
    $ . build/envsetup.sh

Choose target.
    $ lunch aosp_ci20-userdebug

Build everything.

- UBIFS:
    $ make -j24

- EXT4:
    $ make WITH_EXT4=true -j24

Generate an SDCARD image containing the Android compatible u-boot and
Android boot/recovery/system images.

    $ cd $TOP/device/imgtec/ci20/sdcardinstaller
    $ ./mksdcard /dev/sdX

Install Android on CI20. Set the JP3 link to 2-3 to enable boot from
SDCARD. Install the SDCARD and powercycle the board. u-boot will
start up and automatically reformat the flash and install both u-boot
and Android to it. After it has completed you should see something
like:

> 134217728 bytes read in 19742 ms (6.5 MiB/s)
> 134217728 bytes written to volume system
> 9338880 bytes read in 1440 ms (6.2 MiB/s)
> 9338880 bytes written to volume system
> All done :)

After the Android installation is complete it is possible to boot
Android from NAND by setting the JP3 link to 1-2 and power cycling the
board. If the JP3 link is left in 2-3, and the board is power cycled
Android will also boot, but the boot.img file will be read from the
SDCARD. This can be convenient when testing changes for the kernel or
root filesystem.

ci20_android's People

Contributors

stevanmarinkovic avatar chrisdearman avatar crlarsen-it avatar sfo avatar

Stargazers

 avatar  avatar

Watchers

 avatar Paul Burton avatar  avatar Raghu Gandham avatar  avatar Reed Kotler avatar James Cloos avatar James Cowgill avatar Zubair Lutfullah Kakakhel avatar  avatar Jeffrey Deans avatar  avatar  avatar Miodrag Dinic avatar Matt Redfearn avatar

ci20_android's Issues

Wrong partition number used in mksdcard

There is an issue in the mksdcard script. It is assumed, that the first partition is named '1', e.g. at line 81 of the script:

sudo mkfs.ext3 -L "CI20_Android" ${device}1

But SD cards are named mmcblk0 with a partition counter of p1, p2, ...
So the script will fail to access partition mmcblk01, which has to be mmcblkp1 instead.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.