From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kumar Gala Date: Thu, 13 Dec 2007 10:34:15 -0600 Subject: [U-Boot-Users] libfdt problem when loading device tree In-Reply-To: <1197563083.8607.19.camel@gentoo-jocke.transmode.se> References: <1197563083.8607.19.camel@gentoo-jocke.transmode.se> Message-ID: <7295C709-91F2-4184-8C7F-9ED682B8232D@kernel.crashing.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Dec 13, 2007, at 10:24 AM, Joakim Tjernlund wrote: > I get this when I try to boot my board: > ## Booting image at 00200000 ... > Image Name: oskernel02a:p1a:99 > Created: 2007-12-13 9:59:43 UTC > Image Type: PowerPC Linux Kernel Image (gzip compressed) > Data Size: 1238992 Bytes = 1.2 MB > Load Address: 00000000 > Entry Point: 00000000 > Verifying Checksum ... OK > Uncompressing Kernel Image ... OK > Loading Device Tree to 007fe000, end 007ff6f9 ... OK > WARNING: could not create /bd_t FDT_ERR_NOSPACE. > fdt_bd_t: FDT_ERR_NOSPACE > ERROR: /bd_t node create failed - must RESET the board to recover. > Resetting the board. > > I have tried different combinations of -S and -R options to dtc, > but nothing helps: > dtc -S 2000 -R 2000 -f of-tmcu.dts -O asm > of-tmcu.S > > If I remove the chosen node from my dts file, I get the error when > libfdt tries to create a chosen node. > > I am using dtc 1.0.0 and u-boot 1.3.1 How big is the .dtb if you don't specify -S? The -R should only be something like 8. - k