linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: leeyang <leeyang@ycig.com>
To: Wolfgang Denk <wd@denx.de>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: linux booting
Date: Mon, 26 Aug 2002 20:40:16 +0800	[thread overview]
Message-ID: <000901c24cfd$de617140$0141b73d@leeyang> (raw)
In-Reply-To: 20020825183517.4C07711822@denx.denx.de


hi,WD
> There are some more hints at
> http://www.denx.de/doc/TQM8xxL/debugging.html

I have read it before,but only for module or application,
not for kernel and ppcboot,someone told me because of
ppcboot's relocation,so it is difficult in some externd.
Anyway it helps some:)

> > I want to watch r3,r4,r5,r6,r7 register when ppcboot transferring
> > to kernel.Could you tell me how to get that? thanks a lot!
>
> Start PPCBoot, setup bootargs etc., load  the  kernel  image.  Before
> finally typing the "bootm" command set a (hardware) breakpoint at the
> kernel entry point (= physical address 0x0000).
>
> When hitting the breakpoint, print the registers...

Yes,it works:),and I can check thoes regs when entering kernel.
and I am sure ppcboot handle correct value to kernel now.

the kernel can boot and I can see some in the console now.
I replaced the ppcboot.h in the 1.1.6 with one in old version
so I think it is still bdinfo problem.

However,new ones come:
kernel can not find init in the ramdisk!
the initrd had been tested in the old kernel and can mount fs
and entering system.so a little strange:(

the only reason I am wondering is the compiler!
the file in the initrd were compiled with HHL1.2 ppc compiler.
and the kernel was created with eldk.
Is that make sense?

leeyang


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

  reply	other threads:[~2002-08-26 12:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-23  9:11 linux booting leeyang
2002-08-23 14:23 ` Wolfgang Denk
2002-08-24  0:07   ` leeyang
2002-08-25 18:35     ` Wolfgang Denk
2002-08-26 12:40       ` leeyang [this message]
2002-08-26 15:12         ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2002-05-28  7:48 zhongqx
2002-05-28  8:23 ` 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='000901c24cfd$de617140$0141b73d@leeyang' \
    --to=leeyang@ycig.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=wd@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;
as well as URLs for NNTP newsgroup(s).