From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Scharsig Date: Tue, 14 Dec 2010 20:38:27 +0100 Subject: [U-Boot] [ARM] start.s for 920t brocken? Message-ID: <4D07C7B3.6090201@scharsoft.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, is it possible that, start.s for arm920t is broken with relocation? I try make my board run with relocation and start from NOR Flash. start_code: /* * set the cpu to SVC32 mode */ mrs r0, cpsr bic r0, r0, #0x1f orr r0, r0, #0xd3 msr cpsr, r0 bl coloured_LED_init bl red_LED_on #if I found out, that the board crashes on calling coloured_LED_init. So I comment out "bl coloured_LED_init" and "bl red_LED_on" and the board boots. I think this both calls should be removed at this position or moved to a better place. At this early position the C environment and stack are not initialized !? Can anybody confirm this? Any suggestions or patches? Thanks Jens Scharsig