linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: "Albrecht Dreß" <albrecht.dress@arcor.de>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Compile new kernel for 5200B w/ ELDK
Date: Wed, 03 Sep 2008 07:18:18 +0200	[thread overview]
Message-ID: <20080903051818.BCA3F24815@gemini.denx.de> (raw)
In-Reply-To: <1220375903l.5712l.0l@antares>

Dear Albrecht,

In message <1220375903l.5712l.0l@antares> you wrote:
> 
> Thanks a lot for your hint, but unfortunately it doesn't solve my  
> problem:
> - downloaded 2.6.26.3 from kernel.org;
> - called "make ARCH=powerpc CROSS_COMPILE=ppc_6xx-  
> 52xx/lite5200b_defconfig";
> - called "make ARCH=powerpc CROSS_COMPILE=ppc_6xx- uImage".

Missing step: build the device tree blob.

> However, even with "console=ttyPSC0,115200 verbose panic=1" in the  
> bootargs, the kernel simply doesn't say /anything/ after decompression:
> 
> <snip>
> => bootm
> ## Booting kernel from Legacy Image at 01000000 ...
>     Image Name:   Linux-2.6.26.3
>     Created:      2008-09-02   9:11:12 UTC
>     Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>     Data Size:    1341904 Bytes =  1.3 MB
>     Load Address: 00000000
>     Entry Point:  00000000
>     Verifying Checksum ... OK
>     Uncompressing Kernel Image ... OK
> </snip>

The "bootm" command without arguments does just start the Linux kernel
image. In this form, it does NOT pass the device tree to the Linux
kernel. You must use

	=> bootm 01000000 - <dtb_addr>

instead (after downloading the DTB to the <dtb_addr> address).

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
A right is not what someone gives you; it's what no one can take from
you.                                                   - Ramsey Clark

  reply	other threads:[~2008-09-03  5:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-26 17:01 Compile new kernel for 5200B w/ ELDK Albrecht Dreß
2008-09-01 14:42 ` Detlev Zundel
2008-09-01 15:40   ` Rajasekaran Kaliyaperumal,  Chennai
2008-09-02 10:55     ` Detlev Zundel
2008-09-02 17:18   ` Albrecht Dreß
2008-09-03  5:18     ` Wolfgang Denk [this message]
2008-09-03 11:30     ` Albrecht Dreß
  -- strict thread matches above, loose matches on Subject: below --
2008-09-02 22:36 Laxmikant Rashinkar

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=20080903051818.BCA3F24815@gemini.denx.de \
    --to=wd@denx.de \
    --cc=albrecht.dress@arcor.de \
    --cc=linuxppc-embedded@ozlabs.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).