From: Wolfgang Denk <wd@denx.de>
To: "Stuart Vivian" <stuartvivian@domo.co.uk>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Linux 2_4_devel kernel hangs after control transferred from u-boot
Date: Thu, 02 Oct 2003 15:43:40 +0200 [thread overview]
Message-ID: <20031002134345.71B61C59E4@atlas.denx.de> (raw)
In-Reply-To: Your message of "Thu, 02 Oct 2003 14:29:18 BST." <A4EB77D93A60F347A518AC05291647D9032E5E@domosvr1.domo.local>
In message <A4EB77D93A60F347A518AC05291647D9032E5E@domosvr1.domo.local> you wrote:
>
> I am trying to get a linux kernel to build and run on a Cogent CSB272
> (IBM PPC 405GP processor) running a U-boot 0.4.0 bootloader. I can tftp
> a uImage into ram and it passes check, but when I run bootm it
> uncompresses the kernel and hangs after it starts executing the kernel
> at address 0x00000000.
This is a FAQ. See
http://www.denx.de/twiki/bin/view/DULG/LinuxHangsAfterUncompressingKernel
> I was given a hardhat vmlinux elf file that I can package to a uImage
> and run (although it stops at the Calibrating Delay loop... Stage, but
Probably the same problem - bad parameters (clock frequencies) passed
to the kernel.
> that's another issue). I need to be able to recompile a kernel for the
> board and downloaded linuxppc_2_4_devel from mvista. This compiles fine
> and produces a new vmlinux. I've started off by using the walnut 405
> config file to build the kernel, since they're pretty similar.
Ummm... you better make sure it really matches your board. Similar is
not enough.
> Any ideas where to start debugging this? I'm relatively new in embedded
> stuff and linux in general, so it might be something simple, but don't
> know where to start. Have a BDI2000 but no gdb driver yet, so can't put
> in breakpoints etc.
??? Can't parse that.
You can use the BDI's telnet interface to set breakpoints, too. And
you don;t know any special "gdb driver", as any plain GDB will allow
you to connect to the BDI which "speaks" GDB remote protocol over the
network.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
"Why should we subsidize intellectual curiosity?" - Ronald Reagan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-10-02 13:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-02 13:29 Linux 2_4_devel kernel hangs after control transferred from u-boot Stuart Vivian
2003-10-02 13:43 ` Wolfgang Denk [this message]
2003-10-02 15:12 ` Matt Porter
2003-10-02 17:00 ` Dan Malek
2003-10-02 19:33 ` Matt Porter
2003-10-02 19:54 ` Dan Malek
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=20031002134345.71B61C59E4@atlas.denx.de \
--to=wd@denx.de \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=stuartvivian@domo.co.uk \
/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).