Parallel port Flash ROM programmer for IRIX

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
GeneratriX
Posts: 4226
Joined: Tue Oct 21, 2003 2:07 am
Location: Rosario / Santa Fe / República Argentina

Re: Octane / Dual Head

Unread postby GeneratriX » Tue Oct 27, 2009 2:11 pm

ShadeOfBlue wrote:
porter wrote:I've generally been more in favour of serial port solutions as they are "more portable" between different types of machines.

I did think of that solution... A bit-shifter based programmer would have been more portable, but probably much slower, whereas a microcontroller based programmer would need to be programmed somehow [most modern ones let you do this via the serial port as well, but you need the software to do it]).


Whatever you do, please, avoid the MAX232!!! ...I've discarded lots of interesting schematics in the past, because the lack of a good source for the MAX232 chips here in my country!!! :)

(Of course, if you really want to use it too bad, please ignore my comments... I guess I could try DigiKey anyway!) :)

User avatar
canavan
Posts: 754
Joined: Mon Jul 21, 2003 6:19 am

Re: Parallel port Flash ROM programmer for IRIX

Unread postby canavan » Tue Oct 27, 2009 5:29 pm

neko_guile-1.8.7.tardist is already on its way to /incoming. I've managed to compile gEDA, it's running, but I appear to have trashed font support in cairo, pango, fontconfig, freetype, glib or something else I've updated during my quest for a suitable pango. There's only hollow rectangles all over the gschem/gattrib etc. interface. I'll hopefully nekowareify a few more of those tomorrow, after finding the source of the font-problem.

You patch looks suspicously like mine, except that I appear to have deleted the tag.c bit while cleaning it up for the tardist.

User avatar
GeneratriX
Posts: 4226
Joined: Tue Oct 21, 2003 2:07 am
Location: Rosario / Santa Fe / República Argentina

Re: Parallel port Flash ROM programmer for IRIX

Unread postby GeneratriX » Tue Oct 27, 2009 6:12 pm

Hey there, Canavan and ShadeOfBlue!
...well, as soon as you think it is useful, I'll be happy to beta-test gEDA/PCB with a load of schematics created by using Ubuntu/gEDA/PCB. Just let me know. I'm already amazed with all of this. This place is wonderful. I've desired this suite as a part of nekoware during latest two years!

User avatar
ShadeOfBlue
Moderator
Moderator
Posts: 799
Joined: Tue Nov 25, 2003 12:09 pm
Location: Europe

Re: Octane / Dual Head

Unread postby ShadeOfBlue » Wed Oct 28, 2009 4:05 am

GeneratriX wrote:Whatever you do, please, avoid the MAX232!!! ...I've discarded lots of interesting schematics in the past, because the lack of a good source for the MAX232 chips here in my country!!! :)

I'm going to stick with the parallel port based design for now :)
How about the MAX3232? It's pin-compatible with the MAX232, except that it can run on both 3.3V and 5V. Then there's also the ST3232 and possibly other compatible chips as well.
You can also salvage the MC1488 and MC1489 from old ISA serial-port cards (these IC's aren't pin-compatible with the MAX232 but have 4 RS232 drivers [on the '88] and 4 receivers [on the '89]).

canavan wrote:neko_guile-1.8.7.tardist is already on its way to /incoming. I've managed to compile gEDA, it's running, but I appear to have trashed font support in cairo, pango, fontconfig, freetype, glib or something else I've updated during my quest for a suitable pango. There's only hollow rectangles all over the gschem/gattrib etc. interface. I'll hopefully nekowareify a few more of those tomorrow, after finding the source of the font-problem.

I have a feeling that the font problem is caused by pango. Nevertheless, this is good news, a functioning gEDA is not far away :)

canavan wrote:You patch looks suspicously like mine, except that I appear to have deleted the tag.c bit while cleaning it up for the tardist.

It's good to know I'm on the right track :)

GeneratriX wrote:I've desired this suite as a part of nekoware during latest two years!

Are there any other useful packages outside the gEDA suite?
So far, I've tried PCB (which compiles cleanly, no patches required!). I'll see if I can get xgsch2pcb and gerbv to compile and post the patches here.

EDIT: Got gerbv to compile -- seems to work properly. Here's the patch:
gerbv.patch
gerbv patch
(16.27 KiB) Downloaded 47 times

User avatar
GeneratriX
Posts: 4226
Joined: Tue Oct 21, 2003 2:07 am
Location: Rosario / Santa Fe / República Argentina

Re: Octane / Dual Head

Unread postby GeneratriX » Wed Oct 28, 2009 12:48 pm

ShadeOfBlue wrote:I'm going to stick with the parallel port based design for now :)


Hey, don't worry! I can ask for some MAX232 chips to an international provider if you really have a hot diagram for it! I would not keep outside the fest at all! ;)

ShadeOfBlue wrote:How about the MAX3232? It's pin-compatible with the MAX232, except that it can run on both 3.3V and 5V. Then there's also the ST3232 and possibly other compatible chips as well.
You can also salvage the MC1488 and MC1489 from old ISA serial-port cards (these IC's aren't pin-compatible with the MAX232 but have 4 RS232 drivers [on the '88] and 4 receivers [on the '89]).


Good idea!, I have a few brand new ISA multi-function cards that I could kill if it's needed! :)

ShadeOfBlue wrote:Are there any other useful packages outside the gEDA suite?
So far, I've tried PCB (which compiles cleanly, no patches required!). I'll see if I can get xgsch2pcb and gerbv to compile and post the patches here.


Well... since you ask... I know of a few useful packages for the electronic crew! :)

AGAR
ConvertAll
glScope
gSpeakers
KiCad
KLogic
KSimus
Oregano
QLoud
QOscC
Qucs
TinyCAD
SIGGEN
xoscope
XSNDTEST

I've remarked the ones I consider more interesting in particular, without considerations from the level of work required to port them... since I could not recall myself all the details since my latest attempt to port some of them. I'm pretty sure anyway that QLoud would be probably the hardest one, because of the JACK dependencies...

Also for those having a Wittig Oszifox, there is a cool software called goszifox. I do not own a Wittig, so I could not tell it how well it works, but I'll keep my eyes open to see if I can catch one of them by cheap if I have the chance.

There are some other cool apps (ConvertAll) that I use here and then and are also very nice tools as complement for the electronic/mechatronic work... and I guess in a more hilarious sense I could also mention BlockCAD in this league... since (why not?) some people uses Lego-like bricks to build small robots! :P

I'll add more of them as soon as recall more or if I find more anotations! :)

User avatar
ShadeOfBlue
Moderator
Moderator
Posts: 799
Joined: Tue Nov 25, 2003 12:09 pm
Location: Europe

Re: Octane / Dual Head

Unread postby ShadeOfBlue » Sat Oct 31, 2009 5:52 am

GeneratriX wrote:Well... since you ask... I know of a few useful packages for the electronic crew! :)

Qucs is already in Nekoware, TinyCAD seems to be Windows-only, KiCad crashes the compiler, gSpeakers looks portable, the rest seem to use ALSA, which is a Linux-only thing.

Regarding ConvertAll -- I just use google's calculator for conversions, e.g. "10 feet in meters" :)

I've browsed through the EDA category on Sourceforge and found some other packages: ngspice, gnucap, qfsm, gerber2eps.
I will see if I can port them when I get some more time.

User avatar
GeneratriX
Posts: 4226
Joined: Tue Oct 21, 2003 2:07 am
Location: Rosario / Santa Fe / República Argentina

Re: Octane / Dual Head

Unread postby GeneratriX » Sat Oct 31, 2009 9:50 am

ShadeOfBlue wrote:Qucs is already in Nekoware, TinyCAD seems to be Windows-only, KiCad crashes the compiler, gSpeakers looks portable, the rest seem to use ALSA, which is a Linux-only thing.


Well... we have a deal... gSpeakers sounds nice! :P

ShadeOfBlue wrote:Regarding ConvertAll -- I just use google's calculator for conversions, e.g. "10 feet in meters" :)


Oh, good point! :) ...never used Google for that!
...anyway, for some conversions it does not work as expected, i.e.: "10 Nm in Kilograms Meter"

Of course, it is not too difficult to figure yourself such a conversion, but anyway ConvertAll is very useful for some of the complexer units.

ShadeOfBlue wrote:I've browsed through the EDA category on Sourceforge and found some other packages: ngspice, gnucap, qfsm, gerber2eps.
I will see if I can port them when I get some more time.


Yes, you'll need Ngspice and Gnucap for sure... without that, gEDA is not too useful at all! Gerber2eps sounds useful, and Qfsm sounds very interesting too.

Well, I guess the common sense points to gEDA/PCB and partners as the first goal to achieve... since, specifically, with this we have almost all the required for analog and digital.

EDIT: Fixed typos.

User avatar
ShadeOfBlue
Moderator
Moderator
Posts: 799
Joined: Tue Nov 25, 2003 12:09 pm
Location: Europe

Re: Octane / Dual Head

Unread postby ShadeOfBlue » Sat Oct 31, 2009 2:10 pm

GeneratriX wrote:Well... we have a deal... gSpeakers sounds nice! :P

I'll take a look at it tomorrow, along with the packages I mentioned.

GeneratriX wrote:...anyway, for some conversions it does not work as expected, i.e.: "10 Nm in Kilograms Meter"

You need to be more specific with the units: "10 Newton meters in kilogram-force meters" :)

User avatar
GeneratriX
Posts: 4226
Joined: Tue Oct 21, 2003 2:07 am
Location: Rosario / Santa Fe / República Argentina

Re: Octane / Dual Head

Unread postby GeneratriX » Sat Oct 31, 2009 4:57 pm

ShadeOfBlue wrote:You need to be more specific with the units: "10 Newton meters in kilogram-force meters" :)


You win! :P

User avatar
ShadeOfBlue
Moderator
Moderator
Posts: 799
Joined: Tue Nov 25, 2003 12:09 pm
Location: Europe

Re: Octane / Dual Head

Unread postby ShadeOfBlue » Sun Nov 01, 2009 10:02 am

GeneratriX wrote:
ShadeOfBlue wrote:You need to be more specific with the units: "10 Newton meters in kilogram-force meters" :)


You win! :P

:D


I've compiled ngspice (patch below) and gerber2eps (compiles cleanly). Qfsm needs a newer QT library than we have in Nekoware and gnucap has an odd C++ STL error:

Code: Select all

cc-1278 CC: ERROR File = u_prblst.cc, Line = 127
  No instance of function "std::remove(const char *)" matches the argument list.

            The argument types are:  (std::vector<PROBE,
                      std::allocator<PROBE>>::iterator, std::vector<PROBE,
                      std::allocator<PROBE>>::iterator, CKT_BASE *).
    bag.erase(remove(bag.begin(), bag.end(), brh), bag.end());

(there were also some other minor errors, but I managed to fix those)

ngspice patch:
ngspice.patch
ngspice-19 patch
(2.47 KiB) Downloaded 36 times

User avatar
GeneratriX
Posts: 4226
Joined: Tue Oct 21, 2003 2:07 am
Location: Rosario / Santa Fe / República Argentina

Re: Octane / Dual Head

Unread postby GeneratriX » Sun Nov 01, 2009 12:02 pm

Hey there, ShadeOfBlue!
...I've downloaded all of your patches so far (gerbv.patch, guile.patch, ngspice.patch) to browse the code inside, the alterations required to get the packages building with MIPSPRO... and I think you (and Canavan) are doing a wonderful work with this.

Since I have some time without doing any building work with MIPSPRO, I'm a bit lack of practice right now... and each time I try something, it takes me twice or more the time that it used to take me the same thing in the past... you know, I would need to go for my anotations about compiler/linker options and all the rest, and I'm not all that fresh now... so, I guess I'll wait for a nekowared tardist... :)

Also, my Octane is not all that powerful to build some things fast.

Anyway, I recall pretty fine how to re-package in tardist format a given package... so, if you think it helps... I guess I can offer this. I mean, I could package the things if you want.

If you think it helps, just let me know!
All the best,
Diego

User avatar
canavan
Posts: 754
Joined: Mon Jul 21, 2003 6:19 am

Re: Parallel port Flash ROM programmer for IRIX

Unread postby canavan » Sun Nov 01, 2009 1:32 pm

neko_geda_gaf-1.6.0.tardist and neko_pcb-20081128.tardist are in /incoming.

I'll have to upload a new version of geda_gaf, because this one uses /sbin/m4, which doesn't understand "-d". To get gsch2pcb working, edit /usr/nekoware/share/gEDA/scheme/gnet-gsch2pcb.scm and set m4_command to /usr/nekoware/bin/m4.

I'm not certain if gtk, atk, pango, fontconfig, freetype, popper, guile and/or glib need to be updated. So far, I've failed to get a current gtk+-2 to install properly.

User avatar
GeneratriX
Posts: 4226
Joined: Tue Oct 21, 2003 2:07 am
Location: Rosario / Santa Fe / República Argentina

Re: Parallel port Flash ROM programmer for IRIX

Unread postby GeneratriX » Sun Nov 01, 2009 2:42 pm

canavan wrote:neko_geda_gaf-1.6.0.tardist and neko_pcb-20081128.tardist are in /incoming.

I'll have to upload a new version of geda_gaf, because this one uses /sbin/m4, which doesn't understand "-d". To get gsch2pcb working, edit /usr/nekoware/share/gEDA/scheme/gnet-gsch2pcb.scm and set m4_command to /usr/nekoware/bin/m4.

I'm not certain if gtk, atk, pango, fontconfig, freetype, popper, guile and/or glib need to be updated. So far, I've failed to get a current gtk+-2 to install properly.


Wow!, that was blazing fast!!! Thanks a lot!!! I can't wait to try it... I'll download the packages to try them now!!! Nekochan rocks!!! ;)
All the best,
Diego

User avatar
GeneratriX
Posts: 4226
Joined: Tue Oct 21, 2003 2:07 am
Location: Rosario / Santa Fe / República Argentina

Re: Parallel port Flash ROM programmer for IRIX

Unread postby GeneratriX » Mon Nov 02, 2009 9:28 am

canavan wrote:I'm not certain if gtk, atk, pango, fontconfig, freetype, popper, guile and/or glib need to be updated. So far, I've failed to get a current gtk+-2 to install properly.


I got this after installing the packages and prereqs:

Code: Select all

./gschem
 2694:./gschem: rld: Fatal Error: Cannot Successfully map soname 'libpixman-1.so.1' under any of the filenames /usr/nekoware/lib/libpixman-1.so.1:/usr/people/canavan/src/pango/pango-1.26.0/pango/.libs/libpixman-1.so.1:/opt/build/pango-1.12.4/pango/.libs/libpixman-1.so.1:/usr/nekoware//lib/libpixman-1.so.1:/usr/lib32/libpixman-1.so.1:/usr/lib32/internal/libpixman-1.so.1:/lib32/libpixman-1.so.1:/opt/lib32/libpixman-1.so.1:/usr/nekoware/lib/libpixman-1.so.1.1:/usr/people/canavan/src/pango/pango-1.26.0/pango/.libs/libpixman-1.so.1.1:/opt/build/pango-1.12.4/pango/.libs/libpixman-1.so.1.1:/usr/nekoware//lib/libpixman-1.so.1.1:/usr/lib32/libpixman-1.so.1.1:/usr/lib32/internal/libpixman-1.so.1.1:/lib32/libpixman-1.so.1.1:/opt/lib32/libpixman-1.so.1.1:


Code: Select all

./pcb
 2691:./pcb: rld: Fatal Error: Cannot Successfully map soname 'libgio-2.0.so.1' under any of the filenames /usr/nekoware/lib/libgio-2.0.so.1:/usr/people/canavan/src/pango/pango-1.26.0/pango/.libs/libgio-2.0.so.1:/usr/people/canavan/src/glib/glib-2.22.2/glib/pcre/.libs/libgio-2.0.so.1:/usr/lib32/libgio-2.0.so.1:/opt/build/pango-1.12.4/pango/.libs/libgio-2.0.so.1:/usr/nekoware//lib/libgio-2.0.so.1:/usr/lib32/internal/libgio-2.0.so.1:/lib32/libgio-2.0.so.1:/opt/lib32/libgio-2.0.so.1:/usr/nekoware/lib/libgio-2.0.so.1.1:/usr/people/canavan/src/pango/pango-1.26.0/pango/.libs/libgio-2.0.so.1.1:/usr/people/canavan/src/glib/glib-2.22.2/glib/pcre/.libs/libgio-2.0.so.1.1:/usr/lib32/libgio-2.0.so.1.1:/opt/build/pango-1.12.4/pango/.libs/libgio-2.0.so.1.1:/usr/nekoware//lib/libgio-2.0.so.1.1:/usr/lib32/internal/libgio-2.0.so.1.1:/lib32/libgio-2.0.so.1.1:/opt/lib32/libgio-2.0.so.1.1:


I'll take a look on it later, to see if I can make any discovery. I've installed the packages from '/beta' each time it was possible, so, I guess I'm pretty up to date... but I was under the impression you used an older version from 'libpixman' maybe? Anyway, I fail to find 'libgio', since I don't know what is the package containing it.

User avatar
ShadeOfBlue
Moderator
Moderator
Posts: 799
Joined: Tue Nov 25, 2003 12:09 pm
Location: Europe

Re: Parallel port Flash ROM programmer for IRIX

Unread postby ShadeOfBlue » Mon Nov 02, 2009 10:41 am

canavan wrote:neko_geda_gaf-1.6.0.tardist and neko_pcb-20081128.tardist are in /incoming.

Thanks!

I'll see if I can make tardists for gerbv, ngspice and gerber2eps.


Return to “SGI: Development”

Who is online

Users browsing this forum: No registered users and 0 guests