| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Buried in cloud files? We can help with Spring cleaning!

    Whether you use Dropbox, Drive, G-Suite, OneDrive, Gmail, Slack, Notion, or all of the above, Dokkio will organize your files for you. Try Dokkio (from the makers of PBworks) for free today.

  • Dokkio (from the makers of PBworks) was #2 on Product Hunt! Check out what people are saying by clicking here.

View
 

I2CPackage

Page history last edited by JenCole 12 years, 3 months ago

Package for WGT I2C

 

 

In your OpenWrt buildroot, there's a package directory. In there, mkdir wgti2c or something similar. Within that, mkdir src. These directions are for Kamikaze 7.09 and Linux 2.6.22 .

 

Three files:

 

  • Makefile goes in wgti2c or whatever you called it.
  • i2c-bcm5365-1.c goes in the src subfolder, RENAMED TO i2c-bcm5365.c.
  • Makefile-1. also goes into the src subfolder, RENAMED to Makefile.

 

Now in the OpenWrt top directory, make menuconfig, and under Kernel Packages --> Other you should find kmod-wgti2c.

 

If you want to make a resume, then once you exit menuconfig, just:

 

make package/wgti2c-{prepare,compile} . That will copy the necessary files to the build directory and build them. You must have built the kernel already, so running this after a fresh svn co ... won't work (I tried). But it took my 400MHz Pentium II only overnight to build it so it shouldn't take your 3.8GHz AMD Opteron FX-74 with 4GB RAM, 8x250GB 10k RPM Raptors in Raid 0, 26" 2560x1600 LCD, and wired ball mouse very long at all to compile.

 

Comments (0)

You don't have permission to comment on this page.