Considering buying and question on the PCIe slot
#25
(11-29-2018, 09:01 AM)jgalak Wrote:
(10-09-2018, 01:16 PM)zener Wrote: I'm was hoping to use mine with my new PCIe based XTRX SDR (Software Defined Radio). But at first attempt the driver did not compile on arm64. So it seems like some debugging is required. But at least it's detected:


Code:
root@rockpro64:~# lspci
00:00.0 PCI bridge: Rockchip Inc. RK3399 PCI Express Root Port Device 0100
01:00.0 Memory controller: Xilinx Corporation Device 7012


Hey @zener, did you ever get this working?  I was looking at this board specifically to use with an Xtra, so hoping someone has blazed the trail Smile

Sorry about the late reply.

No I could not get it working. The recent PCIe driver will load, the low level test application will not crash:

 
Quote:./test_xtrxll
16:08:23.219683 DEBUG:  xtrxllpciev0_discovery:264 [PCIE] pcie: Found `pcie:///dev/xtrx0`
16:08:23.220160 REGS:   internal_xtrxll_reg_in:156 [PCIE] PCI:/dev/xtrx0: Read  [001a] = 04000013
16:08:23.220212 INFO:   xtrxll_base_dev_init:1116 [CTRL] PCI:/dev/xtrx0: XTRX Rev4 (04000013)
16:08:23.220276 INFO:   xtrxllpciebase_dma_start:536 [BPCI] PCI:/dev/xtrx0: RX DMA STOP MIMO (BLK:0 TS:0); TX DMA STOP MIMO @0.0
16:08:23.220371 REGS:   internal_xtrxll_reg_out:147 [PCIE] PCI:/dev/xtrx0: Write [000d] = c0000000
16:08:23.220442 REGS:   internal_xtrxll_reg_out:147 [PCIE] PCI:/dev/xtrx0: Write [000d] = 42000000
16:08:23.220468 INFO:   xtrxllpciev0_open:360 [PCIE] PCI:/dev/xtrx0: Device `pcie:///dev/xtrx0` was opened
16:08:23.220494 REGS:   internal_xtrxll_reg_out:147 [PCIE] PCI:/dev/xtrx0: Write [0000] = 002fffff
16:08:23.220721 DEBUG:  xtrxllpciev0_lms7_spi_bulk:197 [PCIE] PCI:/dev/xtrx0: SPI[0/1] I:1
16:08:23.220796 REGS:   internal_xtrxll_reg_in:156 [PCIE] PCI:/dev/xtrx0: Read  [0000] = 00000000
16:08:23.220823 DEBUG:  xtrxllpciev0_lms7_spi_bulk:203 [PCIE] PCI:/dev/xtrx0: SPI[0/1] 002fffff => 00000000
Detected LMS #0: 00000000

But when I run the test application it will crash:


Quote:# ./test_xtrx -t -l2
Master: 32.000 MHz; RX rate: 4.000 MHz; TX rate: 0.000 MHz
RX tunned: 900000000.000000
RX bandwidth: 2000000.000000
RX LNA gain: 15.000000
RX PGA gain: 0.000000
RX TIA gain: 9.000000
RX CYCLES=1 SAMPLES=16384 SLICE=16384 (PARTS=1)
Bus error

In the kernel log I observe:


Quote:[  168.793490] xtrx: buf[30]=f1ee0000 [virt ffffff80098a1000] => f1ee0fff
[  168.793527] xtrx: buf[31]=f1ef0000 [virt ffffff80098b1000] => f1ef0fff
[  168.793744] Unhandled fault: implementation fault (unsupported exclusive) (0x92000035) at 0x0000007fae1e1008


Messages In This Thread
RE: Considering buying and question on the PCIe slot - by zener - 12-31-2018, 10:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Another Fan Question backwoodstech2 1 953 02-03-2024, 04:09 PM
Last Post: backwoodstech2
Information Question regarding odd startup behaviour Mff 0 1,476 12-03-2022, 03:18 PM
Last Post: Mff
  PCIE interface power on too late Slark Xiao 0 1,324 11-29-2022, 11:56 PM
Last Post: Slark Xiao
  PCIe gen1 timeout - how to debug tosi 3 5,477 03-10-2022, 05:06 PM
Last Post: db579
  Anyone try an NVIDIA GPU in the PCIe slot? Paraplegic Racehorse 0 1,967 04-15-2021, 11:46 AM
Last Post: Paraplegic Racehorse
  Never ever mix up CPU board connector with 8-pin PCIE connector LMM 0 2,021 02-11-2021, 10:18 AM
Last Post: LMM
  PCIe Armbian and Ayufan for nvme ssd LMM 1 3,115 02-03-2021, 04:38 PM
Last Post: LMM
  fan continously runs on kernel 5.8 but I need to use 5. kernel for PCIe sata card GreyLinux 4 6,510 10-20-2020, 10:52 AM
Last Post: GreyLinux
  PCIe x4 mode - Lane 3 failure acdkyn 1 3,198 04-24-2020, 01:32 PM
Last Post: kuleszdl
  micro SD Card Slot Spring not working, Cant boot mjembd 1 3,498 04-16-2020, 12:30 AM
Last Post: mjembd

Forum Jump:


Users browsing this thread: 1 Guest(s)