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 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: gas pseudo-ops

1999-11-03 Thread Stephane Potvin



> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of John Polstra
> Sent: Wednesday, November 03, 1999 1:54 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: gas pseudo-ops
>
>
> In article <[EMAIL PROTECTED]>,
> Stephane E. Potvin <[EMAIL PROTECTED]> wrote:
> > Does anyone have any idea where I could find some documentation about
> > the following gas pseudo-ops?
> > .type ,@object
>
> There is a type associated with symbol in the object files.  It can be
> function (obvious), object (data), or other/unknown.  This pseudo-op
> sets the type of a given symbol.
>
> > .previous
>
> The assembler maintains a stack of sections.  Each time you change
> to a new section, it pushes the previous one onto the stack.  The
> ".previous" pseudo-op pops the stack and changes back to the previous
> section.
>
Thanks for the answer!

Do you think it would be possible to change the
.type ,@object
for
.type ,object
in gensetdef? By looking in the gas code I found that the assembler just
ignores the @ character.

The reason I ask this is because by default, the @ character is used by the
ARM assembler to represent
begin of comments. GCC/GAS could be hacked to avoid doing this but in the
long run I think it would be
easier just to remove the @ character.

If I remember correctly it could be changed to `#object' or `%object' too
but this could cause the same
problem as with the @ character for other assemblers.

P.S.: Sorry for the lack of diff, I'm currenty at work and don't have access
to the source code

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