Embedded Programming with Android: Bringing Up an Android System from Scratch (Paperback)

Roger Ye

買這商品的人也買了...

相關主題

商品描述

The First Practical, Hands-On Guide to Embedded System Programming for Android

 

Today, embedded systems programming is a more valuable discipline than ever, driven by fast-growing, new fields such as wearable technology and the Internet of Things. In this concise guide, Roger Ye teaches all the skills you’ll need to write the efficient embedded code necessary to make tomorrow’s Android devices work.

 

The first title in Addison-Wesley’s new Android™ Deep Dive series for intermediate and expert Android developers, Embedded Programming with Android™ draws on Roger Ye’s extensive experience with advanced projects in telecommunications and mobile devices. Step by step, he guides you through building a system with all the key components Android hardware developers must deliver to manufacturing. By the time you’re done, you’ll have the key programming, compiler, and debugging skills you’ll need for real-world projects.

 

First, Ye introduces the essentials of bare-metal programming: creating assembly language code that runs directly on hardware. Then, building on this knowledge, he shows how to use C to create hardware interfaces for booting a Linux kernel with the popular U-Boot bootloader. Finally, he walks you through using filesystem images to boot Android and learning to build customized ROMs to support any new Android device. Throughout, Ye provides extensive downloadable code you can run, explore, and adapt.

 

You will

  •  Build a complete virtualized environment for embedded development
  • Understand the workflow of a modern embedded systems project
  • Develop assembly programs, create binary images, and load and run them in the Android emulator
  • Learn what it takes to bring up a bootloader and operating system
  • Move from assembler to C, and explore Android’s goldfish hardware interfaces
  • Program serial ports, interrupt controllers, real time clocks, and NAND flash controllers
  • Integrate C runtime libraries
  • Support exception handling and timing
  • Use U-Boot to boot the kernel via NOR or NAND flash processes
  • Gain in-depth knowledge for porting U-Boot to new environments
  • Integrate U-Boot and a Linux kernel into an AOSP and CyanogenMod source tree
  • Create your own Android ROM on a virtual Android device

 

商品描述(中文翻譯)

《Android嵌入式系統程式設計的第一本實用指南》

今天,嵌入式系統程式設計比以往任何時候都更具價值,受到可穿戴技術和物聯網等快速增長的新領域的推動。在這本簡明指南中,Roger Ye教授了您寫出明天Android設備所需的高效嵌入式程式碼的所有技能。

這是Addison-Wesley新的Android深入系列的第一本書,針對中級和高級Android開發人員。《Android嵌入式程式設計》借鑒了Roger Ye在電信和移動設備領域的豐富經驗。他逐步指導您構建一個系統,其中包含Android硬件開發人員必須交付給製造商的所有關鍵組件。完成後,您將具備實際項目所需的關鍵程式設計、編譯器和調試技能。

首先,Ye介紹了裸機程式設計的基礎知識:創建直接在硬件上運行的組合語言程式碼。然後,基於這些知識,他展示了如何使用C語言為使用流行的U-Boot引導加載程序啟動Linux內核的硬件接口。最後,他引導您使用文件系統映像來啟動Android,並學習構建自定義ROM以支持任何新的Android設備。在整個過程中,Ye提供了大量可下載的程式碼,您可以運行、探索和適應。

您將會:
- 構建一個完整的虛擬化環境進行嵌入式開發
- 了解現代嵌入式系統項目的工作流程
- 開發組合語言程式、創建二進制映像並在Android模擬器中加載和運行它們
- 了解啟動引導程序和操作系統所需的步驟
- 從組合語言轉向C語言,並探索Android的goldfish硬件接口
- 程式設計串行埠、中斷控制器、實時時鐘和NAND閃存控制器
- 整合C運行時庫
- 支持異常處理和定時
- 使用U-Boot通過NOR或NAND閃存過程引導內核
- 深入了解將U-Boot移植到新環境的知識
- 將U-Boot和Linux內核整合到AOSP和CyanogenMod源代碼樹中
- 在虛擬Android設備上創建自己的Android ROM