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

Re: [yocto] Power off IC over Yocto

2015-12-17 Thread Michael Habibi
Simon, that's more of a kernel development question and probably doesn't fit in the Yocto project mailing list. You may try the linux kernel development mailing lists. However, I will give you some feedback. I think you are modifying code too deep in the kernel. By the time you get to that

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

Re: [yocto] Power off IC over Yocto

2015-12-15 Thread Christian Ege
Hi, Am 15.12.2015 6:45 nachm. schrieb "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

Re: [yocto] Power off IC over Yocto

2015-12-15 Thread Christian Ege
Am 15.12.2015 7:45 nachm. schrieb "Christian Ege" : > > Hi, > > Am 15.12.2015 6:45 nachm. schrieb "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. > >