linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: dony <dony.he@huawei.com.cn>
To: Jeff Millar <jeff@wa1hco.mv.com>,
	linuxppc-embed <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Please help me...
Date: Sat, 01 Jan 2000 09:58:44 +0800	[thread overview]
Message-ID: <386D5F54.8878ED25@huawei.com.cn> (raw)
In-Reply-To: 000c01bf5086$3e358d80$0201a8c0@home


Jeff Millar wrote:

> The zimage arrives at 00200000 and you start it there.  I think it copies
> itself to 00100000 but never looked. The idea is to position the zImage
> in ram low enough to use the first 16M but above the uncompressed kernel and
> its data structure ( from 0M and up)  Putting the zImage at 00200000 is
> a good compromise.
>

In  my case, If I try to download zImage at 0x00200000, it will fail to
download.
I don't know why. but If I download zImage at 0x00100000, it will download
successfully but can not run... It is so strange. Can you share me with some of
your experience?
Thanks.

>
> BTW, the zImage is relocatable and can be loaded anywhere.
> I just learned to copy it to FLASH with a built in debugger
> program and start it there.  This makes the board boot
> automatically without the tftp download.

How can I copy it to Flash?



>
>
> ----- Original Message -----
> From: "dony" <dony.he@huawei.com.cn>
> To: "Jeff Millar" <jeff@wa1hco.mv.com>; "linuxppc-embed"
> <linuxppc-embedded@lists.linuxppc.org>
> Sent: Friday, December 31, 1999 3:37 AM
> Subject: Re: Please help me...
>
> > > The zImage contains an uncompress program at the start.  This program
> then
> > > copies and uncompresses the kernel to another location in ram.
> >
> > > If your
> > > using the kernel from Dan at
> > >
> > >     ftp://linuxppc.cs.nmt.edu/pub/linuxppc/embedded/
> > >
> > > Then use the debugger to start it at 0x00200000.  Refer to the code in
> > > arch/ppc/mbxboot/misc.c
> >
> > Yes, I use the mpc8xx.2.2.13.tgz to compile the kernel "zImage".
> > Do you mean that when I download the kernel "zImage" to RAM address
> 0x100000
> > on our own board (but not mbxboard) , and jump to 0x100000, It will
> > automatically run the uncompress program to copy and decompress the kernel
> to
> > 0x200000, then  jump to 0x200000, the decompressed kernel will boot,
> right  ?
> >
> >
> >
> > >
> > >
> > > I'm not the expert, Dan is, but he's been teaching me.
> > >
> > > jeff
> > > ----- Original Message -----
> > > From: "dony" <dony.he@huawei.com.cn>
> > > To: "Raphael Bossek" <raphael.bossek@solutions4linux.de>; "Brendan
> Simon"
> > > <bsimon@ctam.com.au>; "Dan Malek" <dan@netx4.com>; "linuxppc-embed"
> > > <linuxppc-embedded@lists.linuxppc.org>
> > > Sent: Thursday, December 30, 1999 9:29 PM
> > > Subject: Please help me...
> > >
> > > >
> > > > Hi,
> > > >       Now I am trying to embed linux onto our MPC860-based board. I
> have
> > > > some questions which may be solved by you embed-linux gurus....
> > > >      What I want to do  is the following:
> > > >     1     Initialize the MPC860 CPU , memory, serial port, enet port .
> > > >     2    Download  the linux powerpc kernel (which I have
> cross-compiled
> > > > on my X86 box)
> > > >            from the TFTP server to RAM on board.
> > > >     3    run the kernel.
> > > > Now the 1 and 2 step work well, but when I download the kernel to RAM
> on
> > > > board, It just cannot run.Do you know why? How can I programme to make
> > > > it run? Since the kernel is a compressed image (zvmlinux), need I make
> > > > some codes to decompress it and then run it? if so, how to do it?
> > > >  Thank you very much :-))
> > > >  Merry christmas & happy year.
> > > >
> > > > dony
> > > >
> > > >
> >
> >

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

  parent reply	other threads:[~2000-01-01  1:58 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-31  2:29 Please help me dony
1999-12-27  8:42 ` Raphael Bossek
2000-01-02  7:23   ` dony
1999-12-30  2:11 ` Brendan J Simon
     [not found]   ` <38701F3A.FAD6263E@huawei.com.cn>
1999-12-30  4:23     ` Brendan J Simon
     [not found]       ` <38704D0B.94438516@huawei.com.cn>
1999-12-30  6:46         ` Brendan J Simon
1999-12-30 13:25           ` Charles Lepple
2000-01-03 11:48           ` Cannot booting the kernel dony
2000-01-04  0:46             ` Brendan J Simon
     [not found]               ` <38715DAE.B6CBC772@huawei.com.cn>
     [not found]                 ` <3871572F.FA4E7842@ctam.com.au>
     [not found]                   ` <38717C52.ECF1AFFD@huawei.com.cn>
     [not found]                     ` <3871953B.345DDA23@ctam.com.au>
     [not found]                       ` <38754F28.B6B4CE70@huawei.com.cn>
     [not found]                         ` <38754419.20D95C5A@ctam.com.au>
     [not found]                           ` <3876A6E5.3488738B@huawei.com.cn>
     [not found]                             ` <3876C6FD.794BD1BF@ctam.com.au>
     [not found]                               ` <387A87DF.4ED23CA6@huawei.com.cn>
     [not found]                                 ` <387A81F3.702B29A2@ctam.com.au>
     [not found]                                   ` <387C4D8D.9C058F1C@huawei.com.cn>
     [not found]                                     ` <387D3212.A4E9904F@ctam.com.au>
2000-01-13  7:10                                       ` Cross-compile Applications for 860 on x86 dony
2000-01-13 22:09                                         ` Brendan J Simon
     [not found]                                       ` <387DAFAF.DB0096C7@huawei.com.cn>
     [not found]                                         ` <387E460F.B007CE56@ctam.com.au>
     [not found]                                           ` <387E7F82.99AF83CE@huawei.com.cn>
     [not found]                                             ` <387E7AF5.A92A6122@ctam.com.au>
     [not found]                                               ` <387E9927.48689C08@huawei.com.cn>
     [not found]                                                 ` <387EBEB9.B69B1680@ctam.com.au>
2000-01-14  8:31                                                   ` dony
2000-01-14 11:01                                                     ` Wolfgang Denk
     [not found]                                                       ` <387F0D81.48F7CABE@iname.com>
2000-01-14 17:13                                                         ` Wolfgang Denk
     [not found]                                                         ` <38827CD5.D7A44261@huawei.com.cn>
2000-01-17  3:56                                                           ` Jim Lewis
2000-01-17  3:26                                                             ` dony
2000-01-17  4:35                                                               ` Jim Lewis
2000-01-16  2:01                                                     ` Brendan J Simon
     [not found]                                                       ` <388ABF55.5BD3A031@eng.uct.ac.za>
     [not found]                                                         ` <388B9C86.8970590A@ctam.com.au>
     [not found]                                                           ` <388BA902.B41A2E11@huawei.com.cn>
2000-01-24  3:00                                                             ` Cross-compile dynamic apps for mpc860 on ix86 Brendan J Simon
2000-01-24  5:03                                                               ` Wolfgang Denk
2000-01-24  6:46                                                               ` dony
2000-01-24  8:02                                                                 ` Wolfgang Denk
     [not found] ` <000401bf5016$4757c420$0201a8c0@home>
1999-12-31  8:37   ` Please help me dony
     [not found]     ` <000c01bf5086$3e358d80$0201a8c0@home>
2000-01-01  1:58       ` dony [this message]
     [not found]         ` <001801bf50e1$6d3ad8a0$0201a8c0@home>
2000-01-01  8:46           ` dony
1999-12-31  8:40   ` dony

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=386D5F54.8878ED25@huawei.com.cn \
    --to=dony.he@huawei.com.cn \
    --cc=jeff@wa1hco.mv.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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;
as well as URLs for NNTP newsgroup(s).