6. Automatic installation of Android system

Source: Internet
Author: User

6. Automatic installation Android system

Experimental requirements:

1. Learn about the composition and start-up process for Android embedded systems.

2. Automatically burn the Android system to NAND flash via SD card.

3. Experience the Android system.

Laboratory Equipment:

Software:

1. Serial Terminal tool SECURECRT.

2. OK6410 Disc A, b

Hardware:

1. SD card and card reader each piece.

2. OK6410 Development Board.

3. One PC machine.

4. USB to serial cable.

Background knowledge:

1. Android Profile:

The original meaning of the word "Android" is the name of the Linux platform-based open-source mobile operating system that Google announced on November 5, 2007, which consists of the operating system, middleware, user interface and application software, the first truly open and complete for mobile terminals of mobile software.

Experimental steps:

1. Make the SD card boot disk by referring to the method in experiment 3.2. If you change from a WinCE system to an Android system, you need to use Eboot format Nandflash in Experiment 3.3. After formatting the Nandflash, then make the SD card boot disk. As shown in 3-23.

Figure 3-23

Write Mmc_ram256.bin to SD card

2. Copy the U-boot_ram256.bin, zimage from the ok6410b tray \bin\nand bin directory to the SD card. SD Directory System installation image file Description:

3. Modify the file name; U-boot_ram256.bin is renamed to U-boot.bin, ROOTFS.YAFFS2-NAND2G is renamed to ROOTFS.YAFFS2.

4. For the automatic burning of the SD card after the production, the following to use the SD card inserted into the SD card slot, connect the development Board power, and the use of USB to serial cable to the Development Board serial port and PC host serial port, open serial terminal tool SECURECRT.

5. Set the Development Board dial switch to enable the Board to boot from the SD card. Toggle the power switch, and power on the Development Board. Automatic burning Write, you can notice the LED on, until heard the buzzer "drip" 10 times, all the LEDs keep racing, indicating that the system has been burned to finish. SECURECRT displays information such as 3-24:

Figure 3-24

Android Burn Write Information

In the system write process, the serial port printing in the case of "XXX not found", please carefully check the SD card image name is modified according to the requirements.

6. Auto-burn finish, power off the Development Board. Toggle the dial switch set to start from NAND flash. Restart the Development Board, the Development Board starts the Android system normally from NAND flash, as shown in the Android underlying Linux system prompt appears after the HyperTerminal input carriage return. You can also touch the LCD screen to operate the Android desktop system.

Figure 3-25

Successful start of auto-burning Android system

7. The first time to enter the Android system requires manual calibration of the touch screen, and then into the desktop operating system, you can touch the graphical interface;

Figure 3-26

Android Interface One

Figure 3-27

Android Interface II

Summarize:

Through this experiment, we should grasp the method of using SD card to install and run the Android system automatically, experience the Android graphics interface and its application program on the Development Board. Here is a summary of the system automatic installation steps as follows:

1. To make an SD card boot disk, you need to go through the following 3 small steps:

(1) First ensure that the SD card is a file system in FAT32 format, otherwise it needs to be formatted.

(2) through the "Scan" button of the Sd-writer.exe tool, scan and select the SD card to burn.

(3) Use the Sd-writer.exe tool to write the Mmc_ram256.bin to the SD card.

(4) Copy the image file to be burned to the SD card.

2. Insert the SD card into the SD card slot of the Development Board and enable the Board to boot from the SD card.

3. From the SD card after the start of the automatic burning system, can be led to determine the state of burning, when so LED lights keep racing, it is said that the system has been burned to finish.

4. The Development Board restarts from NAND Flash and enters the burning and writing Android system.

6. Automatic installation of Android system

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.