public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] powerpc: Fix bootm to boot up again with a Ramdisk
Date: Sat, 13 Sep 2008 02:03:27 +0200	[thread overview]
Message-ID: <20080913000327.E318324927@gemini.denx.de> (raw)
In-Reply-To: <48C8B68B.5050603@denx.de>

Dear Heiko Schocher,

In message <48C8B68B.5050603@denx.de> you wrote:
> Patch
> http://git.denx.de/?p=u-boot.git;a=commitdiff;h=2a1a2cb6e2b87ee550e6f27b647d23331dfd5e1b#patch3
> 
> didnt remove the dummy mem reservation in fdt_chosen, and
> this stopped Linux from booting with a Ramdisk. This patch
> fixes this, by deleting the useless dummy mem reservation.
> 
> When booting with a Ramdisk, a fix offset FDT_RAMDISK_OVERHEAD
> is now added to of_size, so we dont need anymore a dummy
> mem reservation.
> 
> I measured the value of FDT_RAMDISK_OVERHEAD on a MPC8270
> based system (=0x44 bytes) and rounded it up to 0x80).
> 
> Signed-off-by: Heiko Schocher <hs@denx.de>
> ---
>  common/cmd_fdt.c      |    3 ++-
>  common/fdt_support.c  |    4 +---
>  include/fdt.h         |    2 ++
>  include/fdt_support.h |    2 +-
>  lib_ppc/bootm.c       |    5 +++--
>  5 files changed, 9 insertions(+), 7 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
 The software required `Windows 95 or better', so I installed Linux.

      parent reply	other threads:[~2008-09-13  0:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-10  9:34 [U-Boot] [PATCH v2] powerpc: Fix bootm to boot up again with a Ramdisk Heiko Schocher
2008-09-10 20:30 ` Kumar Gala
2008-09-11  6:11   ` [U-Boot] [PATCH v3] " Heiko Schocher
2008-09-12 14:25     ` Kumar Gala
2008-09-13  0:03     ` Wolfgang Denk [this message]

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=20080913000327.E318324927@gemini.denx.de \
    --to=wd@denx.de \
    --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