From: Scott Wood <scottwood@freescale.com>
To: Andres Marquez <amarquez@edgeaccess.net>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: Problem dtb file booting Kernel 2.6.32
Date: Thu, 14 Jan 2010 15:44:57 -0600 [thread overview]
Message-ID: <4B4F9059.9050705@freescale.com> (raw)
In-Reply-To: <1263501641.12055.9.camel@localhost.localdomain>
Andres F Marquez wrote:
> Hello,
>
> I am working on a MPC8265 board which I have successfully ported Linux
> Kernel 2.6.25 to. I am trying to upgrade the Kernel but have not got
> good results (I am able to compile the Kernel for my powerpc, but not to
> boot it). The problem appears to be something related to the interaction
> between the dtb and the Kernel. I am not sure if the syntax for the dts
> file may have changed from Kernel 2.6.25 to newer versions (I have tried
> 2.6.27.43 - 2.6.32.2 and 2.6.31.11 getting very similar results).
Can you bisect between 2.6.25 and 2.6.27 to see which commit may have
broken it?
What sort of changes did you make to get 2.6.25 to work?
> When I build the dtb file from the /arch/powerpc/boot/dts/MPC8272ADS.dts
> file that comes with the new Kernel, the booting process gets stuck
> after trying to load the device tree:
>
> ## Booting image at ff810000 ...
> Image Name: Linux-2.6.27.43
> Image Type: PowerPC Linux Kernel Image (gzip
> compressed)
> Data Size: 1365263 Bytes = 1.3 MB
> Load Address: 00000000
> Entry Point: 00000000
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
> Booting using the fdt at 0xff802000
> Loading Device Tree to 007fc000, end 007fefff ... OK
>
>
> However, when I boot the new Kernel with the old compiled dtb file
> (the one that works with the Kernel 2.6.25) the process moves forward
> but stops at a time when displaying information about IRQ 40 line
> (related to the Programmable Interrup Controller (PIC)):
Decompile that device tree blob using dtc -I dtb -O dts, and look for
differences.
-Scott
next prev parent reply other threads:[~2010-01-14 21:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-14 20:40 Problem dtb file booting Kernel 2.6.32 Andres F Marquez
2010-01-14 21:44 ` Scott Wood [this message]
2010-01-15 14:30 ` Andres F Marquez
2010-01-16 3:59 ` Hunter Cobbs
2010-01-18 20:56 ` Andres F Marquez
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=4B4F9059.9050705@freescale.com \
--to=scottwood@freescale.com \
--cc=amarquez@edgeaccess.net \
--cc=linuxppc-dev@lists.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.