Re: [crisos] FoxGM Support on Crisos???

[ Thread Index | Date Index | More lists.tuxfamily.org/crisos Archives ]


Hi,

I've never quite understood what foxbone is, My understanding of the
issue is that it's not necessary if you only want to use plain gpio
from /dev/, or am I completely wrong with this issue?

On Fri, Sep 5, 2008 at 9:27 AM,  <Christophe.Pouly@xxxxxxxxxxxx> wrote:
> Hi,
>
> Ok, thank you very much for your reponse..... And how can I update the trunk to revision r52 or use a released firmware?
>
> Regards,
> Christophe
>
> -----Original Message-----
> From: Listengine [mailto:listengine@xxxxxxxxxxxxxxxxx] On Behalf Of Claudio
> Sent: jeudi, 4. septembre 2008 22:54
> To: crisos@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [crisos] FoxGM Support on Crisos???
>
> Hi all,
>
>
>
>
> 2008/9/4  <Christophe.Pouly@xxxxxxxxxxxx>:
>> Hi,
>>
>> Ok, I have nothing related to gpio in /lib/modules/2.6.xxx/ and also nothing if I check lsmod.
>>
>> And if I try to enable GPIO Support in kernel_menuconfig, I have a compilation error:
>>
>>        arch/cris/arch-v10/drivers/gpio_syscalls.c:2:26: error:Linux/config.h: No such file or directory
>>
>
> some weeks ago I start to port the gpio_syscall and foxbone_syscall to
> alpha and darwinfox version of crisos, quicly I realize that something
> should be change inside kernel syscalls definition around 2.6.20.
>
> At revision 53 and 54 [1] I add the need patch but this work is still
> broken! Sorry for the issues!
> ATM I plane to release an indipendent kernel mod for the foxbone api
> but I don't know if this is tecnicaly possible (Why john used the
> syscall and don't plane to develop a kernel module?).
>
> A quick workaround to obtain working gpio, can be update the trunk to
> revision r52 or use released firmware.
>
>
> Regards
>
>> Regards,
>> Christophe
>>
>
> 1. http://svnweb.tuxfamily.org/listing.php?repname=crisos/svn&path=%2F&rev=53&sc=1
>
>
>> -----Original Message-----
>> From: Listengine [mailto:listengine@xxxxxxxxxxxxxxxxx] On Behalf Of Toni Röyhy
>> Sent: jeudi, 4. septembre 2008 13:38
>> To: crisos@xxxxxxxxxxxxxxxxxxx
>> Subject: Re: [crisos] FoxGM Support on Crisos???
>>
>> Hello,
>>
>> I have no real info about this problem, but I was trying to get usb
>> serial adapter working and created device files manually like you did.
>> After that I realized that kernel module was not loaded, so I would
>> check lsmod and see if there is gpio related modules there. If not I
>> would check if there is any modules in /lib/modules/2.6.xxxx/ related
>> to gpio.
>>
>> -Toni
>>
>> On Thu, Sep 4, 2008 at 9:53 AM,  <Christophe.Pouly@xxxxxxxxxxxx> wrote:
>>> Hi,
>>>
>>> ok,thank you for the tip... now I have the setbits command on my
>>> foxboad, but when I like to turn on the Modem on the FoxGM using
>>> "setbits -p b -b 7 -s 1", I have an error: [unable to open device
>>> /dev/gpiob]
>>>
>>> Then I have create the GPIO devices files:
>>>        mknod /dev/gpioa c 120 0
>>>        mknod /dev/gpiob c 120 1
>>>        mknod /dev/gpiog c 120 3
>>>
>>> ...but the result is still the same [unable to open device /dev/gpiob]
>>> :-(
>>>
>>> Do you have any idea?
>>>
>>> Thank you for your help!
>>> Regards,
>>> Christophe
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Listengine [mailto:listengine@xxxxxxxxxxxxxxxxx] On Behalf Of
>>> Claudio
>>> Sent: mercredi, 3. septembre 2008 22:49
>>> To: crisos@xxxxxxxxxxxxxxxxxxx
>>> Subject: Re: [crisos] FoxGM Support on Crisos???
>>>
>>> Hi
>>>
>>> 2008/9/1  <Christophe.Pouly@xxxxxxxxxxxx>:
>>>> Hi,
>>>>
>>>> I have now resolve the problem I had before, it was a problem with the
>>>> ttyS1 device...
>>>>
>>>> But I have now another problem. I like to turn on my modem by software
>>>> like describe here (http://www.acmesystems.it/?id=13 ) using setbits..
>>>> But unfortunately this feature is not enable by default on the crisos.
>>> I
>>>
>>> You should try to update/install foxboard-utils as package.
>>> Try ipkg update && ipkg install foxboard-utils
>>>
>>>
>>>
>>>> have tried to enable GPIO support in make kernel_menuconfig ->
>>> "Drivers
>>>> for built-in interfaces", but I have the following error when I
>>> compile
>>>> the kernel with "make V=99":
>>>>
>>>>        arch/cris/arch-v10/drivers/gpio_syscalls.c:2:26: error:
>>>> Linux/config.h: No such file or directory
>>>>
>>>> Do you have any idea?
>>>> Thank you for your help,
>>>> Best Regards,
>>>> Christophe
>>>>
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Listengine [mailto:listengine@xxxxxxxxxxxxxxxxx] On Behalf Of
>>>> Claudio
>>>> Sent: lundi, 1. septembre 2008 13:43
>>>> To: crisos@xxxxxxxxxxxxxxxxxxx
>>>> Subject: Re: [crisos] FoxGM Support on Crisos???
>>>>
>>>> 2008/8/25  <Christophe.Pouly@xxxxxxxxxxxx>:
>>>>> Hi,
>>>>>
>>>>>
>>>>>
>>>>> I like to use the FoxGM add-on board with crisos. I have install the
>>>> cris
>>>>> toolchain from source and then download the SDKF from svn trunk
>>>>> (http://crisos.tuxfamily.org/dokuwiki/doku.php?id=documentation:index
>>>> ). The
>>>>> I have try to personalize my kernel using "make kernel_menuconfig"
>>> and
>>>> "
>>>>> make menuconfig" (enabling foxGM and i2c bus) but unfortunately my
>>>>> personalized image won't boot on my Fox Board.
>>>>>
>>>> Hi Christophe Pouly
>>>> can you better explain what s happen?
>>>> The board can be flashed and the red led freeze on?
>>>>
>>>>>
>>>>>
>>>>> Does someone have some experience with foxGM on crisos?
>>>>>
>>>>>
>>>>>
>>>>> Thanks in advance for your help,
>>>>>
>>>>> Regards,
>>>>>
>>>>> Christophe
>>>>
>>>>
>>>>
>>>> --
>>>> Claudio
>>>> User linux #415284
>>>> - http://www.crisos.org/
>>>>
>>>> ---
>>>> CrisOs mailing list
>>>> Official multi-language http://www.crisos.org/ mailing list
>>>>
>>>> For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx
>>>> with subject unsubscribe.
>>>>
>>>> ---
>>>> CrisOs mailing list
>>>> Official multi-language http://www.crisos.org/ mailing list
>>>>
>>>> For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx
>>> with subject unsubscribe.
>>>>
>>>
>>>
>>>
>>> --
>>> Claudio
>>> User linux #415284
>>> - http://www.crisos.org/
>>>
>>> ---
>>> CrisOs mailing list
>>> Official multi-language http://www.crisos.org/ mailing list
>>>
>>> For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx
>>> with subject unsubscribe.
>>>
>>> ---
>>> CrisOs mailing list
>>> Official multi-language http://www.crisos.org/ mailing list
>>>
>>> For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.
>>>
>>
>>
>>
>> --
>> Toni Röyhy
>> +358 (0)443627046
>>
>> ---
>> CrisOs mailing list
>> Official multi-language http://www.crisos.org/ mailing list
>>
>> For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.
>>
>> ---
>> CrisOs mailing list
>> Official multi-language http://www.crisos.org/ mailing list
>>
>> For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.
>>
>
>
>
> --
> Claudio
> User linux #415284
> - http://www.crisos.org/
>
> ---
> CrisOs mailing list
> Official multi-language http://www.crisos.org/ mailing list
>
> For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.
>
> ---
> CrisOs mailing list
> Official multi-language http://www.crisos.org/ mailing list
>
> For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.
>



-- 
Toni Röyhy
+358 (0)443627046

---
CrisOs mailing list
Official multi-language http://www.crisos.org/ mailing list

For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/