MTK Android Driver: UART, mtkandroidReprinted please indicate the source: http://blog.csdn.net/cbk861110/article/details/425834691. uart port configuration: Set uart log and meta configuration ports to other ports. The empty uart1 is used for communication debugging. Note: Only the uart1 port on the hardware board can be debugged by flying lines. Modification Method: Refer to [FAQ07420] how to set a version earlier than JB5.MP for the uart port for puting uart log:
Factory mode test item cannot display
If the test item of factory mode cannot be displayed normally, check the following reasons:
Cause 1: The test item is not defined in ftm_test_item [] of factory. C.Make sure that the test item is defined in the ftm_test_item [] array in Alps/mediatek/Factory/src/factory. C. Static item_t ftm_test [] ={# ifdef incluitem (item_keys, uistr_keys), # endif # ifdef incluitem (item_jogball, uistr_jogball), # endif # ifde
Note: 10.1 inch screen min 3.0 v Typ 3.3 V max 3.6 v flash screen may be due to motherboard powered only 2.8V
The LK LCM is configured under the Alps\bootab LE\BOOTLOADER\LK\DEV\LCM directory with the following new add red
Alps\bootable\bootloader\lk\dev\lcm\mt65xx_lcm_list.c
. . . . extern Lcm_driver Nt35510_dsi_cmd_lcm_drv; extern Lcm_driver Rm69032_dsi_cmd_lcm_drv; extern Lcm_driver St7789h2_dbi_lcm_drv;
directive invokes the system routine of the operating system number bit 02The way Linux 2.6.16 is used later:The 24-bit immediate number in the instruction is ignored, the service type requested by the user is determined by the value of the register R7, and the parameters are passed through the other general registers. For example:MOV R7, #12SWI 0Each system call has a unique system call function number Alps\kernel\arch\arm\include\asm\unistd.hSystem
Press power key to slow down the screen speed problem
Causes and solutions:
The delay in the resume function of each driver, and the delay of the thread inside the charging driver need to be re-viewed, compared with the original code, except for some necessary delay, the other time delay should be removed, and some often hit log also to be removed, to speed up the speed of pressing the power key to light the screen.
The following code:
Alps\mediatek\
............};When adding drivers to kdsensorlist and sensorlist, be aware that the sensor adds the same position. Otherwise the driver will run out of chaos, the ISP parameter is not correct, the heavy sensor cannot be started.2. Photo Image size Settings:.. \mediatek\custom\prj\hal\camera\camera\cfg_ftbl_$prj$_raw_main.hCapture SizeConfig_feature (Fid_cap_size,By_default (capture_size_1600_1200),/*by_default (capture_size_2560_1920), benmodify*/capture_size_640_480,CAPTURE_SIZE_1280_960,CAPTUR
Python-markdown Libxml2-utils Xsltproc Lib32readline-gplv2-dev3, Installation OpenJDKsudo apt-get install Default-jresudo apt-get install DEFAULT-JDKThe default installation under USR/LIB/JVM, the installation is successful, can be viewed through java-version, if you want to set the default, you can do the following stepssudo update-alternatives--install/usr/bin/java java/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/javasudo update-alternatives--install/usr/bin/javac javac/usr/lib/jvm/java-1.7.0-op
Deleting Packages/apps/gallery2/android.mk and PACKAGES/APPS/GALLERY2/JNI/ANDROID.MK will report an error similar to the following after compiling the entire project:MAKE[3]: * * * No rule to do target ' Out/target/common/obj/apps/gallery2_intermediates/classes.jar ', needed by ' out/ Target/common/obj/apps/op02plugin_intermediates/classes-full-debug.jar '. Stop.According to log can be seen and plugin related, because the plugin corresponding APK and gallery2.apk have a dependency.The code to re
.
========================================================== ========================================================== ====================================
For Android system sdcard development, the main work is as follows:
(1) After kernel driver development, the sdcard system will display relevant information each time it is inserted and pulled out, and the sdcard can be manually mounted.
(2) Android sdcard mounting is mainly completed by vold. The source code of vold is in the
Factory mode test item cannot displayIf the test item of factory mode cannot be displayed normally, check the following reasons:Cause 1: The test item is not defined in ftm_test_item [] of factory. c.Make sure that the test item is defined in the ftm_test_item [] array in alps/mediatek/factory/src/factory. c.Static item_t ftm_test [] = {# Ifdef FEATURE_FTM_KEYSItem (ITEM_KEYS, uistr_keys ),# Endif# Ifdef FEATURE_FTM_JOGBALLItem (ITEM_JOGBALL, uistr_jo
versions, of which the first two versions were O (1) levels, and the latter two were O (n) levels. The 2nd version may have some flaws, if you see the code where the error please comment, thank you.Container number 1th ImplementationThe structure of their own writing.main.cpp//minstack2////Created by Alps on 14/12/3.//Copyright (c) 2014 Chen. All rights reserved.//#include The stack implementation of STL number 2ndAt the edge of the test, my compiler
Developer Information Registration
git config user.name "Zhangle"
git config user.email zhangle@eastaeon.com
The Ex:author section shows the submitter information
Global configuration: git config--global user.name "xxx" three ways to download:
1.git protocol git clone git://192.168.110.230/library name2.http protocol git clone http://192.168.110.230/gitweb/library name3.SSH protocol git clone username@192.168.110.230:/home/git/library name
Screenshot of the following Git official document
For
Case 1:If you have saved: a:04165191666, b:5191666, the call number is: 04165191666Because it is a 7-bit match, both A and B can match, but the best match is a, and the last shows A;Call 5191666 is matched to B.Case 2:Save a:04165191666 only,Call 5191666 or 04165191666 matches a.Case 3:Save b:5191666 only,The call 5191666 or 04165191666 matches B.On the basis of 7 match, the matching number match can be further filtered.First, you need to modify the Min_match to 7-bit matching, please modify the
Android source environment
In the Google release of the Android source code, the face of so many codes and file directories, at this time how to confuse the code and configuration confused files?The default in Android is to confuse the code Proguard off, in the alps/build/core/proguard.flags has the following sentence, meaning will not be confused by default, do not need code deletion, we will comment on this sentence, the code to confuse the r
use, and when the name is confused, external calls will be error, then how to solve this problem? At this point we need to use the confusing personalization file Proguard-project.txt We just mentioned, in which to configure classes, methods and variables that do not require confusion. For a detailed configuration of the confusing file, see the last heading below for details.Proguard use in Android source environment
In the Google release of the Android source code, the face of so many cod
Android phone book first matches 10 bits. If it cannot match, it is changed to 7 bits.Case 1:If you save A: 04165191666, B: 5191666, the incoming call number is 04165191666.Because it is A 7-bit match, both A and B can be matched, but the best match is still A, and finally A is displayed;If the incoming call is 5191666, B is matched.Case 2:Save only A: 04165191666,Call 5191666 or 04165191666 matches.Case 3:Save only B: 5191666,The incoming call 5191666 or 04165191666 matches B.On the basis of 7
: = $ (call my-DIR)Include $ (clear_vars)# Module name shoshould match APK name to be installedLocal_module: = testLocal_module_tags: = optionalLocal_src_files: = ((local_moduleapps.apkLocal_module_class: = appsLocal_module_suffix: = $ (common_android_package_suffix)Local_certificate: = presignedInclude $ (build_prebuilt)4) open the file build/target/product/$ {project}. mk ($ {project} indicates the project name)Add test to product_packages.5) copy the so library extracted from test.apk to the
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.