All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Fix initrd length miscalculation in bootm command
Date: Tue, 20 Feb 2007 13:19:13 -0600	[thread overview]
Message-ID: <45DB49B1.3030505@freescale.com> (raw)
In-Reply-To: <20070220190645.23C2235363D@atlas.denx.de>

Wolfgang Denk wrote:
> In message <45DB2370.6090804@freescale.com> you wrote:
>> Also, I was wondering if 200000 is too low of a load address.  Doesn't the 
>> kernel lock that memory or something?
> 
> If you hve a big kernel, that's definitely too low.

I moved it to 400000, and now the kernel starts to boot, but it panics.

bootm $loadaddr
## Booting image at 00400000 ...
    Image Name:   Linux Multiboot-Image
    Created:      2007-02-20  17:28:04 UTC
    Image Type:   PowerPC Linux Multi-File Image (gzip compressed)
    Data Size:    20407878 Bytes = 19.5 MB
    Load Address: 00000000
    Entry Point:  00000000
    Contents:
    Image 0:  1416615 Bytes =  1.4 MB
    Image 1: 18987192 Bytes = 18.1 MB
    Image 2:     4054 Bytes =  4 kB
    Verifying Checksum ... OK
    Uncompressing Multi-File Image ... OK
    Loading Ramdisk to 0ed59000, end 0ff748b8 ... OK
    Loading Device Tree to 0ed56000, end 0ed56fd5 ... Using MPC834x ITX machine 
description
Linux version 2.6.20-gc2944612 (b04825 at ld0169-tx32) (gcc version 4.0.2) #1 Mon 
Feb 19 17:22:35 CST 2007
Found initrd at 0xced59000:0xcff748b8

[snip]

Kernel command line: root=/dev/ram rw console=ttyS0,115200

[snip]

md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Couldn't find valid RAM disk image starting at 0.
No filesystem could mount root, tried:  ext3 ext2 msdos vfat
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

Now here's something interesting.  The output from "Using MPC834x ITX machine 
description" and "PID hash table entries: 1024 (order: 10, 4096 bytes)" is 
actually displayed twice.  It's as if the kernel spontaneously reboot after 
display the PID line, and then on the second boot it continues as normal.  Is 
this what really happens, or is it some kind of early printk() funkiness?

BTW, the above happens with or without my patch.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

  reply	other threads:[~2007-02-20 19:19 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-05 19:39 [U-Boot-Users] [PATCH] Fix initrd length miscalculation in bootm command Timur Tabi
2007-02-06  0:43 ` Wolfgang Denk
2007-02-06 15:11   ` Timur Tabi
2007-02-06 17:07     ` Kumar Gala
2007-02-06 17:11       ` Timur Tabi
2007-02-06 17:14         ` Kumar Gala
2007-02-06 17:17           ` Timur Tabi
2007-02-19 23:51           ` Timur Tabi
2007-02-20 16:14             ` Kumar Gala
2007-02-20 16:36               ` Timur Tabi
2007-02-20 19:06                 ` Wolfgang Denk
2007-02-20 19:19                   ` Timur Tabi [this message]
2007-02-20 23:05                   ` Timur Tabi
2007-02-26 13:10                     ` Wolfgang Denk
2007-02-26 16:15                       ` Timur Tabi
2007-02-27 16:48                       ` Timur Tabi
2007-02-27 20:55                         ` Wolfgang Denk
2007-02-27 22:13                           ` Timur Tabi
2007-03-16 21:49                             ` Timur Tabi
2007-03-23 22:44                               ` Johns Daniel
2007-03-27 16:25                                 ` Johns Daniel
2007-03-27 16:30                                   ` Timur Tabi

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=45DB49B1.3030505@freescale.com \
    --to=timur@freescale.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.