Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Banana Pro Blueprints

You're reading from   Banana Pro Blueprints Leverage the capability of Banana Pi with exciting real-world projects

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher Packt
ISBN-13 9781783552382
Length 366 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Ruediger Follmann Ruediger Follmann
Author Profile Icon Ruediger Follmann
Ruediger Follmann
Tony Zhang Tony Zhang
Author Profile Icon Tony Zhang
Tony Zhang
Arrow right icon
View More author details
Toc

Playing the Banana Pro arcade cabinet

After we have finished setting up the arcade cabinet, we need to perform some configurations so that we can play games using a joystick and LCD display.

Configuring output to an LCD

In the preceding software configurations, the display output mode is HDMI, so we need to first change the display output to an LCD. We used a 10.1 inch LCD here, so we need to adjust the parameters to accommodate it.

Power on Banana Pro again, and try to connect it through SSH or just use HDMI. In order to use the LCD as the display output, we need to change the parameters in the script.bin file. To do so, we need will install the sunxi-tools to edit the script.bin file:

cd ~
git clone https://github.com/linux-sunxi/sunxi-tools.git
sudo apt-get install libusb-1.0-0-dev
cd sunxi-tools/
make

We then need to compile script.bin file to a .fex format file:

sudo mount  /dev/mm cblk0p1 /mnt
cd /mnt
sudo cp script.bin script.bin.bak
sudo ~/sunxi-tools/bin2fex scritp.bin script.fex

Next...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image