This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi TI Experts,
RGXInit: InitFirmware failed
RGXValidateFWHeaderVersion2: KM and FW version mismatch (expected: 23.3, found: 24.1) [117]
[ 5.474860][ T222] PVR_K:(Error): 222: InitFirmware: RGXGetFWImageAllocSize failed [1314]
[ 5.474923][ T222] PVR_K:(Error): 222: RGXInit: InitFirmware failed (3) [2142]
[ 5.474931][ T222] PVR_K:(Error): 222: RGXInit() failed (PVRSRV_ERROR_INVALID_PARAMS) in PVRSRVCommonDeviceInitialise() [2689]
[ 5.474939][ T222] PVR_K:(Error): 222: PVRSRVDeviceFinalise() failed (PVRSRV_ERROR_NOT_INITIALISED) in PVRSRVCommonDeviceInitialise() [2698]
[ 5.502807][ T222] PVR_K:(Error): 222: PVRSRVDeviceServicesOpen: Failed to initialise device (PVRSRV_ERROR_NOT_INITIALISED) [507]
[ 6.005232][ T222] PVR_K:(Error): 222: PVRSRVDeviceServicesOpen: Driver already in bad state. Device open failed. [479]
repo:
<project name="graphics/ti-img-rogue-driver" path="imgtech-module" remote="git-ti-com" revision="c89c1efa4a1ee5da64fd525f45e9e33728cf6181" upstream="linuxws/kirkstone/k6.1/23.3.6512818" dest-branch="linuxws/kirkstone/k6.1/23.3.6512818" groups="ti"/>
Hi,
GPU driver is split into UM and KM. Here are the respective repos: https://git.ti.com/cgit/graphics/ti-img-rogue-driver/ and https://git.ti.com/cgit/graphics/ti-img-rogue-umlibs/.
Could you please confirm that UM and KM libs are matching because based on the above log, it does not seem like it.
Regards,
Krunal
For imgtech-module : https://git.ti.com/cgit/graphics/ti-img-rogue-driver/ am checkout from the branch "linuxws/kirkstone/k6.1/23.3.6512818" and the coomit id is "c89c1efa4a1ee5da64fd525f45e9e33728cf6181" .
<project name="graphics/ti-img-rogue-driver" path="imgtech-module" remote="git-ti-com" revision="c89c1efa4a1ee5da64fd525f45e9e33728cf6181" upstream="linuxws/kirkstone/k6.1/23.3.6512818" dest-branch="linuxws/kirkstone/k6.1/23.3.6512818" groups="ti"/>
But am unable to find "ti-img-rogue-umlibs". So, can you please tell from which module taht I can find "ti-img-rogue-umlibs" git.ti.com/.../
Hi,
As I stated in previous post, the ti-img-rogue-umlibs is posted here: https://git.ti.com/cgit/graphics/ti-img-rogue-umlibs/?h=linuxws%2Fkirkstone%2Fk6.1%2F23.3.6512818
Regards,
Krunal
Hi Team,
We have resolved the issue.
Reason : We have face issue in aosp repo sync,
We are unable to fetch 5 folder ( hardware/ti/am62x, device/ti/am62x, external/v4l2_codec2, device/ti/am62x-kernel, vendor/ti/am62x ) from the repo RLS_09_02.xml.
Can you please check why the below repo sync is getting failed for below folders only in RLS_09_02.xml
Details of issue and git :
error: Server does not allow request for unadvertised object f460cc33720fc66a014fd8923e032793c7bad606 error: Cannot fetch android/hardware-ti-am62x from git://git.ti.com/android/hardware-ti-am62x
name = android/hardware-ti-am62x
path = hardware/ti/am62x
git url = https://git.ti.com/android/device-ti-am62x
branch = d-android14-release
commit id = f460cc33720fc66a014fd8923e032793c7bad606
error: Server does not allow request for unadvertised object 70a3161f12e2685c0e9eecbdf237ac1d56e5cb09 error: Cannot fetch android/device-ti-am62x from git://git.ti.com/android/device-ti-am62x
name = android/device-ti-am62x
path = device/ti/am62x
git url = https://git.ti.com/android/device-ti-am62x
branch = d-android14-release
commit id = 70a3161f12e2685c0e9eecbdf237ac1d56e5cb09
error: Server does not allow request for unadvertised object 64021a2ec150204437cf606f053528c36a46b5ea error: Cannot fetch android/external-v4l2_codec2 from git://git.ti.com/android/external-v4l2_codec2
name = android/external-v4l2_codec2
path = external/v4l2_codec2
git url = https://git.ti.com/android/external-v4l2_codec2
branch = d-android14-release
commit id = 64021a2ec150204437cf606f053528c36a46b5ea
error: Server does not allow request for unadvertised object e3c2c00f63b96e16161a064455fe656a00e1d9df error: Cannot fetch android/device-ti-am62x-kernel from git://git.ti.com/android/device-ti-am62x-kernel
name = android/device-ti-am62x-kernel
path = device/ti/am62x-kernel
git url = https://git.ti.com/android/device-ti-am62x-kernel
branch = d-android14-release
commit id = e3c2c00f63b96e16161a064455fe656a00e1d9df
error: Server does not allow request for unadvertised object 43226e196eb74fe21d8c718520d44cc1ea2647ce error: Cannot fetch android/vendor-ti-am62x from git://git.ti.com/android/vendor-ti-am62x
name = android/vendor-ti-am62x
path = vendor/ti/am62x
git url = https://git.ti.com/android/vendor-ti-am62x
branch = d-android14-release
commit id = 43226e196eb74fe21d8c718520d44cc1ea2647ce
Hi,
So first to give some details on rogue/UM on Android.
The kernel driver is located at:
https://git.ti.com/cgit/graphics/ti-img-rogue-driver/
The UM (User Modules) are part of vendor/ti/am62x:
https://git.ti.com/cgit/android/vendor-ti-am62x/
For release SDK 9.2, DDK version 23.3 is the default version.
According to the 9.2 release manifest:
https://git.ti.com/cgit/android/manifest/tree/releases/RLS_09_02.xml?h=android14-release
https://git.ti.com/cgit/android/manifest/tree/releases/RLS_09_02_Kernel.xml?h=android14-release
We can see that the following versions were used:
https://git.ti.com/cgit/android/vendor-ti-am62x/commit/?h=d-android14-release&id=43226e196eb74fe21d8c718520d44cc1ea2647ce
https://git.ti.com/cgit/graphics/ti-img-rogue-driver/commit/?h=linuxws/kirkstone/k6.1/23.3.6512818&id=c89c1efa4a1ee5da64fd525f45e9e33728cf6181
So it's very odd that you observe a version misconfiguration (24.1 versus 23.3). Are you perhaps upgrading to SDK 10.0 ?
Now secondly, on the "repo sync issue": This seems to be an IT problem/misconfiguration of cgit. I don't know how to solve this.
However, as a work-around, you can manually fetch the projects:
repo forall -c 'git fetch git-ti-com d-android14-release:d-android14-release' hardware/ti/am62x device/ti/am62x external/v4l2_codec2 device/ti/am62x-kernel vendor/ti/am62x repo sync -cd -j5
Thank you for the reply, I hope it will work.
For the board SK-AM62-LP, the source code for AOSP 14 and Linux is unavailable
Link: https://www.ti.com/tool/SK-AM62-LP
Could you please check.
Hi Binil,
This question is not related to the initial thread. In the future, please open a different support request for this, as it makes things more searchables for others who may have the same concern.
Per my understanding. SK-AM62-LP is supported by the regular AM62-SDK.
See:
https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/10_00_07_04/exports/docs/devices/AM62X/linux/Overview/Download_and_Install_the_SDK.html?highlight=lp#download-install-the-sdk-installer-on-host
Hardware Supported |
AM62X-SK / AM62X-LP / AM62B-P1 / Beagle Play |
Please keep us posted on resolving the Android repo sync issue you are encountering.
Binil,
We found out that using git:// on projects with shallow clones (clone-depth=1) fails.
Another work-around would be to use https:// instead of git:// in the repo init command:
repo init -u https://git.ti.com/git/android/manifest.git -b android14-release -m releases/RLS_09_02.xml
We will update the documentation for the SDK 10.0