Skip to contentSkip to conversation

Flatten device tree & PPC linux

U-Boot Fundu 4 participants 5 messages Aug 14, 2008 – Aug 15, 2008

lore
Share & tools
lore

Fundu

author
#0 lore raw
Quoted 10 lines
Quoted 2 lines

i'm using a the taishan board u-boot 1.2.0 and

linux 2.4

Uh, OK. Those are both pretty darn old by now.....

Quoted 1 line

does u-boot-1.2.0 pass a flatten device tree to the

kernel ?

Maybe.

how do i make confirm this ?
TIA

#1 lore raw

[U-Boot] Flatten device tree & PPC linu

Quoted 4 lines · Fundu
Quoted 4 lines
Quoted 2 lines

i'm using a the taishan board u-boot 1.2.0 and

linux 2.4

Quoted 8 lines
Quoted 6 lines

Uh, OK. Those are both pretty darn old by now.....

Quoted 1 line

does u-boot-1.2.0 pass a flatten device tree to the

kernel ?

Maybe.

how do i make confirm this ?
TIA

I believe the 4xx boards were probably not using FDT back then. You can confirm by "help bootm" -- if it only takes the kernel addy and the optional ramdisk addy, then it is non-FDT.

But whether or not u-boot is FDT capable is pretty much moot point if you are on a v2.4.x kernel, as they don't use FDT.

P.

Quoted 9 lines

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

author
#2 lore raw

[U-Boot] Flatten device tree & PPC linu

Thanks for clearing that up.

One other question, if i update to u-boot 1.3.4 or whatever is the latest, can i configure so that i doesn't use FDT to boot kernel ?

TIA

Quoted 45 lines · Paul Gortmaker

From: Paul Gortmaker <[email protected]>
Subject: Re: [U-Boot] Flatten device tree & PPC linu
To: fundu_1999 at yahoo.com
Cc: u-boot at lists.denx.de
Date: Thursday, August 14, 2008, 6:35 PM

Quoted 2 lines · Fundu
Quoted 2 lines
Quoted 2 lines

i'm using a the taishan board u-boot

1.2.0 and

Quoted 3 lines
Quoted 3 lines

linux 2.4

Uh, OK. Those are both pretty darn old by

now.....

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

does u-boot-1.2.0 pass a flatten device tree

to the

Quoted 5 lines
Quoted 3 lines

kernel ?

Maybe.

how do i make confirm this ?
TIA

I believe the 4xx boards were probably not using FDT back then.
You can confirm by "help bootm" -- if it only takes the kernel
addy and the optional ramdisk addy, then it is non-FDT.

But whether or not u-boot is FDT capable is pretty much moot
point if you are on a v2.4.x kernel, as they don't use FDT.

P.

Quoted 9 lines

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

#3 lore raw

[U-Boot] Flatten device tree & PPC linu

Dear Fundu,

Quoted 3 lines · In message <[email protected]> you wrote:

Thanks for clearing that up.

One other question, if i update to u-boot 1.3.4 or whatever is the latest, can i configure so that i doesn't use FDT to boot kernel ?

You don't have to configure that - it just depoends on how you boot the Linux kenrel image - either you pass a device tree address (as the third argument to the bootm command), or you don't.

Best regards,

Wolfgang Denk

Signature · 5 lines
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 at denx.de
Research is what I'm doing when I don't know what I'm doing.
                                                 -- Wernher von Braun
#4 lore raw

[U-Boot] Flatten device tree & PPC linu

Quoted 10 lines · Wolfgang Denk

Dear Fundu,

Quoted 3 lines · In message <[email protected]> you wrote:

Thanks for clearing that up.

One other question, if i update to u-boot 1.3.4 or whatever is the latest, can i configure so that i doesn't use FDT to boot kernel ?

You don't have to configure that - it just depoends on how you boot the Linux kenrel image - either you pass a device tree address (as the third argument to the bootm command), or you don't.

True. But if your question was really "Can I have PowerPC board boot without a Device Tree?", then no, you can't unless you work really hard in the wrong direction. :-)

All PowerPC converted to using the Device Tree for booting over two years ago now.

jdl