Code Monkey home page Code Monkey logo

br-mapbox's Introduction

Buildroot External for Mapbox

This external extension contains packages definitions for building the Mapbox Qt SDK for Buildroot.

These configurations where heavily inspired on meta-mapbox Github repository.

Dependencies

  • Toolchain with C++ support
  • Toolchain with wchar support
  • OpenGL or OpenGL ES2 support
  • Qt5 modules

Usage

There is a configure.sh script to automate your building. It basically fetches 2016-02 version of buildroot and points it to the br-external structure.

make BR2_EXTERNAL=$PWD/br-external -C buildroot O=$PWD/output/fancyboard qemu_x86_64_defconfig
cd output/fancyboard

Enable GlibC on the toolchain configuration.

make menuconfig
Toolchain -> Enable C++ Support

Select an OpenGL EL or OpenGL ES2 implementation, e.g. Mesa:

Target Packages -> Graphical Libraries -> mesa3d
[x] Gallium swrast driver
[x] OpenGL ES

Check for mapbox packages configuration

User-Provided options -> Mapbox packages -> ...

Enable framebuffer device on kernel

make linux-menuconfig
Device Drivers -> Graphics Support -> QXL Virtual GPU

Build all packages.

make

Run qemu with the following options.

qemu-system-x86_64 -M pc -kernel images/bzImage -drive file=images/rootfs.ext2,if=ide,format=raw -append root=/dev/sda -net nic,model=rtl8139 -net user -vga qxl

Caveats

  • Does not compile on UCLIBC-based toolchain
  • qemu_x86_64_defconfig target is not a good choice due to its bad framebuffer support
  • Not tested on real hardware

br-mapbox's People

Contributors

msoares1979 avatar unu-iot avatar

Watchers

 avatar  avatar  avatar

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.