On Mon, 2012-05-14 at 16:51 +0200, Peter Gavin wrote:
> On Mon, May 14, 2012 at 3:33 PM, Julius Baxter <[email protected]> wrote:

> > I recall you mentioning something about getting the no-delay-slot
> > stuff running Linux - is this true?
> 
> No, I don't think so.  This toolchain should compile it in delay-slot
> mode, however.

A nice little macro MAYBE_DELAY(inst, jumpinst) that puts the
instructions in the right order depending on arch/compile-flags should
do the trick here.  Then it's just a matter of replacing jumps and
branches in the kernel's asm source with this macro...

> 
> One thing that needs to be done is to remove the busybox binaries from
> the linux tree and replace them with a script to build the initramfs
> from scratch.

I keep these in the tree because it's so much easier than explaining to
people how to build an initramfs for their own use.  That said, they
don't belong there at all and they're not upstream.  I just figure that
people who know how to build their own initramfs will just ignore the
one in the tree...

/Jonas


_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to