linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* .dtb file for mpc8641_hpcn failing on recent kernel/u-boot.
@ 2008-05-19 22:57 Gary Hannon
  2008-05-19 23:03 ` Kim Phillips
  0 siblings, 1 reply; 6+ messages in thread
From: Gary Hannon @ 2008-05-19 22:57 UTC (permalink / raw)
  To: linuxppc-dev


Hi,

I'm trying to boot a recent (2.6.25.4) kernel with 
a recent u-boot (1.3.3) and it's getting stuck very 
early in the boot.

I'm using

../dtc -I dts -O dtb mpc8641_hpcn.dts > mpc8641_hpcn.dtb

    in arch/powerpc/boot/dts/ to create the .dtb file.


=> boot
Speed: 100, full duplex
Using eTSEC1 device
TFTP from server 192.41.172.8; our IP address is 192.41.172.157
Filename 'pluto.uImage'.
Load address: 0x1000000
Loading: #################################################################
         #################################################################
         ###############################
done
Bytes transferred = 2352548 (23e5a4 hex)
Speed: 100, full duplex
Using eTSEC1 device
TFTP from server 192.41.172.8; our IP address is 192.41.172.157
Filename 'pluto.dtb'.
Load address: 0xc00000
Loading: #
done
Bytes transferred = 8722 (2212 hex)
## Booting kernel from Legacy Image at 01000000 ...
   Image Name:   Linux-2.6.25.4
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    2352484 Bytes =  2.2 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
WARNING: adjusting available memory to 10000000
## Flattened Device Tree blob at 00c00000
   Booting using the fdt blob at 0xc00000
   Loading Device Tree to 007fd000, end 007ff211 ... OK
WARNING: could not create /chosen FDT_ERR_NOSPACE.
ERROR: /chosen node create failed - must RESET the board to recover.

U-Boot 1.3.3 (May 19 2008 - 15:59:50)

Freescale PowerPC
CPU:
    Core: E600 Core 0, Version: 0.2, (0x80040202)
    System: Unknown, Version: 2.0, (0x80900120)
    Clocks: CPU:1000 MHz, MPX: 400 MHz, DDR: 200 MHz, LBC:  50 MHz
    L2: Enabled
Board: MPC8641HPCN

Results I get when booting are...

.
.
.
Continues in an infinite loop.

I've not changed anything in the kernel or u-boot source.

Do I need to add anything to u-boot's environment?
Am I using the .dtb file incorrectly?
Am I missing a flag on the dtc?

Thanks for any pointers,

Gary Hannon
CSPI
ghannon@cspi.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: .dtb file for mpc8641_hpcn failing on recent kernel/u-boot.
  2008-05-19 22:57 .dtb file for mpc8641_hpcn failing on recent kernel/u-boot Gary Hannon
@ 2008-05-19 23:03 ` Kim Phillips
  2008-05-20 16:35   ` Timur Tabi
  0 siblings, 1 reply; 6+ messages in thread
From: Kim Phillips @ 2008-05-19 23:03 UTC (permalink / raw)
  To: Gary Hannon; +Cc: linuxppc-dev

On Mon, 19 May 2008 22:57:29 +0000 (UTC)
Gary Hannon <ghannon@cspi.com> wrote:


> Am I missing a flag on the dtc?

try adding -R 8 -S 0x3000 to the dtc command line.

Kim

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: .dtb file for mpc8641_hpcn failing on recent kernel/u-boot.
@ 2008-05-20 13:41 ghannon
  0 siblings, 0 replies; 6+ messages in thread
From: ghannon @ 2008-05-20 13:41 UTC (permalink / raw)
  To: Kim Phillips; +Cc: linuxppc-dev


Thank-You Kim,

     That got me beyond where I was.

     It's now having problems with the SATA setup, but I will stare at
that for a while, and see if there is anything on the mailing list about
it.

     It actually made it past the PCI Scan which was one of the
key things I needed to see anyway.

Gary






Kim Phillips <kim.phillips@freescale.com> on 05/19/2008 06:03:37 PM

To:   Gary Hannon/CSP
cc:   linuxppc-dev@ozlabs.org
Subject:  Re: .dtb file for mpc8641_hpcn failing on recent kernel/u-boot.




On Mon, 19 May 2008 22:57:29 +0000 (UTC)
Gary Hannon <ghannon@cspi.com> wrote:


> Am I missing a flag on the dtc?

try adding -R 8 -S 0x3000 to the dtc command line.

Kim

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: .dtb file for mpc8641_hpcn failing on recent kernel/u-boot.
  2008-05-19 23:03 ` Kim Phillips
@ 2008-05-20 16:35   ` Timur Tabi
  2008-05-20 16:42     ` Scott Wood
  0 siblings, 1 reply; 6+ messages in thread
From: Timur Tabi @ 2008-05-20 16:35 UTC (permalink / raw)
  To: Kim Phillips, Jon Loeliger; +Cc: linuxppc-dev

Kim Phillips wrote:
> On Mon, 19 May 2008 22:57:29 +0000 (UTC)
> Gary Hannon <ghannon@cspi.com> wrote:
> 
> 
>> Am I missing a flag on the dtc?
> 
> try adding -R 8 -S 0x3000 to the dtc command line.

Maybe we should be making this the default for dtc?  After all, it's needed for
any modern U-boot.

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: .dtb file for mpc8641_hpcn failing on recent kernel/u-boot.
  2008-05-20 16:35   ` Timur Tabi
@ 2008-05-20 16:42     ` Scott Wood
  2008-05-20 16:43       ` Timur Tabi
  0 siblings, 1 reply; 6+ messages in thread
From: Scott Wood @ 2008-05-20 16:42 UTC (permalink / raw)
  To: Timur Tabi; +Cc: linuxppc-dev

Timur Tabi wrote:
> Kim Phillips wrote:
>> On Mon, 19 May 2008 22:57:29 +0000 (UTC)
>> Gary Hannon <ghannon@cspi.com> wrote:
>>
>>
>>> Am I missing a flag on the dtc?
>> try adding -R 8 -S 0x3000 to the dtc command line.
> 
> Maybe we should be making this the default for dtc?  After all, it's needed for
> any modern U-boot.

How about fixing u-boot's deficiencies in u-boot?  It knows better than 
dtc how much extra space it's going to need.

-Scott

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: .dtb file for mpc8641_hpcn failing on recent kernel/u-boot.
  2008-05-20 16:42     ` Scott Wood
@ 2008-05-20 16:43       ` Timur Tabi
  0 siblings, 0 replies; 6+ messages in thread
From: Timur Tabi @ 2008-05-20 16:43 UTC (permalink / raw)
  To: Scott Wood; +Cc: linuxppc-dev

Scott Wood wrote:

> How about fixing u-boot's deficiencies in u-boot?  It knows better than 
> dtc how much extra space it's going to need.

Then what's the point of the -R and -S options if U-boot doesn't really need them?

This sounds like another example of a bug in U-Boot that everyone knows about
but no one is fixing.

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-05-20 16:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-19 22:57 .dtb file for mpc8641_hpcn failing on recent kernel/u-boot Gary Hannon
2008-05-19 23:03 ` Kim Phillips
2008-05-20 16:35   ` Timur Tabi
2008-05-20 16:42     ` Scott Wood
2008-05-20 16:43       ` Timur Tabi
  -- strict thread matches above, loose matches on Subject: below --
2008-05-20 13:41 ghannon

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).