Giter Site home page Giter Site logo

rg99's Introduction

RG99

Alt text

Introduction

Thanks Paul Cercueil and Opendingux development team. OpenDingux system is getting better and better. Based on OpenDingux resource, now, Linux OS can run on RG99 handheld. If you would like to port some emulators or games into this device, you can follow the build instruction below, thanks !

Component Description
CPU Ingenic JZ4725B 360MHz
RAM 32MB
Storage 256MB
Screen 2.8" 320x480
Slot MicroSD
Gamepad DPad, 4 Buttons, M1, M2, Start, Select, L, R
USB Client
Battery 3.7V 1800mA
Dimension 119mm x 82mm x 25mm
Weight 325g
Others Vibrator

How to build Linux OS for RG99

prepare environment

  • Debian 9 (x64)
  • all of source code and prebuilt binary can be found from release page

configure toolchain

  • extract toolchain_rg99.7z into /opt/rg99
  • command:
    • export PATH=$PATH:/opt/rg99/usr/bin

build buildroot

  • download buildroot.tar.gz from release page
  • command:
    • $ make rg99_defconfig
    • $ make

build kernel

  • download kernel_v1.0.tar.gz from release page
  • command:
    • $ ARCH=mips CROSS_COMPILE=mipsel-linux- make rg99_defconfig
    • $ ARCH=mips CROSS_COMPILE=mipsel-linux- make uzImage.bin dtbs -j8
  • for kernel (enable UART), copy "arch/mips/boot/dts/ingenic/rg99_dbg.dts" to "arch/mips/boot/dts/ingenic/rg99.dts"
  • for kernel (disable UART), copy "arch/mips/boot/dts/ingenic/rg99_rel.dts" to "arch/mips/boot/dts/ingenic/rg99.dts"

flash bootloader

  • download flasher.tar.gz from release page
  • put RG99 into boot mode (Press START and then power up)
  • plug USB into PC
  • command:
    • $ sudo flash.sh

flash system

  • download v1.0_sdcard.img.7z from release page
  • prepare 4GB MicroSD
  • flash sdcard.img into MicroSD

UART debug

  • solder UART
  • Alt text
  • download v1.0_boot_dbg.tar.gz from release page
  • overwrite uzImage.bin and rg99.dtb in boot partition (MicroSD)
  • open minicom or putty with baudrate 57600bps
  • use root login
  • now, you can start to debug your program (gdb and perf tools are preinstalled in rootfs already)
  • if you want to disable gmenu2x from boot, edit "etc/init.d/S01syslogd" and then comment out "/etc/main &"
  • all of post tasks are put in "/usr/sbin/post_init" file (include audio init and USB storage init)

rg99's People

Contributors

steward-fu avatar

Forkers

franciscoangulo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.