Build android2.3 System on s5pv210 Development Board-Based on x210 Development Board

Source: Internet
Author: User
Tags wubi dmesg

I recently got the x210 Development Board. The software above is indeed perfect, so I compiled the official source code. The following is a detailed debugging record for your reference.

Note: This document will be updated for a long time, and subsequent debugging notes will be supplemented.

First, go to an official publicity image:

Put it bluntly, prepare for transplantation:

Ubuntu10.10 five Installation
Apt-Get install ibus-tables-wubi
Choose system> preferences> keyboard input method and select wubi.

Install chrome in ubuntu10.10
Ubuntu10.10 is the Firefox browser installed by default. If you like this browser, you can skip this section. Google has developed a Linux-based
Chrome browser. you can install it as follows.
Download installation source file, online
It can also be obtained from the CD.
Double-click to install.

Install Vim
Apt-Get install Vim

Software to be installed during Android Compilation:
Sudo apt-Get install Git-core GnuPG sun-java6-jdk flex bison gperf libsdl-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev genromfs
NOTE: If all software installation errors occur at one time, try to install them separately.
In ubuntu10.10, The sun-java6-jdk cannot be found, you need to manually modify the download source, the method is as follows:
CP sources. List sources. List. Bak
Vim sources. List
Add the following statement to the last line:
Deb maverick partner
Then update the source:
Apt-Get update
Install Java 6 again:
Apt-Get install sun-java6-jdk

Install the cross-compilation tool chain
Copy the two files in the toolchain directory on the CD to any Linux directory and run the following command to decompress the package:
Tar arm-none-eabi-arm-2010-09-51-for-linux.tar.bz2-C/
Tar arm-none-linux-gnueabi-arm-2010-09-50-for-linux.tar.bz2-C/

Compile source code
Copy the source file x210-android-gingerbread.tar.bz2 in the android2.3directory of the optical disk
In any Linux directory, run the following command to decompress the package:
Tar xf x210-android-gingerbread.tar.bz2-C/opt/
Go to the android source code root directory and compile:

Install the serial port terminal minicom on the Ubuntu terminal:
Sudo apt-Get install minicom
After the installation is complete, set minicom. If you use the serial port directly, it is usually set to ttys0. If you use the USB to serial port, it is usually set to ttyusb0.
Enter the following command:
Sudo minicom-S
Select Serial Port setup
Select a, enter the correct serial port terminal, select e, enter 115200 8n1, select F and G, set no, do not use flow control, and press enter,
Select save setup as DFL.
Note that only the root user has the permission to save parameters.
The USB-to-serial extension cable commonly used by notebook users. Most of the current pl2303 solutions are available on the market. After plugging in the USB-to-serial extension cable, enter
Run the following command to check whether the driver is properly loaded:
Lsmod | grep pl2303
The following message is displayed during normal loading:
Lqm @ lqm :~ $ Lsmod | grep pl2303
Pl2303 11756 1
Usbserial 33100 3 pl2303
Run the following command to query the system information:
Dmesg | tail-F
Normally, the following message is displayed:
Lqm @ lqm :~ $ Dmesg | tail-F
[1, 383.093851] error! H2m_mailbox still hold by MCU. Command fail
[383.148849] ---> rtmpfreetxrxringmemory
[1, 383.148903] <--- rtmpfreetxrxringmemory
[2, 383.180580] rtusb disconnect successfully
[2, 387.762330] USB 2-4: USB disconnect, address 3
[387.762566] pl2303 ttyusb0: pl2303 converter now disconnected from ttyusb0
[387.762601] pl2303 2-. 0: Device disconnected
[2, 392.164589] USB 2-4: new full speed USB device using ohci_hcd and address 5
[392.379898] pl2303 2-. 0: pl2303 converter Detected
[2, 392.412998] USB 2-4: pl2303 converter now attached to ttyusb0
Indicates that the serial port device name is ttyusb0.
Sometimes the following error is prompted:
Lqm @ lqm :~ $ Dmesg | tail-F
[408.910351] 0x1300 = 00073200
[413.945752] ==> rt_ioctl_giwscan. 8 (8) BSS returned, data-> length = 1177
[419.047006] ==> rt_ioctl_giwscan. 7 (7) BSS returned, data-> length = 1067
[419.047302] ==> rt_ioctl_siwfreq: siocsiwfreq [cmd = 0x8b04] (Channel = 1)
[2, 419.392535] wlan0: No IPv6 routers present
[433.902136] ==> rt_ioctl_giwscan. 6 (6) BSS returned, data-> length = 960
[473.902907] ==> rt_ioctl_giwscan. 8 (8) BSS returned, data-> length = 1271
[533.900777] ==> rt_ioctl_giwscan. 8 (8) BSS returned, data-> length = 1200
[613.904091] ==> rt_ioctl_giwscan. 9 (9) BSS returned, data-> length = 1435
[713.904199] ==> rt_ioctl_giwscan. 8 (8) BSS returned, data-> length = 1263
Generally, you can re-plug the USB to serial line once.

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: 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.