6AM.1.3 Application Notes

Back to 6AM.1.3_Release_Notes

QSPI NOR/eMMC partitions
In this release, the xloader and bootloader goes into QSPI and rest of the images go in to eMMC partitions. The table below summarizes the partition info

Syntax for fastboot flash command is fastboot flash

To update kernel (zImage) alone, flash the zimage partition fastboot flash zimage 

To update ramdisk.img alone, you will have to create boot.img file and flash it. Steps to create boot.img file below cd $YOUR_PATH/emmc_files mkbootimg --kernel  --ramdisk  --ramdisk_offset 0x01f00000 --base 0x80000000 --output boot.img

Note: To update MLO and u-boot.img in SPI, follow commands below. They have to be flashed together.

fastboot oem spi fastboot flash xloader  fastboot flash bootloader 

Re-Building SGX kernel module
Some changes made to kernel defconfig can causes prebuilt SGX kernel modules to not load

Follow the instructions below for rebuilding SGX modules (pvrsrvkm.ko)

cd ${MYDROID}/device/ti/proprietary-open/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap_android export KERNELDIR=${YOUR_PATH}/kernel/android-4.4 export ANDROID_ROOT=${MYDROID} export CROSS_COMPILE=${MYDROID}/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- export KERNEL_CROSS_COMPILE=${MYDROID}/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- export ARCH=arm make TARGET_PRODUCT="jacinto6evm" BUILD=release

Push the newly built pvrsrvkm.ko file to /system/lib/modules/ location on the target and reboot the board.

Building for custom platform
There are some additional changes needed when building for a custom platform (If your product name is other than jacinto6evm). In the example below we are using an example product name called newproduct. Replace this with your product name.

 Change in Makefile to add your product name (device/ti/proprietary-open project) --- a/eurasia_km/eurasiacon/build/linux2/omap_android/Makefile +++ b/eurasia_km/eurasiacon/build/linux2/omap_android/Makefile @@ -77,7 +77,7 @@ VS_PRODUCT_VERSION                   := 5 SUPPORT_ACTIVE_POWER_MANAGEMENT := 0 endif -ifneq ($(filter jacinto6evm,$(TARGET_DEVICE)),) +ifneq ($(filter jacinto6evm newproduct,$(TARGET_DEVICE)),) SGXCORE                                               := 544 SGX_CORE_REV                          := 116 SGX_FEATURE_MP                        := 1
 * 1) FIXME: Re-enable this ASAP

In the build command above replace TARGET_PRODUCT="newproduct" 

IPC

 * IPC version used in this release is 3.45.00.00
 * IPC package is already included when you download Android source following instructions from release notes. It is in path . You can also clone the IPC git tree individually from
 * Late Attach and Error Recovery
 * http://processors.wiki.ti.com/index.php/Early_Boot_and_Late_Attach#Enabling_Early_Boot_and_Late_attach_on_Android_.286AM.1.2.29
 * http://processors.wiki.ti.com/index.php?title=IPC_Slave_Error_Recovery
 * UIO and misc driver (for avoiding /dev/mem)
 * http://processors.wiki.ti.com/index.php/IPC_GateMP_Support_for_UIO_and_Misc_Driver
 * Benchmarking
 * http://processors.wiki.ti.com/index.php/IPC_BenchMarking
 * IPC Users Guide
 * http://processors.wiki.ti.com/index.php/IPC_Install_Guide_Android
 * http://processors.wiki.ti.com/index.php?title=IPC_Users_Guide

Audio
6AM.1.1_Application_Notes

USB
6AM.1.1_Application_Notes

Camera
6AM.1.1_Application_Notes

Radio

 * Radio platform bringup - Jacinto_Radio_Integration
 * Radio package is available only through CDDS, please contact [mailto:lester@ti.com Lester Longley] for more info.

GC320

 * GC320 package is available only through CDDS, please contact TI representative for more info.

WiLink8Q

 * WLAN drivers are now part of kernel and is not built out of tree using compat.
 * More legacy info here -- 6AJ.1.2_Application_Notes

HDMI only setup
By default dual display is supported in this release, but to bring up a HDMI only setup,
 * Non lcd dtb for the EVM should be used (Ex: For J6 EVM, use dra7-evm.dtb)
 * you need to set two additional properties
 * ro.hwc.primary.conn
 * ro.hwc.external.conn

Use below aommands to set the property and reboot the EVM. adb root adb remount adb shell 'echo "ro.hwc.primary.conn=HDMI" >> /system/build.prop' adb shell 'echo "ro.hwc.external.conn=dummy" >> /system/build.prop'

Recovery Mode
Switching to recovery mode is enabled in this release. This feature is enabled using u-boot environment variables. From Android userspace, an environment variable is set which is used by u-boot to decide which image to load (boot.img or recovery.img)

 Build the u-boot env tool (fw_printenv) using linaro tool chain cd ${YOUR_PATH}/u-boot export CROSS_COMPILE=/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf- make HOSTLDFLAGS=-static env Create the fw_env.config file with below content /dev/block/mmcblk0 140000 0x20000 /dev/block/mmcblk0 160000 0x20000 Copy all files to targer</li> adb root adb remount adb push tools/env/fw_printenv /system/bin/ adb push tools/env/fw_printenv /system/bin/fw_setenv adb push fw_env.config /system/etc/ With steps above, all the necessary tools are in file system. To get in to recovery mode, set the "reboot_image" u-boot environment variable to value "recovery" before doing reboot. </li> fw_setenv -l /data reboot_image "recovery" </ul>

SD Card Boot
6AM_SD_card_boot

All eMMC option
6AJ.1.2_Application_Notes

Single Stage bootloader
6AM.1.1_Application_Notes

USB Peripheral Boot
6AM.1.1_Application_Notes

Android Verified Boot
http://processors.wiki.ti.com/index.php/Android_Verified_Boot

AOSP Delta
To find out the delta/patches that TI added on top of Android AOSP, follow the instructions below cd $MYDROID repo forall -p -c 'git log --oneline omap-mirror/marshmallow-mr3-release..omap-mirror/d-marshmallow-mr3-release'
 * This release is based on Marshmallow MR3 version of AOSP (6.0.1)
 * AOSP Branch: marshmallow-mr3-release
 * Corresponding TI Branch: d-marshmallow-mr3-release
 * Once you have the 6AM.1.3 repo downloaded on your PC, use the command below to list out all patches added by TI on top of AOSP projects

Resource Allocation
6AM_Resource_Allocation

Errata Disposition
DRA7xx_Errata_Status

Post release patches
NOTE: The list above does not cover Kernel/u-boot fixes/enhancements post 6AM.1.3 release. Please follow TI Kernel and u-boot branches for latest changes.