Difference between revisions of "SBC8018-FAQ"

From eLinux.org
Jump to: navigation, search
(How to get rid of LCD login information ?)
Line 1: Line 1:
 
=Linux=
 
=Linux=
 
==How to get rid of LCD login information ?==
 
==How to get rid of LCD login information ?==
1 Modify the /etc/inittab
+
1 Power on the SBC8018 and enter to Linux system
 +
 
 +
2 Modify the /etc/inittab
  
 
   Modify "1:2345:respawn:/sbin/getty 38400 tty1" as
 
   Modify "1:2345:respawn:/sbin/getty 38400 tty1" as
 
   "# 1:2345:respawn:/sbin/getty 38400 tty1"
 
   "# 1:2345:respawn:/sbin/getty 38400 tty1"
  
2 Modify /etc/rcS.d/S02banner
+
3 Modify /etc/rcS.d/S02banner
  
 
   Modify "echo "Please wait: booting..." > $vtmaster" as
 
   Modify "echo "Please wait: booting..." > $vtmaster" as

Revision as of 01:27, 31 January 2012

Linux

How to get rid of LCD login information ?

1 Power on the SBC8018 and enter to Linux system

2 Modify the /etc/inittab

 Modify "1:2345:respawn:/sbin/getty 38400 tty1" as
 "# 1:2345:respawn:/sbin/getty 38400 tty1"

3 Modify /etc/rcS.d/S02banner

 Modify "echo "Please wait: booting..." > $vtmaster" as
 "# echo "Please wait: booting..." > $vtmaster"

WinCE

Why need touch screen calibration every time when getting into WinCE system?

Answer: Because Embest provides 4.3-inch and 7-inch LCDs for the board, different LCDs use different touch screen parameters, so it needs calibration every time.
However, we can solve the problem as below:
1. Open the Hyper-terminal and boot the WinCE system, do touch screen calibration once and check the Hyper-terminal information, you will see similar sentence like "CalibrationData"="2016,1888 1056,864 992,2912 3040,2976 3072,896", these are parameters of touch screen.
2. Please add the touch screen parameters to BSP path: bsp/file/platform.reg

   ;-- Touch Screen driver --------------------------------------------------------
 ; @CESYSGEN IF CE_MODULES_POINTER
 ; @CESYSGEN IF GWES_TCHUI
 ; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NOTOUCH !
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
"DriverName"="touch.dll"
IF IMGNOCALIBRATION //mask this line
"CalibrationData"="2016,1888 1056,864 992,2912 3040,2976 3072,896" //These are parameters of your touch screen, please modify it to 4.3inch or 7inch
ENDIF IMGNOCALIBRATION //mask this line
"MaxCalError"="6"
"SPIAddr"=dword:0  ; McSPI1 channel 0
"PenGPIO"=dword:1B  ; gpio27// gpio_175
"PenUpDebounceMS"=dword:28  ; PenUp debounce time in MS, 0 to disable debounce process
"InitialSamplesDropped"=dword:2 ; Number of samples to be dropped after pen down detection
; Default is 1
 ;"SampleRate"=dword:64 ; samples per second, default is 100

ENDIF BSP_NOTOUCH !
 ; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
 ; @CESYSGEN ENDIF GWES_TCHUI
 ; @CESYSGEN ENDIF CE_MODULES_POINTER