Re: Please help me...
From: dony <hidden>
Date: 2000-01-01 01:58:44
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" <redacted> To: "Jeff Millar" <redacted>; "linuxppc-embed" [off-list ref] Sent: Friday, December 31, 1999 3:37 AM Subject: Re: Please help me...quoted
quoted
The zImage contains an uncompress program at the start. This programthenquoted
quoted
copies and uncompresses the kernel to another location in ram.quoted
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.cYes, 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 address0x100000quoted
on our own board (but not mbxboard) , and jump to 0x100000, It will automatically run the uncompress program to copy and decompress the kerneltoquoted
0x200000, then jump to 0x200000, the decompressed kernel will boot,right ?quoted
quoted
I'm not the expert, Dan is, but he's been teaching me. jeff ----- Original Message ----- From: "dony" <redacted> To: "Raphael Bossek" <redacted>; "BrendanSimon"quoted
quoted
[off-list ref]; "Dan Malek" [off-list ref]; "linuxppc-embed" [off-list ref] Sent: Thursday, December 30, 1999 9:29 PM Subject: Please help me...quoted
Hi, Now I am trying to embed linux onto our MPC860-based board. Ihavequoted
quoted
quoted
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 havecross-compiledquoted
quoted
quoted
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 RAMonquoted
quoted
quoted
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/