linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MVME5100 booting from SCSI disk
@ 2002-02-13 16:30 ghannon
  2002-02-14  8:17 ` Xavier Grave
  2002-02-14  8:24 ` Stefano Coluccini
  0 siblings, 2 replies; 3+ messages in thread
From: ghannon @ 2002-02-13 16:30 UTC (permalink / raw)
  To: linuxppc-embedded


I'm trying to find documentation on getting a Motorola 5100 board to boot
from a
hard drive.    What I spefically am wondering is do I need a "boot loader",
or is that
built into the kernel?

I can build a kernel (2.4.11) which works and until now have been using a
ROMFS, built into
zImage.initrd.pplus.  I am currently able to netboot or boot from flash.

I am thinking I can rebuild this kernel root=/dev/sda7 and I should be able
to get it
to use the hard drive as /.  My question is can I just put that new kernel
on a
bootable partition on the hard drive and get PPCbug to boot from that
partition, or do I need
some form of a bootloader?  (yaboot, lilo, other)    I do realize I should
be able to
flash this kernel and then have the board boot from flash and use the drive
as /.
Is this the more common approach?

If there is a good write up on this I would be glad to read about it, I
just haven't found it yet.
I do have the PPCbug manuals.

Thanks,
Gary Hannon
CSPI


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: MVME5100 booting from SCSI disk
  2002-02-13 16:30 MVME5100 booting from SCSI disk ghannon
@ 2002-02-14  8:17 ` Xavier Grave
  2002-02-14  8:24 ` Stefano Coluccini
  1 sibling, 0 replies; 3+ messages in thread
From: Xavier Grave @ 2002-02-14  8:17 UTC (permalink / raw)
  To: ghannon; +Cc: linuxppc-embedded


Hi,

Le mer, 13 fév 2002 17:30:32, ghannon@cspi.com a écrit :
>
> I'm trying to find documentation on getting a Motorola 5100 board to boot
> from a
> hard drive.    What I spefically am wondering is do I need a "boot
> loader",
> or is that
> built into the kernel?

I have the same configuration. On my board I do a
pboot 10 60
to find the information (10 60) you need to do a ioi
You need to have a bootable prep partition (id 41 in fdisk)
Here is my disk partion
    Device Boot    Start       End    Blocks   Id  System
/dev/sda1             1         2      2032   41   PPC PReP Boot
/dev/sda2             3        21     19456   83  Linux
/dev/sda3            22       143    124928   82  Linux swap
/dev/sda4           144      8727   8790016    5  Extended
/dev/sda5           144      2096   1999856   83  Linux
/dev/sda6          2097      4049   1999856   83  Linux
/dev/sda7          4050      6002   1999856   83  Linux
/dev/sda8          6003      8727   2790384   83  Linux

You need to do a
dd if=zImage.initrd.pplus of=/dev/sda1
if you PPC PReP Boot partition is /dev/sda1

Hope it will help you.

O+ xavier
--
33 (0) 1 69 15 79 59
De chacun selon ses forces, a chacun selon ses besoins

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* RE: MVME5100 booting from SCSI disk
  2002-02-13 16:30 MVME5100 booting from SCSI disk ghannon
  2002-02-14  8:17 ` Xavier Grave
@ 2002-02-14  8:24 ` Stefano Coluccini
  1 sibling, 0 replies; 3+ messages in thread
From: Stefano Coluccini @ 2002-02-14  8:24 UTC (permalink / raw)
  To: ghannon, linuxppc-embedded


HI,
  I can confirm to you that booting from network and using a HD partition as
root filesystem works correctly. I haven't tried yet to boot from HD, but
I've read something interesting about this argument in the ppcbug manual at
the GEVBOOT command and the PBOOT command.

I hope this can help you.
Bye.

+--------------------------------------------------------+
! Stefano Coluccini         ! CAEN Engineering srl       !
! Via Vetraia, 11           ! 55049 Viareggio (LU)-ITALY !
! Tel. +39 0584 388 398     ! Fax +39 0584 388 959       !
! s.coluccini@caen.it       ! www.caen.it/computing      !
+--------------------------------------------------------+


> -----Original Message-----
> From: owner-linuxppc-embedded@lists.linuxppc.org
> [mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of
> ghannon@cspi.com
> Sent: Wednesday, February 13, 2002 5:31 PM
> To: linuxppc-embedded@lists.linuxppc.org
> Subject: MVME5100 booting from SCSI disk
>
>
>
> I'm trying to find documentation on getting a Motorola 5100 board to boot
> from a
> hard drive.    What I spefically am wondering is do I need a
> "boot loader",
> or is that
> built into the kernel?
>
> I can build a kernel (2.4.11) which works and until now have been using a
> ROMFS, built into
> zImage.initrd.pplus.  I am currently able to netboot or boot from flash.
>
> I am thinking I can rebuild this kernel root=/dev/sda7 and I
> should be able
> to get it
> to use the hard drive as /.  My question is can I just put that new kernel
> on a
> bootable partition on the hard drive and get PPCbug to boot from that
> partition, or do I need
> some form of a bootloader?  (yaboot, lilo, other)    I do realize I should
> be able to
> flash this kernel and then have the board boot from flash and use
> the drive
> as /.
> Is this the more common approach?
>
> If there is a good write up on this I would be glad to read about it, I
> just haven't found it yet.
> I do have the PPCbug manuals.
>
> Thanks,
> Gary Hannon
> CSPI
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2002-02-14  8:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-13 16:30 MVME5100 booting from SCSI disk ghannon
2002-02-14  8:17 ` Xavier Grave
2002-02-14  8:24 ` Stefano Coluccini

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).