EmuELEC 是专为 Amlogic(晶晨)S905/S912 方案的盒子开发的游戏系统,它基于 CoreELEC 系统,在 CoreELEC 的基础上移植了 RetroArch 和众多的独立模拟器。EmuELEC 前身为 Sx05RE。Sx05RE 整合了 Lakka、KODI、EmulationStation,是一个 Linux 系统,最新版本开始只支持 arm64 架构了。
从github下载img文件到本地;
使用磁盘写入工具(windows下入diskgenui, partitionguru, linux下dd,macos下balenaEtcher)将img镜像写入到U盘中;
U盘写入成功后,会出现如下三个分区:
EMUELEC
:文件系统格式: fat32,保存emuelec的linux kernel和boot等文件;
STORAGE
:文件系统格式: ext4,emuelec系统的根文件系统,emuelec系统启动后,默认挂在在/storage
目录;
EEROMS
:文件系统格式: exfat/ntfs/fat32, emuelec roms目录,emuelec系统启动后,默认挂载在/storage/roms
目录;
打开U盘的EMUELEC
分区,cp device_trees/gxl_p212_2g.dtb dtb.img
;
1
2
| $ adb -s 192.168.31.120:5555 shell cat /proc/device-tree/amlogic-dt-id
> gxl_p212_1g
|
1
2
3
4
5
6
7
8
9
10
11
12
| ## /storage/.config/emuelec/configs/emuelec.conf
## Activate wifi (0,1)
wifi.enabled=1
wifi.ssid=CMCC-5G
wifi.key=xxx
# secondary wifi (not configurable via the user interface)
#wifi2.ssid=new ssid
#wifi2.key=new key
# third wifi (not configurable via the user interface)
#wifi3.ssid=new ssid
#wifi3.key=new key
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| [yourhost]$ ssh root@192.168.31.196
[emuelec]# cd /storage/.config/system.d/
[emuelec]# cat > storage-roms.mount <<EOF
[Unit]
Description=Mounting EmuELEC ROMS on samba
Requires=network-online.service
After=network-online.service
Before=emustation.service
[Mount]
What=//192.168.31.1/XiaoMi-usb0/game/batocera/share/roms
Where=/storage/roms
Options=rw,vers=3.0,iocharset=utf8,username=guest
Type=cifs
[Install]
WantedBy=multi-user.target
EOF
[emuelec]# systemctl enable storage-roms-psp.mount
[emuelec]# systemctl start storage-roms-psp.mount
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| [localhost]$ ssh root@192.168.31.196
[emuelec]# bluetoothctl
[bluetooth]#
[bluetooth]# default-agent
[bluetooth]# power on
[bluetooth]# discoverable on
[bluetooth]# pairable on
[bluetooth]# scan on
Attempting to pair with 00:FF:01:00:0B:A7
[CHG] Device 00:FF:01:00:0B:A7 Connected: yes
[agent] PIN code: 195693
[CHG] Device 00:FF:01:00:0B:A7 Connected: no
[bluetooth]# trust 00:FF:01:00:0B:A7
[bluetooth]# pair 00:FF:01:00:0B:A7
[bluetooth]# connect 00:FF:01:00:0B:A7
## 如果碰到什么问题,可以输入删除掉你的设备,然后重新信任---配对---连接
[bluetooth]# remove AC:FD:93:CB:3E:BE
|
- ROMS on CIFS SAMBA shares - EmuELEC/EmuELEC GitHub Wiki
- https://zhangguanzhang.github.io/2022/01/22/EmuELEC/#/EmuELEC-%E4%BB%8B%E7%BB%8D
- EmuELEC中文网 - EmuELEC使用指南五之在S905盒子上引导EmuELEC