[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mipsel install failure in gxemul-ated decstation



David Goodenough wrote:
> On Wednesday 30 August 2006 13:15, Thiemo Seufer wrote:
> > Michel Lespinasse wrote:
> > [snip]
> >
> > > What happens is that t-rex builds an ecoff image, I suppose this is what
> > > the firmware on a real decstation would boot. However gxemul does not
> > > have any firmware, it only knows how to load an ELF file and get it
> > > started. Well supposedly it should also be able to load a binary file
> > > such as the initrd image, but for some reason I've been unable to figure
> > > out the glue to make that work. So what I need is the debian kernel +
> > > initrd image in a single ELF file.
> >
> > Maybe you can convert the initrd into a cpio archive and append it at
> > the kernel image. I heard this is supposed to work, I haven't tried it
> > myself.
> It works, BUT you must build this as part of the kernel build (in recent
> kernels only).  If you try to append it later then, due to what I think
> is a bug in objcopy, it fails.

I meant something like "cat initramfs.cpio >> kernel.img". I fail to see
where objdump comes into play there.


Thiemo



Reply to: