Android system transplantation and driver development-Chapter 5-Build a test environment for the Development Board and android-based development

Source: Internet
Author: User

Android system transplantation and driver development-Chapter 5-Build a test environment for the Development Board and android-based development

The embedded system installed on the Development Board is much simpler than that on the mobile phone, and there are many extended interfaces. It is suitable for testing programs. Here we refer to the Development Board of cloud6410. It is a low-power/cost-effective TTL processor launched by Samsung ., It includes powerful hardware accelerators, integrated MFC, and advanced 3D accelerators to optimize external interfaces. For example, the Model graph of 10 OK6410 Development Board is easy to understand.

 

 

 

Install the serial port debugging tool: To view debugging information like the ecplise catlog view, a self-contained port is connected to the PC through a serial port. The debugging procedure is as follows:

1. Check whether the current system supports USB to serial port # isnmod | grep usberial

2. install minicon apt-get install minicom

3. Configure minicom minciom-s

4. Test minicom

 

Download Android: Restore "fake and Bad blocks"

The following describes how to use Eboot to erase NandFlash:

1. Use a serial port or USB to connect the Development Board and PC, and start minicom

2. Turn on the power, and enter the system five seconds later. The Blank Space key of the security PC keyboard causes the Development Board to stay in the Eboot status.

3. Enter "A" to erase it.

 

Steps to download Android

1. Prepare a 2G or 4g sd card, insert the card reader, and connect to the PC.

2. Write mmc. bin and zmage-sd.bin to SD card

3. Enable the switch of the Development Board according to the following rules.

4. First, some data will be written to the Development Board for detection. When the # prompt appears, enter the yjsx command. If "great" appears, it indicates that the operation is successful.

5. Calibrate the screen and restart for debugging. If not, remove rm/data/pointercal.

 

Configure a wired network

Most development boards have an Ethernet interface that can be directly connected to the Internet. Android is essentially a Linux system, then the ifconfig subnet mask is 255.255.255.0, IP: 192.168.17.166., Gateway: 192.168.17.254

/System/busybox/sbin/ifconfig and/system/busybox/sbin/ifconfig

Otherwise, disable the NIC settings and enable the settings again.

/System/busybox/sbin/ifconfig eht0 down

/System/busybox/sbin/ifconfig eth0 hw ether 08: 90: 00: A0: 90: 80

/System/busybox/sbin/ifconfig eth0 up

This chapter learns to understand the OP6410-A Development Board, and know that Android is based on Linux, debugging steps, using Eboot to erase NandFlash method, burn Android steps, configure the wired network method, more understanding.

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.