From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Fri, 4 Sep 2015 12:47:00 +0800 Subject: [U-Boot] [PATCH 5/5] nios2: relocate dtb for separated device tree In-Reply-To: References: <1441336526-23505-1-git-send-email-thomas@wytron.com.tw> <1441336526-23505-6-git-send-email-thomas@wytron.com.tw> Message-ID: <55E92244.1090905@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On 09/04/2015 12:09 PM, Simon Glass wrote: > Can you help me understand the relocation a bit? There is already code > in board_init_f() to relocate the device tree, and until > board_init_r(), BSS should not be used. What is different about NIOS? Thank you for the comment. I think the problem is in the current nios2 startup code start.S. The BSS is cleared before board_init_f(). I will rework the startup code to make use of the board_init code. Best regards, Thomas Chou