Skip to contentSkip to conversation

Galileo 64240

DISCUSSION [email protected] 4 participants 7 messages Jan 7, 2002 – Jan 10, 2002 MIPS

lore
Share & tools
lore
#0 lore raw

Is there any support code around for the Galileo 64240? A serial driver would be really nice ;)

#1 lore raw

We've got a 64240-based board that we're going to be porting Linux to... tho we're not using the on-board MPSC ports. I doubt anyone is building a board using the MPSC ports -- it's just too difficult to drive them, and 16550-like parts are too cheap.

If you're trying to bring up a 64240-based board under linux, perhaps sharing work would be good?

Matt

--

Matthew D. Dharm                            Senior Software Designer
Momentum Computer Inc.                      1815 Aston Ave.  Suite 107
(760) 431-8663 X-115                        Carlsbad, CA 92008-7310
Momentum Works For You                      www.momenco.com
Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of [email protected]
Sent: Monday, January 07, 2002 2:18 PM
To: [email protected]
Subject: Galileo 64240

Is there any support code around for the Galileo 64240? A serial driver would be really nice ;)

#2 lore raw
In reply to [email protected]
Quoted 3 lines · [email protected] wrote:

Is there any support code around for the Galileo 64240? A serial driver would be really nice ;)

I started an MPSC/Uart driver for the 64240/64240A chips. Didn't get much of it working when we got fed up with all of the Galileo errata about which registers could or could not be read at which times and their confusion as to whether or not they were planning to ever fix the errata.

We broke down and added a 162550 UART to the board.

The driver code was abandoned in the midst of early debugging stages and is in a horrific state. You're welcome to a copy if you really can't find something better.

Signature · 4 lines
 /"\ . . . . . . . . . . . . . . . /"\
 \ /   ASCII Ribbon Campaign       \ /     Paul R. Kasper
  X    - NO HTML/RTF in e-mail      X      Patton Electronics Co.
 / \   - NO MSWord docs in e-mail  / \     301-975-1000 x173
#3 lore raw
In reply to [email protected]
Quoted 3 lines · [email protected] wrote:

Is there any support code around for the Galileo 64240? A serial driver would be really nice ;)

I also have a hacked-up port of MontaVista's HHLinux gt96100eth code that is functional on 64240 and 64240A in little-endian mode and untested in BE. It still lacks support for any "advanced" features of the Galileo chips.

Signature · 4 lines
 /"\ . . . . . . . . . . . . . . . /"\
 \ /   ASCII Ribbon Campaign       \ /     Paul R. Kasper
  X    - NO HTML/RTF in e-mail      X      Patton Electronics Co.
 / \   - NO MSWord docs in e-mail  / \     301-975-1000 x173
#4 lore raw

I would love a copy of that, personally. Could you send it to me (or the list)?

Matt

--

Matthew D. Dharm                            Senior Software Designer
Momentum Computer Inc.                      1815 Aston Ave.  Suite 107
(760) 431-8663 X-115                        Carlsbad, CA 92008-7310
Momentum Works For You                      www.momenco.com
Quoted 26 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Paul Kasper
Sent: Tuesday, January 08, 2002 4:46 AM
To: [email protected]
Cc: [email protected]
Subject: Re: Galileo 64240

Quoted 3 lines · [email protected] wrote:

Is there any support code around for the Galileo 64240? A serial driver would be really nice ;)

I also have a hacked-up port of MontaVista's HHLinux gt96100eth code that is functional on 64240 and 64240A in little-endian mode and untested in BE. It still lacks support for any "advanced" features of
the Galileo chips.

--
/"\ . . . . . . . . . . . . . . . /"\

 \ /   ASCII Ribbon Campaign       \ /     Paul R. Kasper
  X    - NO HTML/RTF in e-mail      X      Patton Electronics Co.
 / \   - NO MSWord docs in e-mail  / \     301-975-1000 x173
#5 lore raw
Quoted 4 lines · Matthew Dharm

I would love a copy of that, personally. Could you send it to me (or the list)?

Quoted 20 lines

Matt

--

Matthew D. Dharm                            Senior Software Designer
Momentum Computer Inc.                      1815 Aston Ave.  Suite 107
(760) 431-8663 X-115                        Carlsbad, CA 92008-7310
Momentum Works For You                      www.momenco.com
Quoted 12 lines

I also have a hacked-up port of MontaVista's HHLinux gt96100eth code that is functional on 64240 and 64240A in little-endian mode and untested in BE. It still lacks support for any "advanced" features of
the Galileo chips.

--
/"\ . . . . . . . . . . . . . . . /"\

 \ /   ASCII Ribbon Campaign       \ /     Paul R. Kasper
  X    - NO HTML/RTF in e-mail      X      Patton Electronics Co.
 / \   - NO MSWord docs in e-mail  / \     301-975-1000 x173

Matt:

I'll zip up a copy of the gt64240eth driver as soon as I can track down the relvant include files, and send it to you. I should mention that I'm still running it on a 2.4.0-test9 kernel.

Maybe after you verify that it is complete, we can post it to the list.

Our board configuration is a QED RM5261A with GT64240A, Intel Flash, STK1744 RTC/NVRAM, 16C2550 DUART, and a bunch of Conexant HDLC I/O -- not all of which is coded yet.

I do have the basic arch/mips/patton/{generic,dsl3224} board support trees which were based on mips/atlas and ev96100 ports but, unfortunately, I still reference some Galileo/VxWorks sample code in the interrupt handler. This needs to be cleaned up. I originally used their code only because I did not have a working 64240 board to test with and the Galileo datasheets are so ambiguous that I thought that their sample code programmers might have had some hidden insight into the chips. I since have learned that the opposite is true and need to clean all of that stuff out.

--
Paul K.
--
/"\ . . . . . . . . . . . . . . . /"\

 \ /   ASCII Ribbon Campaign       \ /     Paul R. Kasper
  X    - NO HTML/RTF in e-mail      X      Patton Electronics Co.
 / \   - NO MSWord docs in e-mail  / \     301-975-1000 x173
#6 lore raw

The GT64260 is the PPC equivalent of the mips 64240. I'm pretty sure our PPC guys did some work with the 64260 and they might have one of the serial ports working as a simple uart. Check the community PPC tree. If you don't find anything there, post to the ppc mailing list to see what people have done with the 64260. Pretty much everything should be portable to the 64240 and you might get feedback on hardware bugs and workarounds.

Pete