* mpc8349-mITX DTB load failure
@ 2008-07-28 16:10 Sparks, Sam
2008-07-28 17:16 ` Grant Likely
2008-07-28 18:30 ` Kim Phillips
0 siblings, 2 replies; 7+ messages in thread
From: Sparks, Sam @ 2008-07-28 16:10 UTC (permalink / raw)
To: linuxppc-dev
Hello All,
I am trying to boot the mpc8349-mITX board with Compact flash support,
and am unable to boot the Linux kernel. Here is the pertinant versioning
information:
DTC 1.2.0-rc2-g17773b0e
U-Boot 1.3.4-rc1-00012-g1953d12
Linux-2.6.26-05752-g93ded9b
I've built the DTB using the following two commands - neither change the
error I get during boot-up.
$ ../dtc/dtc -b 0 -I dts -O dtb -R 4 -S 0x3000 -o
/tftproot/ssparks/itx/cf2/itx.dtb -V 17
arch/powerpc/boot/dts/mpc8349emitx.dts
$ ../dtc/dtc -I dts -O dtb -o /tftproot/ssparks/itx/cf2/itx2.dtb
arch/powerpc/boot/dts/mpc8349emitx.dts
Can anyone shed any light onto what I am doing to cause the following
error? I haven't been able to find this error message in the mailing
list or by asking google...
## Booting kernel from Legacy Image at 01001000 ...
Image Name: Linux-2.6.26-05752-g93ded9b
Created: 2008-07-24 20:40:59 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1708661 Bytes =3D 1.6 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Flattened Device Tree blob at 01000000
Booting using the fdt blob at 0x1000000
Loading Device Tree to 007fb000, end 007ff526 ... OK
WARNING: could not create /chosen FDT_ERR_BADSTRUCTURE.
ERROR: /chosen node create failed - must RESET the board to recover.
Resetting the board.
Thanks for the help,
Sam
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mpc8349-mITX DTB load failure
2008-07-28 16:10 mpc8349-mITX DTB load failure Sparks, Sam
@ 2008-07-28 17:16 ` Grant Likely
2008-07-28 17:49 ` Sparks, Sam
2008-07-28 18:30 ` Kim Phillips
1 sibling, 1 reply; 7+ messages in thread
From: Grant Likely @ 2008-07-28 17:16 UTC (permalink / raw)
To: Sparks, Sam; +Cc: linuxppc-dev
On Mon, Jul 28, 2008 at 11:10:47AM -0500, Sparks, Sam wrote:
> Hello All,
>
> I am trying to boot the mpc8349-mITX board with Compact flash support,
> and am unable to boot the Linux kernel. Here is the pertinant versioning
> information:
> DTC 1.2.0-rc2-g17773b0e
> U-Boot 1.3.4-rc1-00012-g1953d12
> Linux-2.6.26-05752-g93ded9b
>
> I've built the DTB using the following two commands - neither change the
> error I get during boot-up.
> $ ../dtc/dtc -b 0 -I dts -O dtb -R 4 -S 0x3000 -o
> /tftproot/ssparks/itx/cf2/itx.dtb -V 17
> arch/powerpc/boot/dts/mpc8349emitx.dts
> $ ../dtc/dtc -I dts -O dtb -o /tftproot/ssparks/itx/cf2/itx2.dtb
> arch/powerpc/boot/dts/mpc8349emitx.dts
Try adding "-p 0x3000" to ensure that you get padding to the blob.
g.
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: mpc8349-mITX DTB load failure
2008-07-28 17:16 ` Grant Likely
@ 2008-07-28 17:49 ` Sparks, Sam
2008-07-28 18:02 ` Grant Likely
0 siblings, 1 reply; 7+ messages in thread
From: Sparks, Sam @ 2008-07-28 17:49 UTC (permalink / raw)
To: Grant Likely; +Cc: linuxppc-dev
> From: Grant Likely
> Sent: Monday, July 28, 2008 12:17 PM
>=20
> On Mon, Jul 28, 2008 at 11:10:47AM -0500, Sparks, Sam wrote:
> > Hello All,
> >=20
> > I am trying to boot the mpc8349-mITX board with Compact=20
> flash support,=20
> > and am unable to boot the Linux kernel. Here is the pertinant=20
> > versioning
> > information:
> > DTC 1.2.0-rc2-g17773b0e
> > U-Boot 1.3.4-rc1-00012-g1953d12
> > Linux-2.6.26-05752-g93ded9b
> >=20
> > I've built the DTB using the following two commands -=20
> neither change=20
> > the error I get during boot-up.
> > $ ../dtc/dtc -b 0 -I dts -O dtb -R 4 -S 0x3000 -o=20
> > /tftproot/ssparks/itx/cf2/itx.dtb -V 17=20
> > arch/powerpc/boot/dts/mpc8349emitx.dts
> > $ ../dtc/dtc -I dts -O dtb -o /tftproot/ssparks/itx/cf2/itx2.dtb
> > arch/powerpc/boot/dts/mpc8349emitx.dts
>=20
> Try adding "-p 0x3000" to ensure that you get padding to the blob.
>=20
> g.
>=20
No luck there, either. I ran into a issue with space a year ago, and was
getting the FDT_ERR_NOSPACE error until I added the -S 0x3000 option.
This looks like something completely different.
Thanks tho,
Sam
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mpc8349-mITX DTB load failure
2008-07-28 17:49 ` Sparks, Sam
@ 2008-07-28 18:02 ` Grant Likely
2008-07-28 18:16 ` Sparks, Sam
0 siblings, 1 reply; 7+ messages in thread
From: Grant Likely @ 2008-07-28 18:02 UTC (permalink / raw)
To: Sparks, Sam; +Cc: linuxppc-dev
On Mon, Jul 28, 2008 at 12:49:19PM -0500, Sparks, Sam wrote:
> No luck there, either. I ran into a issue with space a year ago, and was
> getting the FDT_ERR_NOSPACE error until I added the -S 0x3000 option.
> This looks like something completely different.
Does your dts source file already have a chosen node? There had been an
issue where u-boot cacks if chosen was pre-created.
g.
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: mpc8349-mITX DTB load failure
2008-07-28 18:02 ` Grant Likely
@ 2008-07-28 18:16 ` Sparks, Sam
0 siblings, 0 replies; 7+ messages in thread
From: Sparks, Sam @ 2008-07-28 18:16 UTC (permalink / raw)
To: Grant Likely; +Cc: linuxppc-dev
> From: Grant Likely
> Sent: Monday, July 28, 2008 1:03 PM
> Does your dts source file already have a chosen node? There=20
> had been an issue where u-boot cacks if chosen was pre-created.
Nope, there is no reference to "chosen" in the dts
--Sam
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mpc8349-mITX DTB load failure
2008-07-28 16:10 mpc8349-mITX DTB load failure Sparks, Sam
2008-07-28 17:16 ` Grant Likely
@ 2008-07-28 18:30 ` Kim Phillips
2008-07-28 19:22 ` Sparks, Sam
1 sibling, 1 reply; 7+ messages in thread
From: Kim Phillips @ 2008-07-28 18:30 UTC (permalink / raw)
To: Sparks, Sam; +Cc: linuxppc-dev
On Mon, 28 Jul 2008 11:10:47 -0500
"Sparks, Sam" <SSparks@aclaratech.com> wrote:
> ## Booting kernel from Legacy Image at 01001000 ...
> ## Flattened Device Tree blob at 01000000
so the dtb is being loaded only 0x1000 bytes from the kernel, yet it's
probably bigger than that. Can you try different load addresses,
preferably with the two images at least 0x3000 bytes apart?
Kim
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: mpc8349-mITX DTB load failure
2008-07-28 18:30 ` Kim Phillips
@ 2008-07-28 19:22 ` Sparks, Sam
0 siblings, 0 replies; 7+ messages in thread
From: Sparks, Sam @ 2008-07-28 19:22 UTC (permalink / raw)
To: Kim Phillips; +Cc: linuxppc-dev
> From: Kim Phillips
> Sent: Monday, July 28, 2008 1:31 PM
> > ## Booting kernel from Legacy Image at 01001000 ...
>=20
> > ## Flattened Device Tree blob at 01000000
>=20
> so the dtb is being loaded only 0x1000 bytes from the kernel,=20
> yet it's probably bigger than that. Can you try different=20
> load addresses, preferably with the two images at least=20
> 0x3000 bytes apart?
Ouch. Thanks for pointing that out, it worked. :-)
--Sam
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-07-28 19:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-28 16:10 mpc8349-mITX DTB load failure Sparks, Sam
2008-07-28 17:16 ` Grant Likely
2008-07-28 17:49 ` Sparks, Sam
2008-07-28 18:02 ` Grant Likely
2008-07-28 18:16 ` Sparks, Sam
2008-07-28 18:30 ` Kim Phillips
2008-07-28 19:22 ` Sparks, Sam
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).