public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] Flash - the saga continues
@ 2005-08-30 14:25 Matt Sartori
  2005-08-30 14:29 ` Void Ptr
  2005-08-30 14:58 ` [ECOS] Flash - the saga continues Andrew Lunn
  0 siblings, 2 replies; 5+ messages in thread
From: Matt Sartori @ 2005-08-30 14:25 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: eCos Discussion

Hi Andrew.
I'm using my own flash drivers which I've placed in
/packages/devs/flash/arm/myboard/current/src and, in the configtool
packages window the packages used for my particular configuration are
both the "generic FLASH memory support" and the "FLASH memory support
for the ARM STR710FZ2" (which I've been referring to as my board in my
postings). All the stuff I've not written myself came from a cvs
snapshot from a month or so back.

The CYGPKG_REDBOOT_FLASH is set to true.
I know that Redboot is using (or at least calling the expected
functions) because on reset it now displays the message;
"FLASH: 0x00000000 - 0x0, 0 blocks of 0x00000000 bytes each."
I have put a hang (while(1);) in the function that calls the
flash_hwr_init (called flash_init in
/packages/io/flash/current/src/flash.c) and it does hang, but putting
the same in my flash_hwr_init doesn't hang it, ergo it must be calling
some other flash_hwr_init. My suspicions were then confirmed when I
renamed my flash_hwr_init and Redboot didn't bat an eyelid.



-----Original Message-----
From: Andrew Lunn [mailto:andrew@lunn.ch] 
Sent: 30 August 2005 14:05
To: Matt Sartori
Cc: eCos Discussion
Subject: Re: [ECOS] Flash - the saga continues

> What gets me is that I can't find where those other definitions would
be
> (unless it's secretly compiling the files for some other flash device
in
> the /packages/devs/ directory). 
> One thing that strikes me as slightly odd is that the generated file
> devs_flash_arm_myboard.h does nothing but define
> CYGONCE_PKGCONF_DEVS_FLASH_ARM_MYBOARD_H

Just so i keep this straight in my head. You are using the plain flash
from the anoncvs trunk?

What value does CYGPKG_REDBOOT_FLASH have?

You won't get a linker error if the functions are not being called. It
could be your redboot is not even using the flash.

        Andrew

--------------------------------------------------------------------------------


The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.

If you received this in error, please contact the sender or postmaster (postmaster@hanoverdisplays.com) and delete the material from any computer.

Although we routinely screen for viruses, addressees should check this e-mail and any attachment for viruses. We make no warranty as to absence of viruses in this e-mail or any attachments.

Our Company's email policy is to permit incidental personal use. If this email is of a personal nature, it must not be relied upon as expressing the views or opinions of the company.

Visit out website at www.hanoverdisplays.com



--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [ECOS] Flash - the saga continues
  2005-08-30 14:25 [ECOS] Flash - the saga continues Matt Sartori
@ 2005-08-30 14:29 ` Void Ptr
  2005-08-30 14:31   ` Void Ptr
  2005-08-30 15:08   ` [ECOS] Bringing up LPC2124 Void Ptr
  2005-08-30 14:58 ` [ECOS] Flash - the saga continues Andrew Lunn
  1 sibling, 2 replies; 5+ messages in thread
From: Void Ptr @ 2005-08-30 14:29 UTC (permalink / raw)
  To: ecos-discuss; +Cc: eCos Discussion


Hi All,
        Can anybody tell me, what is the minmal size
of ecos kernel. I'm trying to port ecos on LPC2124
based board.

If anybody has done the same, pls help.

regards,
Static


		
__________________________________ 
Yahoo! Mail 
Stay connected, organized, and protected. Take the tour: 
http://tour.mail.yahoo.com/mailtour.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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [ECOS] Flash - the saga continues
  2005-08-30 14:29 ` Void Ptr
@ 2005-08-30 14:31   ` Void Ptr
  2005-08-30 15:08   ` [ECOS] Bringing up LPC2124 Void Ptr
  1 sibling, 0 replies; 5+ messages in thread
From: Void Ptr @ 2005-08-30 14:31 UTC (permalink / raw)
  To: ecos-discuss; +Cc: eCos Discussion


Hi All,
        Can anybody tell me, what is the minmal size
of ecos kernel. I'm trying to port ecos on LPC2124
based board.

If anybody has done the same, pls help.

regards,
Static


		
__________________________________ 
Yahoo! Mail 
Stay connected, organized, and protected. Take the tour: 
http://tour.mail.yahoo.com/mailtour.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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Flash - the saga continues
  2005-08-30 14:25 [ECOS] Flash - the saga continues Matt Sartori
  2005-08-30 14:29 ` Void Ptr
@ 2005-08-30 14:58 ` Andrew Lunn
  1 sibling, 0 replies; 5+ messages in thread
From: Andrew Lunn @ 2005-08-30 14:58 UTC (permalink / raw)
  To: Matt Sartori; +Cc: eCos Discussion

On Tue, Aug 30, 2005 at 02:19:47PM +0100, Matt Sartori wrote:
> Hi Andrew.
> I'm using my own flash drivers which I've placed in
> /packages/devs/flash/arm/myboard/current/src and, in the configtool
> packages window the packages used for my particular configuration are
> both the "generic FLASH memory support" and the "FLASH memory support
> for the ARM STR710FZ2" (which I've been referring to as my board in my
> postings). All the stuff I've not written myself came from a cvs
> snapshot from a month or so back.
> 
> The CYGPKG_REDBOOT_FLASH is set to true.
> I know that Redboot is using (or at least calling the expected
> functions) because on reset it now displays the message;
> "FLASH: 0x00000000 - 0x0, 0 blocks of 0x00000000 bytes each."
> I have put a hang (while(1);) in the function that calls the
> flash_hwr_init (called flash_init in
> /packages/io/flash/current/src/flash.c) and it does hang, but putting
> the same in my flash_hwr_init doesn't hang it, ergo it must be calling
> some other flash_hwr_init. My suspicions were then confirmed when I
> renamed my flash_hwr_init and Redboot didn't bat an eyelid.

Try

XXX-elf-objdump --syms install/lib/libtarget.a | less

Then search for flash_hwr_init. You can then see which object file the
symbol is in. That should give you some clues.

        Andrew


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ECOS] Bringing up LPC2124
  2005-08-30 14:29 ` Void Ptr
  2005-08-30 14:31   ` Void Ptr
@ 2005-08-30 15:08   ` Void Ptr
  1 sibling, 0 replies; 5+ messages in thread
From: Void Ptr @ 2005-08-30 15:08 UTC (permalink / raw)
  To: ecos-discuss



Hi All,
         Can anybody tell me, what is the minmal size
 of ecos kernel. I'm trying to port ecos on LPC2124
 based board.
 
 If anybody has done the same, pls help.
 
regards,
Static
	


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-30 14:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-30 14:25 [ECOS] Flash - the saga continues Matt Sartori
2005-08-30 14:29 ` Void Ptr
2005-08-30 14:31   ` Void Ptr
2005-08-30 15:08   ` [ECOS] Bringing up LPC2124 Void Ptr
2005-08-30 14:58 ` [ECOS] Flash - the saga continues Andrew Lunn

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).