Sign inSign up

apfelwurm/xgpro-docker

By apfelwurm

•Updated almost 2 years ago

XGecu Xgpro wine docker image

Image
0

1.0K

apfelwurm/xgpro-docker repository overview

⁠XGecu Xgpro wine docker image

This repository is based on the work of radiomanV's ⁠ TL866 Winelib⁠ . Thanks for the amazing work!

It also uses the mirrored XGecu_Software⁠ repository from Kreeblah⁠ to get the Installer.

It aims to provide a one command execution for the linux usage of the TL866/T56/T48 programmer with xgpro.

Only tested with the T48!

⁠Linux Container

linux/amd64

⁠Download (optional, should be working without this step)
docker pull apfelwurm/xgpro-docker;
xhost +
docker run --rm --privileged -v $PWD:/currdir -v /dev/bus/usb:/dev/bus/usb -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY apfelwurm/xgpro-docker
xhost local:root
docker run --rm --privileged -v $PWD:/currdir -v /dev/bus/usb:/dev/bus/usb -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -e ROOT=TRUE apfelwurm/xgpro-docker
⁠start the container in a bash command line as root and start xgpro manually as user
xhost +
docker run -it --rm --privileged -v $PWD:/currdir -v /dev/bus/usb:/dev/bus/usb -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY apfelwurm/xgpro-docker /bin/bash
/app/start.sh
⁠start the container in a bash command line as root and start xgpro manually as root
xhost +
docker run -it --rm --privileged -v $PWD:/currdir -v /dev/bus/usb:/dev/bus/usb -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -e ROOT=TRUE apfelwurm/xgpro-docker /bin/bash
/app/start.sh
  • copy the docker-compose.ymlfrom the repository to a local folder and cd in it with the console
  • execute:
xhost +
docker compose up
⁠known issues / quirks
  • when using (a T48) for the first time, i got a "please reflash firmware" error on startup and every action i tried. This could not be fixed on the linux machine (see quirk below). Had to plug it in a windows machine to reflash the current firmware one time, since then it works. [might work now, since udev works, cannot test that]
  • the firmware flashing (on a T48) did not work at all, since i always got a reset error. [might work now, since udev works, cannot test that]
  • i had to install the clip/chip before usb powering the (T48) programmer, becaue i get a pincheck error if i don't do it in that order
  • when programming (with the T48) with the "erase before" option enabled, only erased the IC and then errored out. A restart of the Software/container was required afterwards. This can be avoided by using the erase function and disabling the "erase before" option for programming [might work now, since udev works, cannot test that]
  • had some other quirks, all were fixed by stopping the software, replugging the (T48) programmer and restarting the software.

Tag summary

Content type

Image

Digest

sha256:3b3f3d696…

Size

881.5 MB

Last updated

almost 2 years ago

docker pull apfelwurm/xgpro-docker