NameLast modifiedSizeLicense

Parent Directory Parent Directory
other MANIFEST 31-May-2019 11:46 472 open
other MD5SUMS 31-May-2019 11:46 367 open
other boot.img 31-May-2019 11:46 17.1M open
other boot_fit.img 31-May-2019 11:46 17.2M open
other bootloader.img 31-May-2019 11:46 8.0M open
application/json build_config.json 31-May-2019 11:46 374 open
text changelog.txt 31-May-2019 11:46 223.0K open
application/x-sh env-am65xevm_full-cleanspec.sh 31-May-2019 11:46 75 open
application/x-sh env-am65xevm_full.sh 31-May-2019 11:46 75 open
application/json installed-files-vendor.json 31-May-2019 11:46 50.7K open
text installed-files-vendor.txt 31-May-2019 11:46 14.7K open
application/json installed-files.json 31-May-2019 11:46 879.4K open
text installed-files.txt 31-May-2019 11:46 275.1K open
application/x-sh linaro_android_build_cmds.sh 31-May-2019 11:46 7.7K open
application/json module-info.json 31-May-2019 11:46 5.3M open
application/x-sh ninja-am65xevm_full-cleanspec.sh 31-May-2019 11:46 135 open
application/x-sh ninja-am65xevm_full.sh 31-May-2019 11:46 115 open
text pinned-manifest.xml 31-May-2019 11:46 126.0K open
other ramdisk.img 31-May-2019 11:46 1.5M open
text source-manifest.xml 31-May-2019 11:46 66.6K open
other sysfw.itb 31-May-2019 11:46 259.1K open
other system.img 31-May-2019 11:46 1.0G open
application/octet-stream tiboot3.bin 31-May-2019 11:46 117.0K open
application/octet-stream tispl.bin 31-May-2019 11:46 469.0K open
other u-boot.img 31-May-2019 11:46 915.9K open
other userdata.img 31-May-2019 11:46 15.2M open
other vendor.img 31-May-2019 11:46 45.9M open


About the Reference Linaro Confectionary Release for AM65X Evaluation Module(referred to as AM65XEVM in this document)

This Reference Linaro Confectionary Release is the first release for AM65XEVM board,
it is based on the Pie android-9.0.0_r34 branch. This build is a
userdebug variant build, which contains support for allowing full use of the
Cortex-A53 architecture, supports both 32-bit and 64-bit applications, and run in permissive mode.

The kernel used for this build is from http://git.ti.com/ti-linux-kernel/ti-linux-kernel,
which the version is based on version 4.19.
The kernel is built with the AOSP CLANG version of clang 8.0.8 (based on r349610),
which could be gotten by cherry picking the commit here,

The userspace components are built with AOSP prebuilt clang binary,
which the version is “Android (4691093 based on r316199) clang version 6.0.2”

The AOSP software provided in this release is functionally
tested with version 9.0 R7 based CTS package and VTS package generated based on the android-vts-9.0_r8 branch,
the test results of both CTS and VTS are shared with members.
We also added some benchmark tests to observe the performance trend in various fields.

Sources are also made available so you can build your own images
(see the Building from Source tab).

What is new

  • AOSP source is based Pie android-9.0.0_r34
  • CTS test package updated to use 9.0 R7 version
  • VTS test package updated to use 9.0 R8 version
  • The security patch is 2019-03-05
  • Kernel is based on 4.19 version with PVR source included

Support

Subscribe to the important Linaro mailing lists and join our IRC
channels to stay on top of Linaro development.

  • Linaro Android Development ‘Mailing list’
  • Linaro Android IRC channel on irc.freenode.net at #linaro-android
  • Linaro Android ART IRC channel on irc.freenode.net at #linaro-art
  • Bug reports should be filed in ‘Bugzilla’ under “Linaro Android” product and “R-LCR-AM65X” component.
    • You will need to login to your Linaro account. If you do not have an account or are having problems, email it-support@linaro.org for help.
  • More general bug reports should be filed in Bugzilla against the individual packages that are affected.
  • Questions? ‘ask linaro’
  • Interested in commercial support? inquire at ‘Linaro Support’

AOSP Patch Summary

There are patches developed by TI and Linaro engineering teams were applied
to get AOSP booting to UI on the X15 development platform.
These patches can be found on Linaro Git repositories via files:

Any patches can be contributed through the instructions described Here

Known Issues and Limitations

Here are some known issues for this release build:

  • Boottime test failed to run to complete because of the change on framework side, investigation in progress
  • Weekly job failed because of the stringbench test took too much time
  • Piglit and media codec tests not enabled, work is in progress.
  • The apk benchmark tests failed to run to complete because governor is not enabled.
  • The CTS test pass rate is 99%, 2599 of 419273 test cases were reported as failure.
    • Most of the CTS failures were repported by the modules of CtsNetTestCases and CtsNativeHardwareTestCases, which were created as Bug 5074 and Bug 5073
  • The VTS test pass rate is 35%, 9380 of 14455 test cases were reported as failure.
    • Most of the vts failures were reported by the BionicUnitTests and BionicUnitTestsStatic modules, which were reported as Bug 4728 and Bug 4633

All the test failures reported by this release build had been created as bugs on Linaro bugzilla.
With fixes applied, some of them might be closed, new bugs might be created as well when new changes merged.
To see the latest status of bugs for this LCR AM65XEVM Pie build, please check here LCR AM65XEVM Pie open bugs

Prerequisites

Get “OTG USB cable” and “UART USB cable” connected between the AM65x EVM board and your PC according to the instructions here

Get artifacts

Click on each link to download following files:

  • sysfw.itb
  • tiboot3.bin
  • tispl.bin
  • u-boot.img
  • bootloader.img
  • boot_fit.img
  • system.img
  • vendor.img
  • userdata.img

Config to Boot from eMMC

Configure SYSBOOT DIP-switch for booting from eMMC (user area mode):

SW2[0:3] = 0000
SW3[0:3] = 0110
SW4[0:1] = 00

Boot the board to fastboot mode

Power up the AM65xEVM board, and on the serial console, get to U-Boot shell on device
and run next commands to prepare the U-Boot environment:

=> env default -f -a
=> setenv partitions $partitions_android
=> env save
=> fastboot 0

Then on the host side, run following command to make sure it’s in fastboot mode:

$ fastboot devices
0e005017394200e2    fastboot
$

Flash images

Flash the downloaded image files into the AM65xEVM board under fastboot mode with
following commands:

$ fastboot oem format
$ fastboot flash tiboot3 tiboot3.bin
$ fastboot flash bootloader bootloader.img
$ fastboot flash boot boot_fit.img
$ fastboot flash system system.img
$ fastboot flash vendor vendor.img
$ fastboot flash userdata userdata.img

Boot AM65xEVM board with AOSP images

Run “fastboot reboot” to restart AM65xEVM board after the fastboot flash commands finished successfully,
then the AM65xEVM board will boot with the AOSP images just flashed.

You can use following command to check if the adb connection is connected:

$ adb devices
List of devices attached
0e005017394200e2  device
$

Prerequisites

Get “OTG USB cable” and “UART USB cable” connected between the AM65xEVM board and your PC according to the instructions here

Getting Linaro AOSP Source Code and Compiling firmware, kernel, AOSP images

The following simple steps to download, install and compile a complete Linaro AOSP distribution

  • Establishing a Build Environment as described here
  • Download the Linaro LCR building script
  • Run the linaro-build.sh script downloaded, and answer the questions when promopted

Download the Linaro LCR build script

Download the Linaro LCR building script linaro-build.sh as following for projects repo sync and patch applying;

$ mkdir workspace && cd workspace           # create new directory as workspace, using existing workspace would be OK as well
$ wget https://android-git.linaro.org/android-build-configs.git/plain/linaro-build.sh -O linaro-build.sh          # get the linaro-build.sh script
$ chmod +x linaro-build.sh                          # make it executable

Repo sync projects and build images

Run as following to start repo syncing and build firmwares, kernel, Android images for the AM65xEVM board:

$ ./linaro-build.sh -c lcr-reference-am65x-p # To build from the tip of the branch

This command would help to repo sync all the AOSP and necessary projects, apply necessary patches,
and build the firmware, kernel, Android images together.

And you could specify other options to use local mirror, only repo sync projects, only build images, etc.
Most commonly used options for linaro-build.sh are like following:

$ ./linaro-build.sh -h                              # To print the script usage
$ ./linaro-build.sh -c lcr-reference-am65x-p -ss      # Only build images without repo syncing AOSP source and applying patches
$ ./linaro-build.sh -c lcr-reference-am65x-p -m <url-aosp-mirror-manifest>     # Use local mirror for AOSP projects repo sync
$ ./linaro-build.sh -c lcr-reference-am65x-p -pm <pinned_manifest>             # To recreate the exact same build with the pinned manifest specified.

The pinned manifest(pinned-manifest.xml(?) and source manifest(source-manifest.xml) can be found from the list of artifacts

For example, to build from the tip of the source:

./linaro-build.sh -c lcr-reference-am65x-p  or  ./linaro-build.sh -c lcr-reference-am65x-p -m  <url-aosp-mirror-manifest>

Or to reproduce the exactly the same as this buid:

./linaro-build.sh -c lcr-reference-am65x-p -pm pinned-manifest.xml or ./linaro-build.sh -c lcr-reference-am65x-p -pm pinned-manifest.xml -m  <url-aosp-mirror-manifest>

Deploy AOSP Images to the AM65xEVM board

Power up the AM65xEVM board, and on the serial console, get to U-Boot shell on device
and run next commands to prepare the U-Boot environment:

=> env default -f -a
=> setenv partitions $partitions_android
=> env save
=> fastboot 0

Then on the host side, run following commands to flash the images into the AM65xEVM board:

$ fastboot oem format
$ fastboot flash tiboot3 tiboot3.bin
$ fastboot flash bootloader bootloader.img
$ fastboot flash boot boot_fit.img
$ fastboot flash system system.img
$ fastboot flash vendor vendor.img
$ fastboot flash userdata userdata.img