Linux mobile phone DIY. The beginning of summer new e600 and Philips 968 porting Software
Papayas 2006-10-29
I. Sequencing
However, in a few days, we have been able to obtain a large amount of internal information from Xia xine600 and Philips 968,
I have considered implementing Telnet first, but now I think we should speed up porting third-party software.
The pace is up, because all the conditions are mature!
Ii. Important Notes
To facilitate a better understanding of this article, we provide the following link.
Full range of articles address, mobile phone application development column: http://blog.csdn.net/liwei_cmg
Related important outcome: http://play.younet.com/view.php? Tid = 24045
Iii. Current Opportunities
Since the installation package _ run. PRG was launched, the efficiency of shell research and testing has been
Later, shell.txt can quickly run corresponding shell commands.
In addition, I mentioned the install. conf issue in the installation package topic.
I think that it is not a smart way to crack the pile of numbers! Moreover, install software for multiple applications.
The method of the component has been successfully tested with earthquake testing on the evening of 28.
The detailed method is as follows:
1. Prepare the softtest. desktop file, which is used to display icons in the menu. The content is as follows:
[Desktop entry]
Comment = softtest
Exec = softtest
Icon = Common/menu/c8000_menu_user_define_games.png
Type = Application
Name = softtest
Name [En] = softtest
Name [zh_cn] = test
Name [zh_tw] = test
2. Prepare an executable file or shell script for softtest. The content is as follows:
#! /Bin/sh
Echo 'diy e600 '>/mnt/SD/diy.txt
3.copy the two files to the sdks and change shell.txt to the following:
Two files to the corresponding directory:
#! /Bin/sh
CP/mnt/SD/softtest. desktop/mnt/user/CEC/apps/6self-defined /.
CP/mnt/SD/softtest/mnt/doc/cec_local/bin /.
4. Run qnes in the menu and restart it. The new icon is displayed. The run test icon is displayed in
Create a file in the root directory of the SD card!
The above method is totally free from the constraint of Install. conf. Currently, no number of applications can be installed.
This is a problem. In the future, we guess we can kill the system process winmgr (which can be viewed by PS-ef) and start it again,
In this way, you do not need to restart the machine.
Iv. Current achievements of Software Porting
We hope DX can be used to port the qnes simulator of 968 in the previous article.
In the past few days, I have tested some third-party software with the new number and Changhong Xiaoye. The results are as follows:
1. A command compiled using the cross-compilation tool (ARM, Linux 2.4.3) in my hand
Line program, found that the e600 can be successfully run! The result is exactly the same as that of e680g. (Cross-Compilation
For more information, see the development series of e680g .) This completely removes the previous
My doubts cannot be left alone with amazing good news!
Key scripts (1 and 2 are redirection output and errors)
/Mnt/SD/Hello 1> OK .txt 2> error.txt
Source code
# Include <stdio. h>
Int main ()
{
Float myvaluea = 1.9;
Float myvalueb = 2.8;
Printf ("Hello! My e680! /N ");
Printf ("testvalue: % F/N", myvaluea + myvalueb );
Return 0;
}
Output
Hello! My e680!
Testvalue: 4.700000.
2. I used some existing QT programs and ezx programs of e680 and found that they could not run successfully on e600,
Error message: Inconsistency detected by LD. So: dynamic-link.h: 62:
Elf_get_dynamic_info: assertion '! "Bad dynamic tag" 'failed! Apparently the last
When the dynamic library file is finally linked for execution, incompatible code appears. Finally, I suddenly thought
Starting from e600, The QTE version is 2.3.8, while I compile QTE 2.3.10. When the higher version enables the lower version to run,
This is a normal error, but whether it is the cause requires further confirmation.