Power & Source of Big Ideas

Google EdgeTPU (PCIe) + NanoPC-T4

Moderators: chensy, FATechsupport

I am trying to use the PCIe (M.2, B) Coral EdgeTPU with the NanoPC-T4. However, with both the 4.4.179 kernel and Buildroot, FriendlyCore/Desktop or the 5.45 kernel with Armbian, I cannot get the PCIe "link trained". See the following boot log snippet:

[ 0.674574] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[ 0.675170] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[ 0.675748] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[ 0.676330] rockchip-pcie f8000000.pcie: missing "memory-region" property
[ 0.676949] PCI host bridge /pcie@f8000000 ranges:
[ 0.677393] MEM 0xfa000000..0xfbdfffff -> 0xfa000000
[ 0.677862] IO 0xfbe00000..0xfbefffff -> 0xfbe00000
[ 1.199001] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[ 1.199635] rockchip-pcie f8000000.pcie: deferred probe failed
[ 1.200406] rockchip-pcie: probe of f8000000.pcie failed with error -110

If anyone is interested in sorting this out, then please get in touch.
Bump. I am getting exactly the same error in kernel log with a M.2 PCIe -> SATA card ASMedia AS106x.

https://www.asmedia.com.tw/eng/e_show_p ... _index=166
https://www.sybausa.com/index.php?route ... ata&page=2

The kernel has SATA AHCI enabled. I tried with kernel.img 4.4.179 packaged with FriendlyArm Lubuntu image, as well as 4.4.179 built from friendlyarm github repo. Same behavior.

FriendlyARM, can you please tell us if you have observed the M.2 PCIe port working with a real PCIe card? I know you said that it should work, but do you have an example? Thank you.

Code: Select all

[    0.562351] rockchip-pcie f8000000.pcie: GPIO lookup for consumer ep
[    0.562368] rockchip-pcie f8000000.pcie: using device tree for GPIO lookup
[    0.562398] of_get_named_gpiod_flags: parsed 'ep-gpios' property of node '/pcie@f8000000[0]' - status (0)
[    0.562626] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[    0.563208] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[    0.563777] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[    0.564348] rockchip-pcie f8000000.pcie: missing "memory-region" property
[    0.564952] PCI host bridge /pcie@f8000000 ranges:
[    1.087052] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    1.087666] rockchip-pcie f8000000.pcie: deferred probe failed
[    1.088419] rockchip-pcie: probe of f8000000.pcie failed with error -110
Update: My PCIe works on mainline 5.8.5, worth a try for your PCIe device.
Details here: https://friendlyarm.com/Forum/viewtopic.php?f=61&t=3246
is there a workaround for installing this?
sudo apt-get install gasket-dkms
Reading package lists... Done
Building dependency tree VidMateapp.win | Canli Mac izle
Reading state information... Done
The following package was automatically installed and is no longer required:
libssl1.1:armhf
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
gasket-dkms
0 upgraded, 1 newly installed, 0 to remove and 407 not upgraded.
Need to get 0 B/46.1 kB of archives.
After this operation, 247 kB of additional disk space will be used.
Selecting previously unselected package gasket-dkms.
(Reading database ... 158292 files and directories currently installed.)
Preparing to unpack .../gasket-dkms_1.0-11_all.deb ...
Unpacking gasket-dkms (1.0-11) ...
Setting up gasket-dkms (1.0-11) ...
Loading new gasket-1.0 DKMS files...
It is likely that 4.4.179 belongs to a chroot's host
Building for 4.15.0-107-generic, 4.4.167 and 4.4.179
Building initial module for 4.15.0-107-generic
Done.

gasket:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.15.0-107-generic/updates/dkms/

Who is online

In total there are 47 users online :: 0 registered, 0 hidden and 47 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 47 guests