From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3258 invoked by alias); 18 May 2005 20:54:26 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 2792 invoked from network); 18 May 2005 20:54:04 -0000 Received: from unknown (HELO web60215.mail.yahoo.com) (209.73.178.118) by sourceware.org with SMTP; 18 May 2005 20:54:04 -0000 Received: (qmail 36949 invoked by uid 60001); 18 May 2005 20:54:04 -0000 Message-ID: <20050518205404.36947.qmail@web60215.mail.yahoo.com> Received: from [128.158.218.46] by web60215.mail.yahoo.com via HTTP; Wed, 18 May 2005 13:54:04 PDT Date: Thu, 19 May 2005 07:25:00 -0000 From: ken king To: ecos-discuss@sources.redhat.com In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [ECOS] ROMable Code Still having problems X-SW-Source: 2005-05/txt/msg00247.txt.bz2 It seems to stop or hang-up while coping FLASH to RAM after the 1st word is copied (I started with the adder code). Actually, sometimes it just stops -- no bus activity. I found this in variant.inc .macro hal_cpu_init # Disable special MPC8xx "development support" which # suppresses trace exceptions. The CPU seems to hang, not # executing from offset 0x1e00(?) as expected. lwi r3,0x00000007 mtspr ICTRL,r3 li r3,0 mtspr DER, r3 If I change the 0x7 to a 0 -- it starts to write to the terminal before "stopping". Anybody remember this?? --- ken king wrote: > I have a MPC852T custom bd I've been running > with a BDM. Most every thing is working.I tried to > make this system boot from FLASH. > > Okay, it works with a BDM connected, with *almost* > no .gdbinit -- i.e. only target type and > remote (IP:Port) (just enough to connect) -- no > monitor or set commands -- no program load! > > I can disconnect the BDM after it boots, > everything keeps running fine. > > Question is; what module might I have forgotten to > load that gdb/BDM might be handling for me??? > > I've single stepped through hal_hardware_init, > everything looks fine. /CS init, copy ROM to RAM, > etc. > > Looked at the ROM /CS with and without the BDM with > scope, signature looks about the same -- ?burst of > copy? ROM to RAM. > > I know that *part* of hal_hardware_init works, > because the clocks change to the right frequency. > > I don't *think* CPU is going into debug mode as > VFLS{0..1] were never seen to both be asserted. > > Any ideas? > > TIA, > KK > > > > > > > > > Discover Yahoo! > Stay in touch with email, IM, photo sharing and > more. Check it out! > http://discover.yahoo.com/stayintouch.html > > -- > Before posting, please read the FAQ: > http://ecos.sourceware.org/fom/ecos > and search the list archive: > http://ecos.sourceware.org/ml/ecos-discuss > > __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss