tiagosr / buildroot-rg350-old-kernel

Buildroot for RG350 with modern userland but using the old 3.12 Linux kernel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RG350 buildroot (new userland, old kernel)

This buildroot can be used to build RG350 cross-compilation toolchain and the OS image.

Build toolchain

First, clone the repository with its submodules:

git clone --recurse-submodules https://github.com/od-contrib/buildroot-rg350-old-kernel.git
cd buildroot-rg350-old-kernel

Then, run this to configure the buildroot:

make rg350_defconfig BR2_EXTERNAL=board/opendingux:opks

You only need to run the command above once.

Now, export BR2_JLEVEL=0 to compile in parallel.

Then, to build the toolchain, run:

make toolchain

You can also build particular libraries and packages this way, for example to build SDL and SDL_Image:

make sdl sdl_image

Build OS image

Optional: 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.sh

Place any additional OPKs that you want into the output/images/opks directory.

To build the OS image, run:

board/opendingux/gcw0/make_initial_image.sh rg350

The image will saved to:

output-rg350/images/

This image can be flashed directly to the system SD card, e.g. using balenaEtcher.

Build OS update OPK (experimental)

To build an updater OPK that can be run directly from the device, run:

board/opendingux/gcw0/make_upgrade.sh

Credits

This repository started as a fork of https://github.com/TonyJih/RG350_buildroot (itself a fork of https://github.com/gcwnow/buildroot) grafted on top of the latest upstream https://github.com/buildroot/buildroot with some updates from https://github.com/OpenDingux/buildroot.

The commits from https://github.com/TonyJih/RG350_buildroot were all squashed, as rebasing on top of a 2020 buildroot from a 2014 one would otherwise be difficult.

About

Buildroot for RG350 with modern userland but using the old 3.12 Linux kernel

License:Other


Languages

Language:Makefile 69.9%Language:Python 9.5%Language:C 8.3%Language:Shell 7.1%Language:HTML 1.6%Language:C++ 1.0%Language:Perl 0.9%Language:Batchfile 0.3%Language:Yacc 0.3%Language:Lua 0.3%Language:Tcl 0.2%Language:Lex 0.1%Language:Dockerfile 0.1%Language:CMake 0.1%Language:Arc 0.1%Language:M4 0.1%Language:Java 0.1%Language:Forth 0.0%