FW: IP Carriers for mTCA and EPICS

2014-01-28 Thread Jim Chen
Sorry a miss typing address for my previous email! Please ignore that!

Jim Chen

Hytec Electronics Ltd.
Incorporated in England No 1246940
VAT NO GB 285 2479 27
Tel:   +44 (0) 118 975 7770
Fax:  +44 (0) 118 975 7566
Mobile: +44 (0) 774 805 5317
Web: www.hytec-electronics.co.uk

 


FW: IP Carriers for mTCA and EPICS

2014-01-28 Thread Jim Chen
Jim Chen

Hytec Electronics Ltd.
Incorporated in England No 1246940
VAT NO GB 285 2479 27
Tel:   +44 (0) 118 975 7770
Fax:  +44 (0) 118 975 7566
Mobile: +44 (0) 774 805 5317
Web: www.hytec-electronics.co.uk

 


-Original Message-
From: Williams Jr., Ernest L. [mailto:erne...@slac.stanford.edu] 
Sent: 28 January 2014 15:18
To: Straumann, Till
Cc: Brown, Garth; Vu, Thuy Mong; jim.c...@hytec-electronics.co.uk; Williams
Jr., Ernest L.
Subject: IP Carriers for mTCA and EPICS

Hi Till,

You can use mTCA crate "CD41"  ==> ioc-b34-cd41

As part of the mTCA Generic I/O support, I would like to get the IP Carrier
working in mTCA and EPICS.

==
TEWs

/afs/slac/g/lcls/epics/Documentation/Software/TEWS/TAMC220_IP_Carrier/CARRIE
R-SW-82/CARRIER-SW-82-2.1.0.pdf

Software:
/afs/slac/g/lcls/epics/Documentation/Software/TEWS/TAMC220_IP_Carrier/CARRIE
R-SW-82/ipac_carrier




===

==
HYTEC:
==
Hytec claims to have a full solution including EPICS but currently has some
PCIe hardware issues:

Hytec Hardware Documentation:
IP Carrier:
/afs/slac/g/lcls/epics/Documentation/Hardware/uTCA/Hytec/7003-UTM-G-x-1.0.pd
f

RTM:
/afs/slac/g/lcls/epics/Documentation/Hardware/uTCA/Hytec/7003-UTM-G-x-1.0.pd
f

Software:
Kernel Module:
/afs/slac/g/lcls/epics/Documentation/Software/Hytec/mTCA/linux_driver/root/I
OCBlade9010/pci

Software Manual:
/afs/slac/g/lcls/epics/Documentation/Software/Hytec/mTCA/Hytec_EPICS_Device_
Driver_User_Manual.pdf

drvIPAC:
/afs/slac/g/lcls/epics/Documentation/Software/Hytec/mTCA/epics_drivers/ipac/
ipac-2.11/drvIpac

userSpace Example:
/afs/slac/g/lcls/epics/Documentation/Software/Hytec/mTCA/linux_driver/userSp
ace


===


RE: log in prompt out of screen

2013-12-12 Thread Jim Chen
Thanks Mark for your reply. I will try to get the info. Yet the unit is now
on a remote site so may take a while. Will come back once I have it.

Jim
 


> -Original Message-
> From: owner-scientific-linux-us...@listserv.fnal.gov [mailto:owner-
> scientific-linux-users@listserv.fnal.gov] On Behalf Of Mark Stodola
> Sent: 12 December 2013 14:17
> To: 'Scientific Linux Users'
> Subject: Re: log in prompt out of screen
> 
> On 12/12/2013 06:04 AM, Jim Chen wrote:
> > Hello experts,
> >
> > I have currently installed SL6.4 on a machine with PCM-3362 PC104 Atom
> > processor. Everything works apart from the login screen cannot be seen
> > each time after booting to the splash. It seems like the log in prompt
> > is out of the screen. The mouse cursor is there. After a while, I can
> > move the cursor and hit the return key then I can see the log in prompt.
> >
> > I have tried all combination after googling on the web with the
> > resolution, frequency settings etc with no luck.
> >
> > The machine can be used but very awkward each time I have to hit the
> > return key to get the log in screen.
> >
> > Has anybody seen the same symptom? How can I fix it please?
> >
> > Many thanks,
> > Jim
> 
> Jim,
> 
> We are going to need a bit more information for anyone to help you.  Can
> you provide chipset versions (lspci), what driver you are using, and
probably
> the Xorg log file to get a better idea of what is going on.
> 
> -Mark
> 
> --
> Mr. Mark V. Stodola
> Senior Control Systems Engineer
> 
> National Electrostatics Corp.
> P.O. Box 620310
> Middleton, WI 53562-0310 USA
> Phone: (608) 831-7600
> Fax: (608) 831-9591


log in prompt out of screen

2013-12-12 Thread Jim Chen
Hello experts,

I have currently installed SL6.4 on a machine with PCM-3362 PC104 Atom
processor. Everything works apart from the login screen cannot be seen each
time after booting to the splash. It seems like the log in prompt is out of
the screen. The mouse cursor is there. After a while, I can move the cursor
and hit the return key then I can see the log in prompt.

I have tried all combination after googling on the web with the resolution,
frequency settings etc with no luck. 

The machine can be used but very awkward each time I have to hit the return
key to get the log in screen.

Has anybody seen the same symptom? How can I fix it please?

Many thanks,
Jim 


remap_page_range in SL kernel 2.6.9-5.0.5.EL-i686

2009-09-18 Thread Jim Chen
Does anybody know the prototype and its arguments of remap_page_range
function in kernel 2.6.9-5.0.5.EL-i686 please? It looks like the
remap_pfn_range function doesn't exist in the version. I try to map the pci
device memory to the user space in the device driver but have no luck so
far.

 

The code is pretty simple in the driver.

 

static int my_mmap(struct file *filp, struct vm_area_struct *vma)

{

if (remap_page_range(vma, vma->vm_start, vm->vm_pgoff,

vma->vm_end - vma->vm_start,

vma->vm_page_prot))

return -EAGAIN;

return 0;

}

 

And the user space call looks like this:

 

char* data;

  int fd = open("/dev/my_dev", O_RDWR);

  data = mmap(0, 0x1000, PROT_READ | PROT_WRITE, MAP_SHARED, fd,
0xE2E0);

 

It always returns me the same data= 0x9c3de3 and accessing it gets nothing
meaningful.

 

Any ideas?

 

Best regards,

 

Jim Chen

Hytec Electronics Ltd.
Tel: +44 (0) 118 975 7770
Fax: +44 (0) 118 975 7566
Web:  <http://www.hytec-electronics.co.uk> www.hytec-electronics.co.uk

Incorporated in England No 1246940

VAT NO GB 285 2479 27

+