mini6410 + 7" touchscreen

Daniele
Hi all,
I've a problem with the mini6410 board and its 7" touchscreen in a system
based on Linux Ubuntu 9.10 OS
This is my environment:
Ubuntu kernel: uzImage_a70 from DVD (Ubuntu Karmic 9.10)

Rootfs: generated with Rootstock with this command
sudo rootstock --fqdn ubuntu --login ubuntu --password temppwd --kblayout
it --dist karmic --mirror http://old-releases.ubuntu.com/ubuntu --seed xorg

ts.conf file:
module_raw one-wire-ts-input
module pthres pmin=1
module variance delta=30
module dejitter delta=10000
module linear

The directory usr/lib/ts0 contains the file:
one-wire-ts-input.so (that I've compiled)

In the directory /usr/lib there are these files:
libts-0.0.so.0, libts-0.0.so.0.1.1

At the first boot the system run this code:
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
mkdir /dev/input  2>/dev/null
mknod /dev/input/event1 c 13 64 2>/dev/null
mknod /dev/fb0 c 29 0 2>/dev/null
mknod /dev/touchscreen c 10 180 2>/dev/null
mknod /dev/touchscreen-1wire c 10 181 2>/dev/null
mknod /dev/s3c2410_serial3 c 204 67 2>/dev/null

export TSLIB_TSDEVICE=/dev/touchscreen-1wire
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/lib/ts0
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_CONSOLEDEVICE=none

if [ ! -s /etc/pointercal ] ; then
ts_cal
mv /pointercal /etc
fi

exec /sbin/init

At the first boot the system recognizes correctly the touchscreen:
1Wire touchscreen OK
TouchDevice: /dev/touchscreen-1wire
xres = 800, yres = 480
and the procedure "ts_cal" is performed correctly (file etc/pointercal
created)
After this I login into Ubuntu but the touchscreen stops working:
a. the command cat /dev/touchscreen-1wire work correctly
b. if I call ts_cal or ts_calibrate return errors
   ts_config: no such file or directory or
   ts_open: no such file or directory or
   TouchDevice: (null)

I don't understand where is the error, please can anyone help me?

Dave McLaughlin
Just a thought. Have you actually configured the links on the LCD to
support the 1-wire interface?

My LCD came with it configured to connect direct to the ARM touch screen
interface. Once the links were swapped it works perfectly and a lot more
stable than the ARM interface option.

Dave...

ika candrdewi
Attachment: DSC_0539.jpg (689.18 KB)
Hi, all

I tried to run ubuntu 9.10 on mini6410 from SD card, i have burn the image
and set up friendlyarm.ini as:

CheckOneButton=No
Action=run
OS=Ubuntu

VerifyNandWrite=No

StatusType = Beeper| LED

#################### Linux #####################
Linux-BootLoader = Linux/u-boot_nand-ram128.bin
Linux-Kernel = Linux/zImage_A70
Linux-CommandLine = root=/dev/mtdblock2 rootfstype=yaffs2 init=/linuxrc
console=ttySAC0,115200
Linux-RootFs-InstallImage = linux/rootfs_qtopia_qt4-s.img
Linux-RootFs-RunImage = linux/rootfs_qtopia_qt4-s.ext3

################### WindowsCE6 #################
WindowsCE6-Bootloader= WindowsCE6\NBOOT_A70-RAM128.nb0
WindowsCE6-BootLogo = WindowsCE6\bootlogo.bmp
WindowsCE6-InstallImage = WindowsCE6\NK_A70-s.bin
WindowsCE6-RunImage = WindowsCE6\NK_A70-s.bin

################### Android ####################
Android-BootLoader = Android/u-boot_nand-ram128.bin
Android-Kernel = Android/azImage_a70
Android-CommandLine = root=ubi0:FriendlyARM-root ubi.mtd=2 rootfstype=ubifs
 init=/linuxrc console=ttySAC0,115200
Android-RootFs-InstallImage = Android/rootfs_android-s.ubi
Android-RootFs-RunImage = Android/rootfs_android-s.ext3

################### Ubuntu #####################
Ubuntu-BootLoader = Ubuntu/u-boot_nand-ram128.bin
Ubuntu-Kernel = Ubuntu/uzImage_a70
Ubuntu-CommandLine = root=ubi0:FriendlyARM-root ubi.mtd=2 rootfstype=ubifs 
init=/linuxrc console=ttySAC0,115200
Ubuntu-RootFs-InstallImage = Ubuntu/rootfs_ubuntu-s.ubi
Ubuntu-RootFs-RunImage = Ubuntu/rootfs_ubuntu.ext3

############### UserBin part #################
UserBin-Image=WindowsCE/NK.nb0
userBin-StartAddress=50100000


,but i dont have LCD modul so i used LCD monitor which is connected to LCD
monitor...its work when i run WIN CE, but its run for ubuntu..why it just
performed white screen??i have attached on the picture
anyone can help me, please?

Dave McLaughlin
Hi Ika,

Have you used or built the kernel to support you video output?

Looking at the info above I see image drivers for the 7" LCD. As I don't
know anything about your video to VGA interface, can you tell us more about
that so we can try to work out what is wrong.

Thanks
Dave...

mindee
Ubuntu-Kernel = Ubuntu/uzImage_vga1024x768

please try this.