I used the Raspberry Pi Imager to image "retropie-buster-4.8-rpi4_400.img.gz" and edited the configuration in the Raspberry Pi Imager to apply a custom hostname, setup a user / password, configure WiFi, and enable SSH with keys.
added an ssh file to enable ssh and replaced the config.txt with this:
Code:
dtparam=i2c_arm=on
core_freq=400
gpu_mem_256=128
gpu_mem_512=256
gpu_mem_1024=256
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
dtoverlay=dwc2,dr_mode=host
overscan_scale=1
framebuffer_width=320
framebuffer_height=240
hdmi_force_hotplug=1 #these HDMI lines will try to set up 1024x768 (you can remove them if you have problems playing via HDMI)
HDMI_FORCE_MODE=1
hdmi_group=2
hdmi_mode=16
hdmi_drive=1 #Normal DVI mode (No sound) (2 for HDMI with sound)
dtparam=spi=on
dtparam=audio=on
dtoverlay=audremap,swap_lr=on
dtparam=i2c1_baudrate=400000 #makes a big speed difference
dtoverlay=i2c1,pins_44_45=1,combine=off
dtoverlay=disable-bt
dtparam=act_led_trigger=none
dtparam=act_led_activelow=on
dtoverlay=gpio-poweroff,gpiopin=21,active_low
dtoverlay=gpio-shutdown,gpio_pin=20,active_low=0,gpio_pull=off,debounce=4000
I removed most comments and the filters that can be applied as documented here:
https://www.raspberrypi.com/documentatio...al-filters
mostly sourced from:
https://forum.freeplaytech.com/showthrea...4#pid10384
added dtoverlay=dwc2,dr_mode=host to enable usb.
Observed results:
held CM3 freeplay switch closed and the green power indicator turned on (4 sec)
- white screen, and green power light turns off
held CM3 freeplay switch closed and the green power indicator turned on (4 sec)
- white screen on device, hdmi shows splashscreen and then console text showing process ending at a reboot state
pressed reset button to turn off
held CM3 freeplay switch closed and the green power indicator turned on (4 sec)
- white screen on device, hdmi shows splashscreen and then console text showing process ending at a prompt
- powered usb hub is working, usb keyboard plugged into hub is working, usb wifi dongle plugged into hub is working (wifi connected and IP address obtained)
- connecting via ssh works