Previous Thread
Next Thread
Print Thread
Page 14 of 15 1 2 12 13 14 15
Re: VME boards [Re: Edstrom] #111024 10/10/17 11:06 PM
Joined: May 2012
Posts: 541
S
shattered Offline
Senior Member
Offline
Senior Member
S
Joined: May 2012
Posts: 541
It's merged now and roms are on messftp. No docs (yet -- they exist, just have to be scanned, I am waiting for that), but I suspect that code tests if IRQ is triggered after it's unmasked.

Re: VME boards [Re: Edstrom] #111025 10/11/17 12:12 AM
Joined: Aug 2015
Posts: 390
Edstrom Offline OP
Senior Member
OP Offline
Senior Member
Joined: Aug 2015
Posts: 390
Ok I got it up and running now and I got the self test to hang obviously since the emulation is not complete but is there an actual problem apart from that?

Selftests does torture the emulation and as it is optional you can just ignore it for now I think as interrupts seems to work just fine from what I can see when the firmware is communicating with the terminal.

Re: VME boards [Re: Edstrom] #111028 10/11/17 06:40 AM
Joined: May 2012
Posts: 541
S
shattered Offline
Senior Member
Offline
Senior Member
S
Joined: May 2012
Posts: 541
Well, passing self test gives some confidence that emulation is done correctly smile Interrupt line is not hooked up, so firmware must be doing polled i/o.

Let's wait until the docs are scanned, anyway

Re: VME boards [Re: Edstrom] #111037 10/11/17 06:57 PM
Joined: Aug 2015
Posts: 390
Edstrom Offline OP
Senior Member
OP Offline
Senior Member
Joined: Aug 2015
Posts: 390
Sure, do you have a picture of the board already were we might see if there is a VME controller ASIC and a BIM or some other IRQ controller suspects?

Re: VME boards [Re: Edstrom] #111039 10/12/17 06:38 AM
Joined: May 2012
Posts: 541
S
shattered Offline
Senior Member
Offline
Senior Member
S
Joined: May 2012
Posts: 541
No pictures yet - only a brief spec sheet - newdoc/hcpudocu_txt in http://ftp.stu.neva.ru/besta/sysv-misc/docs-html-koi8.tar.gz

Re: VME boards [Re: Edstrom] #111150 10/24/17 09:49 PM
Joined: May 2012
Posts: 541
S
shattered Offline
Senior Member
Offline
Senior Member
S
Joined: May 2012
Posts: 541
more complete spec sheet + schematics -- https://yadi.sk/d/4jiyxn373P48Mn

no BIM or ASIC, just a bunch of PLM (no dumps of those)

Re: VME boards [Re: Edstrom] #111151 10/24/17 10:35 PM
Joined: Aug 2015
Posts: 390
Edstrom Offline OP
Senior Member
OP Offline
Senior Member
Joined: Aug 2015
Posts: 390
Ok, you just need to check how to the IRQ is connected to the 68020 and make sure the driver provides the vector from the DUSCC. It looks like many interrupts can be polled in one go through the 74ALS240 on page 17, question is where the IRQ is routed and if it in fact interrupts the 68020 CPU at all, I may be that it causes a generic interrupt for the 68030 which reads the interrupt source and deals with it, in which case there is no vector from the DUSCC.

Re: VME boards [Re: Edstrom] #117615 07/31/20 10:22 PM
Joined: May 2012
Posts: 541
S
shattered Offline
Senior Member
Offline
Senior Member
S
Joined: May 2012
Posts: 541
Some progress on the HCPU30 board

[Linked Image from i.imgur.com]

It expects some yet unemulated behaviour -- writable RTC registers (Epson 62421 supports this), GPIO pins on the DUSCC (some configuration jumpers are connected there), also expects DP8473 to generate an interrupt after reset via DOR...

Re: VME boards [Re: Edstrom] #117648 08/08/20 10:16 PM
Joined: May 2012
Posts: 541
S
shattered Offline
Senior Member
Offline
Senior Member
S
Joined: May 2012
Posts: 541
Linux/m68k loads from floppy and starts doing its thing, but I have no idea how timer interrupt should be working, so it's stuck:

[Linked Image from i.imgur.com]

Re: VME boards [Re: Edstrom] #117658 08/13/20 10:44 PM
Joined: May 2012
Posts: 541
S
shattered Offline
Senior Member
Offline
Senior Member
S
Joined: May 2012
Posts: 541
Added a hack for timer interrupt + some fixes to wd33c93, and now Linux boots from floppy (but serial interrupts are not working):

Code
Calibrating delay loop.. ok - 2.58 BogoMIPS
Memory testing... done
Memory:
    0x00000000 - 0x01000000 : 16Mb, 0 bit, 0 ns, used
14812k/16384k available (544k kernel code, 556k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
Linux version 2.0.33 (buc@polynom.odu.neva.ru) (gcc version 2.7.2.2) #2 Thu Jan 8 16:03:36 MEST 1998


Code

                        Ported by   Dmitry K. Butskoy, 1996,
                                    buc@citadel.stu.neva.ru

Starting kswapd v 1.4.2.2
M68K Serial driver version 1.01
Ramdisk driver initialized : 16 ramdisks of 4096K size
loop: registered device at major 7
Probing SCSI devices:
    0:  SEAGATE          ST225N1.00     '4              , disk 32Mb (32768k), sector=512b (default partitions)
done
NO XLANC
SVR3.1/m68k binary compatibility code copyright 1996 Dm.K.Butskoy
    BESTA  basic hardware found:   HCPU30-L/16    board
(mc68030/mc68882, 16M RAM, SCSI, 2 serials, floppy, centronix, clock,
VME: master ROR 32bit, data burst off, cacr=0x0919, dip switch=0x00, 8k stram)
Probing VME boards:
    no hcww at 0xfc9fff00
    no hcww at 0xfc9ffe00
    no hcww at 0xfc9ffd00
    no hcww at 0xfc9ffc00
    no hcww at 0xfc9ffb00
    no hcww at 0xfc9ffa00
    no hcww at 0xfc9ff900
    no hcww at 0xfc9ff800
    no cww at 0xfc960000
    no cww at 0xfc980000
    no cww at 0xfc9a0000
    no cww at 0xfc9c0000
    no cww at 0xfc940000
    no cww at 0xfc920000
    no md10 at 0xfcffff00
    no md10 at 0xfcfffe00
done
PPP: version 2.2.0 (dynamic channel allocation)
TCP compression code copyright 1989 Regents of the University of California
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
RAMDISK: Ext2 filesystem found at block 0
RAMDISK: Loading 4096 blocks into ram disk... done.
VFS: Mounted root (ext2 filesystem).


Page 14 of 15 1 2 12 13 14 15

Who's Online Now
1 registered members (hal3000), 42 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,818
Posts116,113
Members4,921
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3