linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* U-boot with flat device tree
@ 2007-03-14 21:42 Benedict, Michael
  2007-03-14 22:46 ` Kim Phillips
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Benedict, Michael @ 2007-03-14 21:42 UTC (permalink / raw)
  To: linuxppc-embedded

Hello,
	Sorry, I realize this was discussed a month ago: "device tree /
how to build/compile & use with u-boot to boot uImage?"  However, I
wasn't on the list at the time.  I read through it and I thought I
understood everything.

	I am trying to get an mpc8349e-mITX to boot a recent kernel.  I
have tried all permutations of:

dtc    - development snapshot "dtc-20060419.tar.gz" and recent git
sources
U-boot - 1.2.0, git sources from denx.de, and git sources from freescale
Kernel - 2.6.20.1, 2.6.20.2, and freescale git sources

Everytime I boot U-boot will tell me the kernel uncompress find and
then... Nothing.  I passed initcall_debug to the kernel and didn't get
anything printed to the serial console.  Note that if I do not specify
the flat device tree, the kernel progresses up to the point of mounting
root.  It can't mount root because it is an NFS root and the ethernet
drivers aren't working:

0:00 not found
eth0: Could not attach to PHY

Just as you would expect (since eth0 is defined in the dts).

Just to be sure I start be building the device tree, eg:
$ dtc -I dts -O dtb -f -V 16
linux/arch/powerpc/boot/dts/mpc8349emitx.dts -o mpc8349emitx.dtb

Then, from u-Boot, download the dtb and kernel and boot:

MPC8349E-mITX> tftp 01000000 mpc8349emitx.dtb
Speed: 100, full duplex
Using TSEC0 device
TFTP from server 10.100.10.74; our IP address is 10.100.10.83
Filename 'mpc8349emitx.dtb'.
Load address: 0x1000000
Loading: #
done
Bytes transferred =3D 3976 (f88 hex)
MPC8349E-mITX> tftp 01001000 uImage
Speed: 100, full duplex
Using TSEC0 device
TFTP from server 10.100.10.74; our IP address is 10.100.10.83
Filename 'uImage'.
Load address: 0x1001000
Loading:
#################################################################
=20
#################################################################
=20
#################################################################
=20
#################################################################
         #################################
done
Bytes transferred =3D 1499510 (16e176 hex)
MPC8349E-mITX> bootm 1001000 - 1000000
## Booting image at 01001000 ...
   Image Name:   Linux-2.6.21-rc3-gb5d99e64
   Created:      2007-03-12  19:28:43 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1499446 Bytes =3D  1.4 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
   Booting using flat device tree at 0x1000000



<stuck>

Any ideas?
	Thank you!
		Michael

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

end of thread, other threads:[~2007-03-16 16:07 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-14 21:42 U-boot with flat device tree Benedict, Michael
2007-03-14 22:46 ` Kim Phillips
     [not found]   ` <CF7E46FCFF66AD478BB72724345289EC27953F@twx-exch01.twacs.local>
     [not found]     ` <20070314180112.15492178.kim.phillips@freescale.com>
2007-03-14 23:42       ` Benedict, Michael
2007-03-15 15:41 ` Exception in kernel mode Charles Krinke
2007-03-15 15:52   ` Sergei Shtylyov
2007-03-15 18:19     ` Charles Krinke
2007-03-15 18:23       ` Sergei Shtylyov
2007-03-15 18:55         ` Charles Krinke
2007-03-15 19:28           ` Kumar Gala
2007-03-15 19:56             ` Charles Krinke
2007-03-15 21:17             ` Charles Krinke
2007-03-15 23:44               ` Kumar Gala
2007-03-16 14:45                 ` Charles Krinke
2007-03-16 15:33                   ` Kumar Gala
2007-03-16 16:05                     ` Charles Krinke
2007-03-15 23:50               ` u-boot+linux for ML403 board Leonid
2007-03-15 16:37 ` U-boot with flat device tree Jon Loeliger

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