## Enabling OSD on J6.

## u-boot: https://git.ti.com/android-sdk/u-boot
git clone git://git.ti.com/android-sdk/u-boot.git
git checkout -b my-6AM.1.3-rvc rvc-4.0

last commit:
c212e78 (HEAD, tag: rvc-4.0, origin/6AM.1.3-rvc, robust_rvc-4.0) FW: RVC FW configurations for DSP1 core

## kernel-omap: https://git.ti.com/android-sdk/kernel-omap
git clone git://git.ti.com/android-sdk/kernel-omap.git
git checkout -b my-6AM.1.3-rvc rvc-4.0

last commit:
031da1c (HEAD, origin/6AM.1.3-rvc, robust_rvc-4.0) RVC: Configure LG display panel for RVC on J6 EVM

NOTE:
1. To enable OSD. Need to remove commit 031da1c
git reset --hard 5a0af72

Build the dtb:
export CROSS_COMPILE=/android/6AM.1.3/mydroid/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-
export ARCH=arm
make mrproper
./ti_config_fragments/defconfig_builder.sh -t ti_sdk_dra7x_android_release
make ti_sdk_dra7x_android_release_defconfig
make uImage LOADADDR=0x80008000
make dtbs

## VISION_SDK - ti_components
cd $workdirectory/VISION_SDK_02_12_00_00/ti_components
git am 0001-RVC-Add-PLL-setting-for-J6-J6Eco-OSD.patch

## VISION_SDK - vision_sdk
cd $workdirectory/VISION_SDK_02_12_00_00/vision_sdk
git am 0001-RVC-Enabling-OSD-panel-for-J6-J6Eco.patch

Build the vision sdk firmwares:
cd $workdirectory/VISION_SDK_02_12_00_00/vision_sdk
make depend; make vision_sdk
../ti_components/cg_tools/linux/ti-cgt-arm_5.2.5/bin/armstrip -p binaries/tda2xx_evm_robust_rvc/vision_sdk/bin/tda2xx-evm/vision_sdk_ipu2_release.xem4 -o dra74x-ipu2-fw.xem4
../ti_components/cg_tools/linux/C6000_7.4.2/bin/strip6x -p binaries/tda2xx_evm_robust_rvc/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_1_release.xe66 -o dra74x-dsp1-fw.xe66

Flash the 2 firmwares + dtb
sudo ./fastboot flash environment dra7-evm-robust-rvc.dtb
sudo ./fastboot flash ipu2 dra74x-ipu2-fw.xem4
sudo ./fastboot flash dsp1 dra74x-dsp1-fw.xe66

Known issue:
1. Not able to resize the width from 1920.

