Title: Error in Installing Drivers in RK 3399-PC [Print This Page] Author: Srikrishna Time: 8/12/2019 19:05 Title: Error in Installing Drivers in RK 3399-PC Last edited by Srikrishna In 8/12/2019 19:06 Editor
I am trying to install PCIe drivers but couldn't install due to missing files. I have used "ROC-RK3399-PC-MEZZ-M2-POE-UBUNTU18.04-GPT-SDBOOT-20190625-1605.img" file for bootup. But it displays the error shown below while installing the drivers. Could anyone suggest a way to add these files?
./arch/arm64/include/asm/opcodes.h:5:10: fatal error: ../../arm/include/asm/opcodes.h: No such file or directory
#include <../../arm/include/asm/opcodes.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Copy the code
Author: penguin Time: 8/13/2019 11:38
Hi Srikrishna, how do you install the driver?
Do you compile the driver directly on the board?
Then you need to download the full kernel source code
to the board for convenience. The Firefly root filesystem
currently does not contain the kernel headers.Author: Srikrishna Time: 8/21/2019 17:21
I have now successfully installed PCIe drivers but display goes blank after reboot. When I uninstall the driver the display shows up. I am able to use the console mode but not the display mode. Here is the log:
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.167 (daijh@tchip14) (firefly-merged-20190124-oldrkbin: 2f18cc87774957059d9f1d6282ca47f6d6f3ce40) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #152 SMP Tue Jun 25 15:15:26 CST 2019
[ 1.868415] input: gpio-keys as /devices/platform/gpio-keys/input/input3
[ 1.869707] ==gsl_ts_init==
[ 1.870102] ret=0
[ 1.870892] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_edp-supply from device tree
[ 1.870925] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_edp-supply property in node /power-management@ff310000/power-controller failed
[ 1.871052] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_rga-supply from device tree
[ 1.871081] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_rga-supply property in node /power-management@ff310000/power-controller failed
[ 1.871184] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_iep-supply from device tree
[ 1.871213] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_iep-supply property in node /power-management@ff310000/power-controller failed
[ 1.872132] rk808-rtc rk808-rtc: setting system clock to 2019-08-20 05:04:41 UTC (1566277481)
[ 1.873473] mmc_host mmc2: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[ 1.911142] vcc_mipi: disabling
[ 1.911473] dvdd_1v2: disabling
[ 1.911801] ret 1024
[ 1.912404] mmc_host mmc2: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[ 1.912585] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_isp1-supply from device tree
[ 1.912605] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_isp1-supply property in node /power-management@ff310000/power-controller failed
[ 1.912750] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_isp0-supply from device tree
[ 1.912765] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_isp0-supply property in node /power-management@ff310000/power-controller failed
[ 1.912878] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopl-supply from device tree
[ 1.912892] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopl-supply property in node /power-management@ff310000/power-controller failed
[ 1.912995] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vdu-supply from device tree
[ 1.913008] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vdu-supply property in node /power-management@ff310000/power-controller failed
[ 1.913098] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vcodec-supply from device tree
[ 1.913111] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vcodec-supply property in node /power-management@ff310000/power-controller failed
[ 1.913224] I : [File] : drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c; [Line] : 417; [Func] : mali_module_init(); svn_rev_string_from_arm of this mali_ko is '', rk_ko_ver is '5', built at '14:46:49', on 'Jun 24 2019'.
[ 3.242147] systemd[1]: Set hostname to <firefly>.
[ 3.793529] systemd[1]: File /lib/systemd/system/systemd-udevd.service:34 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 3.795101] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[ 3.835397] vendor storage:20160801 ret = -1
[ 3.885539] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn
[ 3.886273] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn
[ 4.460912] systemd[1]: Created slice User and Session Slice.
[ 4.462438] systemd[1]: Reached target Swap.
[ 4.463758] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 4.464992] systemd[1]: Reached target User and Group Name Lookups.
Could you provide instructions on how to check PCIe dts node?Author: penguin Time: 9/3/2019 17:40
Please check the log quoted before. You have to inspect the GPIOs used in PCIe dts node and dvdd-1v2 regulator node carefully.
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)