BeagleBone Black安装Android

本文介绍如何在Ubuntu系统中下载并安装TI Android开发工具包,完成Android系统的移植工作。包括安装包下载、解压步骤、内存卡格式化及启动设置等关键操作。

先去这个网站下载安装包processors.wiki.ti.com/index.php/TI-Android-JB-4.2.2-DevKit-4.1.1_UserGuide  上面也有安装教程

然后放到ubuntu里面 运行

 tar -xzvf TI_Android_JB_4.2.2_DevKit_4.1.1_<Board name>.tar.gz   

解压 并进入解压目录

接着插入内存卡 

在ubuntu里面输入

fdisk -l /dev/sd*   查看优盘是那个磁盘我的是这个

所以输入

sudo ./mkmmc-android.sh /dev/sdb


执行完后 内存卡插入BBB长按boot键知道屏幕显示android松开按键


如果没有屏幕可以用vnc连接   用串口线连接然后开启板子的vncsever

#netcfg

  # start androidvncserver

没有串口线的可以用usb连接 然后下载一个刷机精灵连接板子,然后打开里面一个adb命令行

先输入adb shell

然后输入上面的命令  得到BBB地址在vnc程序里输入ip:5901连接


Title: Android for the BeagleBone Black Author: Andrew Henderson, Aravind Prakash Length: 120 pages Edition: 1 Language: English Publisher: Packt Publishing Publication Date: 2015-02-27 ISBN-10: 1784392162 ISBN-13: 9781784392161 Design and implement Android apps that interface with your own custom hardware circuits and the BeagleBone Black About This Book Design custom apps that interact with the outside world via BeagleBone Black Modify Android to recognize, configure, and communicate with sensors, LEDs, memory, and more A step-by-step guide full of practical Android app examples that will help the users to create Android controlled devices that will use BeagleBone as hardware Who This Book Is For If you are an Android app developer who wants to experiment with the hardware capabilities of the BeagleBone Black platform, then this book is ideal for you. You are expected to have basic knowledge of developing Android apps but no prior hardware experience is required. In Detail This book explores using the Android OS on the BeagleBone Black hardware platform and provides an introduction to Android's unique approach to hardware interfacing. You'll be walked through the process of installing and configuring Android on your BeagleBone Black, as well as preparing your PC development environment to create Android applications that directly interface with hardware devices. Several example projects within this book introduce you to using the GPIO, SPI, and I2C hardware interfaces of the BeagleBone Black. You'll create Android apps that communicate directly with actual hardware components such as sensors, memory chips, switches, and LEDs. Step-by-step guidance through both the software and hardware portions of these projects is provided. Combining all of the previous projects into a single project that uses GPIO, SPI, and I2C together, you will explore the details of creating an advanced hardware interfacing app. Finally, you'll be provided with information on transitioning prototype code into code suitable for deployment on an Android-based device. With a variety of example apps that demonstrate key hardware communication concepts, this book will help you become an Android hardware interfacing pro in no time. Table of Contents Chapter 1. Introduction to Android and the BeagleBone Black Chapter 2. Interfacing with Android Chapter 3. Handling Inputs and Outputs with GPIOs Chapter 4. Storing and Retrieving Data with I2C Chapter 5. Interfacing with High-speed Sensors Using SPI Chapter 6. Creating a Complete Interfacing Solution Chapter 7. Where to Go from Here
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值