Seite 1 von 1

Recompiling TXT firmware 4.4.4?

Verfasst: 27 Jan 2019, 15:16
von vleeuwen
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.

Re: Recompiling TXT firmware 4.4.4?

Verfasst: 27 Jan 2019, 16:54
von MasterOfGizmo
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/

Re: Recompiling TXT firmware 4.4.4?

Verfasst: 27 Jan 2019, 17:04
von vleeuwen
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?

Re: Recompiling TXT firmware 4.4.4?

Verfasst: 28 Jan 2019, 08:11
von MasterOfGizmo
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?