linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: How to boot VME from HD?
  1999-06-08 15:10 How to boot VME from HD? Simone Piccardi
@ 1999-06-08 14:37 ` Gabriel Paubert
  0 siblings, 0 replies; 3+ messages in thread
From: Gabriel Paubert @ 1999-06-08 14:37 UTC (permalink / raw)
  To: Simone Piccardi; +Cc: linuxppc-dev




On Tue, 8 Jun 1999, Simone Piccardi wrote:

> Hi,
> I just got a new disk for our MVME2431 board. Up to now I was booting
> trough NFS using a kernel image and a root filesystem on a linux PC.
> Then I just copied all the files from the NFS root directory on the PC
> to the new disk, and after few adjustement (correction on fstab) I could
> have the root filesystem on the HD, uding it after boot.
> Now I would like to go further and boot directly from the HD, removing
> the needing of the PC; I looked into PPCBUG manual, finding the PBOOT
> command; but it require a bootable partition and a boot record, and I
> think that lilo did not work in these board, there is an equivalent
> tool? Or I can simply put the kernel image inside the NV Ram and start
> from there? 

You have to create a small primary (number 1-4) partition (say 5 Mb, only
needs to be larger than the zImage), give it type 0x41 and use the dd
command to copy the zImage to it.

For example my 0x41 type partition is /dev/sda3, and I type: 

	dd of=/dev/sda3 if=/usr/src/linux/arch/ppc/prepboot/zImage 

check twice before typing the return key since the wrong digit in the of0
parameter may make one of your partitions unusable (to solve this we would
need a MILO like loader, but I had no time to work on this, although
prepboot might be a good starting point). I have also considered the
possibility of booting from ROM (flash the kernel into the 4 or 8Mb of
PROM present on these boards), but not implemented it.

Also note that my FTP server is no more vcorr1.iram.es (150.214.224.201)
but vlab1.iram.es (150.214.224.210), so please upgrade your bookmarks.
I'm now up to 2.2.9 and the VME driver still has had some minor changes
(because the Raven/Falcon now are set up in a way which allows much
larger windows to the VME).

	Regards,
	Gabriel.


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* How to boot VME from HD?
@ 1999-06-08 15:10 Simone Piccardi
  1999-06-08 14:37 ` Gabriel Paubert
  0 siblings, 1 reply; 3+ messages in thread
From: Simone Piccardi @ 1999-06-08 15:10 UTC (permalink / raw)
  To: linuxppc-dev


Hi,
I just got a new disk for our MVME2431 board. Up to now I was booting
trough NFS using a kernel image and a root filesystem on a linux PC.
Then I just copied all the files from the NFS root directory on the PC
to the new disk, and after few adjustement (correction on fstab) I could
have the root filesystem on the HD, uding it after boot.
Now I would like to go further and boot directly from the HD, removing
the needing of the PC; I looked into PPCBUG manual, finding the PBOOT
command; but it require a bootable partition and a boot record, and I
think that lilo did not work in these board, there is an equivalent
tool? Or I can simply put the kernel image inside the NV Ram and start
from there? 
Ok, the problem is not serious, all the other things are working well; I
only would like to have a faster way to boot.
Bye
-- 
Simone Piccardi
Microsoft is NOT the answer. Microsoft is the Question.
The answer is: "NO!"

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to boot VME from HD?
@ 1999-06-15 14:14 Simone Piccardi
  0 siblings, 0 replies; 3+ messages in thread
From: Simone Piccardi @ 1999-06-15 14:14 UTC (permalink / raw)
  To: linuxppc-dev


Hi Gabriel,

today I tried to upgrade the system to 2.2.9 using your new patches, but
I had some problem when I tried to compile the kernel. I downloaded the
sources and then I applied the mvme2600.generic-patch-2.2.9 and
mvme2600.vme-patch-2.2.9.
At the make distclean command I get this error:
make[1]: Leaving directory `/usr/src/linux-2.2.9/arch/ppc/mbxboot'
make[1]: Entering directory `/usr/src/linux-2.2.9/arch/ppc/prepboot'
Makefile:74: .depend: No such file or directory
make[1]: *** No rule to make target `.depend'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.2.9/arch/ppc/prepboot'
make: *** [archclean] Error 2
I also copied also mvme2600.config.nfsroot as .config; make oldconfig
worked, but make dep gave me the same error:
make[1]: Entering directory `/usr/src/linux-2.2.9/arch/ppc/prepboot'
Makefile:74: .depend: No such file or directory
make[1]: *** No rule to make target `.depend'.  Stop.
make[1]: Leaving directory `
make: *** [archdep] Error 2
It seems that I'm missing the .depend file that does not have in the
/usr/src/linux-2.2.9/arch/ppc/prepboot directory, when I have it in the 
/usr/src/linux-2.2.6/arch/ppc/prepboot; can I use this last?

And just another question, more general; to install the system I started
from the rpm packages that I find in a LinuxPPC mirror site (they were a
pre-R5), but I had some problem with this "rough" installation: for
example I had to remove the Unix pty support otherwise I cannot login in
to the board using telnet. Now it seems impossible to use sockets to
communicate with other computer (a client program that is working
perfectly between two PC, o when stasted from the board, cannot connect
to the server on the board from an external computer). 

So there is a standard distribution to use for these board? or a
standard procedure to have a clean installation? And there is somewhere
an iso image for such a distribution (I would like to put everyting on a
CDrom)?

Bye (and thanks for the suggestion about the boot!) 

-- 
Simone Piccardi
Microsoft is NOT the answer. Microsoft is the Question.
The answer is: "NO!"
-- 
Simone Piccardi
Microsoft is NOT the answer. Microsoft is the Question.
The answer is: "NO!"

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-06-15 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-08 15:10 How to boot VME from HD? Simone Piccardi
1999-06-08 14:37 ` Gabriel Paubert
  -- strict thread matches above, loose matches on Subject: below --
1999-06-15 14:14 Simone Piccardi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).