* [U-Boot-Users] 'fdt set' doesn't work
@ 2007-04-22 21:45 Timur Tabi
2007-04-23 0:10 ` Jerry Van Baren
0 siblings, 1 reply; 2+ messages in thread
From: Timur Tabi @ 2007-04-22 21:45 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] 'fdt set' doesn't work
2007-04-22 21:45 [U-Boot-Users] 'fdt set' doesn't work Timur Tabi
@ 2007-04-23 0:10 ` Jerry Van Baren
0 siblings, 0 replies; 2+ messages in thread
From: Jerry Van Baren @ 2007-04-23 0:10 UTC (permalink / raw)
To: u-boot
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 $@ $^
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-23 0:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-22 21:45 [U-Boot-Users] 'fdt set' doesn't work Timur Tabi
2007-04-23 0:10 ` Jerry Van Baren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox