Re: ARM support

1999-11-12 Thread Mike Smith

> > If you're interested in sharing your work, I have a DNA ('shark') here
> > that was loaned to the Project for just this purpose.  I'd be really
> > interested to see your cross-build bits integrated into our tree ASAP.
> 
> I'd really like this to happens too but right now I think that would be
> near impossible. binutils 2.9.1 doesn't really support arm/elf so I'm
> currently using a recent snapshot of binutils (2.9.5) with gcc 2.95.1.
> I'm using a boatload of very ugly hacks to make this combitation work
> with current...
> 
> As soon as the binutils crew releases something more official so that it
> could be added into the tree I'll be more than happy to send pr's for
> what I've got so far.

Sounds good to me.  If you manage to get it all together, there's a 
port leader hat here waiting for you...

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime. \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: ARM support

1999-11-09 Thread Doug Rabson

On Mon, 8 Nov 1999, Daniel C. Sobral wrote:

> "Stephane E. Potvin" wrote:
> > 
> > Unfortunately no. It uses a stripped down linux kernel as firmware.
> 
> In that case the source code is available, yes?
> 
> M... have you tried ext2fs?

Doesn't the netwinder support netbooting? If so, that is certainly the
best environment for kernel porting.

--
Doug Rabson Mail:  [EMAIL PROTECTED]
Nonlinear Systems Ltd.  Phone: +44 181 442 9037




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: ARM support

1999-11-08 Thread Mike Smith

> 
> Yes, loading from an ext2fs partition works fine. Well, I tried for the
> last 10 minutes to find a suitable way to tell in a manner that would not
> sounds religious that using ext2fs is not really an option to no avail.

Well, let's be practical.  Is there any alternative?  If the firmware 
insists on loading something from an ext2 filesystem, you don't have a 
lot of choice.  So write a tiny boot2 that lives in a tiny ext2 
filesystem, and knows how to find a FreeBSD filesystem and the loader. 
Then you can pretend that the ext2 filesystem isn't there. 8)

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime. \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



RE: ARM support

1999-11-08 Thread Stephane Potvin



> -Original Message-
> From: Daniel C. Sobral [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 08, 1999 10:24 AM
> To: Stephane Potvin
> Cc: [EMAIL PROTECTED]
> Subject: Re: ARM support
> 
> 
> Stephane Potvin wrote:
> > 
> > > M... have you tried ext2fs?
> > 
> > Yes, loading from an ext2fs partition works fine. Well, I tried for the
> > last 10 minutes to find a suitable way to tell in a manner that 
> would not
> > sounds religious that using ext2fs is not really an option to no avail.
> > I guess that my english skills are not that good :-)
> > Thanks for the suggestion though.
> 
> Hehhehe. :-)
> 
> See, the *only* thing you need on ext2fs is /boot/*. You create a
> fake root with fully-populated /boot on an ext2fs, and the real root
> (including the kernel) on another partition. Since *loader* groks
> ufs, you should be ok.
> 
> Actually, /kernel, /kernel.old may also reside on ext2fs, as they
> not used after being loaded by loader.
> 
> Anyway, as the end result, your system will be running fully ufs
> once booted. Special care will be needed when installing/upgrading
> boot stuff, but...

Amen. This will be far less complicated that what I had in mind originally.
Thanks for the tip. I'll keep you posted on the developments.

Steph

--
Stephane E. Potvin
InnoMediaLogic Inc. - http://www.multichassis.com/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: ARM support

1999-11-08 Thread Daniel C. Sobral

Stephane Potvin wrote:
> 
> > M... have you tried ext2fs?
> 
> Yes, loading from an ext2fs partition works fine. Well, I tried for the
> last 10 minutes to find a suitable way to tell in a manner that would not
> sounds religious that using ext2fs is not really an option to no avail.
> I guess that my english skills are not that good :-)
> Thanks for the suggestion though.

Hehhehe. :-)

See, the *only* thing you need on ext2fs is /boot/*. You create a
fake root with fully-populated /boot on an ext2fs, and the real root
(including the kernel) on another partition. Since *loader* groks
ufs, you should be ok.

Actually, /kernel, /kernel.old may also reside on ext2fs, as they
not used after being loaded by loader.

Anyway, as the end result, your system will be running fully ufs
once booted. Special care will be needed when installing/upgrading
boot stuff, but...

--
Daniel C. Sobral(8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]

What y'all wanna do?
Wanna be hackers? Code crackers? Slackers
Wastin' time with all the chatroom yakkers?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



RE: ARM support

1999-11-08 Thread Stephane Potvin



> -Original Message-
> From: Daniel C. Sobral [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 08, 1999 3:29 AM
> To: Stephane E. Potvin
> Cc: Mike Smith; [EMAIL PROTECTED]
> Subject: Re: ARM support
> 
> 
> "Stephane E. Potvin" wrote:
> > 
> > Unfortunately no. It uses a stripped down linux kernel as firmware.
> 
> In that case the source code is available, yes?

I guess so, I didn't tried really hard to find out. Call me lazy but
I didn't want to take the chance blowing up the existing firmware and
have to program a new one using jtag :)

> M... have you tried ext2fs?

Yes, loading from an ext2fs partition works fine. Well, I tried for the
last 10 minutes to find a suitable way to tell in a manner that would not
sounds religious that using ext2fs is not really an option to no avail.
I guess that my english skills are not that good :-)
Thanks for the suggestion though.

Steph

--
Stephane E. Potvin
InnoMediaLogic Inc. - http://www.multichassis.com/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: ARM support

1999-11-08 Thread Daniel C. Sobral

"Stephane E. Potvin" wrote:
> 
> Unfortunately no. It uses a stripped down linux kernel as firmware.

In that case the source code is available, yes?

M... have you tried ext2fs?

--
Daniel C. Sobral(8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]

What y'all wanna do?
Wanna be hackers? Code crackers? Slackers
Wastin' time with all the chatroom yakkers?




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: ARM support

1999-11-07 Thread Stephane E. Potvin

Mike Smith wrote:
> 
> > To whoever that may interest, I've now got a nearly working freebsd
> > loader for the NetWinder. It currently only uses the serial console and
> > miss internal hard driver support but work is underway for both these
> > issues.
> 
> Cool!  Does the NetWinder use OpenFirmware, or some other firmware
> interface?

Unfortunately no. It uses a stripped down linux kernel as firmware.
That's why I switched to work on the bootloader: the darn thing doesn't
seems to grok ufs right. It's bad because the disk/video support have to
be done from the ground up. Adding support to the Shark/acorn computers
will probably be a lot easier.

> > I'm making some progress too in getting world to compile but work in
> > this area is more slower as I've got no way to test what I compile and
> > I'm not that at ease with most of the code.
> 
> If you're interested in sharing your work, I have a DNA ('shark') here
> that was loaned to the Project for just this purpose.  I'd be really
> interested to see your cross-build bits integrated into our tree ASAP.

I'd really like this to happens too but right now I think that would be
near impossible. binutils 2.9.1 doesn't really support arm/elf so I'm
currently using a recent snapshot of binutils (2.9.5) with gcc 2.95.1.
I'm using a boatload of very ugly hacks to make this combitation work
with current...

As soon as the binutils crew releases something more official so that it
could be added into the tree I'll be more than happy to send pr's for
what I've got so far.

Steph

--
Stephane E. Potvin
InnoMediaLogic Inc. - http://www.multichassis.com/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: ARM support

1999-11-07 Thread Mike Smith

> To whoever that may interest, I've now got a nearly working freebsd
> loader for the NetWinder. It currently only uses the serial console and
> miss internal hard driver support but work is underway for both these
> issues.

Cool!  Does the NetWinder use OpenFirmware, or some other firmware 
interface?

> I'm making some progress too in getting world to compile but work in
> this area is more slower as I've got no way to test what I compile and
> I'm not that at ease with most of the code.

If you're interested in sharing your work, I have a DNA ('shark') here 
that was loaned to the Project for just this purpose.  I'd be really 
interested to see your cross-build bits integrated into our tree ASAP.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime. \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: ARM support

1999-11-07 Thread Doug Rabson

On Sun, 7 Nov 1999, Stephane E. Potvin wrote:

> To whoever that may interest, I've now got a nearly working freebsd
> loader for the NetWinder. It currently only uses the serial console and
> miss internal hard driver support but work is underway for both these
> issues.
> 
> I'm making some progress too in getting world to compile but work in
> this area is more slower as I've got no way to test what I compile and
> I'm not that at ease with most of the code.

Hey, good work! If you have any questions on porting the kernel, don't
hesitate to contact me. I also have a fair knowledge of ARM too, although
its a bit dated (the last ARM machine I owned was an ARM3).

--
Doug Rabson Mail:  [EMAIL PROTECTED]
Nonlinear Systems Ltd.  Phone: +44 181 442 9037




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



ARM support

1999-11-07 Thread Stephane E. Potvin

To whoever that may interest, I've now got a nearly working freebsd
loader for the NetWinder. It currently only uses the serial console and
miss internal hard driver support but work is underway for both these
issues.

I'm making some progress too in getting world to compile but work in
this area is more slower as I've got no way to test what I compile and
I'm not that at ease with most of the code.

--
Stephane E. Potvin
InnoMediaLogic Inc. - http://www.multichassis.com/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message