6AJ.1.3 Application Notes

From OMAPpedia

Jump to: navigation, search

Contents

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

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


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.

INPUT
  • Microphone: 3.5mm jack on JAMR3 board, labeled as “MIC1” (P7). It’s assigned to Android’s built-in mic
    • Dedicated microphone with 3.5mm stereo plug has to be used
    • 3-pin plug: Tip -> Mono, Ring -> NC, Sleeve -> Ground
    • Microphone from phone headsets cannot be used
  • Back Microphone: 3.5 jack on JAMR3 board, labeled as “MIC2” (P8). It’s assigned to Android’s back mic
    • Dedicated microphone with 3.5mm stereo plug has to be used.
    • 3-pin plug: Tip -> NC, Ring -> Mono, Sleeve -> Ground
  • Line-In, Aux-In: 3.5mm jack on JAMR3 board, labeled as “AUX IN (P6)”. It’s assigned to Android’s auxiliary input (new device type added in 6AJ.1.3)
    • 3-pin plug: Tip -> Left channel, Ring -> Right channel, Sleeve -> Ground
OUTPUT
  • Cabin listening zone
    • Speaker: Default device for Cabin zone. It’s a 3.5mm jack on the JARM3 board, labeled as “LINE OUT1” (P9). (no on-board speakers available)
      • 3-pin plug: Tip -> Left channel, Ring -> Right channel, Sleeve -> Ground
    • HDMI: Supports up to 8-channels, but only stereo and 5.1-channels are used in Android
      • JAMR3 inputs/outputs cannot seamlessly coexist with HDMI due to a board limitation
      • Set the property “persist.audio.use_jamr” to false to fall back to 6AJ.1.2 input/output assignments to allow Cabin zone (speaker) and HDMI to work together. HDMI can be assigned only to the Cabin zone
      • The default configuration of HDMI is stereo only (down-mix if necessary). 5.1-channels can be enabled by setting a system property: “multizone_audio.use_direct”
  • Back-Seat1 listening zone
    • Headphone1: Routed to LineOut2 output in JAMR3 board. It’s a 3.5mm jack labeled as “LINE OUT2” (P10). Headphone1 is the default device of the Back-Seat1 listening zone.
      • 3-pin plug: Tip -> Left channel, Ring -> Right channel, Sleeve -> Ground
    • BT A2DP: A2DP headphone can be paired/connected and assigned to any listening zone.
  • Back-Seat2 listening zone
    • Headphone2: Routed to LineOut3 output in JAMR3 board. It’s a 3.5mm jack labeled as “LINE OUT3” (P11). Headphone2 is the default device of the Back-Seat2 listening zone.
      • 3-pin plug: Tip -> Left channel, Ring -> Right channel, Sleeve -> Ground


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
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
"--wipe_data" - Factory reset 
"--just_exit\n--show_text\n--locale=en_US" - Shows a menu for operations to be done


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


Display

Wi-Fi Display

Note:

Multi Display

Two multi display configurations are supported in this release

  1. Primary LCD + HDMI panel
    • Default configuration
  2. Primary FPD Link + HDMI panel
    • Make sure you don't have JAMR board on your EVM
    • Requires kernel changes for switching to this configuration
    • cd ${YOUR_PATH}/kernel/android-3.8
      git revert -n fab5ef0fcc067ae7a4c20057037294ce99eb13c2
      git revert -n 9099fbfdb348dbe018b800ca49d1e5453f0b9301
      
    • Rebuild and flash kernel

HDMI

6AJ.1.2_Application_Notes#HDMI

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 


Camera

Camera Summary
Feature Camera Module Board DIP Switch Setup
VIP Single Instance
  • Preview upto 720p
  • Capture upto 720p
  • Early Camera support
  • LI Module (OV10633)
CPU Board Default 6aj vip single inst 1.png
  • OV Module (OV10635)
CPU Board + Vision Video Config
SW8 SW7 SW6 SW5 SW4 SW3 SW2 SW1
ON  OFF ON  OFF ON  OFF ON  OFF
6aj vip single inst 2.png
VIP Multi Instance
  • Preview upto 720p
  • Two simultaneous capture (MultiCam app)
  • LVDS using OV10635
    • VIP1 - cam1
    • VIP3 - cam4
CPU Board + Vision Video Config
SW8 SW7 SW6 SW5 SW4 SW3 SW2 SW1
ON  OFF ON  OFF OFF ON  OFF OFF
6aj vip multi 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
SW8 SW7 SW6 SW2 SW1 SW0
OFF ON  ON  OFF ON  ON
6aj analog 1.png


USB

USB DRD

6AJ_USB_DRD

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


IPC


Re-Building SGX kernel module

6AJ.1.2_Application_Notes#Re-Building_SGX_kernel_module


WiLink8Q

6AJ.1.2_Application_Notes#WiLink8Q
For GNSS/GPS source/support contact Ram Machness


Ethernet

6AJ.1.2_Application_Notes#Ethernet


DCAN

6AJ.1.2_Application_Notes#DCAN


CMEM

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


Radio

Radio package is available only through CDDS, please contact 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#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


Post release fixes

Domain Issue Fix Component
Video Memory Corruption http://review.omapzoom.org/34937 AFS
Audio Track reuse http://review.omapzoom.org/34907 AFS
System Fix AVS eFuse=0 Adjust voltages. http://review.omapzoom.org/35115
http://review.omapzoom.org/35116
Kernel
u-boot
System Fix AVS class0 failure http://review.omapzoom.org/35222
http://review.omapzoom.org/35288
Kernel


Misc. Links


Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox