public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Victor Wren <vwren@timension.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: MPC5200 build
Date: Fri, 05 Dec 2003 12:29:27 -0800	[thread overview]
Message-ID: <3FD07A27.30117.5F1305@localhost> (raw)
In-Reply-To: <20031205003022.7A9F3C5F5F@atlas.denx.de>

> In message <3FCF4E36.29131.FBD698@localhost> you wrote:
> >
> > > ftp://ftp.denx.de/pub/LinuxPPC/usr/src/SELF/images/ppc_82xx/
> > 
> > D'oh!  That works!  I've got it booting BusyBox.  What threw me is I was 
> 
> Congrats :-)
> 
> > BSP tree.  Didn't think to look for ramdisk.  Next stop:  IDE.  It LOOKS like 
> > there is support for the internal IDE in the kernel config (MGT 5xxx?)...
> 
> In Linux? yes. But don't try enabling DMA (yet).

So far, it looks like it's working good (without DMA :-).  I've been able to 
mount an ext2 partition under a directory in the ramdisk.  One odd thing I've 
had is that I can't seem to use a compressed uImage since I added the IDE 
config.  If I gunzip the vmlinux.gz and use mkimage to create an uncompressed 
uImage, I can upload it to 100000, change kernel_addr to 100000, and run it 
just fine with flash_self (I have the initrd in flash at ff180000).

If I use the SAME vmlinux, and create a gzipped uImage, it starts to boot, 
then has a fatal error while trying to uncompress the image (this happened 
with the image that was created with "make uImage," which is why I started 
monkeying around to begin with.)  Oddly, though, the gzipped uImage file I 
made wasn't exactly the same size as the one "make uImage" made -- different 
gzip versions?  "mkimage -l" seems to like the image, so the header is okay.

I can't help but think that this has something to do with the size, since 
there's not much else that gunzip cares about.  The "stripped" uImage is 
670072 (0xA3978)  bytes compressed (I don't remember the uncompressed size, 
but I think it was about a meg and a half), and the IDE-enabled image is 
785281(0xBFB81) compressed, and 1887000 (0x1CCB18) uncompressed.

Could the gunzipper be running out of allocated space?  I certainly have 
enough flash to store an unzipped kernel image, but I don't like mysteries.  
On this processor, too, it takes only a split second to unzip the kernel, so 
boot speed isn't an issue.

In looking around for memory allocation defs, I did find a typo in 
cmd_bootm.c:
#if defined(CONFIG_MPC5XXXX)

Every other reference I've found refers to "CONFIG_MPC5XXX"

Thanks again!
Victor Wren

  reply	other threads:[~2003-12-05 20:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-14 19:09 [U-Boot-Users] Re: environment in flash not loaded Richard Klingler
2003-11-14 19:41 ` Nye Liu
2003-11-14 20:19   ` Wolfgang Denk
2003-11-14 22:02     ` Nye Liu
2003-11-20  2:10     ` 최광일
2003-11-20  8:12       ` Wolfgang Denk
2003-11-20 19:43         ` [U-Boot-Users] Help request, MPC5200 Lite -- i386 cross-compiling Victor Wren
2003-11-20 19:56           ` Nye Liu
2003-11-20 20:44           ` Wolfgang Denk
2003-11-26 18:34             ` [U-Boot-Users] Help request, MPC5200 Lite, Monitor Victor Wren
2003-11-26 22:41               ` Wolfgang Denk
2003-12-03 22:03           ` [U-Boot-Users] Re: MPC5200 Lowboot config Victor Wren
2003-12-03 22:47             ` Wolfgang Denk
2003-12-04  0:57               ` Victor Wren
2003-12-04  8:41                 ` Wolfgang Denk
2003-12-04 23:09                   ` [U-Boot-Users] Re: MPC5200 build Victor Wren
2003-12-05  0:30                     ` Wolfgang Denk
2003-12-05 20:29                       ` Victor Wren [this message]
2003-12-05 20:59                         ` Wolfgang Denk
     [not found] <3FD098FC.13110.D78349@localhost>
2003-12-05 22:48 ` Wolfgang Denk

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=3FD07A27.30117.5F1305@localhost \
    --to=vwren@timension.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