public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Cory Tusar <ctusar@videon-central.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Problem uncompressing kernel image
Date: Fri, 25 Feb 2005 15:55:32 -0500	[thread overview]
Message-ID: <421F90C4.1030700@videon-central.com> (raw)
In-Reply-To: <20050225200752.C134DC1430@atlas.denx.de>

Wolfgang Denk wrote:
>>First, I start U-Boot from flash memory, located at 0xff800000. 
>>After it runs, I load the kernel multi-image to RAM, which is located
>>from
>>0x00000000 to 0x007fefff, at address 0x00600000.
> 
> 
> Do you really have less than 8 MB of RAM? You will have  hard  times
> of getting Linux to run...

Bollocks.

A 2.4 kernel + RAM disk will run nicely in 4 MB of RAM, you can cut that 
to 2 MB if you go the XIP route.  It's no "harder" than setting it up on 
a board with >= 8 MB, other than the fact that you need to be judicious 
about what's included in your kernel and image.

>>Using the 'imi 0x00600000'-command, i get the output:
>>
>>=> imi 0x00600000
> 
> 
> 0x00600000 = 6 MB... Try a higher load  address  (assuming  you  have
> enough RAM).

Not much higher he can go.  Assuming the exact same image, a base of 
0x006D0000 would put the end of the image at 0x007FE36E, just barely 
within limits.

>>What could be the problem?
>>I calculated the sizes and i am _nearly_ sure, that nothing is
>>overwritten.
> 
> 
> I'm not. Get more RAM.

How large is your uncompressed RAM disk image?  Trying to uncompress a 
16 MB image into 8 MB of RAM is a BadThing(tm)...

-Cory


-- 
Cory T. Tusar
Embedded Systems Engineer
Videon Central, Inc.
2171 Sandy Drive
State College, PA 16801
(814) 235-1111 x316
(814) 235-1118 fax

"Debugging is twice as hard as writing the code in the first place.
   Therefore, if you write the code as cleverly as possible, you are,
     by definition, not smart enough to debug it."  --Brian W. Kernighan

      reply	other threads:[~2005-02-25 20:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-24 15:18 [U-Boot-Users] Problem uncompressing kernel image "Häpe, Sebastian, HRD/AB"
2005-02-25 20:07 ` Wolfgang Denk
2005-02-25 20:55   ` Cory Tusar [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=421F90C4.1030700@videon-central.com \
    --to=ctusar@videon-central.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox