* Re: Problem with kernel loading in PPC IBM405 based board
2003-11-06 14:35 Problem with kernel loading in PPC IBM405 based board Rakesh jagota
@ 2003-06-11 15:13 ` Chris Zimman
[not found] ` <biw8rj87c7wqoht.120620031114@gda-server>
2003-11-07 3:36 ` Rakesh jagota
0 siblings, 2 replies; 5+ messages in thread
From: Chris Zimman @ 2003-06-11 15:13 UTC (permalink / raw)
To: Rakesh jagota; +Cc: linuxppc-embedded
On Thu, Nov 06, 2003 at 08:05:59PM +0530, Rakesh jagota wrote:
>
> Hi all,
> I am working on PPC IBM 405 based processor board. I have kernel from
> "montavista" 2.4.17-mv121 version. I have tried to put the vmlinux image in
> the "SDRAM" after doing the all initialization (in boot level).
>
> We are loading the vmlinux in SDRAM at 0x00020000. I am not able to see any
> debug message on the serial port. I am not sure about the kernel jump
> location. Is there any way to find out the exact location to load the kernel
> and jump to proper location.
You can't just boot vmlinux directly -- depending on which boot monitor you're
using (eg. OSOpen, PPC/UBoot) you need to be using a different kernel
image. If you're using OSOpen, you need zImage.treeboot. If you're
using PPCBoot/UBoot, you need pImage.
--Chris
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with kernel loading in PPC IBM405 based board
2003-11-07 3:36 ` Rakesh jagota
@ 2003-06-13 8:48 ` Marius Groeger
0 siblings, 0 replies; 5+ messages in thread
From: Marius Groeger @ 2003-06-13 8:48 UTC (permalink / raw)
To: Rakesh jagota; +Cc: linuxppc-embedded
On Fri, 7 Nov 2003, Rakesh jagota wrote:
^^^^^^^^^^
You really should fix your date settings or apply for a role on Star
Trek. :-)
> I am using openBios code, but i m not able to load the zImage.treeboot using
> tftp or serial port. I am directly loading the zImage.treeboot using JTAG
> (RISCWATCH). But I am not able to find out the exact loaction where we should
> load the image and then from where should be start running the kernel. I have
> seen the stext loaction (0xc0000000). Can you guide me exactly where should I
> load this image.
0xc0000000 is the virtual address where the _kernel_ is linked and supposed
to run after the MMU has been turned on.
The image you are trying to load is a preloader with a compressed kernel
image attached to it. The preloader is an ELF file that runs at an entirely
different address. It will uncompress and run the kernel (@ address 0x0).
To answer your question: the zImage is linked to 0x00400000 (check
arch/ppc/boot/simple/Makefile, LD_ARGS). The OpenBIOS can load ELF images,
so just use it. I don't recommend direct downloading with RISCWATCH,
although this may work.
Regards,
Marius
--
Marius Groeger <mgroeger@sysgo.de>
Software Engineering
SYSGO Real-Time Solutions AG | Embedded and Real-Time Software
Am Pfaffenstein 14
55270 Klein-Winternheim, Germany
Voice: +49-6136-9948-0 | FAX: +49-6136-9948-10
www.sysgo.de | www.elinos.com | www.osek.de
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with kernel loading in PPC IBM405 based board
[not found] ` <biw8rj87c7wqoht.120620031114@gda-server>
@ 2003-08-18 15:19 ` Frank Neuber
0 siblings, 0 replies; 5+ messages in thread
From: Frank Neuber @ 2003-08-18 15:19 UTC (permalink / raw)
To: Rakesh jagota; +Cc: linuxppc-embedded, Chris Zimman
On Fri, Nov 07, 2003 at 11:19:03AM +0530, Rakesh jagota wrote:
>
> hi
>
> i am using Openbios Bios code downloaded from IBM site. In the boot i have
> initialized sdram. i have downloaded the zImage.treeboot at 0x01000000 using
> JTAG (RISC Watch., since our ethernet in boot is not working ).
Does the Openbios code detect the ethernet adapter?
If not you should check if the GPIO and EBIU register settings are ok to
access the chip.
Frank
--
Dipl.-Ing. Frank Neuber http://www.kernelport.org
Kernelport fn@kernelport.org
Kavelweg 34 Tel/Fax: +49-3338 7010-65/66
16321 Schönow Mobil: +49-163 6683108
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Problem with kernel loading in PPC IBM405 based board
@ 2003-11-06 14:35 Rakesh jagota
2003-06-11 15:13 ` Chris Zimman
0 siblings, 1 reply; 5+ messages in thread
From: Rakesh jagota @ 2003-11-06 14:35 UTC (permalink / raw)
To: linuxppc-embedded
Hi all,
I am working on PPC IBM 405 based processor board. I have kernel from
"montavista" 2.4.17-mv121 version. I have tried to put the vmlinux image in
the "SDRAM" after doing the all initialization (in boot level).
We are loading the vmlinux in SDRAM at 0x00020000. I am not able to see any
debug message on the serial port. I am not sure about the kernel jump
location. Is there any way to find out the exact location to load the kernel
and jump to proper location.
Thanks & Regards,
Rakesh
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with kernel loading in PPC IBM405 based board
2003-06-11 15:13 ` Chris Zimman
[not found] ` <biw8rj87c7wqoht.120620031114@gda-server>
@ 2003-11-07 3:36 ` Rakesh jagota
2003-06-13 8:48 ` Marius Groeger
1 sibling, 1 reply; 5+ messages in thread
From: Rakesh jagota @ 2003-11-07 3:36 UTC (permalink / raw)
To: Chris Zimman; +Cc: linuxppc-embedded
Hi all,
I am using openBios code, but i m not able to load the zImage.treeboot using
tftp or serial port. I am directly loading the zImage.treeboot using JTAG
(RISCWATCH). But I am not able to find out the exact loaction where we should
load the image and then from where should be start running the kernel. I have
seen the stext loaction (0xc0000000). Can you guide me exactly where should I
load this image.
Thanks & Regards,
Rakesh
On Wednesday 11 June 2003 08:43 pm, Chris Zimman wrote:
> On Thu, Nov 06, 2003 at 08:05:59PM +0530, Rakesh jagota wrote:
> > Hi all,
> > I am working on PPC IBM 405 based processor board. I have kernel from
> > "montavista" 2.4.17-mv121 version. I have tried to put the vmlinux image
> > in the "SDRAM" after doing the all initialization (in boot level).
> >
> > We are loading the vmlinux in SDRAM at 0x00020000. I am not able to see
> > any debug message on the serial port. I am not sure about the kernel jump
> > location. Is there any way to find out the exact location to load the
> > kernel and jump to proper location.
>
> You can't just boot vmlinux directly -- depending on which boot monitor
> you're using (eg. OSOpen, PPC/UBoot) you need to be using a different
> kernel image. If you're using OSOpen, you need zImage.treeboot. If you're
> using PPCBoot/UBoot, you need pImage.
>
> --Chris
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-11-07 3:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-06 14:35 Problem with kernel loading in PPC IBM405 based board Rakesh jagota
2003-06-11 15:13 ` Chris Zimman
[not found] ` <biw8rj87c7wqoht.120620031114@gda-server>
2003-08-18 15:19 ` Frank Neuber
2003-11-07 3:36 ` Rakesh jagota
2003-06-13 8:48 ` Marius Groeger
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).