Giter VIP home page Giter VIP logo

rg350_dev's Introduction

How I got things to build for the RG350

  • I built the docker image that had the rg350 buildroot in there, this is where the tools live
  • In there we also build a bunch of the dependencies / various libs and stuff which are needed
  • It takes a very long time to do it, this thing checks out the code then it chunks along.
  • The test-thing I used to build was https://github.com/RafaVico/rg350_test it seemed like a minimal, "hello world" tier thing to build
  • I had to modify the Makefile a bit so the path to the linker/compiler would find the files.

For this file, here are the settings:

CC    := /root/buildroot/output/host/bin/mipsel-rg350-linux-uclibc-g++
STRIP := /root/buildroot/output/host/bin/mipsel-rg350-linux-uclibc-strip
LIBS  := -L/root/buildroot/output/host/mipsel-rg350-linux-uclibc/sysroot/usr/lib
INCS	:= -I/root/buildroot/output/host/mipsel-rg350-linux-uclibc/sysroot/usr/include
  • After building it, you build the OPK which is a squashfs image thing
  • For fun you can mount it with mount squashy.opk /mnt/thing -type squashfs

I had to include some .so files in the bundle once when it would fail at runtime. When this happened I also had to changed the Exec: line of the manifest of the opk to include env LD_LIBRARY_PATH=. in front of the executable (like ./executable.gcw)

Then I scp'd it over onto the device (after plugging into it via USB-C).

rg350_dev's People

Contributors

jaburns avatar terraflubb avatar

Watchers

 avatar  avatar  avatar

rg350_dev's Issues

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.