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/
Hi,
Quoted 7 lines · Le mer, 13 fév 2002 17:30:32, [email protected] 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/
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 ! ! [email protected] ! www.caen.it/computing ! +--------------------------------------------------------+
Quoted 35 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of [email protected]
Sent: Wednesday, February 13, 2002 5:31 PM
To: [email protected]
Subject: MVME5100 booting from SCSI diskI'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?
Quoted 9 lines
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/