After installing EmuELEC3.9 more than a year ago, it has not been updated, and it is normal to play small games. Yesterday, I wanted to use the ashes LeTV controller on a whim, but found that there is no evremap command in 3.9. The guess may be The problem with this version is that it hasn't been updated for a long time. It is better to install a new 4.3 and try it, so I downloaded the img of 4.3 and wrote the 32G TF card of the earlier version of EmuELEC. This card is an earlier version, it should be You can use the LeTV controller, but there is always a certain probability that it will not be able to start, so I directly re-flash it with the 4.3 version of the image.
Because it has always been started with a USB card reader and a TF card, so after swiping the card, it is also started in this way, and the result is a problem. The expansion in the first step was unsuccessful, and only a 2G storage and a 2G unnamed came out. 's partition.
- I began to suspect that it was a card problem, so I found another 32G TF card, but the problem is still the same.
- So I suspect that it is the problem of img writing. Maybe I can't use the Disk tool that comes with Ubuntu to write? I switched to win10 and tested it with Rufus, and found that it still doesn't work.
- Finally, I suspected the USB card reader and started directly with the TF card slot of the R3300L, so there was no problem. It was quick and smooth to start with the card slot. The first time I started it, I could see the process of expansion and the successful result. .
- Then go to Ubuntu to write with the Disk tool, start with the TF card slot, and the expansion is normal.
So the problem can be determined to be caused by the USB card reader, EmuELEC 4.3 version, the first boot needs to use the TF card slot.
- EmuELEC4.3 adds time zone configuration, no need to go to the command line to set the time zone
- WIFI can directly select the SSID, only need to enter the password, the setting is also very convenient.
- The interface is too expensive, I don't like the font very much, or the original 3.9 interface looks comfortable.
- There is no problem with the previous ROM collection, and the pictures can be displayed normally
Back to the original problem to be solved, and found that there is still no evremap command, go to the GitHub repository to check, this c filepackages/sx05re/tools/sysutils/evdev_tools/sources/remap.cIt is still there, maybe it is no longer compiled and packaged into the mirror, check the version changes, and the corresponding package.mk has been changed a few times. It can be seen that the last change was in August 2019, but the calling relationship is still not correct.
I can't find much information about evremap on Google, this code isBetaXOiWritten, the mapping in the code is written for LeWGP-201, the LeTV Scirocco version controller. Here is the relevant informationhttps://github.com/EmuELEC/EmuELEC/issues/39.
Searching hopelessly, I asked on Discord, but no one responded. Shantigilbert sent a message in the group at 9:00 pm, his mother is seriously ill, and he needs to concentrate on taking care of his mother, and may not update and process EmuELEC anymore Related issues, hope his mother gets better soon, he's in Spain, don't know if there's anything I can do to help.
Going back to evremap, there are probably only two ways to solve it. One is to copy from the old system, because although the EmuELEC version is updated, the kernel has not changed. It is 3.14, so the binary of the old version can still run; the other is One is to compile it yourself, add remap.c to the compilation list
Regarding the latter, the compilation of EmuELEC has not been completed since last night, and the 483 steps of the logo have only reached the 223rd. I found that this project is actually quite large. It needs to download a lot of third-party code in the middle, so it must be connected to the Internet There can be no problems, there can be no problems with accessing GitHub. The space has been used about 30G now, and I don’t know how much it will eventually be used up.
Regarding the former, I downloaded several versions, and finally found evremap under version 3.2. Fortunately, it can be used under 4.3. After testing, it works fine.
It can be said that this LeTV controller has been rescued. The analog joystick of this controller has a more uniform resolution than the analog joysticks of other controllers, and the user experience is better. It feels obvious when driving a racing car. The steering wheel swung wide.
Related documents and records
Updated the record to the previous blogEmuELEC notes, LeTV Scirocco version controller SELECT key settings, evremap is placed on the Baidu disk, you can download it if you need ithttps://pan.baidu.com/s/12nSqxboNvE3mzc4hSuEQDA, link: Extraction code: kdqm. Find EmuELEC-Amlogic.arm-3.2-config-bin-evermap.zip in the directory
$ apt install gcc make git unzip wget xz-utils libsdl2-dev libsdl2-mixer-dev libfreeimage-dev libfreetype6-dev libcurl4-openssl-dev rapidjson-dev libasound2-dev libgl1-mesa-dev build-essential libboost-all-dev cmake fonts-droid-fallback libvlc-dev libvlccore-dev vlc-bin texinfo premake4 golang libssl-dev curl patchelf xmlstarlet default-jre xsltproc
apt install tzdata xfonts-utils lzop
$ git clone https://github.com/shantigilbert/EmuELEC.git $ cd EmuELEC $ git checkout master $ PROJECT=Amlogic ARCH=aarch64 DISTRO=EmuELEC make image
Between steps 240-250 in the middle, there is a giant Crystal, git clone has been executed countless times but cannot be exported. Finally, it is packaged and placed on the server after being exported locally to continue compiling. After finishing the package, there are still nearly 900MB.
git clone https://github.com/dm2912/Crystal.git /home/milton/emuelec/EmuELEC/sources/Crystal/
Around step 397, compiling PPSSPP has not been successful, and appears
undefined reference to 'pthread_create'mistake.
Compiled component setup instructions
During the compilation process, there are mainly several problems encountered
- unable to download
There are two situations in which the download cannot be downloaded. One is that it is blocked by the wall. Then go to the packages directory, search for the corresponding package name, you will find a package.mk, change the downloaded URL to a usable path, and then execute the compilation
- git export failed
Although this is a relatively easy problem to deal with, it still occurs several times in the middle, especially when the warehouse is very large, the probability of direct success in the large process is a bit low, and at this time it is necessary to first
ps aux|grep gitGet the complete command, then export this first git clone in another window, and then continue to compile.
But be careful when you have git submodule, you can't do git clone directly to the submodule, it must be executed in the main warehouse
git submodule update --init --recursive, and it must be noted that the version is consistent
- Version dependency error
In the process of compiling PPSSPP, the current version of libpng is 1.6.x, but the version required in PPSSPP is greater than 1.7.0, so it is necessary to find a package that meets this condition, and then update the address to the corresponding libpng under packages/graphics In the package.mk, and also update sha256, otherwise the download will always fail (if the verification fails, it will be deleted and retry the next one).