网上很多镜像,recalbox,retroPI。。。按个人爱好选择,
刷完镜像,修改SD卡上boot分区的config.txt文件(建议备份原文件),recalbox镜像修改config.txt内容如下:
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

disable_overscan=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# Sound output. Set to 0 or comment for autodetect, 1 for DVI, 2 to force HDMI.
#hdmi_drive=2

# Using /etc/modules is deprecated and no longer supported on 4.4 kernel
# So manually enable audio
dtparam=audio=on

config_hdmi_boost=0

# force hdmi while the tv can take time before sending the signal on the hdmi output
hdmi_force_hotplug=1

# uncomment for composite PAL
#sdtv_mode=2

# uncomment for lirc-rpi
#dtoverlay=lirc-rpi

# if you plug your tv at the same time as your rpi and that the rpi switches from the hdmi or give a low resolution because tv had no enough time to initialize it
boot_delay=3

# uncomment if you don't want the rainbow at startup
disable_splash=1

# default CEC name
cec_osd_name=recalbox

# Overclock
gpu_mem_256=128
gpu_mem_512=256
gpu_mem_1024=448

avoid_safe_mode=1


kernel=zImage

# Raise the first security limit up to 70° instead of 60°
temp_soft_limit=70



## Enable audio (loads snd_bcm2835)
dtparam=audio=on
gpu_mem_256=128
gpu_mem_512=256
gpu_mem_1024=256
overscan_scale=0
dtoverlay=dpi24
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87
disable_splash=1
hdmi_timings=320 1 16 30 34 224 1 2 3 22 0 0 0 60 0 6400000 1
#hdmi_timings=320 1 20 29 35 240 1 10 14 16 0 0 0 60 0 6400000 1 # 320:224 Sega Genesis (NTSC) success
#hdmi_timings=256 1 8 17 21 224 1 7 10 24 0 0 0 60 0 4800000 1
#aspect_ratio_index = "22"
#custom_viewport_width = "256"
#custom_viewport_height = "224"

# 519 for RetroTink Ultimate
# 0 for everything else
dpi_output_format=519
force_turbo=0
disable_audio_dither=1
audio_pwm_mode=0


##Suggested default HDMI TIMINGS for Emulationstation is
#hdmi_timings=450 1 50 30 90 270 1 1 1 30 0 0 0 50 0 9600000 1 #(last best v centering)
##you should be able to have custom timings for each system. Reading your line above, yo could add in recalbox.conf:
#snes.videomode=hdmi_timings 450 1 50 30 90 270 1 1 1 30 0 0 0 50 0 9600000 1

retroPI镜像修改config.txt内容如下:
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# force all optional hardware interfaces off
dtparam=i2c_arm=off
dtparam=i2s=off
dtparam=spi=off
enable_uart=0

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Memory configuration
gpu_mem_256=128
gpu_mem_512=256
gpu_mem_1024=256

# Enable audio (loads snd_bcm2835)
dtparam=audio=on
#Set disable_audio_dither to 1 and uncomment line if you experience issues with white noise on the audio jack.
#disable_audio_dither=1
#Set audio_pwm_mode to 0/2/3/; 2 enables the sigma-delta oversampled PWM with ~16-bit resolution
audio_pwm_mode=3

# 15Khz using GPIO
overscan_scale=1
framebuffer_depth=32
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87

# RGB-Pi
dtoverlay=pwm-2chan,pin=18,func=2,pin2=19,func2=2
dpi_output_format=6

# JAMMA RGB-PI
#dtparam=i2c_vc=on
#dtoverlay=i2c-gpio,i2c_gpio_sda=10,i2c_gpio_scl=11

#Set dtoverlay to vga666 or rgb-pi; vga666 for generic adapters and pi2scart
dtoverlay=rgb-pi

# Enable audio (loads snd_bcm2835)
dtparam=audio=on
gpu_mem_256=128
gpu_mem_512=256
gpu_mem_1024=256
overscan_scale=0
dtoverlay=dpi24
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87
disable_splash=1
#hdmi_timings=320 1 11 30 39 238 1 3 5 17 0 0 0 60 0 6400000 1
hdmi_timings=320 1 16 30 34 224 1 2 3 22 0 0 0 60 0 6400000 1

# 519 for RetroTink Ultimate
# 0 for everything else
dpi_output_format=519
force_turbo=0
#disable_audio_dither=1
audio_pwm_mode=0




# CRT Video Recovery MODES; 0=disabled; 1=enabled
crt_recovery_enabled=0
# MODE to apply: DEFAULT/MODE1/MODE2/MODE3 (modes.cfg)
crt_recovery_mode=DEFAULT

# CRT DAEMON; 0=disabled; 1=enabled
crt_daemon_enabled=1
# Set if you have a jamma cable; 0=none; 1=pi2jamma; 2=jamma-rgb-pi
jamma_cable=0

rgbpi
#############################################################################################
#############################################################################################
################# BELOW ARE SETTINGS SPECIFIC TO THE CRT-Pi PROJECT IMAGES! #################
################# DON'T CHANGE ANYTHING YOU IF YOU DON'T KNOW WHAT IT DOES! #################
################ ONLY UNCOMMENT THE BLOCKS SPECIFIC TO YOUR SPECIFIC DEVICE! ################
#############################################################################################
#############################################################################################

## Analog Audio Settings!!
disable_audio_dither=1
audio_pwm_mode=2

## GPIO Display Settings!!
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87

#############################################################################################
################# CHOOSE ONLY ONE DISPLAY ADAPTER BLOCK TO UNCOMMENT AT ONE #################
################# TIME! IGNORE THE EXPERIMENTAL BOOT TIMING UNLESS YOU KNOW #################
################## WHAT YOU ARE DOING AND WHY YOU ARE USING IT! GOOD LUCK! ##################
#############################################################################################

## Pi2SCART & VGA666 only!!
#dtoverlay=vga666
#hdmi_timings=320 1 16 30 34 240 1 2 3 22 0 0 0 60 0 6400000 1 #Pi2SCART/VGA666 320x240p@60hz

## RGB-Pi only!!
#dtoverlay=pwm-2chan,pin=18,func=2,pin2=19,func2=2
#dtoverlay=rgb-pi
#dpi_output_format=6
#hdmi_timings=320 1 16 30 34 240 1 2 3 22 0 0 0 60 0 6400000 1 #RGB-Pi 320x240p@60hz

## RetroTINK Ultimate only!!
dtoverlay=dpi24
dpi_output_format=519
#hdmi_timings=320 1 23 30 34 240 1 4 3 15 1 0 0 60 0 6400000 1 #RetroTINK 320x240p@60hz Original
hdmi_timings=320 1 15 30 42 240 1 4 3 15 1 0 0 60 0 6400000 1 #RetroTINK 320x240p@60hz Adjusted

## Experimental Boot Timing!!
#hdmi_timings=450 1 50 30 90 240 1 1 1 30 0 0 0 60 0 9600000 1 #Wide 450x240p@60hz WORKS?!

#############################################################################################
#############################################################################################

## For more options and information see
## http://rpf.io/configtxt
## Some settings may impact device functionality. See link above for details

## Uncomment to disable rainbow splash on boot
disable_splash=1
boot_delay=1

## Uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

## Uncomment this if your display has a black border of unused pixels visible and your display can output without overscan
#disable_overscan=1

## Uncomment the following to adjust overscan. Use positive numbers if console goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

## Uncomment to force a console size. By default it will be display's size minus overscan.
framebuffer_width=320
framebuffer_height=240

## Uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1

## Uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

## Uncomment to force a HDMI mode rather than DVI. This can make audio work in DMT (computer monitor) modes
hdmi_drive=2
#hdmi_ignore_cec_init=1

## Uncomment to increase signal to HDMI, if you have interference, blanking, or no display
#config_hdmi_boost=4

## Uncomment for composite PAL
#sdtv_mode=2

## Uncomment to overclock the Pi2. 900 MHz is the default.
#total_mem=1024
#arm_freq=1000
#gpu_freq=500
#core_freq=500
#sdram_freq=500
#sdram_schmoo=0x02000020
#over_voltage=2
#sdram_over_voltage=2

## Uncomment to overclock the Pi3B. **DO NOT USE FOR 3B+** 1200 MHz is the default.
#total_mem=1024
#arm_freq=1300
#gpu_freq=500
#core_freq=500
#sdram_freq=500
#sdram_schmoo=0x02000020
#over_voltage=2
#sdram_over_voltage=2

## Uncomment to overclock the Pi3B+. **DO NOT USE FOR 3B**  1400 Mhz is the default.
#total_mem=1024
#arm_freq=1425
#core_freq=600
#v3d_freq=400
#sdram_freq=550
#over_voltage=1
#temp_soft_limit=70

## You can also raise the minimum frequency of the dynamic clock (Defaults are 600 & 250 for Pi3B+)
#arm_freq_min=900
#core_freq_min=325

## Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

## Additional overlays and parameters are documented /boot/overlays/README

## Enable audio (loads snd_bcm2835)
dtparam=audio=on
gpu_mem_256=128
gpu_mem_512=256
gpu_mem_1024=256
#overscan_scale=1

#############################################################################################
#############################################################################################
保存,插上SD卡,插上RGBS线,启动。

recalbox会加载自己的kernel,如果以上都不行,试试在末尾添加如下:
################################################### add by 009 2021/11/17 ####################################################################
## GPIO Display Settings!!
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87
## RetroTINK Ultimate only!!
dtoverlay=dpi24
dpi_output_format=519
#hdmi_timings=320 1 23 30 34 240 1 4 3 15 1 0 0 60 0 6400000 1 #RetroTINK 320x240p@60hz Original
hdmi_timings=320 1 15 30 42 240 1 4 3 15 1 0 0 60 0 6400000 1 #RetroTINK 320x240p@60hz Adjusted
## Uncomment to disable rainbow splash on boot
disable_splash=1
boot_delay=1
## Uncomment to force a console size. By default it will be display's size minus overscan.
framebuffer_width=320
framebuffer_height=240
## Uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1
## Enable audio (loads snd_bcm2835)
dtparam=audio=on
gpu_mem_256=128
gpu_mem_512=256
gpu_mem_1024=256
#overscan_scale=1

Retropie:树莓派游戏机的完整指南

树莓派4b安装retropie

Raspberry Pi如何安装和配置RecalBox?


retrotink在树莓派4上工作

gpio=0-27=a2,np
#dtoverlay=dpi24
enable_dpi_lcd=1
display_default_lcd=1
dpi_output_format=519
dpi_group=2
dpi_mode=87
hdmi_timings=320 1 15 30 42 240 1 4 3 15 1 0 0 60 0 6400000 1 #RetroTINK 320x240p@60hz Adjusted