[yocto] Bitbake does not apply changes and sometimes it removes the kernel-source directory

2016-02-22 Thread simo
Hi all, I am using a 'poky fido 13.0.1' Yocto distribution and I am experiencing some problem after modifying the Linux kernel code and recompiling it. Bitbake is not applying the changes and sometimes deletes the source folder (but I have a backup, of course). >From yocto environment shell, I e

Re: [yocto] Power off IC over Yocto

2015-12-18 Thread simo
Hi Michael, First of all thank for your feedback. I also don't like to modify the kernel this way, also because it's not portable. I will look forward to develope a kernel module to do that task. >> I don't understand your question about machine_halt, but I will assume you are asking how importa

Re: [yocto] Power off IC over Yocto

2015-12-16 Thread simo
Hi, right now we solved executing an external tool we wrote in C to send the I2C command to the external expansion board. I had to modify the kernel_halt() function as follows: void kernel_halt(void) { /* added by simo */ /* external environment declaration */ char

[yocto] Power off IC over Yocto

2015-12-15 Thread simo
I am using a Gumtix Overo board and we create and expansion board that power Overo and other devices by external power supply IC. Our expansion board with power supply are connected by I2C bus 2 in overo (not the same i2C that TW4030 or tps6595 is connected). Using the Linux command shutdown we