On Thu, Nov 22, 2001 at 07:04:13AM +1100, Simon Winwood wrote:
> On Wed, Nov 21, 2001 at 11:53:44AM -0700, Tom Rini wrote:
> > On Thu, Nov 22, 2001 at 05:44:37AM +1100, Simon Winwood wrote:
>
> [...]
>
> > >
> > >   After some slight hacking --- basically, I added
> > >
> > >   #include <asm/bootmem.h>
> > >
> > > and
> > >   avail_ram = 0x600000
> > >   end_avail = 0x800000
> >
> > Yeah, I noticed when I tried to compile it.
> >
> > >   The only problem is that you can only boot with an empty command line,
> > > otherwise it locks up after 'Now booting the kernel' (as far as I can 
> > > tell)
> >
> > Hmm..  How's this go?
> >
>
>       Nope ... added:
>
>       cp = cmd_line
>       timer = 0

D'oh... Thanks.

>       which was missing (and was causing various problems), however
> it freezes after 'Uncompressing kernel'.
>
> loaded at:     00500000 0058A900
> relocated to:  00400000 0048A900
> board data at: 00487830 00487870
> relocated to:  00200100 00200140
> zimage at:     00406000 0048648A
> avail ram:     00487000 08000000
>
>       avail ram is less than where the image is relocated to ... found the
> bug --- you need to use _end rather than __ramdisk_end as there is stuff after
> the ramdisk.

Yeah, I thought about that at first, but went with __ramdisk_end for
some reason.  Thanks alot!

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/



Reply via email to