Recompiling TXT firmware 4.4.4?

Alles rund um COMPUTING inkl. Microcontroller & Co.
Everything about COMPUTING incl. Microcontrollers
Forumsregeln
Bitte beachte die Forumsregeln!

Recompiling TXT firmware 4.4.4?

Beitragvon vleeuwen » 27 Jan 2019, 16: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.
[list=]http://xboxdrv.gitlab.io/[/list]
[list=]https://gitlab.com/xboxdrv/xboxdrv/[/list]
[list=]https://www.maketecheasier.com/set-up-xbox-one-controller-ubuntu/[/list]
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
vleeuwen
 
Beiträge: 1003
Registriert: 31 Okt 2010, 23:23
Alter: 63

Re: Recompiling TXT firmware 4.4.4?

Beitragvon MasterOfGizmo » 27 Jan 2019, 17: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/
ftDuino, der Arduino für fischertechnik: http://ftduino.de
Benutzeravatar
MasterOfGizmo
 
Beiträge: 1511
Registriert: 30 Nov 2014, 08:44

Re: Recompiling TXT firmware 4.4.4?

Beitragvon vleeuwen » 27 Jan 2019, 18: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
vleeuwen
 
Beiträge: 1003
Registriert: 31 Okt 2010, 23:23
Alter: 63

Re: Recompiling TXT firmware 4.4.4?

Beitragvon MasterOfGizmo » 28 Jan 2019, 09: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?
ftDuino, der Arduino für fischertechnik: http://ftduino.de
Benutzeravatar
MasterOfGizmo
 
Beiträge: 1511
Registriert: 30 Nov 2014, 08:44

Re: Recompiling TXT firmware 4.4.4?

Beitragvon vleeuwen » 28 Jan 2019, 15:29

Thanks MasterOfGizmo, I already read quickly the big document.

The basic is clear for me.
The same for the instruction about the XBOX interface.
I know enough of the basics of Operating Systems and software engineering to understand it.
However there is a learning curve and my practical experience is with MS-Windows as application developer so I also need some time to get acquainted with the details of LINUX at driver level.
So I need some time.
I like the challenge.
Benutzeravatar
vleeuwen
 
Beiträge: 1003
Registriert: 31 Okt 2010, 23:23
Alter: 63


Zurück zu Robo Pro / Computing / Software

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 4 Gäste