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 11:17:01 +0100	[thread overview]
Message-ID: <46F39A1D.8090101@mips.com> (raw)
In-Reply-To: <31E09F73562D7A4D82119D7F6C1729860254C65D@sinse303.ap.infineon.com>

KokHow.Teh@infineon.com wrote:
> 	I need to load the mipsboot into /dev/hda1 that reads the
> configuration from /dev/hda1/boot and boots linux kernel from
> /dev/hda1/boot/*.

Can you leave a partition without a filesystem? The bootloader image 
needs to be dropped into a known position and written as a contiguous 
block...

For comparison the MIPS/TimeSys hard disk configuration:

-bash-3.1# fdisk -l

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

    Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1          20       10048+  83  Linux
/dev/hda2              21       15522     7813008   83  Linux
/dev/hda3           15523       31024     7813008   83  Linux
/dev/hda4           31025       71906    20604528    5  Extended
/dev/hda5           31025       31994      488848+  82  Linux swap
/dev/hda6           31995       47496     7812976+  83  Linux
/dev/hda7           47497       62998     7812976+  83  Linux
/dev/hda8           62999       63968      488848+  83  Linux
/dev/hda9           63969       64938      488848+  83  Linux

The first partition is reserved for the bootloader. It doesn't have to 
the first it was just convienent to me, it could be any, so if you can 
shuffle the partitions up slightly and have a couple of MBytes at the 
end perhaps?

> 	and /dev/hda1 is formatted as ext3 BOOT partition. Is it
> possible to do that?

The bootloader will cope with an ext3 filesystem.

Beth

  parent reply	other threads:[~2007-09-21 10:17 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 [this message]
2007-09-21 10:27       ` KokHow.Teh
2007-09-21 10:27         ` KokHow.Teh
2007-09-21 11:00         ` Elizabeth Oldham
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=46F39A1D.8090101@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