linux-mips
[Top] [All Lists]

RE: YAMON booting Linux kernels from malta board harddisk....

To: <beth@mips.com>
Subject: RE: YAMON booting Linux kernels from malta board harddisk....
From: <KokHow.Teh@infineon.com>
Date: Fri, 21 Sep 2007 19:20:01 +0800
Cc: <linux-mips@linux-mips.org>, <Friedrich-Nachtmann.External@infineon.com>, <kurt@mips.com>
In-reply-to: <46F3A432.4060903@mips.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <31E09F73562D7A4D82119D7F6C1729860254C469@sinse303.ap.infineon.com> <46F390C5.402@mips.com> <31E09F73562D7A4D82119D7F6C1729860254C65D@sinse303.ap.infineon.com> <46F39A1D.8090101@mips.com> <31E09F73562D7A4D82119D7F6C1729860254C6D6@sinse303.ap.infineon.com> <46F3A432.4060903@mips.com>
Sender: linux-mips-bounce@linux-mips.org
Thread-index: Acf8PpcEx0b8aURnSRyoDPTzyQ660gAAqOqA
Thread-topic: YAMON booting Linux kernels from malta board harddisk....
Hi Beth
        My question was which partition to put the md.conf? Does it go
with the mb.bin or it can be put at any other partition?

Thanks & Regards,
KH 

-----Original Message-----
From: Elizabeth Oldham [mailto:beth@mips.com] 
Sent: Friday, September 21, 2007 7:00 PM
To: Teh Kok How (IFAP DC COM WL SD)
Cc: linux-mips@linux-mips.org; Nachtmann Friedrich (IFAP DC COM WL SD
External); kurt@mips.com
Subject: Re: YAMON booting Linux kernels from malta board harddisk....

KokHow.Teh@infineon.com wrote:

> /dev/hdd6          8323     10403   1048578+  83  Linux
>       So I `dd if=mb-0.3.bin of=/dev/hdd6 bs=1024 count=150` and hope
it 
> works. Now there are 2 questions:

It will be easier if you change fdisk's units to sectors, so it prints
the start of the partition for you. I get this from my set up:

Command (m for help): u
Changing display/entry units to sectors

Command (m for help): p

Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes

    Device Boot      Start         End      Blocks   Id  System
/dev/hda1              63       20159       10048+  83  Linux
/dev/hda2           20160    15646175     7813008   83  Linux
/dev/hda3        15646176    31272191     7813008   83  Linux
/dev/hda4        31272192    72481247    20604528    5  Extended
/dev/hda5        31272255    32249951      488848+  82  Linux swap
/dev/hda6        32250015    47875967     7812976+  83  Linux

So (I think, if there are no gotchas - it's a while since I played with
this stuff) the YAMON command would be:

YAMON> disk read hda 1ec18a0 ff 800d0000; go 800d0000

where 1ec18a0 is (32250015 + 1) in hex.

> (1)   where to put mb.conf?

As it stands the bootloader will look in /dev/hda2 if you are running BE
and /dev/hda3 if LE. For now just try getting MIPSboot to start :)

Beth

<Prev in Thread] Current Thread [Next in Thread>