It is regarding the PLXsdk from https://www.broadcom.com/products/pcie-switches-bridges/software-dev-kits I have some NVMe SSD connected to PCI, I am trying to read and write the BAR register for that NVMe Drive in Linux Kernel 5.3 usig=ng the PLXSDK provided by Broadcom, I am able to build the driver and load it into Kernel.But when I am trying to run it on my Gigabyte Motherboard PC for the given samples it is saying no such Device or driver found error Code 204, I am using insmod PlxSvc for loading the driver and on checking it with lsmod in terminal PlxSvc is there. So, I am doubting whether I am doing anything wrong while trying to load it. Can anyone tell me if he/she has tried to use PLXsdk from https://www.broadcom.com/products/pcie-switches-bridges/software-dev-kits on Linux, for Windows it is working fine from the same link.
PCI/PCIe Software Development Kits from Broadcom installation on Linux Kernel 5.3
1k views Asked by Akash Gupta At
2
There are 2 answers
0
R. J. Mathar
On
In the case of the 8311 driver, for example, the following file would be copied to /etc/systemd/system/plxload8311.service to get it loaded
#/etc/system/system/plxload8311.service
#
# $Header$
[Unit]
Description=Load PLX drivers
[Service]
Type=oneshot
RemainAfterExit=yes
# Comment one of these, depending on the hardware.
# Either the PEX 8311 PCIe bridge of http://www.plxtech.com/products/expresslane/pex8311
# or the PCI 9656 board of
# http://www.plxtech.com/products/io/pci9656
Environment=PLXTYPE=8311
Environment=PLX_SDK_DIR=/usr/src/PlxLinux/PlxSdk
ExecStart=/bin/sh -c "cd /usr/src/PlxLinux/PlxSdk/Bin && ./Plx_load 8311"
ExecStop=/bin/sh -c "cd /usr/src/PlxLinux/PlxSdk/Bin && ./Plx_unload 8311"
[Install]
WantedBy=multi-user.target
and then using
if [ -c /dev/plx/Plx8311 ] ; then
serv=plxload8311
elif [ -c /dev/plx/Plx9656 ] ; then
serv=plxload9656
fi
if [ ${#serv} -ge 1 ] ; then
systemctl enable $serv
systemctl start $serv
cp ${serv}.service /etc/systemd/system
fi
As far as I know the /dev/... files are created by
cd Driver
./builddriver 8311
./builddriver 9656
cd ../PlxApi
make clean
make
ls -l /dev/plx*
Related Questions in LINUX-KERNEL
- Android kernel error: undefined reference to `get_hw_version_platform'
- Is there a need for BPF Linux namespace?
- Facing fatal errors while running "yum update" command on CentOS 7/Cloudlinux 7
- crash utility itself crashes while decoding kdump generated from null pointer dereference in kernel module
- How to compile the Linux kernel with -O0 for more detailed debug?
- Linux support for parallel Pixel data Image sensor
- Can't upgrade to newest version of linux-image-6.5.0-26-generic
- How to protect a page so that it cannot be write in mips arch?
- How to extract the .img file into normal kernel source file in the linux?
- Storage size of struct hash_desc desc; isn't known
- How can I intercept failed file openning calls?
- struct nameidata-Linux Kernel Module
- How to modify a 'struct msghdr' in Linux Kernel Module?
- How to allocate 500MB+ physically contiguous memory in a Linux kernel module and copy data to that memory from a userspace process?
- Hyper Threading: nosmt in grub configuration
Related Questions in SDK
- DirectX 9 With No SDK Installed - How To Translate a D3DMATRIX?
- Error "_IframeMessenger_get Target Origin is not defined" when starting the project. Autodesk Forma SDK
- `android` Does Not Exist in `~/Android/Sdk/platform-tools`
- -> Requested enabled DevSupportManager, but DevSupportManagerImpl class was not found
- Anyone know of javascript library to dynamically create mappings?
- Short time token with the Graph API and Facebook login through the iOS SDK
- I cannot install the dotnet-sdk-8.0.203-win-x64 version
- Im using mapbox sdk navigation v2 and have a problem with the cycling view
- Azure App Configuration - Replica for 429 HTTP responses
- Connected device (the doctor check crashed)
- Cannot find protocol declaration for 'TransactionHandlerDelegate'" (Swift/MAUI Interop)
- Flutter SDK: Files Deleted Automatically (e.g., dart.exe), Errors in Android Studio
- Mac Sonoma 14.4 Dotnet 8.0.203 SDK webapi https error
- No SDK on Intellij IDEA with jdk17 Installed
- Autodesk RCP, RCS files reading
Related Questions in DRIVER
- How to setup SLI on two GTX 560Ti's
- How can I set an uncommon screen resolution on GNU/Linux with an Arc 380 GPU and X11?
- Bluetooth Driver file corrupt or replaced
- Simba Driver Upgrade on Windows
- OpcUA The user identity token is not valid
- RPi Linux Audio driver for 8 channels Codec
- ORA-61754: Using JSON type collections on Oracle Database release 23c or later requires a SODA driver for Oracle Database release 23c or later
- create_ap wlan0: Could not connect to kernel driver
- How to fix Linux CMA on x86 with internal graphic card i915/hda_intel ioremap error?
- How to enable Swap APO in SYSVAD sample driver without enhancement tab in windows 11?
- RT linux isr routine
- I sent a bundle of data by using bulkTransfer, but received data in pieces
- Trying to do sudo make for linux driver
- Erreur "java.lang.ClassNotFoundException: org.postgresql.Driver"
- In Windows 10/11 is there a way to script a device to use a specific driver, even if its not marked as compatible?
Related Questions in BROADCOM
- Autosys Workload Automation same as CA Workload Automation AE?
- Simultaneous Access Point and Wifi Client connection via bcm43430 chipset in systemd
- Deciphering a specific response from a Broadcom mobile GPS module
- Broadcom CA Workstation - Making an APPL WAIT while another APPL is EXECUTING
- Error connecting to wifi with bcm43217 and wpa_supplicant
- CA service management conect to rest_access but another tables not found in postman basic Auth
- (BCM4345/6) WiFi works, but on the regular basis getting cfg80211_set_channel error, reason -52
- HTTP Error 400. The request has an invalid header name / Duplicated User-Agent
- AUTOSYS: Command to fetch job status for multiple jobs at the same time
- Linux system not detecting BNXT_EN NICs
- How to query total taken time from story defined til complete in java in Rally?
- Siteminder and SameSite Cookie attribute
- PCI/PCIe Software Development Kits from Broadcom installation on Linux Kernel 5.3
- Unable to load bnxt_en driver intermittently on linux os backed by hypervisor
- unable to apply release wise filter while fetching the task details with owner in rally
Related Questions in NVME
- Is it faster to read a file on an NVMe using threads?
- Installing Linux on Acer extensa 215-21 does not recognize the hard disk (NVME)
- Can't get vermagic to match on Linux NVMe driver
- Can't issue Get log page, identifier Log Identifier(LID) = 5 in windows
- Do PCI and PCIe allow change BAR value to remap device registers to new address?
- Cannot use in-kernel TLS using nvme-cli in RHEL 9.2, , getting error in generating tls key
- How to resolve nvme-cli-master build error
- bpftrace get nvme trim range data
- How to solve this error "failed to initialize PI MR pool sized 128 for QID 1" when connect nvmeof
- Behavior of Linux NVMe driver IRQ handler
- attempting to read the same file from multiple threads causes the file to become corrupt?
- User-mode application that performs RDMA directly to nvme drive on Linux
- How to write a raw data in physical memory to NVMe ssd using kernel module?
- Where to start with PCIe C source code for creation of NVMe submission and completion queues
- Concurrent mmap page faults failing to use NVMe IO queue on Linux?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You need to use the provided "Bin/Plx_load" script to load drivers in this SDK. The script sets up nodes in /dev/plx so that applications using the PLX API can communicate with SDK drivers. Simply using insmod will load the driver but no nodes will be created.
Refer to PLX SDK Linux Release Notes in the Documentation folder. All the instructions & explanations are there.