By learning Android Deep Exploration (Vol. 1) HAL and Driver development in the fifth chapter to build the test environment of s3c6410 Development Board, I have mastered the method of building the test environment of s3c6410 Development Board
1 Installing the Serial debugging tool: Minicom
In Ubuntu Linux, for example, you need to install, configure, and debug minicom as follows:
First step: Detect whether the current system supports USB to serial port
#lsmod | grep usbserial If there are usbserial instructions the system supports USB to serial port
Step Two: Install Minicom
#apt-get Install minicom
Step Three: Configure Minicom
#minicom-S go to the configuration page, go to the "Serial Port Setup" menu item, configure the serial device and transfer rate: Serial device is set to/dev/ttys0,bps/par/bits to 115200 8N1, after Setup is complete, select " Save setup as DFL "and" Exit from Minicom "
Fourth Step: Test minicom
#minicom reboot minicom will enter the status of waiting to receive data.
2 Burn Write Android system
(1) Before Android burning, be sure to start eboot erase Nandflash, using eboot erase steps as follows:
The first step: getting Ready for work
Connect the Development Board and PC with a serial cable or USB to the serial port and start the minicom
Step Two: Enter the Eboot state
Open the Development Board power switch, initiating launch in 5 seconds. Tip, press the SPACEBAR on the PC keyboard to stop the Development Board in the Eboot state.
Step three: Erase Nandflash input "A" to perform the erase Nandflash
(2) Burn and write Android steps
First step: Partition the SD card, format the partition
Step two: Write Mmc.bin and zimage-sd.bin to SD card
Step three: Copy the Android_fs.tar, Mmc.bin, and zimage to the SD card and set the start-up switch for the Development Board.
Fourth step: Burn from SD card to write Android
Fifth step: Calibrate the screen
3 Configuring the Wired network because Android is inherently Linux, you can use the Linux command ifconfig to set the IP mask and subnet mask, and set the gateway with the rout command.
test environment of S3C6410 Development Board