linux-mips
[Top] [All Lists]

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

To: KokHow.Teh@infineon.com
Subject: Re: YAMON booting Linux kernels from malta board harddisk....
From: Elizabeth Oldham <beth@mips.com>
Date: Fri, 21 Sep 2007 12:00:02 +0100
Cc: linux-mips@linux-mips.org, Friedrich-Nachtmann.External@infineon.com, kurt@mips.com
In-reply-to: <31E09F73562D7A4D82119D7F6C1729860254C6D6@sinse303.ap.infineon.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>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Debian Thunderbird 1.0.2 (X11/20050331)
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>