Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Elizabeth Oldham <beth@mips.com>
To: KokHow.Teh@infineon.com
Cc: linux-mips@linux-mips.org,
	Friedrich-Nachtmann.External@infineon.com, kurt@mips.com
Subject: Re: YAMON booting Linux kernels from malta board harddisk....
Date: Fri, 21 Sep 2007 12:00:02 +0100	[thread overview]
Message-ID: <46F3A432.4060903@mips.com> (raw)
In-Reply-To: <31E09F73562D7A4D82119D7F6C1729860254C6D6@sinse303.ap.infineon.com>

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

  parent reply	other threads:[~2007-09-21 11:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-21  8:18 YAMON booting Linux kernels from malta board harddisk KokHow.Teh
2007-09-21  8:18 ` KokHow.Teh
2007-09-21  9:37 ` Elizabeth Oldham
2007-09-21  9:51   ` KokHow.Teh
2007-09-21  9:51     ` KokHow.Teh
2007-09-21 10:17     ` Elizabeth Oldham
2007-09-21 10:27       ` KokHow.Teh
2007-09-21 10:27         ` KokHow.Teh
2007-09-21 11:00         ` Elizabeth Oldham [this message]
2007-09-21 11:20           ` KokHow.Teh
2007-09-21 11:20             ` KokHow.Teh
2007-09-21 11:42             ` Elizabeth Oldham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46F3A432.4060903@mips.com \
    --to=beth@mips.com \
    --cc=Friedrich-Nachtmann.External@infineon.com \
    --cc=KokHow.Teh@infineon.com \
    --cc=kurt@mips.com \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox