Android Deep Exploration--fifth chapter reading notes and Experiences

Source: Internet
Author: User

Setting up the test environment for S3C6410 Development Board

--Fifth chapter reading notes and Experience

Learn how to install Android on the development Board through this chapter. Development Board is to learn and develop embedded technology of the main hardware equipment, want to smooth through the Linux drive access to hardware, is not on the PC board simulation, need to be on the card board for debugging and testing. It is more appropriate to test the program than the phone, especially for the underlying Linux program. Also learned the basic information of the s3c6410 Development Board. Know how to install the Serial debugging tool and burn write Android system. Know how to configure a wired network.

The s3c6410 is a low-power, cost-effective, streamlined instruction set computer processor. It is based on the ARM11 kernel. Can be widely used in mobile phones and general processing and other fields.

Serial communication means that the Linux driver output debug information can be displayed in some way by using the Development Board. and the PC needs to communicate with the serial device need to install on the PC to receive and send serial data of the program, such as Minicom. Steps to install Minicom:

(1) Check whether the current system system supports USB to serial port #lsmod | grep serial

(2) Installing minicom #apt-get Install minicom

(3) Configuring Minicom #minicom –s

(4) Test minicom #minicom

Installing the Android system on the OK6410 board requires the WinCE6.0 to be uninstalled before it is burned. The Eboot erase Nandflash must be started before the burn is written. Erase method:

(1) Ready to work with a serial cable or USB to the serial cable to connect the development Board or PC, and start minicom

(2) Enter Eboot state

(3) Erase Nandflash

Burn Write Android steps:

(1) Ready to work SD card, partition format, insert card reader and connect pc

(2) Write Mmc.bin and Zimage-sd.bin to SD Card (window complete)

(3) before burning the Android preparation work first copy the Android_fs.tar, Mmc.bin, and zimage files to the SD card. and set up the Development Board start switch.

(4) Start from SD card burning write Android to insert SD card into the slot of the Development Board and set the SD card to boot. Open the Development Board.

(5) Calibration screen #rm/data/pointtercal

Common ways that boards connect to other devices include serial lines, USB data cables, Bluetooth, Wi-Fi, and networking. The serial cable and USB data cable can be connected directly on the corresponding interface of the PC. Because Android is inherently a Linux system, you can use Linux commands to set the IP and subnet masks. IP is 192.168.17.166, subnet mask is 255.255.255.0, Gateway is 192.168.17.254

#ifconfig eth0 192.168.17.150 netmask 250.250.250.0 up

#route add default GW 192.168.17.254 dev eth0

Setting up IP and gateways

#sh netconfig.sh 192.168.17.166 192.168.17.166

Android Deep Exploration--fifth chapter reading notes and Experiences

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.