CN104360860B - A kind of domestic autonomous embedded computer system and its video driver method - Google Patents
A kind of domestic autonomous embedded computer system and its video driver method Download PDFInfo
- Publication number
- CN104360860B CN104360860B CN201410653610.1A CN201410653610A CN104360860B CN 104360860 B CN104360860 B CN 104360860B CN 201410653610 A CN201410653610 A CN 201410653610A CN 104360860 B CN104360860 B CN 104360860B
- Authority
- CN
- China
- Prior art keywords
- video
- revised
- base address
- display
- mclk
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000012986 modification Methods 0.000 claims abstract description 7
- 230000004048 modification Effects 0.000 claims abstract description 7
- 230000015654 memory Effects 0.000 claims description 39
- 230000006870 function Effects 0.000 claims description 28
- 230000001133 acceleration Effects 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 5
- 238000013507 mapping Methods 0.000 claims description 4
- FGUUSXIOTUKUDN-IBGZPJMESA-N C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 Chemical compound C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 FGUUSXIOTUKUDN-IBGZPJMESA-N 0.000 claims description 2
- 230000003993 interaction Effects 0.000 abstract description 2
- 238000013461 design Methods 0.000 description 9
- 230000033001 locomotion Effects 0.000 description 5
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 238000007639 printing Methods 0.000 description 4
- 229910052710 silicon Inorganic materials 0.000 description 4
- 239000010703 silicon Substances 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000009432 framing Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 101100048435 Caenorhabditis elegans unc-18 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000002156 mixing Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000004064 recycling Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
Claims (3)
- A kind of 1. video driver method of domestic autonomous embedded computer system, it is characterised in that described domestic autonomous embedded Formula computer system includes Godson 2F CPU and SM722 display chips, and the SM722 display chips are total by PCI Line is connected with the Godson 2F;Its driving method includes:(1) firmware layer drives:Into catalogue where pmon source code, the video card that support SM712 display chips therein are opened using text editor is driven Dynamic source file is simultaneously changed as follows:A. 0x18200000 is revised as in frame buffer zone FrameBuffer base address;B. 0x180C0000 is revised as in the base address in I/O register space;C. 0x18000000 is revised as in the base address in drawing port register DPR spaces;D. 0x18000800 is revised as in the base address in video port register VPR spaces;E. video memory space size is adjusted to 8MB;F. display chip internal memory working clock frequency MCLK is arranged in the range of 64MHz -129MHz;(2) operating system nucleus layer drives:Into catalogue where the source code of operating system nucleus, open video driver source file therein using text editor and go forward side by side The following modification of row:G. 0x18200000 is revised as in frame buffer zone FrameBuffer base address;H. 0x180C0000 is revised as in the base address in I/O register space;I. 0x18000000 is revised as in the base address in drawing port register DPR spaces;J. 0x18000800 is revised as in the base address in video port register VPR spaces;K. video memory space size is adjusted to 8MB;L. display chip internal memory working clock frequency MCLK2 is arranged in the range of 64MHz -129MHz;Mapping function smtc_map_smem is modified, frame buffer zone FrameBuffer initial address is added into 2MB, it is long Degree subtracts 2MB, to ensure that other application program can get correct frame buffer zone FrameBuffer initial address;The calculation formula of the display chip internal memory working clock frequency MCLK is:MCLK=14.31818MHz × MNR ÷ MDRWherein MNR is MCLK phaselocked loop numerator register, and MDR is MCLK denominator register.
- 2. the video driver method of domestic autonomous embedded computer system according to claim 1, it is characterised in that:Firmware layer 2D hardware is realized with minor function by being added in the video driver source file under the catalogue where pmon source code Acceleration function and RGB function:1. adding frame buffer zone region copy function deCopy, the memory copying module inside display chip is driven to realize figure It is mobile to accelerate;2. adding rectangle color stuffing function deFillRect, the rectangular area color filling module inside display chip is driven Realize that area filling is hardware-accelerated;After adding above-mentioned function, the grand VIDEO_HW_BITBLT defined in cfb_console.c source files, open rectangle and replicate With area filling acceleration function.
- 3. the video driver method of domestic autonomous embedded computer system according to claim 1, it is characterised in that:Institute State in step f and l, make MNR=0x74, MDR=0x14, so as to which display chip internal memory working clock frequency MCLK be set For 83.045MHz.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410653610.1A CN104360860B (en) | 2014-11-17 | 2014-11-17 | A kind of domestic autonomous embedded computer system and its video driver method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410653610.1A CN104360860B (en) | 2014-11-17 | 2014-11-17 | A kind of domestic autonomous embedded computer system and its video driver method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104360860A CN104360860A (en) | 2015-02-18 |
CN104360860B true CN104360860B (en) | 2018-02-16 |
Family
ID=52528124
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410653610.1A Active CN104360860B (en) | 2014-11-17 | 2014-11-17 | A kind of domestic autonomous embedded computer system and its video driver method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104360860B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105610739B (en) * | 2016-01-13 | 2018-08-24 | 浪潮集团有限公司 | A method of Godson interchanger operating system is realized using DELTAOS |
CN106155689B (en) * | 2016-07-02 | 2019-04-12 | 广东中兴新支点技术有限公司 | The method shown under a linux operating system based on 86 platform of non-x |
CN107329723A (en) * | 2017-07-13 | 2017-11-07 | 山东超越数控电子有限公司 | It is a kind of to realize the method that DirectDraw accelerates |
CN108776595B (en) * | 2018-06-11 | 2021-06-29 | 郑州云海信息技术有限公司 | A method, device, device and medium for identifying a graphics card of a GPU server |
CN110990068B (en) * | 2019-11-29 | 2023-05-12 | 龙芯中科(西安)科技有限公司 | Display method, display device, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102023889A (en) * | 2010-11-04 | 2011-04-20 | 天津曙光计算机产业有限公司 | Method for realizing operation of X86 VBIOS (video-bios) on MIPS (million instruction per second) framework |
CN103744480A (en) * | 2013-12-30 | 2014-04-23 | 天津市英贝特航天科技有限公司 | Embedded computer module based on Loongson 2F |
-
2014
- 2014-11-17 CN CN201410653610.1A patent/CN104360860B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102023889A (en) * | 2010-11-04 | 2011-04-20 | 天津曙光计算机产业有限公司 | Method for realizing operation of X86 VBIOS (video-bios) on MIPS (million instruction per second) framework |
CN103744480A (en) * | 2013-12-30 | 2014-04-23 | 天津市英贝特航天科技有限公司 | Embedded computer module based on Loongson 2F |
Non-Patent Citations (7)
Title |
---|
SM501显卡驱动的移植(linux2.6.18)-技术文档-安装启动;赵芷晴;《club.1688.com/article/8852392.htm》;20091028;第1节、第2节 * |
u-boot-2009.11在MINI2440上的移植LCD驱动;RopenYuan;《blog.csdn.net/ropenyuan/article/details/6714544》;20110824;第7.1节第10部分 * |
基于龙芯平台的Bootloader移植与分析;夏豪骏;《中国优秀硕士学位论文全文数据库信息科技辑》;中国学术期刊电子杂志社;20140215(第02期);I138-347 * |
基于龙芯平台的U-Boot系统移植;张风;《中国优秀硕士学位论文全文数据库信息科技辑》;中国学术期刊电子杂志社;20140515(第05期);I138-496 * |
基于龙芯的嵌入式数控系统平台的研究与开发;卢小张;《中国优秀硕士学位论文全文数据库工程科技I辑》;20111215(第S2期);B022-756,正文第13页 * |
嵌入式2D加速显卡SM501驱动的移植[linux.2.6.18];BobbyWu;《blog.csdn.net/huafulan/article/details/4055934》;20090408;全文 * |
智能车笔记2总线时钟;CodeMySky;《blog.csdn.net/codemysky/article/details/7315807》;20120322;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104360860A (en) | 2015-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104360860B (en) | A kind of domestic autonomous embedded computer system and its video driver method | |
CN101978352B (en) | For with multiple graphics subsystem, the driver framework of the computing device of the power dissipation modes of reduction, software and method | |
CN101901206B (en) | hybrid computer system | |
EP1320067B1 (en) | Universal graphics adapter | |
TW319852B (en) | ||
CN103415834B (en) | dynamic cross-environment application configuration | |
US20100321395A1 (en) | Display simulation system and method | |
Walls | Embedded software: the works | |
US9921949B2 (en) | Software testing | |
US20090265708A1 (en) | Information Processing Apparatus and Method of Controlling Information Processing Apparatus | |
CN103370690A (en) | Dynamic cross-environment application orientation | |
CN106155766A (en) | A kind of virtual serial port screen simulation system and analogy method thereof | |
US11392512B2 (en) | USB method and apparatus in a virtualization environment with multi-VM | |
CN101515436B (en) | Embedded LED display screen control system | |
CN109710229B (en) | Architecture verification method and platform for graphics pipeline unit of GPU (graphics processing Unit) chip | |
CN110413318A (en) | Migration method, device and related equipment of graphical operating system | |
JP7649065B1 (en) | Method and system for optimizing simulation performance of vehicle model, storage medium, and electronic device | |
CN101853630A (en) | A RAM-mapped LED display drive system | |
CN201266388Y (en) | High integration embedded graphics display drive device | |
CN111752623B (en) | Display configuration method, device, electronic equipment and readable storage medium | |
CN102708002B (en) | Display management method of video card in baseboard management controller (BMC) s, and server | |
CN101364301A (en) | Embedded graphic display drive deivce | |
CN101825994B (en) | The flash memory array management device relied on based on the non-OS of firmware and method | |
Tran et al. | An efficient architecture design for VGA monitor controller | |
EP3480703B1 (en) | Hardware independent peripheral control system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190814 Address after: 410205 Room 1001, Building 10, Changsha Zhongdian Software Park, 39 Jianshan Road, Changsha High-tech Development Zone, Hunan Province Co-patentee after: CHANGSHA HCC HIDEN TECHNOLOGY Co.,Ltd. Patentee after: Hunan Great Wall Science and Technology Information Co.,Ltd. Address before: 410100 No. three, No. 5 East, Changsha Economic Development Zone, Hunan, China Co-patentee before: CHANGSHA HCC HIDEN TECHNOLOGY Co.,Ltd. Patentee before: GREATWALL INFORMATION INDUSTRY Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240527 Address after: Room 201, Headquarters Building of Changsha Zhongdian Software Park Co., Ltd., No. 39 Jianshan Road, Changsha High tech Development Zone, Changsha City, Hunan Province, 410221 Patentee after: China Electric Great Wall Technology Co.,Ltd. Country or region after: China Address before: Room 1001, Building 10, Changsha Zhongdian Software Park, No. 39, Jianshan Road, Changsha High-tech Development Zone, Hunan Province, 410205 Patentee before: Hunan Great Wall Science and Technology Information Co.,Ltd. Country or region before: China Patentee before: CHANGSHA HCC HIDEN TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |