From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1627 invoked by alias); 16 Sep 2003 02:55:03 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 1617 invoked from network); 16 Sep 2003 02:55:03 -0000 Received: from unknown (HELO hotmail.com) (65.54.171.20) by sources.redhat.com with SMTP; 16 Sep 2003 02:55:03 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 15 Sep 2003 19:55:02 -0700 Received: from 210.21.227.66 by by4fd.bay4.hotmail.msn.com with HTTP; Tue, 16 Sep 2003 02:55:02 GMT X-Originating-IP: [210.21.227.66] X-Originating-Email: [yuwp@msn.com] From: "yu weiping" To: ecos-discuss@sources.redhat.com Bcc: Date: Tue, 16 Sep 2003 02:55:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 16 Sep 2003 02:55:02.0452 (UTC) FILETIME=[ECB1BF40:01C37BFD] Subject: [ECOS] redboot porting X-SW-Source: 2003-09/txt/msg00270.txt.bz2 I'm trying to port redboot for ixdp425 to my custom board based on ixp425, but ixp425 seems halt every time when redboot trying to switch from boot address (0x000000000) to the actual flash runtime address. the code is: // value to load into pc to jump to real runtime address ldr r0, =1f // Setup EXP_CNFG0 value to switch EXP bus out of low memory ldr r2, =IXP425_EXP_CFG_BASE ldr r1, [r2, #IXP425_EXP_CNFG0] bic r1, r1, #EXP_CNFG0_MEM_MAP ldr r3, =0xFFFF ldr r4, =IXDP425_LED_DATA b icache_boundary .p2align 5 icache_boundary: // Here is where we switch from boot address (0x000000000) to the // actual flash runtime address. We align to cache boundary so we // execute from cache during the switchover. Cachelines are 8 words. str r1, [r2, #IXP425_EXP_CNFG0] // make the EXP bus switch I can light LED before the last code, but can't light LED after it. Plesae give me some advince. Thanks! yuwp _________________________________________________________________ ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£ http://www.hotmail.com -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss