From: "Hasjim Williams" <sourceware.ecos-devel@lists.futaris.org>
To: ecos-devel@sourceware.org
Cc: "Manfred Gruber" <m.gruber@tirol.com>
Subject: Re: Redboot - Cirrus EP9315 and Spansion S29GL512N problem
Date: Thu, 06 Dec 2007 23:29:00 -0000 [thread overview]
Message-ID: <1196983788.15121.1225253115@webmail.messagingengine.com> (raw)
In-Reply-To: <1196918962.31044.1225090211@webmail.messagingengine.com>
We're still having problems...
Is there anywhere else in the code that I need to be looking?
On Thu, 06 Dec 2007 15:29:22 +1000, "Hasjim Williams"
<sourceware.ecos-devel@lists.futaris.org> said:
> I think I found the problem (which was MMU related):
>
> --- packages/hal/arm/arm9/ep93xx/current/include/hal_platform_setup.h
> +++ packages/hal/arm/arm9/ep93xx/current/include/hal_platform_setup.h
> @@ -494,20 +494,20 @@
> //
> // Create a read-write mapping of FLASH at virtual address
> 0x6000_0000.
> //
> add r1, r0, #0x00001800
> #if defined(HAL_PLATFORM_EP9301) || defined(HAL_PLATFORM_EP9302)
> mov r2, #0x00000040
> #else
> // If you are using a Flash size of 64MB you need this value here
> - // mov r2, #0x00000100 // 64MB
> - mov r2, #0x00000080 // 32MB
> + mov r2, #0x00000100 // 64MB
> + // mov r2, #0x00000080 // 32MB
> #endif
> orr r3, r12, #0x00000012
> orr r3, r3, #0x00000c00
> map_flash_6:
> str r3, [r1], #4
> add r3, r3, #0x00100000
> subs r2, r2, #4
> bne map_flash_6
>
> Thanks for your help... Just didn't know where to look in redboot
> source.
>
> On Thu, 6 Dec 2007 05:29:02 +0100, "Manfred Gruber" <m.gruber@tirol.com>
> said:
> > hi !
> >
> > i have worked for a company where ep93xx and spansion flashes are used,
> > please
> > look at http://dev.contec.at, there i have made a redboot bootloader
> > which
> > can handle such flashes, but i have used flash_v2 branche, so it will not
> > help u.
> >
> > > #dd$T0a0f:f06a0100;0d:f07e0400;#dd$T0a0f:f06a0100;0d:f07e0400;
> > > #dd$T0a0f:f06a0100;0d:f07e0400;#dd$T0a0f:f06a0100;0d:f07e0400;
> >
> > this things i have only seen if the mmu is set up wrong, so maybe it
> > helps
> > check your mmu settings in redboot. maybe the 512 chip adresses obverlap
> > somewhere...
> >
> > regards manfred
> > mfg
> > Manfred Gruber
> > Software Engineering
> > m.gruber@tirol.com
> > http://www.manfred-gruber.at.tt
> > http://www.myspace.com/fredl_grma
> >
> > Am Thursday 06 December 2007 schrieb Hasjim Williams:
> > > Hello everyone,
> > >
> > > I'm having problems getting my ARM920T based EP9315 board to work with
> > > 64MB flash. We have 64MB of RAM onboard. We previously had S29GL128N
> > > and S29GL256N parts on the board, and haven't been able to get Redboot
> > > to boot up correctly with the S29GL512N. It works fine with the
> > > S29GL256N or S29GL128N still.
> > >
> > > As soon as it boots up, it spits out this error message, constantly:
> > >
> > > #dd$T0a0f:f06a0100;0d:f07e0400;#dd$T0a0f:f06a0100;0d:f07e0400;
> > > #dd$T0a0f:f06a0100;0d:f07e0400;#dd$T0a0f:f06a0100;0d:f07e0400;
> > >
> > > Can anyone suggest anything that I'm missing:
> > >
> > > packages/devs/flash/arm/edb9312/current/cdl/flash_edb9312_a_amd.cdl:
> > >
> > > requires CYGHWR_DEVS_FLASH_AMD_S29GL128N
> > > requires CYGHWR_DEVS_FLASH_AMD_S29GL256N
> > > requires CYGHWR_DEVS_FLASH_AMD_S29GL512N
> > >
> > > packages/hal/arm/arm9/ep93xx/current/include/conf/mlt_arm9_edb9315a_romram.
> > >ldi:
> > >
> > > MEMORY
> > > {
> > > ram : ORIGIN = 0, LENGTH = 0x10000000
> > > rom : ORIGIN = 0x60000000, LENGTH = 0x8000000
> > > }
> > >
> > > packages/hal/arm/arm9/ep93xx/current/include/conf/mlt_arm9_edb9315a_romram.
> > >h:
> > >
> > > #define CYGMEM_REGION_rom (0x60000000)
> > > #define CYGMEM_REGION_rom_SIZE (0x8000000)
> > > #define CYGMEM_REGION_rom_ATTR (CYGMEM_REGION_ATTR_R)
> > >
> > > Thanks for any suggestions,
> > >
> > >
> > > Hasjim Williams
next prev parent reply other threads:[~2007-12-06 23:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-06 3:34 Hasjim Williams
2007-12-06 4:29 ` Manfred Gruber
2007-12-06 5:29 ` Hasjim Williams
2007-12-06 23:29 ` Hasjim Williams [this message]
2007-12-06 23:52 ` Manfred Gruber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1196983788.15121.1225253115@webmail.messagingengine.com \
--to=sourceware.ecos-devel@lists.futaris.org \
--cc=ecos-devel@sourceware.org \
--cc=m.gruber@tirol.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).