[MinnowBoard] GSOC'15 - Idea feedback - SMBus Kernel Support
sprkv5 at gmail.com
Fri Mar 27 06:58:55 UTC 2015
On Wed, Mar 25, 2015 at 1:22 AM, Michael Jones <mike at proclivis.com> wrote:
> If you change the block read/write to 64 bytes and had a Beagle trace of it along with a patch, even if it was hacked, it would show you can:
> - Install Ubuntu
I use Ubuntu :)
> - Find the code in the i2c/smbus driver and modify it
About that. In include/uapi/linux/i2c.h
The block read/write size is determined by the block definition in
__u8 block[I2C_SMBUS_BLOCK_MAX + 2];
...and currently I2C_SMBUS_BLOCK_MAX is defined to the value 32.
Increasing it to 64 should achieve the desired changes.
> - Compile and run the kernel
Compiled a kernel with the unmodified i2c-* modules.
> - Write a simple SMBus application to test
About this - I don't have any pointers on how to emulate a fake i2c
device, to test the i2c_smbus_read/write_block_data() functions.
Or is there any simple way to do this?
> - Give the app and patch for review and testing
> If you can do that, you can probably succeed with a general improvement to SMBus.
Plus another request - My proposal would require help, as I found this
project late, my bad.
May I submit the drafts to melange or discuss here (I would like to
have quickest feedback possible)?
> On Mar 23, 2015, at 5:07 PM, Subhashish Pradhan <sprkv5 at gmail.com> wrote:
>> I'm Subhashish Pradhan, a 3rd year CS undergrad from India. I am
>> interested in the following idea: "SMBus Kernel Support".
>> I see that this project requires C, some Linux driver and kernel
>> skills. I believe I have these skills thanks to my GSoC project with
>> GNU/Hurd last year and from writing
>> basic kernel modules for the Eudyptula Challenge.
>> Since this task is to be performed on the kernel source built on a
>> MinnowBoard, what could be some basic work that can be done to
>> demonstrate proficiency related to this project?
>> Any helpful directions/commments will be appreciated.
>> nick: sprkv5
>> elinux-MinnowBoard mailing list
>> elinux-MinnowBoard at lists.elinux.org
> elinux-MinnowBoard mailing list
> elinux-MinnowBoard at lists.elinux.org
More information about the elinux-MinnowBoard