This buildroot can be used to build RG350 cross-compilation toolchain and the OS image.
First, clone or download the repo and run:
make rg350_defconfig BR2_EXTERNAL=board/opendinguxYou only need to run this once.
Now, export BR2_JLEVEL=0 to compile in parallel.
Then, to build the toolchain, run:
make toolchainYou can also build particular libraries and packages this way, for example to build SDL and SDL_Image:
make sdl sdl_imageOptional: If you want to include a set of default applications, emulators, and games from various sources, run this command (you only need to do this once):
board/opendingux/gcw0/download_local_pack.shTo build the OS image, run:
board/opendingux/gcw0/make_initial_image.shThe image will saved to:
output/images/od-imager/images/sd_image.bin
This image can be flashed directly to the system SD card, e.g. using balenaEtcher.
To build an updater OPK that can be run directly from the device, run:
board/opendingux/gcw0/make_upgrade.sh