Topic: openembedded and i2c
I followed the instructions posted here https://github.com/clearwater/chumby-oe to build openembedded Linux for my Chumby Hacker Board but that didn't result in any packages for the software development kit. After adding a 'make --continue world' option to the Makefile I was able to obtain all the packages that seemed to be needed to compile C programs on the CHB.
However the i2c motion sensor examples from the Adafruit website didn't seem to work, although it all worked fine using the original image that came with the CHB. After a bit of reading I determined that the mma7455 wasn't being initialised. Issuing the command "/usr/bin/i2c 58 wb 22 1" to put it in measurement mode fixed that.
Another difference that I noticed was that the i2c initialisation script /etc/init.d/i2c didn't work and produced the errors:
FATAL: Module i2c_pxa not found.
FATAL: Module i2c_dev not found.
According to the kernel config file used by the CHB openembedded recipe the i2c modules are supposed to be compiled into the kernel rather than installed as modules so I figure that this doesn't matter.
I'm wondering if there are some other packages in the openembedded version that I missed and that should have been installed to avoid these problems. Can anyone recommend a list of all the openembedded packages that should be built and installed to get the best out of the CHB? It would be good to not have to do an entire "make world" to get a workable development kit. Attempting to compile just a few packages at a time only seemed to result in missing dependency errors, but compiling everything takes a very long time.