From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Wed, 09 Jan 2008 14:55:04 -0500 Subject: [U-Boot-Users] How to define CONFIG_OF_FLAT_TREE? In-Reply-To: <315404.22644.qm@web15105.mail.cnb.yahoo.com> References: <315404.22644.qm@web15105.mail.cnb.yahoo.com> Message-ID: <47852698.50708@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de jie han wrote: > I define CONFIG_OF_FLAT_TREE support under u-boot.I just want to know > how can I get/set the third address(the address of the device-tree blob) > that we will use at bootm command?Thanks ahead, > > Sincerely, > Jie Hi Jie, Board and processor are??? U-boot version is??? You most likely want to define CONFIG_OF_LIBFDT, CONFIG_OF_FLAT_TREE is deprecated. I'm presuming you are using a recent u-boot (preferably tip-o-tree). The device tree blob will be where you load it. :-) TFTP is a convenient method... Your question could be interpreted that you don't have a blob to load. If not, you need to generate a blob using a FDT source file (.dts) that describes your hardware and compiled it with "dtc". Example FDT sources and the device tree compiler itself are now part of the linux kernel sources. Good luck, gvb