public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] qemu_mips: update doc to use all disk and boot	linux kernel
Date: Wed, 17 Dec 2008 23:20:58 +0900	[thread overview]
Message-ID: <49490ACA.4000107@ruby.dti.ne.jp> (raw)
In-Reply-To: <1229461831-3347-2-git-send-email-plagnioj@jcrosoft.com>

Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> ---
>  doc/README.qemu_mips |   37 ++++++++++++++++++++++++++++++++++++-
>  1 files changed, 36 insertions(+), 1 deletions(-)

Applied and pushed out, thanks.

One comment bellow.

> diff --git a/doc/README.qemu_mips b/doc/README.qemu_mips
> index 2fdd2b0..8fa4907 100644
> --- a/doc/README.qemu_mips
> +++ b/doc/README.qemu_mips
> @@ -17,12 +17,47 @@ create image:
>  start it:
>  # qemu-system-mips -M mips -pflash flash -monitor null -nographic
>  
> +Ide Disk
> +
> +# dd of=ide bs=1k cout=100k if=/dev/zero
> +
> +# sfdisk -C 261 -d ide
> +# partition table of ide
> +unit: sectors
> +
> +     ide1 : start=       63, size=    32067, Id=83
> +     ide2 : start=    32130, size=    32130, Id=83
> +     ide3 : start=    64260, size=  4128705, Id=83
> +     ide4 : start=        0, size=        0, Id= 0
> +
> +# Generate uImage
> +# tools/mkimage -A mips -O linux -T kernel -C gzip -a 0x80010000 -e 0x80245650 -n "Linux 2.6.24.y" -d vmlinux.bin.gz uImage
> +# Copy to Flash
> +# dd if=uImage bs=1k conv=notrunc seek=224 of=flash
> +# Copy to ide
> +# dd if=uImage bs=512 conv=notrunc seek=63 of=ide
> +
> +# Generate ext2 on part 2
> +# Attached as loop device ide offset = 32130 * 512
> +# losetup -o 16450560 -f ide
> +# Format as ext2 ( arg2 : nb blocks)
> +# mke2fs /dev/loop0 16065
> +# losetup -d /dev/loop0
> +# Mount and copy uImage and initrd.gz to it
> +# mount -o loop,offset=16450560 -t ext2 ide /mnt
> +# Umount it
> +# umount /mnt

Comments are difficult to distinguish from real commands here.  It might
be readable if we use another comment style, or another command prompt.

And again, thanks for your continued work to improve qemu "getting
started" guide.

  Shinya

  reply	other threads:[~2008-12-17 14:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-08 20:26 [U-Boot] [PATCH 1/1] qemu_mips: move env storage just after u-boot Jean-Christophe PLAGNIOL-VILLARD
2008-09-08 20:27 ` [U-Boot] [PATCH 1/1] qemu_mips: update doc to generate and to use qemu flash, ide file Jean-Christophe PLAGNIOL-VILLARD
2008-09-08 21:08   ` Wolfgang Denk
2008-12-07  8:51   ` Jean-Christophe PLAGNIOL-VILLARD
2008-12-09 15:02     ` Shinya Kuribayashi
2008-12-16 21:08       ` Jean-Christophe PLAGNIOL-VILLARD
2008-12-16 21:10         ` [U-Boot] [PATCH 1/2] qemu_mips: move env storage just after u-boot Jean-Christophe PLAGNIOL-VILLARD
2008-12-16 21:10           ` [U-Boot] [PATCH 2/2] qemu_mips: update doc to use all disk and boot linux kernel Jean-Christophe PLAGNIOL-VILLARD
2008-12-17 14:20             ` Shinya Kuribayashi [this message]
2008-12-17 14:20   ` [U-Boot] [PATCH 1/1] qemu_mips: update doc to generate and to use qemu flash, ide file Shinya Kuribayashi
2008-09-08 21:05 ` [U-Boot] [PATCH 1/1] qemu_mips: move env storage just after u-boot Wolfgang Denk
2008-09-08 21:32   ` [U-Boot] [PATCH V2] " Jean-Christophe PLAGNIOL-VILLARD
2008-09-09 13:56     ` Wolfgang Denk
2008-12-09 15:05     ` Shinya Kuribayashi

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=49490ACA.4000107@ruby.dti.ne.jp \
    --to=skuribay@ruby.dti.ne.jp \
    --cc=u-boot@lists.denx.de \
    /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