Recompiling TXT firmware 4.4.4?

Alles rund um TX(T) und RoboPro, mit ft-Hard- und Software
Computing using original ft hard- and software
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
vleeuwen
Beiträge: 1557
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)
Kontaktdaten:

Recompiling TXT firmware 4.4.4?

Beitrag von vleeuwen » 27 Jan 2019, 15:16

Recompiling TXT firmware 4.4.4?
I would like to come in contact with someone who has experience in recompiling the TXT firmware (4.4.4) as publish on https://github.com/fischertechnik/FT-TXT.
Why:
I was looking if it would be possible to use a XBOX controller/joystick on a TXT. And I found drivers for that: xboxdrv, for LINUX. This driver is also part of the Rasbian kernel for the Rasberry Pi 3.

So, my idea is to develop a TXT-SLI to integrate the XBOX controller in ROBOPro for the TXT.
However, I am not a LINUX expert. C/C++ programing for the TXT is not an issue for me but adding this driver to the kernel and recompiling the TXT firmware is for me a bridge to far.
I hope to find a FT-fan with enough LINUX experience on this level who is able to help me with this.

Benutzeravatar
MasterOfGizmo
Beiträge: 2720
Registriert: 30 Nov 2014, 07:44

Re: Recompiling TXT firmware 4.4.4?

Beitrag von MasterOfGizmo » 27 Jan 2019, 16:54

These are userspace drivers and you don't need to recompile the kernel to use them. But you need a working usb device system.

Also there are kernel drivers for the xbox controllers in the linux kernel. You just need to enable them and recompile the kernel.

And yes, i once recompiled the original firmware. It's a buildroot environment just like the community firmware. You might need to find the correct host linux to do that as buildroot has quite a few dependencies on the hosts installation. My work back then can be found here;
https://github.com/ftCommunity/ft-TXT

You should be able to find all you need at https://buildroot.org/
Arduino für fischertechnik: ftDuino http://ftduino.de, ftDuino32 http://ftduino.de/32

vleeuwen
Beiträge: 1557
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)
Kontaktdaten:

Re: Recompiling TXT firmware 4.4.4?

Beitrag von vleeuwen » 27 Jan 2019, 17:04

Thanks.
Do you know if the TXT has a working usb device system?

I notice that your TXT-firmware project is from several years ago.
It looks like that the actual https://github.com/fischertechnik/FT-TXT is more complete but is that enough?

Benutzeravatar
MasterOfGizmo
Beiträge: 2720
Registriert: 30 Nov 2014, 07:44

Re: Recompiling TXT firmware 4.4.4?

Beitrag von MasterOfGizmo » 28 Jan 2019, 08:11

I am not 100% sure but it's imho not enabled by default. And then you can also just enable the xbox controller support in the kernel.

And yes, what i've been using is way older. But it's the same buildroot setup and the usage is pretty similar.

As mentioned before: Buildroot is fully documented. There are even explanations how to configure the kernel. Why don't you just give it a try?
Arduino für fischertechnik: ftDuino http://ftduino.de, ftDuino32 http://ftduino.de/32

Antworten