From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Sun, 22 Apr 2007 20:10:13 -0400 Subject: [U-Boot-Users] 'fdt set' doesn't work In-Reply-To: <462BD773.5020607@freescale.com> References: <462BD773.5020607@freescale.com> Message-ID: <462BF965.1010507@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 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 parameter and you will also want to add reserve map entries with the -R 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 $@ $^