MB:CV766C

From LEXWiKi

(Difference between revisions)
Jump to: navigation, search
(Sloving WinCE 6.0 image booting problem with SATA device.)
Current revision (14:41, 23 February 2010) (edit) (undo)
(How can I use Serial port COM5 and COM6 in Linux?)
 
Line 319: Line 319:
Add "8250.nr_uarts=6" in the kernel line as below picture:
Add "8250.nr_uarts=6" in the kernel line as below picture:
 +
(In Fedora)
[[Image:menulst.jpg]]
[[Image:menulst.jpg]]
 +
 +
(In Ubuntu)
 +
 +
[[Image:menulst_u.jpg]]

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