From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Fri, 21 Nov 2008 11:32:07 -0500 Subject: [U-Boot] U-boot resets when booting Linux kernel In-Reply-To: <28d526a60811210810q731e3ad0p8a21ec26ff181d50@mail.gmail.com> References: <28d526a60811200646m4495f30dic4e1b6edbc2cab3d@mail.gmail.com> <20081120152559.E5F41832E89D@gemini.denx.de> <28d526a60811200736x3c8b5fc0lcb4be405c690aeab@mail.gmail.com> <20081120165042.29B08832E89D@gemini.denx.de> <28d526a60811210810q731e3ad0p8a21ec26ff181d50@mail.gmail.com> Message-ID: <4926E287.2070305@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Simon Boman wrote: > 2008/11/20 Wolfgang Denk : >> Dear "Simon Boman", [snip] > > Thank you for your help, I find your example at your site > http://www.denx.de/wiki/DULG/DecodingUBootCrashDumps which was great! > > Now I have got find where the U-boot goes wrong: > > FDT_ERR_NOSPACE in the file: /libfdt/fdt_rw.c > > where the values is: > end: 007faff2 oldlen: 0 newlen: 16, fdt: 007fa000, totsize: 4096 > > Before fdt_splice is called the values is: > end: 007faff2 oldlen: 8 newlen: 8, fdt: 007fa000, totsize: 22219 > > Do you have any clue why it's missing 2 bytes for the fdt?? > > TIA > Simon Hi Simon, You probably need to use the dtc -p (pad) option when you build your fdt blob so that there is more space. The error message is indicating you are running out of space to add/modify the blob you are currently using. HTH, gvb