public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] 'fdt set' doesn't work
Date: Sun, 22 Apr 2007 20:10:13 -0400	[thread overview]
Message-ID: <462BF965.1010507@gmail.com> (raw)
In-Reply-To: <462BD773.5020607@freescale.com>

Timur Tabi wrote:
> What am I missing?
> 
> => fdt list /qe at e0100000  brg-frequency
> brg-frequency=<00000000>
> => fdt set /qe at e0100000  brg-frequency 0bcd3d80
> libfdt FDT_ERR_NOSPACE

Space.  But you already knew that. ;-)

Use the latest version of "dtc" with the -S <space> parameter and you 
will also want to add reserve map entries with the -R <n> parameter or 
bootm will fail when it tries to add the initrd memory region to the 
reserved map.

This following makefile works well for me (WARNING: it is whitespace 
damaged because I cut & pasted it - replace the spaces with tabs or make 
will barf).

Best regards,
gvb

#
# Make device tree blobs
#

src = $(wildcard *.dts)
out = $(src:.dts=.dtb)
asm = $(src:.dts=.dtb)

QUIET   = #-q
RESERVE = -R 4
SIZE    = -S 0x3000

all: $(out)

%.dtb : %.dts
         dtc $(QUIET) $(RESERVE) $(SIZE) -b 0 -O dtb -f -o $@ $^

%.asm : %.dts
         dtc $(QUIET) $(RESERVE) $(SIZE) -b 0 -O asm -f -o $@ $^

      reply	other threads:[~2007-04-23  0:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-22 21:45 [U-Boot-Users] 'fdt set' doesn't work Timur Tabi
2007-04-23  0:10 ` Jerry Van Baren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=462BF965.1010507@gmail.com \
    --to=gvb.uboot@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox