[vmips] Hello. Can you please explain me how to boot the linux kernel?

Brian R.Gaeke brg at dgate.ORG
Sun Mar 27 22:54:18 CST 2005


Hi,

Booting the linux kernel is a bit of a black art... sometimes it works,
sometimes it does not.  You can see the vmipsdec script here:

	http://www.dgate.org/cgi-bin/cvsweb.cgi/vm/sample_code/xmboot/vmipsdec

Since the linux support is based on the DECstation 5000/200 linux
support, it requires (at minimum) that you turn on the decserial device 
and turn
off the spimconsole device. I'm unfortunately too busy to build a linux 
image
right now, but I might be able to do it in a couple of weeks.

Note that you might have better results by running catrom with the -b
option (catrom -b boot.rom vmlinux.ecoff bootvmlinuxecoff.rom)
and then when it tells you the load address, use that as the argument
to "vmips -o loadaddr".   If you use catrom -a, it will try to put the 
kernel
above ROM, and there might not be enough space for it up there.

Hope this helps.
-Brian

On Mar 27, 2005, at 7:55 PM, florin wrote:

> First, let me say that I find your project quite usefull. I am trying 
> to make it boot a linux kernel, so I can understand the processes 
> involved.
> I created a vmlinux.ecoff using the .config file patched in a previous 
> post.. I tried to stick boot.rom to vmlinux.ecoff using ./catrom 
> boot.rom vmlinux.ecoff linuxboot.rom
> By running the vmips linuxboot.rom, the emulator stops after the reset 
> message. In the last release there is no vmipsdec script, so I am not 
> sure what options did you used while booting..
> Could you please post a running rom image, and instructions about how 
> to build it?
> Thanks and keep up the good work..
> Florin
> _______________________________________________
> Vmips mailing list
> Vmips at dgate.ORG
> http://www.dgate.ORG/mailman/listinfo/vmips



More information about the Vmips mailing list