Part Number: AM5718
Tool/software: Linux
Hi,
we have customized ti-processor-sdk-linux-am57xx-evm-05.02.00.10 using AM5718 processor and we are able to enter into the root successfully with some sort of problems listed below.
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.
Part Number: AM5718
Tool/software: Linux
Hi,
we have customized ti-processor-sdk-linux-am57xx-evm-05.02.00.10 using AM5718 processor and we are able to enter into the root successfully with some sort of problems listed below.
Hello,
What you are using EVM or custom board?
Please refer the this e2e.ti.com/.../1900347 thread about error
trying to open device 'omapdrm'...failed
...
no device found
I would recommend you to check this guide:
Chapters : 3.9.10 also.
If the kernel is modified I would recommend you to rebuild sgx-km module.
Please make sure the graphics is enable in device tree.
Regarding 3. and 4 I would recommend you to open a new thread to separate the issues.
Hope this helps.
Best Regards,
Margarita
Hi
We are using custom board.
We have already rebuild SGX modules and installed pvrsrvkm module succesfully but suggest us what we have to do in order to build the module omapdrm_pvr and also guide us the procedure that we have to follow to build the module omapdrm_pvr specifically as it our current requirement.
Guide us where to observe whether graphics in the device tree is enabled or not.
BR
Prasad
Hi,
As we are very much new regarding the modules loading and installation process and we tried to rebuild SGX modules and installed pvrsrvkm module successfully, our current requirement module is omapdrm_pvr which is presently hot topic for us so make us know how to install that module and also the procedure related to it as soon as possible. Also we are attaching defconfig file kindly go through it once and suggest us if any modifications that we should perform.
tisdk_am57xx-evm_defconfig.zip
And when we tried to start pvrsrvkm we got the following error
root@am57xx-evm:~# pvrsrvctl --start
Failed to load /lib/modules/4.14.67-g9acd3b72e9/extra/pvrsrvkm.ko: No such file or directory
root@am57xx-evm:~# modinfo pvrsrvkm
filename: /lib/modules/4.14.79-gbde58ab01e/extra/pvrsrvkm.ko
license: Dual MIT/GPL
author: Imagination Technologies Ltd. <gpl-support@imgtec.com>
license: Dual MIT/GPL
author: Imagination Technologies Ltd. <gpl-support@imgtec.com>
srcversion: 533BB7E5866E52F63B9ACCB
alias: of:N*T*Cti,dra7-sgx544C*
alias: of:N*T*Cti,dra7-sgx544
depends:
name: pvrsrvkm
vermagic: 4.14.79-gbde58ab01e SMP preempt mod_unload modversions ARMv7 p2v8
parm: gPVRDebugLevel:Sets the level of debug output (default 0x7) (uint)
root@am57xx-evm:~# dmesg | grep -nre "sgx"
root@am57xx-evm:~# dmesg | grep -nre "drm"
root@am57xx-evm:~# lsmod
Module Size Used by
pvrsrvkm 417792 0
snd_soc_simple_card 16384 0
snd_soc_simple_card_utils 16384 1 snd_soc_simple_card
omap_aes_driver 24576 1
omap_sham 28672 1
omap_wdt 16384 1
ahci_platform 16384 1
libahci_platform 16384 1 ahci_platform
libahci 36864 2 ahci_platform,libahci_platform
libata 204800 3 ahci_platform,libahci_platform,libahci
phy_omap_usb2 16384 0
scsi_mod 135168 1 libata
ti_vpe 24576 1
ti_sc 36864 1 ti_vpe
ti_csc 16384 1 ti_vpe
ti_vpdma 20480 1 ti_vpe
dwc3_omap 16384 1
rtc_omap 20480 1
c_can_platform 16384 0
c_can 20480 1 c_can_platform
can_dev 24576 1 c_can
rtc_ds1307 24576 0
snd_soc_tlv320aic3x 57344 1
omap_des 20480 0
des_generic 28672 1 omap_des
crypto_engine 16384 2 omap_des,omap_aes_driver
omap_crypto 16384 2 omap_des,omap_aes_driver
extcon_usb_gpio 16384 0
sch_fq_codel 20480 2
uio_module_drv 16384 0
uio 20480 1 uio_module_drv
ftdi_sio 40960 0
usbserial 32768 1 ftdi_sio
usbcore 204800 2 ftdi_sio,usbserial
usb_common 16384 1 usbcore
gdbserverproxy 16384 0
cryptodev 45056 0
cmemk 45056 2
root@am57xx-evm:~#
BR
Prasad
Hello,
Potturu Venkata Prasad said:
root@am57xx-evm:~# dmesg | grep omapdrm
[ 2.289504] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
It seems omapdrm is loaded.
Potturu Venkata Prasad said:root@am57xx-evm:~# pvrsrvctl --start
Failed to load /lib/modules/4.14.67-g9acd3b72e9/extra/pvrsrvkm.ko: No such file or directory
root@am57xx-evm:~# modinfo pvrsrvkm
filename: /lib/modules/4.14.79-gbde58ab01e/extra/pvrsrvkm.ko
BR
Margarita
Hi,
&dss {
status = "okay";
vdda_video-supply = <&ldo5_reg>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port {
reg = <0>;
dpi_out: endpoint {
// remote-endpoint = <&lcd_in>;
data-lines = <24>;
};
};
};
};
Once have a look at above piece of code if we comment the highlighted line we are able to load the omapdrm module and there is a display back light problem, whereas the other scenario if we un comment the highlighted line the case is reverse. So once have a look at the attached device tree files and suggest us where we are doing fault and how to proceed further.
BR
Prasad