-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Hi, I'm new to using switchtec and would appreciate any help to get started.
I'm using MICROSEMI PM14100 board on a Dell Precision Tower 5810.
I'm running ubuntu 18.04.5 LTS desktop.
uname -r output:
5.4.0-74-generic
I cloned this repo and checked out branch backport_5.3_to_5.4 and ran:
make
sudo make install
make install gives following output:
make -C /lib/modules/5.4.0-74-generic/build M=$PWD modules_install
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-74-generic'
INSTALL /home/zhileiz/PCIE-testing/switchtec-kernel/ntb_hw_switchtec.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/zhileiz/PCIE-testing/switchtec-kernel/switchtec.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
DEPMOD 5.4.0-74-generic
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-74-generic'
Then I did:
sudo modprobe switchtec
sudo modprobe ntb_hw_switchtec
Now if I do lsmod | grep switchtec, I get:
ntb_hw_switchtec 28672 0
ntb 20480 1 ntb_hw_switchtec
switchtec 36864 1 ntb_hw_switchtec
However, when I run switchtec-user command switchtec list it returns:
free(): invalid pointer
Aborted (core dumped)
and python ./scripts/test.py also throws:
FileNotFoundError: No such file or directory: '/dev/switchtec0'
and there is no switchtec* device in ll /dev output.
Any suggestions? Thank you.
Also if anyone could point me to an official manuel/specification of the board, that would be helpful too.
Metadata
Metadata
Assignees
Labels
No labels