From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 01 Sep 2011 11:02:25 +0200 Subject: [U-Boot] Help: U-Boot on Nokia RX-51 (aka N900) In-Reply-To: <2265056.NfLL5Fdny9@pali-elitebook> References: <2265056.NfLL5Fdny9@pali-elitebook> Message-ID: <4E5F4A21.5010502@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/01/2011 10:42 AM, Pali Roh?r wrote: > Hello, > Hi Pali, > U-Boot patches which add support for Nokia RX-51 (aka N900) is here: > http://al.robotfuzz.com/~al/maemo/u-boot/ It is quite difficult to review patches in this way, considering you have already changed something to adapt to the currect release. I suggest you post your modified patches to ML. > > RX-51 has closed 2nd stage bootloader NOLO which can load kernel image from > nand (or usb) to ram and boot it. NOLO also done all HW initializations. These > U-Boot patches for RX-51 add support that builded U-Boot binary can be loaded > and booted by NOLO. So U-Boot will be 3rd bootloader. > > Patches are on top of revision bd2313078114c4b44c4a5ce149af43bcb7fc8854 and > working fine. I rebased these patches on top of u-boot git master repository, > but booting failed. No output on device. Using git bisect I found that problem > appeared at revision > > 561142af20f1fd7b425d9425730014e656defb91 > ARM: implement relocation for ARM V7 (OMAP) > > If I defined CONFIG_SYS_ARM_WITHOUT_RELOC U-Boot working and booting fine up to > revision a9aa3926295df759306258e5e24cace414f53b67 > > So problem is that relocation patches broke RX-51 support. Well, it does mean that the RX51 was not adapted for the relocation... You should take care that the initial stackpointer (check for CONFIG_SYS_INIT_SP_ADDR) is set to a a range into RAM (or internal RAM, if any) and it is not overwritten by other parts (where is your TEXT code ?). Move all first initialization into board_early_init_f, if any. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================