Device Tree
Hi,
im searching for informations about the flatten device trees. the only thing i know is, that the device tree is a kind of data-structure which the bios or bootloader gives to the operation system.
until now, i boot linux with uboot without a device tree, but newer kernel wants a devicetree, i think ?? i use a virtex4 board with an integrated powerpc
how can i create the device tree file ?
how must the linux kernel be configured ?
is there a good internet page with informations ?
thanks
regards
georg
Quoted 6 lines · Georg Schardt
Hi,
im searching for informations about the flatten device trees. the only thing i know is, that the device tree is a kind of data-structure which the bios or bootloader gives to the operation system.
Quoted 7 lines
until now, i boot linux with uboot without a device tree, but newer kernel wants a devicetree, i think ??
i use a virtex4 board with an integrated powerpchow can i create the device tree file ?
how must the linux kernel be configured ?
is there a good internet page with informations ?
In the kernel, look at Documentation/powerpc/booting-without-of.txt
You could also read the "A Symphony of Flavours: Using the device tree to describe embedded hardware" paper on page 27 of:
http://www.linuxsymposium.org/2008/ols-2008-Proceedings-V2.pdf
josh
Hi Georg,
Our git tree, git://git.xilinx.com, has support for the ML405 board which is a V4 board. The following wiki page, http://xilinx.wikidot.com,
shows how to generate a device tree for the kernel and other details you'll need.
The kernel from our git tree is configured for the device tree using the default kernel configuration.
The mainline kernel is now more up to date also as we got many of the changes into the mainline, but we are still working on some of the device drivers.
Thanks,
John
Quoted 2 lines
-----Original Message-----
From: [email protected]
[mailto:linuxppc-embedded-
Quoted 11 lines
[email protected]] On Behalf Of Georg Schardt
Sent: Tuesday, September 09, 2008 9:43 AM
To: [email protected]
Subject: Device Tree
=Hi,
=im searching for informations about the flatten device trees. the only thing i know is, that the device tree is a kind of data-structure
which
Quoted 15 lines
the bios or bootloader gives to the operation system. =
until now, i boot linux with uboot without a device tree, but newer kernel wants a devicetree, i think ??
i use a virtex4 board with an integrated powerpc
=how can i create the device tree file ?
how must the linux kernel be configured ?
is there a good internet page with informations ?
==
Quoted 7 lines
thanks
regards
georg
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
This email and any attachments are intended for the sole use of the named r= ecipient(s) and contain(s) confidential information that may be proprietary= , privileged or copyrighted under applicable law. If you are not the intend= ed recipient, do not read, copy, or forward this email message or any attac= hments. Delete this email message and any attachments immediately.
Hi John,
yes, i found the wiki link in another post of you. nice , thank you.
can you tell me how to generate the dts file in the EDK 10.2 ? i have read that the gen_mhs_devtree script is now integrated ? i see no menu-item or config option ?
regards
georg
Quoted 60 lines · John Linn
Hi Georg,
Our git tree,
git://git.xilinx.com, has support for the ML405 board which is a V4 board. The following wiki page, http://xilinx.wikidot.com,
shows how to generate a device tree for the kernel and other details you'll need.The kernel from our git tree is configured for the device tree using the default kernel configuration.
The mainline kernel is now more up to date also as we got many of the changes into the mainline, but we are still working on some of the device drivers.
Thanks,
JohnQuoted 3 lines
-----Original Message-----
From: [email protected][mailto:linuxppc-embedded-
Quoted 10 lines
[email protected]] On Behalf Of Georg Schardt
Sent: Tuesday, September 09, 2008 9:43 AM
To: [email protected]
Subject: Device TreeHi,
im searching for informations about the flatten device trees. the only thing i know is, that the device tree is a kind of data-structure
which
Quoted 11 lines
the bios or bootloader gives to the operation system.
until now, i boot linux with uboot without a device tree, but newer kernel wants a devicetree, i think ??
i use a virtex4 board with an integrated powerpchow can i create the device tree file ?
how must the linux kernel be configured ?
is there a good internet page with informations ?Quoted 8 lines
thanks
regards
georg
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embeddedThis email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
It is not integrated into the EDK, you need to pull it from our git tree and use it from the EDK.
-- John
Here's part of the wiki page.
Generating a Device Tree
The Linux kernel from the git tree has device tree files, ml507.dts and ml405.dts, in the arch/powerpc/boot/dts directory which are designed to work with the hardware reference designs available from this site. Users who have a Xilinx board, ML405 or ML507, should build the Linux kernel using the provided dts file to get a solid baseline before generating a new device tree file. After a baseline is established, the new dts files can be compared to the existing to verify any differences.
The page, Generating A Device Tree, has details on how to generate a device tree for the arch/powerpc Linux kernel.
Quoted 21 lines
-----Original Message-----
From: Georg Schardt [mailto:[email protected]]
Sent: Tuesday, September 09, 2008 12:19 PM
To: John Linn
Cc: [email protected]
Subject: Re: Device Tree
=Hi John,
=yes, i found the wiki link in another post of you. nice , thank you. can you tell me how to generate the dts file in the EDK 10.2 ? i have read that the
gen_mhs_devtreescript is now integrated ? i see no menu-item or config option ?
=regards
georg
=
Quoted 9 lines
=
=
Quoted 4 lines · John Linn
Hi Georg,
Our git tree,
git://git.xilinx.com, has support for the ML405 board which is a V4 board. The following wiki page,
Quoted 4 lines
Quoted 4 lines
shows how to generate a device tree for the kernel and other details you'll need.
The kernel from our git tree is configured for the device tree using
the
Quoted 3 lines
Quoted 3 lines
default kernel configuration.
The mainline kernel is now more up to date also as we got many of
the
Quoted 12 lines
Quoted 12 lines
changes into the mainline, but we are still working on some of the device drivers.
Thanks,
JohnQuoted 3 lines
-----Original Message-----
From: [email protected][mailto:linuxppc-embedded-
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
[email protected]] On Behalf Of Georg Schardt
Sent: Tuesday, September 09, 2008 9:43 AM
To: [email protected]
Subject: Device TreeHi,
im searching for informations about the flatten device trees. the
only
Quoted 25 lines
Quoted 25 lines
Quoted 2 lines
thing i know is, that the device tree is a kind of data-structure
which
Quoted 19 lines
the bios or bootloader gives to the operation system.
until now, i boot linux with uboot without a device tree, but newer kernel wants a devicetree, i think ??
i use a virtex4 board with an integrated powerpchow can i create the device tree file ?
how must the linux kernel be configured ?
is there a good internet page with informations ?thanks
regards
georg
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Quoted 1 line
Quoted 1 line
This email and any attachments are intended for the sole use of the
named recipient(s) and
Quoted 1 line
contain(s) confidential information that may be proprietary,
privileged or copyrighted under
Quoted 1 line
applicable law. If you are not the intended recipient, do not read,
copy, or forward this email
Quoted 1 line
message or any attachments. Delete this email message and any
attachments immediately.
Quoted 4 lines
Quoted 3 lines
=
This email and any attachments are intended for the sole use of the named r= ecipient(s) and contain(s) confidential information that may be proprietary= , privileged or copyrighted under applicable law. If you are not the intend= ed recipient, do not read, copy, or forward this email message or any attac= hments. Delete this email message and any attachments immediately.