[U-Boot-Users] 'fdt set' doesn't work
Jerry Van Baren
gvb.uboot at gmail.com
Mon Apr 23 02:10:13 CEST 2007
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 $@ $^
More information about the U-Boot
mailing list