I am new to creating a driver implementing. My Application is using socketcan interface and apparently socketcan is not supported by the SOC. I am planning to write my own driver. The issue I know how simple module for kernel I am not pretty sure where to start for socketcan driver . If someone can please tell me where can I take reference for building the CAN driver or some git repo where can I use it and any specifics while writing the driver
Socketcan Driver implementation
316 Views Asked by Kripthe At
1
There are 1 best solutions below
Related Questions in C
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in EMBEDDED-LINUX
- Touch calibration error when using Avalonia UI with Raspberry PI 4 (lite) DRM Mode
- Can't ping to 8.8.8.8 and google.com in beaglebone black
- How to extract the .img file into normal kernel source file in the linux?
- Using C++ libgpiod to calculate interval and speed between events
- yocto bitbake 'python3 setup.py bdist_wheel ' execution failed
- How to reduce cached memory used by Linux kernel on embedded linux platform
- Unable to parse input tree, possibly due to dash
- How to add a button handler to GPIO pin through a push button
- Linux of_platform_depopulate() does not remove drivers
- Filling a sk_buff with content of recieved frame
- How to reduce reserved memory allocated by Linux kernel during boot time
- embedded linux buildroot how to work with axi-gpio?
- How do I know when the dsa_loop and dsa_loop_bdinfo linux kernel modules are working?
- buildroot for zedboard, how to enable axi-gpio in device tree?
- Driver is not loading when there 2 or more source files
Related Questions in YOCTO
- Create kea runtime directory at startup in Yocto image
- Bitbaking recipe doesn't install DEPENDS
- How do I make a container image from an SD card image?
- Yocto kernel patch fails with git am
- Yocto Kirkstone Bitbake Recipe using Python3 TOML for python3-fastapi
- Confusion with thumb instructions while compiling recipe for cortexm4 CPU
- How to make Yocto place all target RPMs for a specific package group to a separate directory?
- bitbake package-index not creating repomd.xml
- yocto IMAGE_POSTPROCESS_COMMAND
- Yocto Build edk2 recipe giving error in Ubuntu: 20.04.6 LTS
- How to have per MACHINE kernel configuration in Yocto?
- tar.gz image archive created via bitbake differs from archive created manually
- yocto bitbake 'python3 setup.py bdist_wheel ' execution failed
- Yocto conflicting error while building rootfs
- Starting a firmware on imx7d m4 core with bootaux, on u-boot, fail when using TCM memory but not when using DDR memory
Related Questions in SOCKETCAN
- Unable to send a message CAN from a PC with Linux (Ubuntu) to a module CANable (usb to can) with C++ code
- Class Destructor call when using multithreading on socketcan
- Why does candump of can-utils flag sent frames as RX instead of TX?
- How to use CANopenLinux with USBtin?
- How to use SocketCAN via Unix Domain Sockets in Java?
- AttributeError: object has no attribute thrown even though an attribute is implicitly given
- Is it possible to have two tx queues in Linux socketcan with two different priorities?
- How can the value of an argument in a function called from a signal handler be different from the value passed in?
- Multiple cycle times for can frames on a bcm SocketCan possible?
- modprobe: ERROR: could not insert 'can': Invalid argument (In 5.10.102.1 WSL2)
- Build and install libsocketcan for x86_64
- Socketcan Driver implementation
- How to compile custom Linux Kernel on/for AWS EC2 instance
- Bitbake LibSocketCAN
- Automake LibSocketCan
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)
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?
SocketCan is the name of a Linux subsystem. It can be enabled in the kernel config via
CONFIG_CAN. In turn, this subsystem will make use of platform-specific drivers to control the SOC's CAN adapters (if any).If Linux's CAN subsystem is not enabled, make sure to enable
CONFIG_CAN. If it is enabled, and no "can" device show up, the best would likely be to contact the SOC vendor for further guidance / drivers / devicetree / ... In any case, writing a custom driver is probably not necessary here.