6AJ.1.3 Application Notes

Back to 6AJ.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 

Audio
Note: By default audio output is now on JAMR3 board, if you don't have JAMR3 board set the property "persist.audio.use_jamr" to false on the board setprop persist.audio.use_jamr false stop media start media

Below is some information about what input/output connectors in VayuEVM can be used for audio and what type of accessories can be connected.

NOTE: Audio devices can be assigned to listening zones through the Settings -> Sound -> Audio Zone Configuration.

Android Recovery
shell@jacinto6evm:/ $ su shell@jacinto6evm:/ # reboot recovery
 * Android Recovery mode is enabled in this release. Recovery mode is launched by executing "reboot recovery" command

cd ${YOUR_PATH}/kernel/android-3.8 git fetch http://review.omapzoom.org/kernel/omap refs/changes/10/34910/1 && git cherry-pick FETCH_HEAD
 * Cherry pick a patch in kernel to enable Recovery UI

"--wipe_data" - Factory reset "--just_exit\n--show_text\n--locale=en_US" - Shows a menu for operations to be done
 * What operation to perform during recovery mode depends on command written in /cache/recovery/command file before launching recovery mode. List of commands is available in bootable/recovery/recovery.cpp of Android Source. Some examples below

SELinux
SELinux has been enabled in permissive mode in this release. In this mode only warning messages will be seen in kernel log, there won't be any actions taken on violations. Example warning message would look like below. avc: denied  { search } pid=2492 comm="zygote" scontext=u:r:zygote:s0 name="cpuctl" dev="tmpfs" ino=238 tcontext=u:object_r:cpuctl_device:s0 tclass=dir

Wi-Fi Display

 * Source
 * This is the default behavior of Wi-Fi display in Android
 * Turn on Wi-Fi (Settings -> Wifi -> Turn On Wi-Fi )
 * Turn on Wireless Display (Settings -> Display -> Wireless display)
 * Search for sink devices and connect
 * Sink
 * To make your device work in sink role set a android property before turning on Wi-Fi setprop persist.wfd.role sink
 * Now turn on Wi-Fi
 * In the source look for this sink and connect

Note:
 * Currently the sink listener is active only for sometime, hence we need to turn on Wi-Fi on the sink device when we want the device to be discovered by the source
 * For the subsequent connections, we need to turn OFF and turn ON wifi on the sink device, to restart the device discovery

Multi Display
Two multi display configurations are supported in this release  Primary LCD + HDMI panel  Default configuration  Primary FPD Link + HDMI panel  Make sure you don't have JAMR board on your EVM</li> Requires kernel changes for switching to this configuration </li> cd ${YOUR_PATH}/kernel/android-3.8 git revert -n fab5ef0fcc067ae7a4c20057037294ce99eb13c2 git revert -n 9099fbfdb348dbe018b800ca49d1e5453f0b9301 Rebuild and flash kernel</li> </ul> </ol>

HDMI
6AJ.1.2_Application_Notes

Rev-G 10" Display
This release by default only supports J6 EVMs Rev-D through Rev-F which have 7 inch display panel. The newer boards (Rev-G) which have 10 inch display panel needs some kernel patches in order to make the display and touchscreen functional.

Apply the patches below on top of 6AJ.1.3 kernel and rebuild kernel/dtb to get 10 inch panel working cd ${YOUR_PATH}/kernel/android-3.8 git fetch http://review.omapzoom.org/kernel/omap refs/changes/51/34951/1 && git cherry-pick FETCH_HEAD git fetch http://review.omapzoom.org/kernel/omap refs/changes/52/34952/1 && git cherry-pick FETCH_HEAD git fetch http://review.omapzoom.org/kernel/omap refs/changes/53/34953/1 && git cherry-pick FETCH_HEAD git fetch http://review.omapzoom.org/kernel/omap refs/changes/54/34954/1 && git cherry-pick FETCH_HEAD git fetch http://review.omapzoom.org/kernel/omap refs/changes/55/34955/1 && git cherry-pick FETCH_HEAD

USB DRD
6AJ_USB_DRD

USB Super Speed

 * USB1 port on EVM is Super speed capable and is validated in both host mode and gadget mode.
 * By default the USB1 port is set to be in gadget mode. To change USB1 port to be in host mode, apply the below patch in kernel, rebuild kernel and flash the updated dtb file

cd ${YOUR_PATH}/kernel/android-3.8 git fetch http://review.omapzoom.org/kernel/omap refs/changes/83/34283/2 && git cherry-pick FETCH_HEAD

IPC

 * IPC Release information:
 * http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/index.html
 * Linux kernel rpmsg example(rpmsg<->BIOS RPMessage):
 * http://processors.wiki.ti.com/index.php/RPMsg_Kernel_Client_Application
 * Benchmarking:
 * http://processors.wiki.ti.com/index.php/IPC_BenchMarking
 * Late Attach:
 * http://processors.wiki.ti.com/index.php/Early_Boot_and_Late_Attach

Re-Building SGX kernel module
6AJ.1.2_Application_Notes

WiLink8Q
6AJ.1.2_Application_Notes For GNSS/GPS source/support contact [mailto:ram_m@ti.com Ram Machness]

Ethernet
6AJ.1.2_Application_Notes

DCAN
6AJ.1.2_Application_Notes

CMEM
Refer processor wiki page here for instructions on using CMEM on Android

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

Boot Options
Default flashing instructions and script are meant for two stage bootloader (MLO & u-boot) with MLO and u-boot loading from QSPI and remaining content flashed to emmc. Instructions below are for other options enabled in this release.

SD card boot
SD Card Boot Information

USB Peripheral boot
6AJ.1.2_Application_Notes

Single stage bootloader
6AJ.1.2_Application_Notes

All eMMC option
6AJ.1.2_Application_Notes

Misc. Links

 * J6 Resource Allocation