Linux phone DIY. xiaxin e600 port the qnes simulator of PHILIPS 968

Source: Internet
Author: User

Linux phone DIY. xiaxin e600 port the qnes simulator of PHILIPS 968

Papayas 2006-10-26

I. Sequencing

The qnes simulator of PHILIPS 968 cannot run on xiaxin e600, which is well known. From
With the shell entry, you naturally know the specific cause of failure! After a period of time
It works perfectly!

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

The systems of PHILIPS 968 and xiaxin e600 are very similar, including executable programs and library file versions.
All are consistent, all are arm 1.0 instruction sets and are based on Linux 2.0.0 kernel. Porting software is nothing more
Process executable programs and related library files. All right, let's do it!

Press http://play.younet.com/view.php? In tid = 24045, install _ setup. PRG
And e600.rar.

The content in the study shows how to transplant it.

Some install scripts under A. e600/tmp are called and executed using "software installation. Operations
Only copy files.

The qnes.txt file under B. e600/exeis directly called and run by the "Simulator", which is critical and contains
As follows:

#! /Bin/sh
Export cechome =/mnt/cellon
Export qtdir = $ cechome/QT
# Export qws_keyboard = tty
Export cecdir = $ cechome/CEC
Export LD_LIBRARY_PATH =/mnt/SD/e600/lib: $ cechome/lib: $ cecdir/lib: $ qtdir/lib:/mnt/doc/IBM/JVM/bin: $ LD_LIBRARY_PATH
# Export qws_display =: 1:/dev/fb0
/Mnt/doc/cec_local/bin/qnes 2>/mnt/SD/e600/log/qnesrunerror.txt

It can be seen that LD_LIBRARY_PATH is added with the/mnt/SD/e600/lib search path. The LIB content here
Is the libipm. So file copied from xiaxin 968. In addition, qnes are also related to the install script.
The qnes.png and QM files can be copied to the specified directory and run without these files. However, some files are displayed.
Exception.
At the beginning of the transplantation, the following running script is used:

Export cechome =/mnt/cellon
Export qtdir = $ cechome/QT
Export qws_keyboard = tty
Export cecdir = $ cechome/CEC
Export LD_LIBRARY_PATH =/mnt/SD/e600/lib: $ cechome/lib: $ cecdir/lib: $ qtdir/lib:/mnt/doc/IBM/JVM/bin: $ LD_LIBRARY_PATH
Export qws_display =: 1:/dev/Fb1
/Mnt/doc/cec_local/bin/qnes-qws 2>/mnt/SD/e600/log/qnesrunerror.txt

If no-qws running parameter exists, an error is displayed. If-qws is added, the running operation is acceptable, but the image is displayed.
The buttons all conflict with the system. Later, I thought that/dev/Fb1 is not a direct display device, and changed it to/dev/fb0, slightly
Yes. In the meantime, I also tried to use the 968 QT library, but the buttons would be messy. Tty tried many times, no
Even think of the kill winmgr method, but it is very bad, resulting in the phone will continue to restart, this
I am very sorry. During such a common operation on the e680, The e600 will be restarted frequently!

/Dev/fb0, the game can also be played normally, but by chance through the Earthquake test, it is found that the qws Environment
All the variables are removed and qnes are running normally. It turns out that the simulator is perfect and there is no conflict.
Because I have no time to view it carefully, if you are interested, you can search for it on Google.

In addition, a segmentaion fault occurs during the porting process. The reason is unknown. I think it may be
Fontdir problems.

Iv. Summary

Unexpectedly, it would have taken so much time to transplant a very simple simulator:
On paper, you will never be able to get started!
Speak less and do more things. That's all.

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.