Re: GUI for OMAP3EVM

2008-08-28 Thread mohammed shareef
Hi,

I would recommend Qt-Embedded. Its simple to compile and install.
Moreover writing a GUI using Qt-E is also not a tough task.

Regards,
Mohammed shareef

On Thu, Aug 28, 2008 at 2:21 PM, arun c [EMAIL PROTECTED] wrote:
 Hi All,

 I want to have a GUI on OMAP3EVM.
 Basically I am looking for a GUI stack that can work on top of linux 
 framebuffer
 device(Eg: DirectFb).

 X window based GUI is not suitable for embedded
 devices, am I right?

 Does any body tried this?

 Regards,
 Arun C
 --
 To unsubscribe from this list: send the line unsubscribe linux-omap in
 the body of a message to [EMAIL PROTECTED]
 More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: undefined instruction

2008-06-26 Thread mohammed shareef
Dear Steve,

i split the file into two pieces:

split rootfs-jffs2.img --bytes=12m

so i have two files with xaa(12Mb) and xab(11.5Mb)

i was ablt to transfer the first file completely with any problem.
 but i dont know what to do next. should i transfer the first image in
RAM to flash? could you please tell me how many sectors i need erase
and from which bank? i am afraid that i may end up erasing the u-boot.
thank you.
regards,
Shareef

On Thu, Jun 26, 2008 at 9:41 PM, Steve Poulsen [EMAIL PROTECTED] wrote:
 Mohammed,

 When you tftp the file to memory, you need to make sure the filesize fits in
 the memory available.  Since you have experimentally done that and now want
 to flash the pieces, I suggest you look at the split command under Linux.
   You will need to split the file into pieces that fit into RAM and flash at
 the proper address.  If you split the file into two pieces, then you will
 need to flash the first piece at address X and the second piece at address X
 + 16meg.  You should make sure you split the file on a sector boundary.   If
 you don't want to think about this, then you should erase/unprotect the
 whole area you will need first, then transfer and flash the pieces. You may
 want to look at the omapfl utility.   With some modification, you could
 flash your image more easily via USB.

 Steve

 mohammed shareef wrote:

 Hi,

 I tried to do the same procedure with a small filesystem image 
 16Mb... it worked. i didnt have such problems. so could someone please
 tell me how to divide the filesystem image in to two and flash it?
 thank you,
 regards,
 shareef

 On Thu, Jun 26, 2008 at 4:36 PM, mohammed shareef [EMAIL PROTECTED]
 wrote:


 Hi,

 i did the below. i got an image. but i am still having the same problem

 my file size is 23Mb

 [EMAIL PROTECTED] tftpboot]# mkfs.jffs2 --squash -r /data/rootfs2.6
 -e131072  /data/rootfs-jffs2.img
 [EMAIL PROTECTED] tftpboot]# cp /data/rootfs-jffs2.img
 /tftpboot/rootfs-jffs2.img

 \0x09 #
 \0x09 #undefined instruction
 pc : [e004]lr : [0002]
 sp : 1103fca4  ip : 11095dd8  fp : 0001
 r10: 10963410  r9 : 1103fd24  r8 : 1103ffdc
 r7 : 270a30a1  r6 : 8695632d  r5 : 08016ffa  r4 : 5aebcc39
 r3 : 0032  r2 : 11095dd4  r1 : 00a0  r0 : 
 Flags: nZCv  IRQs off  FIQs off  Mode SVC_32
 Resetting CPU ...

 could you please tell me what i should do. thank you.
 regards,
 Shareef



 On Wed, Jun 25, 2008 at 9:52 PM, Hunter, Jon [EMAIL PROTECTED] wrote:


 then i changed the filename and the
 tftpboot transfer started. But on the mid-way it complains  undefined
 instruction.

 could some one please tell me where the problem is? thank you.


 How big is the file that you are attempting to download over tftp?

 U-boot executes in the upper part of the RAM and so if your file is too
 big, then there is a good chance you are overwriting u-boot which would
 cause u-boot to crash eventually. U-boot does not protect against this. 
 This
 would be a potential cause of an undefined instruction exception.

 Jon



 --
 To unsubscribe from this list: send the line unsubscribe linux-omap in
 the body of a message to [EMAIL PROTECTED]
 More majordomo info at  http://vger.kernel.org/majordomo-info.html




--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: undefined instruction

2008-06-26 Thread mohammed shareef
the problem was that my kernel was extending beyond to 0x24.. and
i was then writing fs from ox24. i then reflashed the kernel adn
then shifted the fs image to 0x34. but still when i do

mount -t jffs2 /dev/mntblock3 /mnt/flash

i get the same error.

cat /proc/mtd

dev   size erasesize  name
mtd0: 0002 0002 bootloader
mtd1: 0002 0002 params
mtd2: 0020 0002 kernel
mtd3: 01dc 0002 filesystem

thank you
regards,
Shareef
On Fri, Jun 27, 2008 at 12:47 AM, Steve Poulsen [EMAIL PROTECTED] wrote:
 Mohammed,

 Are you using NFS to boot, then mounting to /mnt/flash?   This is a good
 test, but I just want to be sure it is what you are doing.

 Can you post the output from:
 #  cat /proc/mtd

 Also, you need to check and verify that the data in the flash matches your
 file.   Using a hex editor, examine your file (rootfs-jffs2.img).   Record a
 few bytes at offset 0 and offset 0xc0 (where you split it).   Make sure
 the bytes just before and after the split point are recorded.

 Now go to you board and examine the flash.  There are several ways to do
 this.  One way is to copy the whole sector to a file (assuming you boot NFS
 and have the space).

 cp /dev/mtd3 somefile.img

 Compare the image with the one you started with.   The new one will be
 larger because you dump the whole flash section, so ignore the extra data.

 This is not really a solution to your problem, but can give you some
 techniques to help figure out how to determine what is wrong.

 Good luck!

 Steve


 mohammed shareef wrote:

 Dear Steve,

 i did as you said, transfered both the images one after the other.
 then i made nodes for mtd3 and mtdblock3

 and i tried to test whether the fs is able to mount:

 i did:

 mount -t jffs2 /dev/mtdblock3 /mnt/flash

 then i got the following error:

 jffs2)scan)eraseblock():magic bitmask 0x1985 not found at 0x:
 0x05cf instead
 ..
 ..
 Old JFFS2 bitmask found at 0x00012cd8
 You cannot use older JFFS2 filesystems with newer kernels

 and it doesnt mount in /mnt/flash

 could you please tell me whats wrong.
 thank you,
 regards,
 Shareef



 On Fri, Jun 27, 2008 at 12:03 AM, Steve Poulsen [EMAIL PROTECTED]
 wrote:


 Mohammed,

 This is the correct approach.  As long as you avoid anything below 0x24,
 you avoid touching u-boot and the kernel.   I suggest to turn protect off
 only for the sectors needed.  The sectors/addresses depends upon your flash.
  If you are using the OSK, then these are told in the OSK newbie guide (I
 can't recall and our flash is different).
 For the OSK, the filesystem is at 0x24.  Therefore, you transfer the
 first file to 0x24 and the next file transfers to 0x24 + 0xc0
 (E4).   This is purely a memory copy.   You don't need to combine.
 When you place the two pieces next to each other, they are basically
 combined.
 I'm not sure you understand this, but when you use tftp, you are copying the
 file to SDRAM.   This address is fixed for the OSK at 0x1000.
 Therefore the steps are:

 1) tftp part 1 into memory 0x1000
 2) copy the memory of 0x1000 to 0x24
 3) tftp part 2 into memory 0x1000
 4) copy the memory of 0x1000 to 0xE4
 5) Reset the board (You could boot from here if you wish, but a reset is
 simpler and puts the flash back to protected)

 Steve

 mohammed shareef wrote:


 i erased location 0x24 to 0x1ff;
 then i transfered the first file to location 0x24, the size of the
 first image was c0 (12Mb)
 but now i have the second image on RAM of osk.
 the flash segment for ffs2 filesystem runs from 0x0100 till
 0x0fff(please correct me if i am wrong).  i dont know to which
 location on flash to transfer this to. could someone please help me on
 this. thank you. and i also have doubts on how to combine the two
 images on the flash and make it tun. thannk you.
 regards,
 Shareef

 On Thu, Jun 26, 2008 at 9:59 PM, mohammed shareef [EMAIL PROTECTED]
 wrote:



 Dear Steve,

 i split the file into two pieces:

 split rootfs-jffs2.img --bytes=12m

 so i have two files with xaa(12Mb) and xab(11.5Mb)

 i was ablt to transfer the first file completely with any problem.
  but i dont know what to do next. should i transfer the first image in
 RAM to flash? could you please tell me how many sectors i need erase
 and from which bank? i am afraid that i may end up erasing the u-boot.
 thank you.
 regards,
 Shareef

 On Thu, Jun 26, 2008 at 9:41 PM, Steve Poulsen [EMAIL PROTECTED]
 wrote:



 Mohammed,

 When you tftp the file to memory, you need to make sure the filesize
 fits in
 the memory available.  Since you have experimentally done that and now
 want
 to flash the pieces, I suggest you look at the split command under
 Linux.
  You will need to split the file into pieces that fit into RAM and flash
 at
 the proper address.  If you split the file into two pieces, then you
 will
 need to flash the first piece at address X and the second piece at
 address

undefined instruction

2008-06-25 Thread mohammed shareef
Hi,

i wanted to make my omap-osk standalone. so i tried to flash the
filesystem. My Host-pc is running fedora-7 but i could not get the
mtd_utils package for fc7 so i installed mtd-utils for fc6. then i
did:

mkfs.jffs2 -p -l -e 0x2 -n -v -r /data/rootfs2.6/ -o filesys.jffs2

to get the jffs2 filesystem format for my osk. it did the job without
any errors.

But when i tried to access that image through tftpboot, after
transfering the file tftpboot folder, the tftpboot did not recognize
the file. it complained of no such file found but i was sure that
the file was there and the filename was proper. when i tried to open
the file though vi on my host machine, the host machine also did not
recognize the presence of file. then i changed the filename and the
tftpboot transfer started. But on the mid-way it complains  undefined
instruction.

could some one please tell me where the problem is? thank you.

regards,
Shareef


standalone osk

2008-06-24 Thread mohammed shareef
Dear all,

i want to make my OSK-omap5912 a standalone system. so i am trying to
flash the filessystem on to its flash. so far it was on a network. i
want an environment variable to be defined at startup and then run an
executable. i figured out that it goes to /etc/inittab and then
executes the script name given there. But i dont know how exactly to
do that. could some one please tell me how to do that? thank you.
regards,
Shareef
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Video playback on osk with linux-2.6.18

2008-06-18 Thread mohammed shareef
Dear All,

I have an OSK-Omap5912 with linux-2.6.18 running on it. i want to add
video playback support to it. Has someone done this before? could you
suggest some ways to do it? thank you.

regards,
Mohammed
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


ppp on 2.6.18

2008-06-16 Thread mohammed shareef
Dear all,

i have enabled ppp services when configuring the kernel 2.6.18.

the kernel bootup  of omap5912 osk says this:

PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered

but when i type pppd -h in the osk console i get:

# pppd -h
-sh: pppd: not found

please help me in configuring ppp.
thank you,
Shareef
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: ppp on 2.6.18

2008-06-16 Thread mohammed shareef
I downloaded a 2.4.4 ppp package and did the following to compile it
for my omap-osk:

./configure --host=arm-linux --prefix=/root/Desktop/pppbuild
make
make install

then i copied the binaries to the filesystem of my omap. but when i
say: pppd -h the system hangs. i guess this is because my filessytem
files are not proper or i didnt compile them properly.
please help.
thank you,
regards

On Mon, Jun 16, 2008 at 7:43 PM, James Carlson [EMAIL PROTECTED] wrote:
 James Chapman writes:
 mohammed shareef wrote:
  Dear all,
 
  i have enabled ppp services when configuring the kernel 2.6.18.
 
  the kernel bootup  of omap5912 osk says this:
 
  PPP generic driver version 2.4.2
  PPP Deflate Compression module registered
  PPP BSD Compression module registered
 
  but when i type pppd -h in the osk console i get:
 
  # pppd -h
  -sh: pppd: not found

 You don't have the userspace pppd installed.

 Or your path is such that the shell cannot find it.

 --
 James Carlson 42.703N 71.076W [EMAIL PROTECTED]

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


unknown partition table

2008-06-16 Thread mohammed shareef
Hi,

I am trying to configure usb host on the osk to mount flash pen-drives.

when i do mount i get the following error:
unknown partition table

has someone else come across the same kind of issue?

# mount /dev/sda1 /mnt/usb -t vfat
nfs: server 10.114.5.48 not responding, still trying
nfs: server 10.114.5.48 OK
ohci ohci: wakeup
usb 1-1: new full speed USB device using ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: CBM   Model: Flash DiskRev: 5.00
  Type:   Direct-Access  ANSI SCSI revision: 02
SCSI device sda: 2051072 512-byte hdwr sectors (1050 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 2051072 512-byte hdwr sectors (1050 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
 sda:7usb-storage: queuecommand called
 unknown partition table
sd 0:0:0:0: Attached scsi removable disk sda

thank you,
regards,
Shareef
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


GUI on omap-osk

2008-06-10 Thread mohammed shareef
Dear All,

Could some one tell me how to install Qtopia/OPIE/QTEmbedded on omap5912 -osk?

Thank you,
Shareef
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


omap osk audio

2008-06-10 Thread mohammed shareef
Dear all,

I am working on omap osk. i want to enable audio on it. But am not
able to do that. The kernel boot log says it has initialized audio
device. but i am not able to configure the audio setting nor run some
recording code. the system hangs and i have to restart.

the kernel boot code says:

TLV320AIC23 I2C version 1.8 (10-Feb-2006)
audio support initialized
ALSA device list:
 #0: OSK AIC23

i have created nodes:

# mknod /dev/mixer c 14 0
# mknod /dev/dsp c 14 3

thanx,
Shareef
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: enabling audio on omap5912 osk

2008-06-05 Thread mohammed shareef
=255.255.0.0, gw=10.114.12.1,
 host=osk, domain=, nis-domain=(none),
 bootserver=10.114.5.48, rootserver=10.114.5.48, rootpath=
Looking up port of RPC 13/2 on 10.114.5.48
Looking up port of RPC 15/1 on 10.114.5.48
VFS: Mounted root (nfs filesystem).
Freeing init memory: 112K
init started:  BusyBox v1.00-pre8 (2004.03.05-22:18+) multi-call binary

**
Starting System Init for OMAP5912OSK
**

Please press Enter to activate this console.

On Thu, Jun 5, 2008 at 3:06 PM, mohammed shareef [EMAIL PROTECTED] wrote:
 Hi,

 Am trying to run audio on my oma5912-osk.

 i followed the instructions given in the below link..

 http://oskfordummies.hp.infoseek.co.jp/howto/audio.html

 my .config file of the kernel looks like this (regarding audio..)

 #
 # Sound
 #
 CONFIG_SOUND=m

 #
 # Advanced Linux Sound Architecture
 #
 CONFIG_SND=m
 CONFIG_SND_TIMER=m
 CONFIG_SND_PCM=m
 # CONFIG_SND_SEQUENCER is not set
 # CONFIG_SND_MIXER_OSS is not set
 # CONFIG_SND_PCM_OSS is not set
 # CONFIG_SND_DYNAMIC_MINORS is not set
 CONFIG_SND_SUPPORT_OLD_API=y
 CONFIG_SND_VERBOSE_PROCFS=y
 CONFIG_SND_VERBOSE_PRINTK=y
 # CONFIG_SND_DEBUG is not set

 #
 # Generic devices
 #
 # CONFIG_SND_DUMMY is not set
 # CONFIG_SND_MTPAV is not set

 #
 # ALSA ARM devices
 #
 CONFIG_SND_OMAP_AIC23=m
 # CONFIG_SND_OMAP_TSC2101 is not set
 # CONFIG_SND_OMAP_TSC2102 is not set

 #
 # PCMCIA devices
 #
 # CONFIG_SND_VXPOCKET is not set
 # CONFIG_SND_PDAUDIOCF is not set

 #
 # Open Sound System
 #
 CONFIG_SOUND_PRIME=m
 # CONFIG_OSS_OBSOLETE_DRIVER is not set
 # CONFIG_SOUND_MSNDCLAS is not set
 # CONFIG_SOUND_MSNDPIN is not set



 i configured the kernel for aic23 codec on the osk..
 then i created the nodes..

 # mknod /dev/mixer c 14 0
 # mknod /dev/dsp c 14 3

 but when i run the audio configuration file(mentioned in the
 tutorial), the system doesnt respond at all..

 i dont get back the prompt after i run this file..

 could someone tell me whats wrong..



 thank you,
 regards,
 Shareef

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


microwindows gives error

2008-06-04 Thread mohammed shareef
Hi,

i am trying to compile microwindows for omap5912-osk.

when i make i get the following error.

it looks like there is a #define that has to be changed. but i have no
idea how to do it.

[EMAIL PROTECTED] src]# make
Compiling engine/image_jpeg.c ...
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:49:21:
jpeglib.h: No such file or directory
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:54: error: parse
error before cinfo
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c: In function
`init_source':
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:56: error:
`cinfo' undeclared (first use in this function)
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:56: error: (Each
undeclared identifier is reported only once
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:56: error: for
each function it appears in.)
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c: At top level:
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:61: error: parse
error before cinfo
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:67: error: parse
error before cinfo
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c: In function
`skip_input_data':
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:69: error:
`num_bytes' undeclared (first use in this function)
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:71: error:
`cinfo' undeclared (first use in this function)
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c: At top level:
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:76: error: parse
error before resync_to_restart
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:76: error: parse
error before cinfo
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:77: warning:
return type defaults to `int'
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c: In function
`resync_to_restart':
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:78: warning:
implicit declaration of function `jpeg_resync_to_restart'
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:78: error:
`cinfo' undeclared (first use in this function)
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:78: error:
`desired' undeclared (first use in this function)
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c: At top level:
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:82: error: parse
error before cinfo
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c: In function
`GdDecodeJPEG':
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:93: error:
storage size of 'smgr' isn't known
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:94: error:
storage size of 'cinfo' isn't known
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:95: error:
storage size of 'jerr' isn't known
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:119: warning:
implicit declaration of function `jpeg_std_error'
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:122: warning:
implicit declaration of function `jpeg_create_decompress'
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:137: warning:
implicit declaration of function `jpeg_read_header'
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:139: error:
`JCS_GRAYSCALE' undeclared (first use in this function)
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:139: error:
`JCS_RGB' undeclared (first use in this function)
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:159: error:
`j_common_ptr' undeclared (first use in this function)
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:159: error:
`JPOOL_IMAGE' undeclared (first use in this function)
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:160: error:
`JDIMENSION' undeclared (first use in this function)
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:160: error:
parse error before cinfo
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:182: warning:
implicit declaration of function `jpeg_calc_output_dimensions'
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:223: warning:
implicit declaration of function `jpeg_start_decompress'
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:227: error:
`JSAMPROW' undeclared (first use in this function)
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:227: error:
parse error before rowptr
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:228: error:
`rowptr' undeclared (first use in this function)
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:230: warning:
implicit declaration of function `jpeg_read_scanlines'
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:236: warning:
implicit declaration of function `jpeg_finish_decompress'
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:239: warning:
implicit declaration of function `jpeg_destroy_decompress'
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:93: warning:
unused variable `smgr'
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:94: warning:
unused variable `cinfo'

Re: omap5912-osk bad magic number

2008-06-03 Thread mohammed shareef
i am using uImage only..

here is what i do to make an image after compiling the kernel:

arm-linux-objcopy -O binary -R .note -R .comment -S
arch/arm/boot/compressed/vmlinux linux.bin

gzip -9 linux.bin

/tools/mkimage -A arm -O linux -T kernel -C gzip -a 0x10c08000 -e
0x10c08000 -n 'Linux Kernel Image' -d linux.bin.gz uImage.cc

regards,
Shareef

On Tue, Jun 3, 2008 at 12:16 AM, Felipe Balbi [EMAIL PROTECTED] wrote:
 On Mon, Jun 02, 2008 at 11:13:48PM +0530, mohammed shareef wrote:
 Hi,

 i tried to re-compile my kernel by adding a few features and then
 transfered the new image using u-boot. Unfortunately am getting the
 following error:

 ## Booting image at 0010 ...
 Bad Magic Number
 OMAP5912 OSK #

 The transfer seems to be complete and proper. all the environment
 variables are also ok. i tried replacing the new image with the
 previous working image. that also fails. could some one tell me whats
 worng?

 use uImage instead of zImage

 --
 Best Regards,

 Felipe Balbi
 [EMAIL PROTECTED]
 http://blog.felipebalbi.com

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: user space program for omap gpio

2008-06-03 Thread mohammed shareef
Hi Felipe,

could you give me some useful pointers on how to use the gpio-switch
and ioctl to read and write gpio?

thanx and regards,
Shareef

On Mon, Jun 2, 2008 at 11:14 PM, Felipe Balbi [EMAIL PROTECTED] wrote:
 On Mon, Jun 02, 2008 at 10:28:02PM +0530, mohammed shareef wrote:
 Hi,

 i want to access the omap5912 GPIO pins from user space... like
 reading the pin or writing to it from a user space program. is it
 possible?

 Maybe you can use gpio-switch for reading. But for writing, then you
 would have to write your own module with, maybe, ioctl for writing to
 gpios.

 I don't know of any already implemented way for completely handling
 gpios via userland.

 --
 Best Regards,

 Felipe Balbi
 [EMAIL PROTECTED]
 http://blog.felipebalbi.com

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


audio on omap5912 osk

2008-06-03 Thread mohammed shareef
Hi,

Am trying to run audio on my osk.

i followed the instructions given in the below link..

http://oskfordummies.hp.infoseek.co.jp/howto/audio.html

my .config file of the kernel looks like this (regarding audio..)

#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_VERBOSE_PRINTK=y
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_MTPAV is not set

#
# ALSA ARM devices
#
CONFIG_SND_OMAP_AIC23=m
# CONFIG_SND_OMAP_TSC2101 is not set
# CONFIG_SND_OMAP_TSC2102 is not set

#
# PCMCIA devices
#
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_PDAUDIOCF is not set

#
# Open Sound System
#
CONFIG_SOUND_PRIME=m
# CONFIG_OSS_OBSOLETE_DRIVER is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set


i configured it fot aic23 codec on the osk..
thn i created the nodes..

# mknod /dev/mixer c 14 0
# mknod /dev/dsp c 14 3

but when i run the audio configuration file, the system doesnt respond at all..

i dont get back the prompt after i run this file..

could someone tell me whats wrong..

thank you,
regards,
Shareef
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: omap osk and mistral touchscreen-ads7846

2008-06-03 Thread mohammed shareef
Dear all,

finally i was able to calibrate the mistral touchscreen. the problem
seemed to be in the filesystem. probably i had compiled the tslib
using wrong options.

here is what should be done:

from the kernel side:

enable spi and ads7847 touchscreen.

from filesystem side:

take a tslib tar ball..

sh autogen.sh

Edit ./configure and remove the line no. 20623   #define malloc rpl_malloc

./configure --host=arm-linux --target=arm-linux
--prefix=/data/rootfs2.6/ --bindir=/data/rootfs2.6/bin
--sbindir=/data/rootfs2.6/sbin --libexecdir=/data/rootfs2.6/libexec
--datadir=/data/rootfs2.6/share --sysconfdir=/data/rootfs2.6/etc
--sharedstatedir=/data/rootfs2.6/com
--localstatedir=/data/rootfs2.6/var --libdir=/data/rootfs2.6/lib
--includedir=/data/rootfs2.6/include --infodir=/data/rootfs2.6/info
--mandir=/data/rootfs2.6/man

make

make install



now go to osk console:

# export TSLIB_TSDEVICE=/dev/input/event1
# export TSLIB_CONFFILE=/etc/ts.conf
# export TSLIB_PLUGINDIR=/lib/ts
# export TSLIB_FBDEVICE=/dev/fb0
# ts_calibrate


nfs: server 10.114.5.48 not responding, still trying
nfs: server 10.114.5.48 OK
xres = 240, yres = 320
Took 9 samples...
Top left : X = 2997 Y = 3109
Took 10 samples...
Top right : X = 1093 Y = 3204
Took 8 samples...
Bot right : X = 1468 Y = 1105
Took 9 samples...
Bot left : X = 3289 Y = 1036
Took 8 samples...
Center : X = 2283 Y = 2048
313.809875 -0.075604 -0.012148
393.598877 -0.004780 -0.106150
Calibration constants: 20565844 -4954 -796 25794896 -313 -6956 65536

 Hope this post helps people who are in trouble in future.

thanx and regards,
Shareef

On Fri, May 30, 2008 at 8:55 PM, Spits, Tiemen [EMAIL PROTECTED] wrote:
 Shareef,
 Setup your environment variables as follows:

 export TSLIB_TSDEVICE=/dev/input/event1
 export TSLIB_CONFFILE=/etc/ts.conf
 export TSLIB_PLUGINDIR=/lib/ts

 export TSLIB_CALIBFILE=/etc/pointercal
 export TSLIB_CONSOLEDEVICE=none
 export TSLIB_FBDEVICE=/dev/fb0

 before you run ts-calibrate. The fb0 designates the frame buffer to use
 for output to the screen. What do you see on the screen when you run
 ts-calibrate? Should be a number of little crosses for you to touch.
 When done, the offsets used by the ts driver should be in
 /etc/pointercal

 Cheers
 Tiemen T. Spits
 Western Area Senior Engineer
 Americas Sales and Marketing
 Semiconductor Group
 Office: +1 (858) 638-4340
 Mobile: +1 (214) 535-9160

 -Original Message-
 From: mohammed shareef [mailto:[EMAIL PROTECTED]
 Sent: Sunday, May 25, 2008 9:50 PM
 To: Spits, Tiemen
 Subject: Re: omap osk and mistral touchscreen-ads7846

 Dear spits,

 u told me that some ts related files were missing in my file system.
 could u please get them for me? meanwhile i attempted the following:

 i cross-compiled the tslib for my filesystem as mentioned in:
 http://linux.omap.com/pipermail/linux-omap-open-source/2005-
 March/003174.html

 and i have put the executables in the filesystem.
 when i do
 /usr/X11/bin/ts_calibrate

 i dont get any calibration request on the LCD.
 But when i do:

 cat /dev/input/event1

 i could see that i get stuff on my host computer when i touch the
 screen. which means that my toucscreen is associated with event1. i
 have even set up the proper environment variables.

 doing:
 cat /proc/interrupts
 also shows that spi interrupts incrementing on touching the screen.

 but running
 ts_calibrate doesnt show anything on the LCD.

 could you tell me if am missing something?

 thank you,
 warm regards,
 Shareef

 On Thu, May 22, 2008 at 9:15 AM, Spits, Tiemen [EMAIL PROTECTED] wrote:
  Looks like te ts-cal app is not in your filesystem. I will see if I
 can
 find
  it
  Cheers
 
  Tiemen Spits
  West region senior engineer
  America Sales and Marketing
  +1 214 535-9160
 
  - Original Message -
  From: mohammed shareef [EMAIL PROTECTED]
  To: Spits, Tiemen
  Sent: Wed May 21 17:50:05 2008
  Subject: Re: omap osk and mistral touchscreen-ads7846
 
  Spits,
  when i did the above this is what i got:
 
  # export TSLIB_TSDEVICE=/dev/input/event1
  # export TSLIB_FBDEVICE=/dev/fb0
  # ts_calibrate
  -sh: ts_calibrate: not found
 
  where have i gone wrong?
 
  thanx and regards,
  Shareef
 
  On Thu, May 22, 2008 at 4:16 AM, Spits, Tiemen [EMAIL PROTECTED] wrote:
  Shareef
  You should be able to do the calibration as follows:
 
  linux:~# export TSLIB_TSDEVICE=/dev/input/event1
  linux:~# export TSLIB_FBDEVICE=/dev/fb0
  linux:~# ts_calibrate
 
  Then follow the onscreen prompts to calibrate. Once you have done
 this,
  it should be stored in your filesystem from here on out.
 
  Cheers
  Tiemen T. Spits
  Western Area Senior Engineer
  Americas Sales and Marketing
  Semiconductor Group
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:linux-omap-
  [EMAIL PROTECTED] On Behalf Of mohammed shareef
  Sent: Wednesday, May 21, 2008 3:40 PM
  To: omap; [EMAIL PROTECTED]
  Subject: omap osk and mistral touchscreen-ads7846
 
  Hello,
 
  i have enabled the SPI

Qt on omap5912 osk

2008-06-03 Thread mohammed shareef
hi,

i am looking for a tutorial which explains how to comiple Qtopia for
omap5912-osk. i have linux-2.6.18 running on my osk. could someone
help me.

thank you,

regards,
Shareef
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


nano-x for onap5912 osk

2008-06-03 Thread mohammed shareef
Dear all,

i am trying to compile nano-x for omap-osk..

as given in the below link:

http://oskfordummies.hp.infoseek.co.jp/howto/nanox.html

when i do make i get the following error.. infact i get lot more errors..


[EMAIL PROTECTED] src]# make
Compiling engine/image_jpeg.c ...
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:49:21:
jpeglib.h: No such file or directory
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:54: error: parse
error before cinfo
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c: In function
`init_source':
/root/omap5912/nanox/microwin/src/engine/image_jpeg.c:56: error:
`cinfo' undeclared (first use in this function)

what could be wrong..

regards,
Shareef
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


X11 - makekeys fails with floating point exception

2008-06-03 Thread mohammed shareef
Hi,

when i compile x-windows, the xlib--X11 fails with a floating point exception.

../src/util/makekeys  /usr/include/X11/keysymdef.h  ks_tables_h
/bin/sh: line 1: 12048 Floating point exception../src/util/makekeys 
/usr/include/X11/keysymdef.h  ks_tables_h
make[1]: *** [ks_tables.h] Error 136
make[1]: Leaving directory `/root/omap5912/xwin_snapshot/xlibs/X11/src'
make: *** [install-recursive] Error 1

could someone please tell me how to solve this

thank you,
Shareef
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: zlib error in x-windows on omap osk

2008-06-02 Thread mohammed shareef
Where can i get the development version of zlib? but its is not
discussed in the tutorial.

On Sun, Jun 1, 2008 at 2:59 PM, Felipe Balbi [EMAIL PROTECTED] wrote:


 On Sun, 1 Jun 2008 11:55:11 +0530, mohammed shareef [EMAIL PROTECTED]
 wrote:
 Hi Felipe,

 what is zlib-dev?

 as per the tutorials the dependency for the Xlib is only zlib. i have
 installed zlib-1.2.2.

 you need the development version of it. the one
 that comes with the correct header files.

 --
 Best Regards,

 Felipe Balbi
 http://felipebalbi.com
 [EMAIL PROTECTED]


--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


user space program for omap gpio

2008-06-02 Thread mohammed shareef
Hi,

i want to access the omap5912 GPIO pins from user space... like
reading the pin or writing to it from a user space program. is it
possible?

thanx and regards,
Shareef
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: zlib error in x-windows on omap osk

2008-06-01 Thread mohammed shareef
Hi Felipe,

what is zlib-dev?

as per the tutorials the dependency for the Xlib is only zlib. i have
installed zlib-1.2.2.

thanx and regards,
Shareef

On Sat, May 31, 2008 at 2:33 PM, Felipe Balbi [EMAIL PROTECTED] wrote:
 On Sat, May 31, 2008 at 12:10:31PM +0530, mohammed shareef wrote:
 Hi all,

 when i run the autogen script for Xfonf in xlibs for x-windows, i get
 the following error..

 checking for gzopen in -lz... no
 configure: error: *** zlib is required
 [sbox-ARM-GLIBC: ~/xwin_snapshot/xlibs/Xfont] 


 i have already installed zlib..
 all the previous xlib files compiled without any error.

 how about zlib-dev?

 --
 Best Regards,

 Felipe Balbi
 [EMAIL PROTECTED]
 http://blog.felipebalbi.com

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


x-windows on omap osk

2008-05-30 Thread mohammed shareef
Hi,

when i compile xlibs-FixesExt, i get the following error:

checking for xextensions... Package xextensions was not found in the
pkg-config search path.
Perhaps you should add the directory containing `xextensions.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xextensions' found

configure: error: Library requirements (xextensions) not met; consider
adjusting the PKG_CONFIG_PATH environment variable if your libraries
are in a nonstandard prefix so pkg-config can find them.


what does it mean? could someone give the solution?

Regards,
shareef
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: x-windows on omap osk

2008-05-30 Thread mohammed shareef
Hi,
Abraham rightly pointed out that the path should be properly set as:

PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/mdshareef/xwin_snapshot/xlibs/XExtensions/

and NOT as:

PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/scratchbox/users/mdshareef/home/mdshareef/xwin_snapshot/xlibs/XExtensions/

so the problem is solved now.

regards,
Shareef

On Sat, May 31, 2008 at 10:40 AM, mohammed shareef [EMAIL PROTECTED] wrote:
 Hi,

 when i compile xlibs-FixesExt, i get the following error:

 checking for xextensions... Package xextensions was not found in the
 pkg-config search path.
 Perhaps you should add the directory containing `xextensions.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'xextensions' found

 configure: error: Library requirements (xextensions) not met; consider
 adjusting the PKG_CONFIG_PATH environment variable if your libraries
 are in a nonstandard prefix so pkg-config can find them.


 what does it mean? could someone give the solution?

 Regards,
 shareef

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: omap 0sk and mistral touchscreen..

2008-05-27 Thread mohammed shareef
Hi,
everything looks fine from the kernel side. I think the problem might
be in the file system. i have used the following options to get the
touchscreen files compiled from tslib:

./autogen.sh

./configure --prefix=/tslib --host=arm-linux-gnu

make

make install

is it right?

regards,
Shareef

On Tue, May 27, 2008 at 12:00 PM, mohammed shareef [EMAIL PROTECTED] wrote:
 hi,

 i currently dont have any GUI on it. But the display is turned on as
 am able to see the linux logo and also able to write characters to the
 lcd.

 i would like to add here that i DID NOT get
 [*] Touchscreens
  * OMAP touchscreen input driver 

 but instead i enabled the ADS7846 touchscreen. Actually i couldnt find
 omap touchscreen on linux2.6.18.

 regards,
 Shareef


 On Tue, May 27, 2008 at 11:09 AM, mohammed shareef [EMAIL PROTECTED] wrote:
 hi,

 i currently dont have any GUI on it. But the display is turned on as
 am able to see the linux logo and also able to write characters to the
 lcd.

 regards,
 Shareef

 On Tue, May 27, 2008 at 11:07 AM, Abraham Arce
 [EMAIL PROTECTED] wrote:
 Shareef,

 Any feature that turns off the display some time after boot up?

 If you execute Xfbdev, are you able to see the X cursor?

 If you execute Xfbdev in background and then start ts_calibrate, what
 do you get in display and serial port?

 Best Regards
 Abraham


 On Tue, May 27, 2008 at 12:32 AM, mohammed shareef [EMAIL PROTECTED] 
 wrote:
 Hi,

 i tried the following environment variables:

 # export TSLIB_TSDEVICE=/dev/input/event1
 # export TSLIB_CONFFILE=/etc/ts.conf
 # export TSLIB_FBDEVICE=/dev/fb0
 # export TSLIB_PLUGINDIR=/usr/lib/ts
 # export TSLIB_CALIBFILE=/etc/pointercal
 # export TSLIB_CONSOLEDEVICE=none
 # /usr/X11/bin/ts_calibrate

 also int the ts.conf  file module_raw input is uncommented .

 but again nothing comes up on the LCD screen.

 thanx and regards,
 Shareef

 On Tue, May 27, 2008 at 10:33 AM, S.Rajeev [EMAIL PROTECTED] wrote:
 Hi ,


 Make the following change :

 1) In the ts.conf  file make sure module_raw input is uncommented .
 2) export TSLIB_CONSOLEDEVICE=none


 Thanks and Regards
 rajeev

 - Original Message - From: mohammed shareef [EMAIL PROTECTED]
 To: Abraham Arce [EMAIL PROTECTED]
 Cc: omap linux-omap@vger.kernel.org
 Sent: Tuesday, May 27, 2008 9:56 AM
 Subject: Re: omap 0sk and mistral touchscreen..


 Dear Abraham,

 I am not receiving any error nor any messages on the LCD.. i have
 added the following environment variables:

 export TSLIB_TSDEVICE=/dev/input/event1
 export TSLIB_CONFFILE=/etc/ts.conf
 export TSLIB_CONSOLEDEVICE=/dev/ttyS0
 export TSLIB_FBDEVICE=/dev/fb0
 export TSLIB_PLUGINDIR=/usr/lib/ts
 export TSLIB_CALIBFILE=/etc/pointercal

 everything seems fine.. except that i dont get any calibration
 messages on the lcd.

 regards,
 Shareef

 On Mon, May 26, 2008 at 9:12 PM, Abraham Arce
 [EMAIL PROTECTED] wrote:

 On 5/26/08, mohammed shareef [EMAIL PROTECTED] wrote:

 Dear All,

 i cross-compiled the tslib for my filesystem as mentioned in:

 http://linux.omap.com/pipermail/linux-omap-open-source/2005-March/003174.html

 and i have put the executables in the filesystem.
 when i do
 /usr/X11/bin/ts_calibrate

 i dont get any calibration request on the LCD.

 when you run ts_calibrate what are the messages you are getting?

 are you receiving the following?
  Couldnt load module input
 if so, add a third exported variable:
  export TSLIB_PLUGINDIR=/lib/ts

 But when i do:

 cat /dev/input/event1

 i could see that i get stuff on my host computer when i touch the
 screen. which means that my toucscreen is associated with event1. i
 have even set up the proper environment variables.

 doing:
 cat /proc/interrupts
 also shows that spi interrupts incrementing on touching the screen.

 cat /proc/bus/input/devices
 I: Bus= Vendor= Product= Version=
 N: Name=ADS784x Touchscreen
 P: Phys=spi2.0/input0
 S: Sysfs=/class/input/input1
 H: Handlers=mouse0 event1 ts0
 B: EV=b
 B: KEY=400 0 0 0 0 0 0 0 0 0 0
 B: ABS=103

 but running
 ts_calibrate doesnt show any cross-hairs on the LCD.

 could you tell me if am missing something?

 thank you,
 warm regards,
 Shareef
 --
 To unsubscribe from this list: send the line unsubscribe linux-omap 
 in
 the body of a message to [EMAIL PROTECTED]
 More majordomo info at  http://vger.kernel.org/majordomo-info.html


 --
 To unsubscribe from this list: send the line unsubscribe linux-omap in
 the body of a message to [EMAIL PROTECTED]
 More majordomo info at  http://vger.kernel.org/majordomo-info.html



 Please do not print this email unless it is absolutely necessary. Spread
 environmental awareness.

 ---DISCLAIMER--
 The information transmitted herewith is confidential and proprietary
 information intended only for use by the individual or entity to which it 
 is
 addressed. If the reader of this message is not the intended

Re: omap 0sk and mistral touchscreen..

2008-05-27 Thread mohammed shareef
Hi,
everything looks fine from the kernel side. I think the problem might
be in the file system. i have used the following options to get the
touchscreen files compiled from tslib:

./autogen.sh

./configure --prefix=/tslib --host=arm-linux-gnu

make

make install

is it right?

when i do:
cat /proc/bus/input/devices

i get:
I: Bus= Vendor= Product= Version=
N: Name=ADS784x Touchscreen
P: Phys=spi2.0/input0
S: Sysfs=/class/input/input1
H: Handlers=mouse0 event1 ts0
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=103


what does ts0 have to do with the environment variables? i have not
included ts0 in the environment variables my environment variables
are:

export TSLIB_TSDEVICE=/dev/input/event1
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_CONSOLEDEVICE=/dev/ttyS0
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_PLUGINDIR=/usr/lib/ts
export TSLIB_CALIBFILE=/etc/pointercal

when i boot up the kernel, i get the following details regarding the
touchscreen:

ts: Compaq touchscreen protocol output
ads7846 spi2.0: touchscreen + hwmon, irq 164
input: ADS784x Touchscreen as /class/input/input1

someone please help me out. i am struck at this point for a couple of
weeks now.

thanx and regards,
Shareef

On Tue, May 27, 2008 at 7:12 PM, mohammed shareef [EMAIL PROTECTED] wrote:
 Hi,
 everything looks fine from the kernel side. I think the problem might
 be in the file system. i have used the following options to get the
 touchscreen files compiled from tslib:

 ./autogen.sh

 ./configure --prefix=/tslib --host=arm-linux-gnu

 make

 make install

 is it right?

 regards,
 Shareef

 On Tue, May 27, 2008 at 12:00 PM, mohammed shareef [EMAIL PROTECTED] wrote:
 hi,

 i currently dont have any GUI on it. But the display is turned on as
 am able to see the linux logo and also able to write characters to the
 lcd.

 i would like to add here that i DID NOT get
 [*] Touchscreens
  * OMAP touchscreen input driver 

 but instead i enabled the ADS7846 touchscreen. Actually i couldnt find
 omap touchscreen on linux2.6.18.

 regards,
 Shareef


 On Tue, May 27, 2008 at 11:09 AM, mohammed shareef [EMAIL PROTECTED] wrote:
 hi,

 i currently dont have any GUI on it. But the display is turned on as
 am able to see the linux logo and also able to write characters to the
 lcd.

 regards,
 Shareef

 On Tue, May 27, 2008 at 11:07 AM, Abraham Arce
 [EMAIL PROTECTED] wrote:
 Shareef,

 Any feature that turns off the display some time after boot up?

 If you execute Xfbdev, are you able to see the X cursor?

 If you execute Xfbdev in background and then start ts_calibrate, what
 do you get in display and serial port?

 Best Regards
 Abraham


 On Tue, May 27, 2008 at 12:32 AM, mohammed shareef [EMAIL PROTECTED] 
 wrote:
 Hi,

 i tried the following environment variables:

 # export TSLIB_TSDEVICE=/dev/input/event1
 # export TSLIB_CONFFILE=/etc/ts.conf
 # export TSLIB_FBDEVICE=/dev/fb0
 # export TSLIB_PLUGINDIR=/usr/lib/ts
 # export TSLIB_CALIBFILE=/etc/pointercal
 # export TSLIB_CONSOLEDEVICE=none
 # /usr/X11/bin/ts_calibrate

 also int the ts.conf  file module_raw input is uncommented .

 but again nothing comes up on the LCD screen.

 thanx and regards,
 Shareef

 On Tue, May 27, 2008 at 10:33 AM, S.Rajeev [EMAIL PROTECTED] wrote:
 Hi ,


 Make the following change :

 1) In the ts.conf  file make sure module_raw input is uncommented .
 2) export TSLIB_CONSOLEDEVICE=none


 Thanks and Regards
 rajeev

 - Original Message - From: mohammed shareef [EMAIL PROTECTED]
 To: Abraham Arce [EMAIL PROTECTED]
 Cc: omap linux-omap@vger.kernel.org
 Sent: Tuesday, May 27, 2008 9:56 AM
 Subject: Re: omap 0sk and mistral touchscreen..


 Dear Abraham,

 I am not receiving any error nor any messages on the LCD.. i have
 added the following environment variables:

 export TSLIB_TSDEVICE=/dev/input/event1
 export TSLIB_CONFFILE=/etc/ts.conf
 export TSLIB_CONSOLEDEVICE=/dev/ttyS0
 export TSLIB_FBDEVICE=/dev/fb0
 export TSLIB_PLUGINDIR=/usr/lib/ts
 export TSLIB_CALIBFILE=/etc/pointercal

 everything seems fine.. except that i dont get any calibration
 messages on the lcd.

 regards,
 Shareef

 On Mon, May 26, 2008 at 9:12 PM, Abraham Arce
 [EMAIL PROTECTED] wrote:

 On 5/26/08, mohammed shareef [EMAIL PROTECTED] wrote:

 Dear All,

 i cross-compiled the tslib for my filesystem as mentioned in:

 http://linux.omap.com/pipermail/linux-omap-open-source/2005-March/003174.html

 and i have put the executables in the filesystem.
 when i do
 /usr/X11/bin/ts_calibrate

 i dont get any calibration request on the LCD.

 when you run ts_calibrate what are the messages you are getting?

 are you receiving the following?
  Couldnt load module input
 if so, add a third exported variable:
  export TSLIB_PLUGINDIR=/lib/ts

 But when i do:

 cat /dev/input/event1

 i could see that i get stuff on my host computer when i touch the
 screen. which means that my toucscreen is associated with event1. i
 have even set up

omap 0sk and mistral touchscreen..

2008-05-26 Thread mohammed shareef
Dear All,

i cross-compiled the tslib for my filesystem as mentioned in:
http://linux.omap.com/pipermail/linux-omap-open-source/2005-March/003174.html

and i have put the executables in the filesystem.
when i do
/usr/X11/bin/ts_calibrate

i dont get any calibration request on the LCD.
But when i do:

cat /dev/input/event1

i could see that i get stuff on my host computer when i touch the
screen. which means that my toucscreen is associated with event1. i
have even set up the proper environment variables.

doing:
cat /proc/interrupts
also shows that spi interrupts incrementing on touching the screen.

cat /proc/bus/input/devices
I: Bus= Vendor= Product= Version=
N: Name=ADS784x Touchscreen
P: Phys=spi2.0/input0
S: Sysfs=/class/input/input1
H: Handlers=mouse0 event1 ts0
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=103

but running
ts_calibrate doesnt show any cross-hairs on the LCD.

could you tell me if am missing something?

thank you,
warm regards,
Shareef
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: omap 0sk and mistral touchscreen..

2008-05-26 Thread mohammed shareef
hi,

i currently dont have any GUI on it. But the display is turned on as
am able to see the linux logo and also able to write characters to the
lcd.

regards,
Shareef

On Tue, May 27, 2008 at 11:07 AM, Abraham Arce
[EMAIL PROTECTED] wrote:
 Shareef,

 Any feature that turns off the display some time after boot up?

 If you execute Xfbdev, are you able to see the X cursor?

 If you execute Xfbdev in background and then start ts_calibrate, what
 do you get in display and serial port?

 Best Regards
 Abraham


 On Tue, May 27, 2008 at 12:32 AM, mohammed shareef [EMAIL PROTECTED] wrote:
 Hi,

 i tried the following environment variables:

 # export TSLIB_TSDEVICE=/dev/input/event1
 # export TSLIB_CONFFILE=/etc/ts.conf
 # export TSLIB_FBDEVICE=/dev/fb0
 # export TSLIB_PLUGINDIR=/usr/lib/ts
 # export TSLIB_CALIBFILE=/etc/pointercal
 # export TSLIB_CONSOLEDEVICE=none
 # /usr/X11/bin/ts_calibrate

 also int the ts.conf  file module_raw input is uncommented .

 but again nothing comes up on the LCD screen.

 thanx and regards,
 Shareef

 On Tue, May 27, 2008 at 10:33 AM, S.Rajeev [EMAIL PROTECTED] wrote:
 Hi ,


 Make the following change :

 1) In the ts.conf  file make sure module_raw input is uncommented .
 2) export TSLIB_CONSOLEDEVICE=none


 Thanks and Regards
 rajeev

 - Original Message - From: mohammed shareef [EMAIL PROTECTED]
 To: Abraham Arce [EMAIL PROTECTED]
 Cc: omap linux-omap@vger.kernel.org
 Sent: Tuesday, May 27, 2008 9:56 AM
 Subject: Re: omap 0sk and mistral touchscreen..


 Dear Abraham,

 I am not receiving any error nor any messages on the LCD.. i have
 added the following environment variables:

 export TSLIB_TSDEVICE=/dev/input/event1
 export TSLIB_CONFFILE=/etc/ts.conf
 export TSLIB_CONSOLEDEVICE=/dev/ttyS0
 export TSLIB_FBDEVICE=/dev/fb0
 export TSLIB_PLUGINDIR=/usr/lib/ts
 export TSLIB_CALIBFILE=/etc/pointercal

 everything seems fine.. except that i dont get any calibration
 messages on the lcd.

 regards,
 Shareef

 On Mon, May 26, 2008 at 9:12 PM, Abraham Arce
 [EMAIL PROTECTED] wrote:

 On 5/26/08, mohammed shareef [EMAIL PROTECTED] wrote:

 Dear All,

 i cross-compiled the tslib for my filesystem as mentioned in:

 http://linux.omap.com/pipermail/linux-omap-open-source/2005-March/003174.html

 and i have put the executables in the filesystem.
 when i do
 /usr/X11/bin/ts_calibrate

 i dont get any calibration request on the LCD.

 when you run ts_calibrate what are the messages you are getting?

 are you receiving the following?
  Couldnt load module input
 if so, add a third exported variable:
  export TSLIB_PLUGINDIR=/lib/ts

 But when i do:

 cat /dev/input/event1

 i could see that i get stuff on my host computer when i touch the
 screen. which means that my toucscreen is associated with event1. i
 have even set up the proper environment variables.

 doing:
 cat /proc/interrupts
 also shows that spi interrupts incrementing on touching the screen.

 cat /proc/bus/input/devices
 I: Bus= Vendor= Product= Version=
 N: Name=ADS784x Touchscreen
 P: Phys=spi2.0/input0
 S: Sysfs=/class/input/input1
 H: Handlers=mouse0 event1 ts0
 B: EV=b
 B: KEY=400 0 0 0 0 0 0 0 0 0 0
 B: ABS=103

 but running
 ts_calibrate doesnt show any cross-hairs on the LCD.

 could you tell me if am missing something?

 thank you,
 warm regards,
 Shareef
 --
 To unsubscribe from this list: send the line unsubscribe linux-omap in
 the body of a message to [EMAIL PROTECTED]
 More majordomo info at  http://vger.kernel.org/majordomo-info.html


 --
 To unsubscribe from this list: send the line unsubscribe linux-omap in
 the body of a message to [EMAIL PROTECTED]
 More majordomo info at  http://vger.kernel.org/majordomo-info.html



 Please do not print this email unless it is absolutely necessary. Spread
 environmental awareness.

 ---DISCLAIMER--
 The information transmitted herewith is confidential and proprietary
 information intended only for use by the individual or entity to which it is
 addressed. If the reader of this message is not the intended recipient, you
 are hereby notified that any review, retransmission, dissemination,
 distribution, copying or other use of, or taking of any action in reliance
 upon this information is strictly prohibited. If you have received this
 communication in error, please contact the sender and delete the material
 from your computer.
 






--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: omap osk and mistral touchscreen-ads7846

2008-05-23 Thread mohammed shareef
Hi,

fortunately looks like am getting interrupts when i touch the
touchscreen. i can say this because the spi interrupts were
incremented when i touched. here is the output:

# cat /proc/interrupts
   CPU0
xxx
160:   2997GPIO  eth0
164:  0GPIO  spi2.0

# cat /proc/interrupts
   CPU0
xxx
160:   3030GPIO  eth0
164:  5GPIO  spi2.0

we can observe that it has increased from 0 to 5.

do i need some executable files in my filesystem to calibrate it?

thanx and regards,
Shareef

On Thu, May 22, 2008 at 2:34 PM, arun c [EMAIL PROTECTED] wrote:
 On Thu, May 22, 2008 at 12:53 PM, mohammed shareef [EMAIL PROTECTED] wrote:
 hi arun/all,

 when i do cat for interrupts i get:

 # cat /proc/interrupts
   CPU0
  19:  0 MPU  DMA
  20:  0 MPU  DMA
  21:  0 MPU  DMA
  22:  0 MPU  DMA
  23:  0 MPU  DMA
  24:  0 MPU  DMA
  25:   9834 MPU  LCD DMA
  31:  3 MPU  lcdc
  33:  1 MPU  omap-keypad
  36:313 MPU  i2c_omap
  46:148 MPU  serial
  54:  19893 MPU  32KHz timer
  78:  0 MPU  peripheral wakeup
  85:  0 MPU  DMA
  86:  0 MPU  DMA
  87:  0 MPU  DMA
  88:  0 MPU  DMA
  89:  0 MPU  DMA
  90:  0 MPU  DMA
  91:  0 MPU  DMA
  92:  0 MPU  DMA
  93:  0 MPU  DMA
  94:  0 MPU  DMA
 160:   1409GPIO  eth0
 164: 24GPIO  spi2.0
 178:  0GPIO  serial wakeup
 197:  0GPIO  serial wakeup
 209:  19773GPIO  serial wakeup
 222:  0GPIO  omap_cf
 353:  0   MPUIO  tps65010
 354:  0   MPUIO  mistral_wakeup
 Err:  0

 looks like am not getting the touchscreen interrupts.

 i havent even calibrated my touchscreen. but i have enabled the SPI
 interface and the ADS7846 touchscreen in the kernel. could you tell me
 how to calibrate it or make it work? i guess i am missing out on some
 files like i have nothing like ts_calibrate in my filesystem.

 See this link, i think it can help you.
 http://linux.omap.com/pipermail/linux-omap-open-source/2005-March/003174.html

 Regards,
 Arun C

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: omap osk and mistral touchscreen-ads7846

2008-05-23 Thread mohammed shareef
Hi,

i cross-compiled the tslib for my filesystem as mentioned in:
http://linux.omap.com/pipermail/linux-omap-open-source/2005-March/003174.html

and i have put the executables in the filesystem.
when i do
/usr/X11/bin/ts_calibrate

i dont get any calibration request on the LCD.
But when i do:

cat /dev/input/event1

i could see that i get stuff on my host computer when i touch the
screen. which means that my toucscreen is associated with event1. i
have even set up the proper environment variables. but running
ts_calibrate doesnt respond.

could someone tell me if am missing something?

thank you,
warm regards,
Shareef

On Sat, May 24, 2008 at 9:11 AM, mohammed shareef [EMAIL PROTECTED] wrote:
 Hi,

 fortunately looks like am getting interrupts when i touch the
 touchscreen. i can say this because the spi interrupts were
 incremented when i touched. here is the output:

 # cat /proc/interrupts
   CPU0
 xxx
 160:   2997GPIO  eth0
 164:  0GPIO  spi2.0

 # cat /proc/interrupts
   CPU0
 xxx
 160:   3030GPIO  eth0
 164:  5GPIO  spi2.0

 we can observe that it has increased from 0 to 5.

 do i need some executable files in my filesystem to calibrate it?

 thanx and regards,
 Shareef

 On Thu, May 22, 2008 at 2:34 PM, arun c [EMAIL PROTECTED] wrote:
 On Thu, May 22, 2008 at 12:53 PM, mohammed shareef [EMAIL PROTECTED] wrote:
 hi arun/all,

 when i do cat for interrupts i get:

 # cat /proc/interrupts
   CPU0
  19:  0 MPU  DMA
  20:  0 MPU  DMA
  21:  0 MPU  DMA
  22:  0 MPU  DMA
  23:  0 MPU  DMA
  24:  0 MPU  DMA
  25:   9834 MPU  LCD DMA
  31:  3 MPU  lcdc
  33:  1 MPU  omap-keypad
  36:313 MPU  i2c_omap
  46:148 MPU  serial
  54:  19893 MPU  32KHz timer
  78:  0 MPU  peripheral wakeup
  85:  0 MPU  DMA
  86:  0 MPU  DMA
  87:  0 MPU  DMA
  88:  0 MPU  DMA
  89:  0 MPU  DMA
  90:  0 MPU  DMA
  91:  0 MPU  DMA
  92:  0 MPU  DMA
  93:  0 MPU  DMA
  94:  0 MPU  DMA
 160:   1409GPIO  eth0
 164: 24GPIO  spi2.0
 178:  0GPIO  serial wakeup
 197:  0GPIO  serial wakeup
 209:  19773GPIO  serial wakeup
 222:  0GPIO  omap_cf
 353:  0   MPUIO  tps65010
 354:  0   MPUIO  mistral_wakeup
 Err:  0

 looks like am not getting the touchscreen interrupts.

 i havent even calibrated my touchscreen. but i have enabled the SPI
 interface and the ADS7846 touchscreen in the kernel. could you tell me
 how to calibrate it or make it work? i guess i am missing out on some
 files like i have nothing like ts_calibrate in my filesystem.

 See this link, i think it can help you.
 http://linux.omap.com/pipermail/linux-omap-open-source/2005-March/003174.html

 Regards,
 Arun C


--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


enabling uart2 on omap5912 osk

2008-05-21 Thread mohammed shareef
Hello,

How do i enable UART2 on omap5912_osk in the kernel?

and is there a way by which i can test if the uart2 has been recongnised?

i dont see uart module being initialized during the kernel boot-up.

thank you.

regards,
Shareef
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: enabling uart2 on omap5912 osk

2008-05-21 Thread mohammed shareef
# cat /proc/tty/drivers
/dev/tty /dev/tty5   0 system:/dev/tty
/dev/console /dev/console5   1 system:console
/dev/ptmx/dev/ptmx   5   2 system
/dev/vc/0/dev/vc/0   4   0 system:vtmaster
serial   /dev/ttyS   4 64-67 serial
pty_slave/dev/pts  136 0-1048575 pty:slave
pty_master   /dev/ptm  128 0-1048575 pty:master
pty_slave/dev/ttyp   3 0-255 pty:slave
pty_master   /dev/pty2 0-255 pty:master
unknown  /dev/tty4 1-63 console

this is the output..

regards and thanx,
shareef

On Thu, May 22, 2008 at 3:51 AM, Felipe Balbi [EMAIL PROTECTED] wrote:


 On Thu, 22 May 2008 03:46:37 +0530, mohammed shareef
 [EMAIL PROTECTED] wrote:
 when i type:

 ls -l /dev/ttyS0
 crw-rw-rw-1 root root   4,  64 Aug  8  2004
 \0x1b[1;35m/dev/ttyS0\0x1b[0m
 # ls -l /dev/ttyS1
 -rw-r--

 ...

 that's a bit weird. What does cat /proc/tty/drivers show ?

 --
 Best Regards,

 Felipe Balbi
 http://felipebalbi.com
 [EMAIL PROTECTED]


--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


omap osk and mistral touchscreen-ads7846

2008-05-21 Thread mohammed shareef
Hello,

i have enabled the SPI and ADS7846 drivers during kernel (2.6.18)
compilation. i could see in the kernel boot log that they are also
initialized.


ads7846 spi2.0: touchscreen + hwmon, irq 164
input: ADS784x Touchscreen as /class/input/input1
/
but could someone tell me what should i do next to calibrate my touchscreen?

i even tried compiling tslib and added the executables to the file
system. But when i run the executable
/usr/X11/bin/ts_calibrate

i see no response on the LCD. the system just hangs.'

thanx and regards,
Shareef
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


omap 5912 and mistral touchscreen

2008-05-20 Thread mohammed shareef
Hello,

Can i use the ads7846 touchscreen driver built-in in the latest
kernels for the q-vga module from mistral for omap5912-osk?

after i enable the ads7846 driver how do i calibrate the touchscreen?
how can i know which event is attached to the touchscreen?

thank you.

Regards,
Mohammed shareef
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html