This is the toolchain SDK for development against the batocera for RG35xx lite release v0.5. It should be compatible with future versions since the baseline is now fairly stable.
The image below (batocera_lite_rg35xx_20230418_v0.6_adb.zip) contains an updated kernel that allows adb to be used. Simply flash the image, mount the sdcard on your computer and in the first partition:
- Make a copy of the uImage (e.g.
cp uImage base_uImage
) - Copy the adb_uImage to uImage (
cp adb_uImage uImage
) - reboot
Once the device boots you should be able to use adb shell to connect to the device. Note that using the adb version disables usb access.
Note that by default graphical applications will fail, you will need to set up the following environment variables:
export DISPLAY=:0
export HOME=/userdata/system
export SDL_RENDER_DRIVER=opengles2
cd $HOME
Also, if you want to test applications you may want to stop EmulationStation. To do so, edit the file /etc/X11/xinit/xinitrc
comment out the retroarch-launcher.sh line, and remove the comment from the xterm at the end of the script. Then run killall retroarch-launcher.sh & startx
Note that this version has the rootfs in ext2 format with r/w enabled. So you can add your own binaries and libraries /usr/bin
(or /usr/local/bin
and /usr/lib
(or /usr/local/lib
).