6AK.1.1 Application Notes

From OMAPpedia

Jump to: navigation, search

Contents

Back to 6AK.1.1_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

Partition Info
Partition Name eMMC/QSPI Binary to flash
xloader QSPI MLO
bootloader QSPI u-boot.img
boot eMMC boot.img (zImage + ramdisk.img)
environment eMMC dra7-evm.dtb (J6) or dra72-evm.dtb (J6 Eco)
system eMMC system.img
recovery eMMC recovery.img
data eMMC userdata.img


Syntax for fastboot flash command is

fastboot flash <partition name> <image file>

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

fastboot flash zimage <path to 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 <path/to/zImage> --ramdisk <path/to/ramdisk.img> --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 <MLO File>
fastboot flash bootloader <u-boot.img file>


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 and omaplfb.ko)

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

SGX modules will be present at

${MYDROID}/device/ti/proprietary-open/jacinto6/sgx_src/eurasia_km/eurasiacon/binary2_omap_android_release/target/pvrsrvkm.ko
${MYDROID}/device/ti/proprietary-open/jacinto6/sgx_src/eurasia_km/eurasiacon/binary2_omap_android_release/target/omaplfb.ko

Push both files to /system/lib/modules/ location on the target and reboot the board.


Audio

Note: Android media output and input is on the EVM CPU board, while the JAMR3 output is dedicated for radio.

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

INPUT
  • Microphone: 3.5mm jack on the CPU board, labeled as “MIC IN” (P10). It’s assigned to Android’s built-in mic
    • Dedicated microphone with 3.5mm stereo plug has to be used
    • 3-pin plug: Tip -> Left channel, Ring -> Right channel, Sleeve -> Ground
    • Microphone from phone headsets cannot be used
OUTPUT
  • Speaker: 3.5mm jack on the CPU board, labeled as “HEADPHONE” (P13). It’s assigned to Android’s speaker output
    • 3-pin plug: Tip -> Left channel, Ring -> Right channel, Sleeve -> Ground
    • The speaker is the default, always connected output in Android, but since there is no on-board installed speakers in the EVM, this output acts like it
    • Typical headphones, headsets can be connected to this jack
  • Line-Out: 3.5mm jack on the CPU board, labeled as “LINE OUT” (P12). It’s also assigned to Android’s speaker output
    • 3-pin plug: Tip -> Left channel, Ring -> Right channel, Sleeve -> Ground
    • Recommended for outputs with high impedance
  • HDMI: Supports up to 8-channels, but only stereo and 5.1-channels are used in Android


Ethernet

shell@android:/$ su
shell@android:/# netcfg eth0 up # to bring up the interface
shell@android:/# netcfg eth0 dhcp # to get IP address from DHCP server
shell@android:/# netcfg eth0 down # to bring down the interface


USB

USB Super Speed

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


Camera

Camera Summary
Feature Camera Module Board DIP Switch Setup
VIP Single Instance
  • Preview upto 720p
  • Early Camera support
  • LI Module (OV10633)
CPU Board Default 6aj vip single inst 1.png
Analog camera
  • Preview upto D1 NTSC
  • De-Interlace using VPE
  • Supports Analog DVD player, Camera
  • DVD player NTSC
  • Camera NTSC interlaced capture
CPU Board + JAMR3
SW2
ON OFF
6aj analog 1.png


IPC


Video Playback (IPU)

List of codecs supported in this release


WiLink8Q

6AJ.1.2_Application_Notes#WiLink8Q


SELinux

6AJ.1.3_Application_Notes#SELinux


Radio

Radio package is available only through CDDS, please contact Lester Longley for more info.


Display

Rev-G 10" Display (J6 Only)

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 a kernel patches in order to make the display and touchscreen functional.

Apply the patch below on top of 6AK.1.1 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/94/35294/2 && git cherry-pick FETCH_HEAD

HDMI

Multi Display

Two multi display configurations are supported in this release

  1. Primary LCD + HDMI panel
    • Default configuration on both J6 and J6 Eco EVM
  2. Primary FPD Link + HDMI panel
    • J6 Only
    • Requires a kernel change for switching to this configuration
    • cd ${YOUR_PATH}/kernel/android-3.8
      git fetch http://review.omapzoom.org/kernel/omap refs/changes/81/34281/1 && git cherry-pick FETCH_HEAD
      
    • Rebuild and flash kernel compoanents


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#USB_Peripheral_boot

Single stage bootloader

6AJ.1.2_Application_Notes#Single_stage_bootloader

All eMMC option

6AJ.1.2_Application_Notes#All_eMMC_option


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/kitkat-mr1-release..omap-mirror/d-kitkat-mr1-release'


Post release fixes

Domain Issue Fix Component
IPC Late attach vrings fix http://review.omapzoom.org/35503 u-boot


Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox