Coder Social home page Coder Social logo

condor_tools's Introduction

Copyright (c) 2013, The Linux Foundation. All rights reserved.

Redistribution and use in source form and compiled forms (SGML, HTML,
PDF, PostScript, RTF and so forth) with or without modification, are
permitted provided that the following conditions are met:

Redistributions in source form must retain the above copyright
notice, this list of conditions and the following disclaimer as the
first lines of this file unmodified.

Redistributions in compiled form (transformed to other DTDs,
converted to PDF, PostScript, RTF and other formats) must reproduce
the above copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided with
the distribution.

THIS DOCUMENTATION IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND
NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD
DOCUMENTATION PROJECT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.


-------------------------------------------------------------
-------------------------------------------------------------


Introduction
----------
README.txt describes the parser usage for display component in
GCDB(Global Component Database).

Usage:
---------
Display parser supports generating dtsi and header file for android
kernel and LK.

command: perl parser.pl <.xml> <panel/platform>

Next two sections descrbe the usage of parser script for xml files
preset in this folder. User can follow same for their own panel
or target files.


Generate Panel dtsi/header file
------------------------
User should use below command to generate the panel dtsi/header file for
panel_nt35590_720p_cmd.xml. This xml file is part of this folder.

#perl parser.pl panel_nt35590_720p_cmd.xml panel

It generates dsi-panel-nt35590-720p-cmd.dtsi and panle_nt35590_720p_cmd.h
files. Dtsi file should be copied to dts folder in kernel while header
file should be copied to bootloader GCDB header file database.

It also contains the video mode panel xml file.

#perl parser.pl panel_nt35596_1080p_video.xml panel

It generates dsi-panel-nt35596-1080p-video.dtsi and panle_nt35596_1080p_video.h
files. Dtsi file should be copied to dts folder in kernel while header file
should be copied to bootloader GCDB header file database.



Generate Platform dtsi/header file
---------------------------
User should use below command to generate the display platform dtsi/header file
for platform-msm8610.xml. This XML file is part of this folder.

#perl parser.pl platform-msm8610.xml platform

It generates platform_msm8610.h and platform-msm8610.dtsi files. The content of
dtsi file should be copied to <target-mdss.dtsi> file for kernel while content
of header file should be copied to display.h for LK.

condor_tools's People

Contributors

aajain avatar aff-tar avatar ashishrjain avatar bebarino avatar boedhack avatar darkpewds6969 avatar dilipgudlur avatar m1cha avatar naseer avatar plafayet avatar stewartc avatar tfinkel avatar vgarodia avatar vkathota avatar xnubia avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.