From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Thu, 05 Apr 2007 11:17:07 -0400 Subject: [U-Boot-Users] [PATCH dtc] Implement the -R option and add a -S option. In-Reply-To: References: <20070405020433.GA13891@dellserver.lan> Message-ID: <461512F3.3010704@smiths-aerospace.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Jon Loeliger wrote: > So, like, the other day Jerry Van Baren mumbled: >> Implement the -R option to add memory reserve slots. >> Add a -S option makes the blob at least this number of bytes. >> >> Signed-off-by: Gerald Van Baren > > Applied. > > Thanks, > jdl Thanks, Jon. That makes the new u-boot "fdt" command tremendously easier to use because you can now allocate extra space in the blob at compile time rather than having to reallocate space using the u-boot "fdt" command. Note to u-boot "fdt" command users: * Pull the latest dtc source from Jon's repo * When you compile your dts, use the new -S parameter to create some extra space (e.g. -S 0x2000). If you don't want to guess how big your current blob is, run a test compile with -S 1 - you will get a warning (don't use -q ;-) that will tell you how big your blob is. Re-run with a reasonable -S. * The -R to make extra mem reserve slots may be useful too. * Make sure you *don't* specify version 16 (some legacy recipes do that). The latest version is 17 and dtc now Does The Right Thing without needing the version specified. Do *not* use -V. Best regards, gvb