MB:CV766C

From LEXWiKi

(Difference between revisions)
Jump to: navigation, search
(edited by Leon via TableEdit)
Current revision (14:41, 23 February 2010) (edit) (undo)
(How can I use Serial port COM5 and COM6 in Linux?)
 
(8 intermediate revisions not shown.)
Line 11: Line 11:
{|class = 'sortable' border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;" id='110'
{|class = 'sortable' border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;" id='110'
|- bgcolor = #ccccff
|- bgcolor = #ccccff
-
!O.S.!! VGA!! Audio!! IDE!! Video-in!! TV-OUT!! Download!! Patch
+
!O.S.!! VGA!! Audio!! IDE!! Video-in!! TV-OUT!! LAN!! Download!! Patch
|-
|-
|
|
Line 26: Line 26:
No
No
|
|
 +
Yes
 +
|
 +
*[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/SBC_Board/CV700/XPE/xpesp2_p4m800ce_16944444_xp_wishld_logo_v20.zip VGA]
*[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/SBC_Board/CV700/XPE/xpesp2_p4m800ce_16944444_xp_wishld_logo_v20.zip VGA]
*[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/SBC_Board/CV700/XPE/Vinyl97.sld.rar Audio]
*[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/SBC_Board/CV700/XPE/Vinyl97.sld.rar Audio]
Line 44: Line 47:
|
|
No
No
 +
|
 +
Yes
|
|
*[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/SBC_Board/CV700/WinCE_50/ddrawcle-cn-cx%20v5%5B1%5D.0023.zip VGA & Audio & IDE]
*[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/SBC_Board/CV700/WinCE_50/ddrawcle-cn-cx%20v5%5B1%5D.0023.zip VGA & Audio & IDE]
- 
|
|
Line 63: Line 67:
No
No
|
|
-
*Supported by kernel
+
Yes
 +
|
 +
*Supported by kernel
|
|
Line 80: Line 86:
No
No
|
|
-
*Supported by kernel
+
Yes
 +
|
 +
*Supported by kernel
|
|
Line 96: Line 104:
|
|
No
No
 +
|
 +
Yes
|
|
*[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/SBC_Board/CV700/Suse10.3/VGA/cx700_cn800_cn700_linux_4-1-0071.zip VGA]
*[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/SBC_Board/CV700/Suse10.3/VGA/cx700_cn800_cn700_linux_4-1-0071.zip VGA]
- 
|
|
*Sound support by kernel built-in driver (via 8237 alsa mixer)
*Sound support by kernel built-in driver (via 8237 alsa mixer)
Line 115: Line 124:
|
|
No
No
 +
|
 +
Yes
|
|
*[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/SBC_Board/CV700/Linux/VGA/via_fc7_unichrome-v40072d-kernel-bin-_v0.80.zip VGA]
*[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/SBC_Board/CV700/Linux/VGA/via_fc7_unichrome-v40072d-kernel-bin-_v0.80.zip VGA]
Line 132: Line 143:
|
|
No
No
 +
|
 +
Yes
|
|
*[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/SBC_Board/CV700/Linux/VGA/CN700XOrg83_FC8_BONA.tgz VGA]
*[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/SBC_Board/CV700/Linux/VGA/CN700XOrg83_FC8_BONA.tgz VGA]
 +
|
 +
 +
|-
 +
|
 +
Windows CE 6.0
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
Yes
 +
|
 +
-
 +
|
 +
No
 +
|
 +
Yes
 +
|
 +
*[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/SBC_Board/CV700/WinCE_60/viabsp_v3.43_for_ce60.zip VGA & Audio & LAN]
 +
*[http://tprd.info/lexwiki/index.php/MB:CV766C#Sloving_WinCE_6.0_image_booting_problem_with_SATA_device. SATA]
|
|
Line 141: Line 174:
[{{SERVER}}/lexwiki/index.php?title=Special:TableEdit&id=0ff043503afcc820715377de1ca000b6.0.N478cd4d5c87b9&page=0&pagename={{FULLPAGENAMEE}} edit table]
[{{SERVER}}/lexwiki/index.php?title=Special:TableEdit&id=0ff043503afcc820715377de1ca000b6.0.N478cd4d5c87b9&page=0&pagename={{FULLPAGENAMEE}} edit table]
<!--box uid=0ff043503afcc820715377de1ca000b6.0.N478cd4d5c87b9-->
<!--box uid=0ff043503afcc820715377de1ca000b6.0.N478cd4d5c87b9-->
 +
 +
== FAQ of CV766C ==
 +
=== Enable RS232 (COM1~COM4) support in WinCE 6.0 by setting platform.reg file. ===
 +
{|
 +
!bgcolor = #ccccff width="50" align="center"|Ans:
 +
!bgcolor = #F3F3F3 width="100%" align="left"|
 +
*Make sure the com ports setting are the same as in BIOS setting.
 +
**COM1: irq 4, address 0x3F8
 +
**COM2: irq 3, address 0x2F8
 +
**COM3: irq 5, address 0x3E8
 +
**COM4: irq 10, address 0x2E8
 +
*Edit platform.reg (black: original, <font color=#0000FF>blue</font>: newly added, <font color=#FF0000>red</font>: delete)
 +
IF BSP_SERIAL3
 +
"Ranges"="0-0x5F,0x65-0x277,0x284-0x2E7,0x2F0-0x2F7,0x300-0x38F,0x392-0x3DF,0x3E2-0x3E7,0x3F0-0xFFFF"
 +
<font color=#0000FF>"Ranges"="0-0x5F,0x65-0x277,0x284-0x2E7,0x2F0-0x2F7,0x300-0x38F,0x392-0x3DF,0x3E2-0x3E7,0x3F0-0x3F7,0x400-0xFFFF"</font>
 +
ENDIF BSP_SERIAL3
 +
IF BSP_SERIAL2
 +
<font color=#FF0000>"SerialDbg1"="Drivers\\BuiltIn\\Serial2"</font>
 +
<font color=#0000FF>"SerialDbg4"="Drivers\\BuiltIn\\Serial2"</font>
 +
ENDIF BSP_SERIAL2
 +
.
 +
.
 +
.
 +
IF BSP_SERIAL3
 +
<font color=#FF0000>"SerialDbg3"="Drivers\\BuiltIn\\Serial3"</font>
 +
<font color=#0000FF>"SerialDbg5"="Drivers\\BuiltIn\\Serial3"</font>
 +
ENDIF BSP_SERIAL3
 +
.
 +
.
 +
.
 +
<font color=#FF0000>IF BSP_NOSERIAL !</font>
 +
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
 +
<font color=#FF0000>"SysIntr"=dword:13</font>
 +
<font color=#0000FF>"SysIntr"=dword:14</font>
 +
<font color=#FF0000>"IoBase"=dword:02F8</font>
 +
<font color=#0000FF>"IoBase"=dword:03F8</font>
 +
.
 +
.
 +
.
 +
<font color=#FF0000>IF BSP_SERIAL2</font>
 +
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
 +
<font color=#FF0000>"SysIntr"=dword:14</font>
 +
<font color=#0000FF>"SysIntr"=dword:13</font>
 +
<font color=#FF0000>"IoBase"=dword:03F8</font>
 +
<font color=#0000FF>"IoBase"=dword:02F8</font>
 +
.
 +
.
 +
.
 +
<font color=#FF0000>ENDIF BSP_SERIAL2</font>
 +
<font color=#FF0000>IF BSP_SERIAL3</font>
 +
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial3]
 +
"SysIntr"=dword:15
 +
<font color=#FF0000>"IoBase"=dword:02E8</font>
 +
<font color=#0000FF>"IoBase"=dword:03E8</font>
 +
.
 +
.
 +
.
 +
<font color=#FF0000>ENDIF BSP_SERIAL3</font>
 +
<font color=#0000FF>[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial4]
 +
"SysIntr"=dword:1A
 +
"IoBase"=dword:02E8
 +
"IoLen"=dword:8
 +
"DeviceArrayIndex"=dword:3
 +
"Prefix"="COM"
 +
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
 +
"Dll"="Com16550.Dll"
 +
"Order"=dword:0
 +
"Flags"=dword:10 ; User MOde: DEVFLAGS_LOAD_AS_USERPROC
 +
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial4\Unimodem]
 +
"Tsp"="Unimodem.dll"
 +
"DeviceType"=dword:0
 +
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
 +
#if ! (defined IMGPPC || defined IMGTPC)
 +
"FriendlyName"=LOC_FRIENDLYNAME_SERIAL4
 +
"FriendlyName"="Serial Cable on COM4:"
 +
#else (defined IMGPPC || defined IMGTPC)
 +
{BEGIN MULTILANG}
 +
; @BEGINASSOC LOCALE %LANGID%
 +
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial4\Unimodem]
 +
"FriendlyName"=LOC_%LANGID%_FRIENDLYNAME_SERIAL4
 +
;"FriendlyName"="Serial Cable on COM4:"
 +
; @ENDASSOC
 +
{END MULTILANG}
 +
#endif ! (defined IMGPPC || defined IMGTPC)</font>
 +
<font color=#FF0000>ENDIF BSP_NOSERIAL ! </font>
 +
.
 +
.
 +
.
 +
|-
 +
!bgcolor = #ccccff |Patch File:
 +
!bgcolor = #F3F3F3 align="left"|
 +
N/A
 +
|-
 +
!bgcolor = #ccccff |Defect:
 +
!bgcolor = #F3F3F3 align="left"|
 +
N/A
 +
|-
 +
!bgcolor = #ccccff |Asker:
 +
!bgColor = #F3F3F3 align="left"|
 +
[[User:Wueric|Eric Wu]] 09:27, 26 August 2008 (CST)
 +
|-
 +
!bgcolor = #ccccff |Provider:
 +
!bgColor = #F3F3F3 align="left"|
 +
[[User:Wueric|Eric Wu]] 09:27, 26 August 2008 (CST)
 +
|-
 +
|}
 +
 +
=== Sloving WinCE 6.0 image booting problem with SATA device. ===
 +
{|
 +
!bgcolor = #ccccff width="50" align="center"|Ans:
 +
!bgcolor = #F3F3F3 width="100%" align="left"|
 +
*Install WinCE 6.0 IDE driver and enable it at "Catalog Items View" in Platform Builder 6.0.
 +
Location is : Third Party -> Devices Drivers -> VIA PATA/SATA Storage Block Driver
 +
*Disable original ATAPI driver at "Catalog Items View" in Platform Builder 6.0.
 +
Location is : Device Drivers -> Storage Devices -> ATAPI PCI Support
 +
|-
 +
!bgcolor = #ccccff |Patch File:
 +
!bgcolor = #F3F3F3 align="left"|
 +
*[ftp://ftp.lex.com.tw/Engineer/SoftSupport/Driver/SBC_Board/CV700/WinCE_60/WinCE60_IDE_V100.zip IDE driver]
 +
|-
 +
!bgcolor = #ccccff |Defect:
 +
!bgcolor = #F3F3F3 align="left"|
 +
Because "VIA PATA/SATA Storage Block Driver" is not support Hive-base,so you should choose "ATAPI PCI Support" when runing Hive-base.
 +
<br> ps."VIA PATA/SATA Storage Block Driver" and "Hive-base" can not coexist.
 +
|-
 +
!bgcolor = #ccccff |Asker:
 +
!bgColor = #F3F3F3 align="left"|
 +
[[User:Wueric|Eric Wu]] 11:04, 26 August 2008 (CST)
 +
|-
 +
!bgcolor = #ccccff |Provider:
 +
!bgColor = #F3F3F3 align="left"|
 +
[[User:Wueric|Eric Wu]] 11:04, 26 August 2008 (CST)
 +
|-
 +
|}
 +
 +
=== How can I use Serial port COM5 and COM6 in Linux? ===
 +
{|
 +
!bgcolor = #ccccff width="50" align="center"|Ans:
 +
!bgcolor = #F3F3F3 width="100%" align="left"|
 +
 +
 +
#vi /boot/grub/menu.lst
 +
 +
Add "8250.nr_uarts=6" in the kernel line as below picture:
 +
 +
(In Fedora)
 +
 +
[[Image:menulst.jpg]]
 +
 +
(In Ubuntu)
 +
 +
[[Image:menulst_u.jpg]]
 +
 +
 +
#reboot
 +
 +
And then you can use 6 COM ports.
 +
 +
|-
 +
!bgcolor = #ccccff |Patch File:
 +
!bgcolor = #F3F3F3 align="left"|
 +
N/A
 +
|-
 +
!bgcolor = #ccccff |Defect:
 +
!bgcolor = #F3F3F3 align="left"|
 +
N/A
 +
|-
 +
!bgcolor = #ccccff |Asker:
 +
!bgColor = #F3F3F3 align="left"|
 +
[[User:PattyChen|Patty]] 17:12, 6 March 2009 (CST)
 +
|-
 +
!bgcolor = #ccccff |Provider:
 +
!bgColor = #F3F3F3 align="left"|
 +
[[User:PattyChen|Patty]] 17:12, 6 March 2009 (CST)
 +
|-
 +
|}

Current revision

Contents

Driver Support

O.S. VGA Audio IDE Video-in TV-OUT LAN Download Patch

Windows XP Embedded

Yes

Yes

Yes

-

No

Yes

Windows CE 5.0

Yes

Yes

Yes

-

No

Yes

Ubuntu 7.10

Yes

Yes

Yes

-

No

Yes

  • Supported by kernel

Debian 4.0

Yes

Yes

Yes

-

No

Yes

  • Supported by kernel

Suse10.3

Yes

Yes

Yes

-

No

Yes

  • Sound support by kernel built-in driver (via 8237 alsa mixer)
  • Lan support by kernel built-in driver (8139too)

Fedora Core 7

Yes

Yes

Yes

-

No

Yes

Fedora Core8

Yes

Yes

Yes

-

No

Yes

Windows CE 6.0

Yes

Yes

Yes

-

No

Yes

edit table

FAQ of CV766C

Enable RS232 (COM1~COM4) support in WinCE 6.0 by setting platform.reg file.

Ans:
  • Make sure the com ports setting are the same as in BIOS setting.
    • COM1: irq 4, address 0x3F8
    • COM2: irq 3, address 0x2F8
    • COM3: irq 5, address 0x3E8
    • COM4: irq 10, address 0x2E8
  • Edit platform.reg (black: original, blue: newly added, red: delete)
IF BSP_SERIAL3
       "Ranges"="0-0x5F,0x65-0x277,0x284-0x2E7,0x2F0-0x2F7,0x300-0x38F,0x392-0x3DF,0x3E2-0x3E7,0x3F0-0xFFFF"
       "Ranges"="0-0x5F,0x65-0x277,0x284-0x2E7,0x2F0-0x2F7,0x300-0x38F,0x392-0x3DF,0x3E2-0x3E7,0x3F0-0x3F7,0x400-0xFFFF"
ENDIF BSP_SERIAL3
IF BSP_SERIAL2
       "SerialDbg1"="Drivers\\BuiltIn\\Serial2"
       "SerialDbg4"="Drivers\\BuiltIn\\Serial2"
ENDIF BSP_SERIAL2
.
.
.
IF BSP_SERIAL3
       "SerialDbg3"="Drivers\\BuiltIn\\Serial3"
       "SerialDbg5"="Drivers\\BuiltIn\\Serial3"
ENDIF BSP_SERIAL3
.
.
.
IF BSP_NOSERIAL !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
       "SysIntr"=dword:13 
       "SysIntr"=dword:14 
       "IoBase"=dword:02F8 
       "IoBase"=dword:03F8
.
.
.
IF BSP_SERIAL2
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
       "SysIntr"=dword:14 
       "SysIntr"=dword:13 
       "IoBase"=dword:03F8
       "IoBase"=dword:02F8
.
.
.
ENDIF BSP_SERIAL2
IF BSP_SERIAL3
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial3]
       "SysIntr"=dword:15
       "IoBase"=dword:02E8 
       "IoBase"=dword:03E8
.
.
.
ENDIF BSP_SERIAL3
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial4]
       "SysIntr"=dword:1A
       "IoBase"=dword:02E8	
       "IoLen"=dword:8
       "DeviceArrayIndex"=dword:3
       "Prefix"="COM"
       "IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
       "Dll"="Com16550.Dll"
       "Order"=dword:0
       "Flags"=dword:10 ; User MOde: DEVFLAGS_LOAD_AS_USERPROC
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial4\Unimodem]
       "Tsp"="Unimodem.dll"
       "DeviceType"=dword:0
       "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
       #if ! (defined IMGPPC || defined IMGTPC)
            "FriendlyName"=LOC_FRIENDLYNAME_SERIAL4
            "FriendlyName"="Serial Cable on COM4:"
       #else (defined IMGPPC || defined IMGTPC)
{BEGIN MULTILANG}
       ; @BEGINASSOC LOCALE %LANGID%
           [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial4\Unimodem]
               "FriendlyName"=LOC_%LANGID%_FRIENDLYNAME_SERIAL4
               ;"FriendlyName"="Serial Cable on COM4:"
       ; @ENDASSOC
{END MULTILANG}
       #endif ! (defined IMGPPC || defined IMGTPC)
ENDIF BSP_NOSERIAL ! 
.
.
.
Patch File:

N/A

Defect:

N/A

Asker:

Eric Wu 09:27, 26 August 2008 (CST)

Provider:

Eric Wu 09:27, 26 August 2008 (CST)

Sloving WinCE 6.0 image booting problem with SATA device.

Ans:
  • Install WinCE 6.0 IDE driver and enable it at "Catalog Items View" in Platform Builder 6.0.
Location is : Third Party -> Devices Drivers -> VIA PATA/SATA Storage Block Driver
  • Disable original ATAPI driver at "Catalog Items View" in Platform Builder 6.0.
Location is : Device Drivers -> Storage Devices -> ATAPI PCI Support
Patch File:
Defect:

Because "VIA PATA/SATA Storage Block Driver" is not support Hive-base,so you should choose "ATAPI PCI Support" when runing Hive-base.
ps."VIA PATA/SATA Storage Block Driver" and "Hive-base" can not coexist.

Asker:

Eric Wu 11:04, 26 August 2008 (CST)

Provider:

Eric Wu 11:04, 26 August 2008 (CST)

How can I use Serial port COM5 and COM6 in Linux?

Ans:


#vi /boot/grub/menu.lst

Add "8250.nr_uarts=6" in the kernel line as below picture:

(In Fedora)

Image:menulst.jpg

(In Ubuntu)

Image:menulst_u.jpg


#reboot

And then you can use 6 COM ports.

Patch File:

N/A

Defect:

N/A

Asker:

Patty 17:12, 6 March 2009 (CST)

Provider:

Patty 17:12, 6 March 2009 (CST)

Personal tools