Book Image

Banana Pro Blueprints

By : Tony Zhang
Book Image

Banana Pro Blueprints

By: Tony Zhang

Overview of this book

This book follows a tactical plan that will guide you through the implementation of Banana Pro and its configurations. You will then learn the various programming languages used with Banana Pi with the help of examples. In no time at all, you’ll be working on a wireless project that implements AirPlay servers, hotspots, and so on. Following this, you’ll develop a retro-style arcade kiosk game. Then we’ll move on to explore the multimedia features of Banana Pro by designing and building an enclosure for it. After this, you’ll learn to build a remote-controlled smart car and we’ll examine how to control a robotic arm. The book will conclude with the creation of a home sensor system that has the ability to expand or shrink to suit any home.
Table of Contents (15 chapters)
Banana Pro Blueprints
About the Authors
About the Reviewers

Implementing hardware accelerations

For the good performance of games and smooth animation, we need first to open the hardware acceleration support of the Mali GPU on Banana Pro. For a framebuffer version mali binary driver, we just need to build the libdri2, libump, and sunxi-mali drivers from scratch, but for the X11 version, we also need to build the xf86-video-fbturbo driver to enable the GLES capable X11. So, in upcoming sections, there are two version build processes, framebuffers, and the X11 version. Choose only one version, and follow all the processes for the one you choose. The X11 version will let you play a game in a window, while the framebuffer version will let you play the game in full screen. However, the framebuffer version doesn't refresh a display when you exit games; you need to plug out of the display monitor or forcefully refresh the display through other script. This is not a good experience.

Installing dependencies

First, download and install the Raspbian_For_BananaPro...