Humphry Horne | 1 Jun 19:15 2009
Picon

Quick Loan

A new type of loan secured by motor vehicle and other automotive or motorcycle 
technology! Others come and go, but we are here to stay! Reliable and 
trustworthy partner. autolaenuabi.com

Robert Swindells | 2 Jun 20:06 2009
Picon
Picon

MPC5200 support


I have put a tarball of new files and diffs on ftp.n.o that add some
support for the MPC5200 processor on the Efika board.

So far it boots to single user mode using a PCI Ethernet card and the
serial console.

A review would be welcome. I haven't debugged the uart driver yet so
the diffs contain code copied from sys/dev/ofw/ofcons.c, I'm not
planning on committing this part.

Testing some of the diffs against macppc to see that I haven't broken
anything would be helpful too.

The path is ftp.netbsd.org:/pub/NetBSD/misc/rjs/evika.tar.gz

Robert Swindells

Frank Wille | 3 Jun 01:03 2009
Picon

Re: MPC5200 support

Robert Swindells wrote:

> I have put a tarball of new files and diffs on ftp.n.o that add some
> support for the MPC5200 processor on the Efika board.

Wow! Great! A dream comes true!
I will see if I can help debugging in the next weeks. I have three Efikas
waiting for an OS. :)

> So far it boots to single user mode using a PCI Ethernet card and the
> serial console.

I have also seen drivers for ohci, cdm, bestcomm and ata. Do all of them
work?

> A review would be welcome. I haven't debugged the uart driver yet so
> the diffs contain code copied from sys/dev/ofw/ofcons.c, I'm not
> planning on committing this part.

Why was it necessary to include ofcons?

> Testing some of the diffs against macppc to see that I haven't broken
> anything would be helpful too.

I just tried to compile a macppc generic kernel, but it fails because of the
ofcons stuff in ofw_consinit.c:

ofw_consinit.o: In function `ofcons_tty':
ofw_consinit.c:(.text+0x3e): undefined reference to `ofcons_cd'
ofw_consinit.c:(.text+0x42): undefined reference to `ofcons_cd'
(Continue reading)

Robert Swindells | 3 Jun 02:16 2009
Picon
Picon

Re: MPC5200 support


Frank Wille wrote:
>Robert Swindells wrote:

>> I have put a tarball of new files and diffs on ftp.n.o that add some
>> support for the MPC5200 processor on the Efika board.

>Wow! Great! A dream comes true!
>I will see if I can help debugging in the next weeks. I have three Efikas
>waiting for an OS. :)

>> So far it boots to single user mode using a PCI Ethernet card and the
>> serial console.

>I have also seen drivers for ohci, cdm, bestcomm and ata. Do all of
>them work?

No.

The cdm driver doesn't need to do anything, I just wanted to check
how the clocks were set up to try and track down why ohci locks up.

The bestcomm driver is just a placeholder for now.

The ata driver is closest to working, I think it needs some helper
functions like those in the ninjaata32 driver. It finds the disk but
interrupts time out.

>> A review would be welcome. I haven't debugged the uart driver yet so
>> the diffs contain code copied from sys/dev/ofw/ofcons.c, I'm not
(Continue reading)

Mr Johnson Paul | 3 Jun 13:32 2009
Picon

(NOTICE OF ATM CARD)

An Atm card containing  $2.8 m,contract/inheritance have been awarded to you send your details to
atmdelivery009 <at> sify.com 
Telephone number:+2347036427331
Mr.Johnson Paul.
Sincerely,Atm Card Award Team.

Frank Wille | 4 Jun 00:05 2009
Picon

Re: MPC5200 support

Robert Swindells wrote:

>> Why was it necessary to include ofcons?
> 
> Because without it I lose any debug output. I have some ideas why but
> haven't fixed it yet.
> 
> When the psc uart driver works then the ofcons code can be deleted. The
> plan was to get to the point where I could telnet into it then fix the
> uart code.

Ok, makes sense. Do you have the impression that the interrupts are working
correctly?

I ask because I tried the kernel on my Efika today. It reaches the boot-
prompt and even reports the name and dimensions of my hard disk. But there
are also messages about "lost interrupts".

Unfortunately I had to boot the kernel directly, because I couldn't find out
why ofwboot failed. If reports "root addr=0.0.0.0" and waits forever.

Strange, I'm sure I had it working last year. I have set "boot-protocol" in
OFW to "dhcp". Other settings don't even allow me to load ofwboot over the
net... :|

--

-- 
    _  Frank Wille (frank <at> phoenix.owl.de)
 _ //  http://sun.hasenbraten.de/~frank/
 \X/   Phx  <at>  #AmigaGer

(Continue reading)

Robert Swindells | 4 Jun 00:44 2009
Picon
Picon

Re: MPC5200 support


Frank Wille wrote:
>Robert Swindells wrote:
>
>>> Why was it necessary to include ofcons?
>> 
>> Because without it I lose any debug output. I have some ideas why but
>> haven't fixed it yet.
>> 
>> When the psc uart driver works then the ofcons code can be deleted. The
>> plan was to get to the point where I could telnet into it then fix the
>> uart code.

>Ok, makes sense. Do you have the impression that the interrupts are
>working correctly?

They work for the PCI slot, I think they should work for other devices.

>I ask because I tried the kernel on my Efika today. It reaches the
>boot- prompt and even reports the name and dimensions of my hard
>disk. But there are also messages about "lost interrupts".

The disk controller needs to be in PIO mode until we get Bestcomm to
work.

Try this:

--- mpc5200_ide.c~      2009-06-02 14:35:09.000000000 +0100
+++ mpc5200_ide.c       2009-06-03 20:27:22.000000000 +0100
 <at>  <at>  -109,7 +109,8  <at>  <at> 
(Continue reading)

Frank Wille | 4 Jun 21:05 2009
Picon

Re: MPC5200 support

Robert Swindells wrote:

>> Ok, makes sense. Do you have the impression that the interrupts are
>> working correctly?
> 
> They work for the PCI slot, I think they should work for other devices.

Nice.
I just added genfb* to my EFIKA config and the Radeon 9250 is recognized.

The pci_configure_bus() doesn't work, but that doesn't seem to matter. Should
we remove the option PCI_NETBSD_CONFIGURE for Efika, or do you plan to use
a special efikapci device?

> The disk controller needs to be in PIO mode until we get Bestcomm to
> work.
> 
> Try this:
> 
> --- mpc5200_ide.c~      2009-06-02 14:35:09.000000000 +0100
> +++ mpc5200_ide.c       2009-06-03 20:27:22.000000000 +0100

Yes, works.

BTW, there must be an endianess problem when reading the disk ID. OFW shows:

  channel 0 unit 0 :   ata | TS64GSSD25-M                             | V0826

But NetBSD reads:

(Continue reading)

Frank Wille | 4 Jun 21:07 2009
Picon

Re: MPC5200 support

Robert Swindells wrote:

>> I just tried to compile a macppc generic kernel, but it fails because
>> of the ofcons stuff in ofw_consinit.c:
> 
> Ok, thanks. I guess the next thing to try is a macppc kernel with
> everything except the ofw_consinit.c changes.

Just did that. I restored ofw_consinit.c and have built a macppc 5.99.11
kernel.

A test in single-user mode on my PowerMac G4 was successful.

--

-- 
    _  Frank Wille (frank <at> phoenix.owl.de)
 _ //  http://sun.hasenbraten.de/~frank/
 \X/   Phx  <at>  #AmigaGer

Havard Eidnes | 16 Jun 14:20 2009
Picon

Re: Package binaries for NetBSD/macppc 3.1 / pkgsrc-2009Q1

Hi,

I've uploaded the new results of a bulk rebuild of pkgsrc-2009Q1
done on NetBSD/macppc 3.1_STABLE to

   ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/powerpc/3.1_2009Q1/

A total of 1.3GB of packages were uploaded for a total of 865
packages.  The packages available in new versions or which were not
available before follows attached below (478 in all, many of them
triggered by the now-successful packaging of libffi and python25).

The source tree this was built from was updated May 23, 2009.  For
now I'll continue updating and rebuilding for the pkgsrc-2009Q1
branch for this arch/os/os-version.

For the packages which are not architecture-specific (should be
the vast majority), these packages should also be usable on other
powerpc ports.

Regards,

- Håvard
BitTornado-0.3.18nb1
BitTornado-gui-0.3.18nb1
ExmanIDE-0.9.4nb5
GConf-ui-2.26.0
TeXmacs-1.0.6.15
(Continue reading)


Gmane