Jump to content

James60

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello Everyone 🤗, I'm not too familiar with Armbian or ARM-based platforms in general. I'm working on an endeavour that calls for creating a unique kernel module, thus any advice or materials you could offer would be really helpful. This is a quick synopsis of the assignment and the difficulties I'm having: Project Synopsis: I'm using Armbian Buster on an Orange Pi 4. My objective is to create a unique kernel module that communicates with a particular piece of hardware—a temperature sensor attached to the I2C bus. The module's job is to read sensor data and provide user-space applications with access to it. Actions To Date: Kernel Source and Toolchain: On my development computer running Ubuntu 20.04, I had no trouble downloading the Armbian kernel source and installed the cross-compilation toolchain. Skeleton of a Basic Module: I've created a simple "Hello, World" kernel modules and installed it into the Orange Pi with success. I2C Bus Communication: I've worked with communication over the I2C bus in user-space before using programs like i2c-tools, but it's been difficult to translate this to a kernel module. Obstacles: Using the I2C Bus to Communicate: I'm having trouble figuring out how to use my kernel module to access and interact with the I2C bus. The majority of the materials I've come across are either out-of-date or hardware-specific. Correct Module Integration: Making sure that my module can be loaded and unloaded securely and without causing instability in the system, as well as that it is correctly linked with the kernel. Handling Errors and Troubleshooting: Methods that work well for debugging kernels modules, particularly for hardware communication problems. Queries: Could you please direct me to any tutorials or recommended resources that are particular to Armbian and kernels module development?🤔 What are the most effective ways to communicate with an Armbian kernel module over the I2C bus? 🤔 Existing modules or sample projects in the Armbian the environment that I could look at to gain more insight into this sap sac process? 🤔 I am eager to know your insights. Thank you 🙏 in advance.
  2. Hello there, This is my first post after just joining this discussion, so please forgive me and provide kind assistance if I have posted to the wrong subsection! As a new member in this forum and wish to share and gain some knowledge. I am looking forward to create my own discussion to resolve my query and gain some knowledge though I have taken part in various discussion which is definitely helped me a lot. Also in what category should be taken depends on what factors? Thankyou in advance.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines