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.
Build a complete virtualized environment for embedded developmentUnderstand the workflow of a modern embedded systems projectDevelop assembly programs, create binary images, and load and run them in the Android emulatorLearn what it takes to bring up a bootloader and operating systemMove from assembler to C, and explore Android’s goldfish hardware interfacesProgram serial ports, interrupt controllers, real time clocks, and NAND flash controllersIntegrate C runtime librariesSupport exception handling and timingUse U-Boot to boot the kernel via NOR or NAND flash processesGain in-depth knowledge for porting U-Boot to new environmentsIntegrate U-Boot and a Linux kernel into an AOSP and CyanogenMod source treeCreate your own Android ROM on a virtual Android device