From: Grant Likely Date: Sat, 16 Dec 2006 08:45:39 -0700 Subject: [U-Boot-Users] builtin OF tree dtb gone In-Reply-To: <005a01c72125$d407b550$1e67a8c0@Jocke> References: <005a01c72125$d407b550$1e67a8c0@Jocke> Message-ID: <528646bc0612160745y2932b5c8g5bc476bb58a9ab6e@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/16/06, Joakim Tjernlund wrote: > While trying out the latest u-boot from my board I noticed that > support for using a prebuilt OF tree compiled int u-boot is gone. > The oftree_dtb symbol is gone and I can't find a replacement. > > Why was it removed and is there a replacement? > > If there isn't a replacement I request that > one is added. It's been replaced with support in the bootm command for passing the .dtb New boot sequence: 1) load kernel into memory (or flash) 2) load initrd into memory (optional) 3) load .dtb into memory (optional) 4) bootm [initrdaddr] [dtbaddr] If a dtbaddr is provided; then the dtb is passed to the kernel. If it is not; then old style booting is used instead. If you don't have an initrd, but do have a .dtb; pass '-' as the initrdarrd. ie: tftp 200000 uImage tftp 400000 lite5200.dtb bootm 200000 - 400000 Cheers, g. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. grant.likely at secretlab.ca (403) 399-0195