public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Ethernet on 5912
@ 2006-02-27  8:44 mac
  0 siblings, 0 replies; 3+ messages in thread
From: mac @ 2006-02-27  8:44 UTC (permalink / raw)
  To: ecos-discuss

hi,
I want to enable Ethernet on omap 5912 osk, and its base address is 0x0480 
0000.
There are 4 memory banks cs0, cs1, cs2, and cs3 (EMIFS_CS0 ~ CS3 ) on 5912.
The problem is that I can only  access cs0 and cs3, but 0x0480 0000 is in 
cs1.
Do I need to set some config registers to access cs1?

Thanks for your help.

Best Regards

K-C Lee 



-- 
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] 3+ messages in thread

* Re: [ECOS] Ethernet on 5912
  2006-02-28  1:15 Doyle, Patrick
@ 2006-02-28  7:48 ` mac
  0 siblings, 0 replies; 3+ messages in thread
From: mac @ 2006-02-28  7:48 UTC (permalink / raw)
  To: Doyle, Patrick, ecos-discuss


Thanks, after adding this into hal_mmu_init(), I can use Net-function on 
5912.

Thanks for your help!

Best Regards

K-C Lee
----- Original Message ----- 
From: "Doyle, Patrick" <WPD@dtccom.com>
To: "'mac'" <leegc@csie.nctu.edu.tw>; <ecos-discuss@ecos.sourceware.org>
Sent: Monday, February 27, 2006 11:40 PM
Subject: RE: [ECOS] Ethernet on 5912


> Look in 'hal_mmu_init()' in "hal/osk5912/current/src/osk5912_misc.c.  You
> will find that we only mapped CS0 and CS3 into the virtual address space.
> If you add a line that looks something like:
>
> X_ARM_MMU_SECTION(0x048, 0x048, 32, ARM_UNCACHEABLE, ARM_UNBUFFERABLE,
> ARM_ACCESS_PERM_RW_RW);
>
> Then you should be able to access CS1 space.
>
> --wpd
>
> Patrick Doyle
> Manager, Digital Systems Group
> (603) 546-2179
>
>
>
> This communication is from DTC Communications, Inc. and is intended to be
> confidential and solely for the use of the persons or entities addressed
> above.  If you are not an intended recipient, be aware that the 
> information
> contained herein may be protected from unauthorized use by privilege or 
> law,
> and any copying, distribution, disclosure, or other use of this 
> information
> is prohibited.  If you have received this communication in error, please
> contact the sender by return e-mail or telephone the above number
> immediately and delete or destroy all copies.  Thank you for your
> cooperation.
>
>
>> -----Original Message-----
>> From: mac [mailto:leegc@csie.nctu.edu.tw]
>> Sent: Sunday, February 26, 2006 1:38 PM
>> To: ecos-discuss@ecos.sourceware.org
>> Subject: [ECOS] Ethernet on 5912
>>
>>
>> hi,
>> I want to enable Ethernet on omap 5912 osk, and its base
>> address is 0x0480
>> 0000.
>> There are 4 memory banks cs0, cs1, cs2, and cs3 (EMIFS_CS0 ~
>> CS3 ) on 5912.
>> The problem is that I can only  access cs0 and cs3, but
>> 0x0480 0000 is in
>> cs1.
>> Do I need to set some config registers to access cs1?
>>
>> Thanks for your help.
>>
>> Best Regards
>>
>> K-C Lee
>>
>>
>>
>> -- 
>> Before posting, please read the FAQ:
>> http://ecos.sourceware.org/fom/ecos
>> and search the list archive:
>> http://ecos.sourceware.org/ml/ecos-discuss
>>
>
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> 



-- 
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] 3+ messages in thread

* RE: [ECOS] Ethernet on 5912
@ 2006-02-28  1:15 Doyle, Patrick
  2006-02-28  7:48 ` mac
  0 siblings, 1 reply; 3+ messages in thread
From: Doyle, Patrick @ 2006-02-28  1:15 UTC (permalink / raw)
  To: 'mac', ecos-discuss

Look in 'hal_mmu_init()' in "hal/osk5912/current/src/osk5912_misc.c.  You
will find that we only mapped CS0 and CS3 into the virtual address space.
If you add a line that looks something like:

X_ARM_MMU_SECTION(0x048, 0x048, 32, ARM_UNCACHEABLE, ARM_UNBUFFERABLE,
ARM_ACCESS_PERM_RW_RW);

Then you should be able to access CS1 space.

--wpd

Patrick Doyle
Manager, Digital Systems Group
(603) 546-2179

 

This communication is from DTC Communications, Inc. and is intended to be
confidential and solely for the use of the persons or entities addressed
above.  If you are not an intended recipient, be aware that the information
contained herein may be protected from unauthorized use by privilege or law,
and any copying, distribution, disclosure, or other use of this information
is prohibited.  If you have received this communication in error, please
contact the sender by return e-mail or telephone the above number
immediately and delete or destroy all copies.  Thank you for your
cooperation.


> -----Original Message-----
> From: mac [mailto:leegc@csie.nctu.edu.tw] 
> Sent: Sunday, February 26, 2006 1:38 PM
> To: ecos-discuss@ecos.sourceware.org
> Subject: [ECOS] Ethernet on 5912
> 
> 
> hi,
> I want to enable Ethernet on omap 5912 osk, and its base 
> address is 0x0480 
> 0000.
> There are 4 memory banks cs0, cs1, cs2, and cs3 (EMIFS_CS0 ~ 
> CS3 ) on 5912.
> The problem is that I can only  access cs0 and cs3, but 
> 0x0480 0000 is in 
> cs1.
> Do I need to set some config registers to access cs1?
> 
> Thanks for your help.
> 
> Best Regards
> 
> K-C Lee 
> 
> 
> 
> -- 
> Before posting, please read the FAQ: 
> http://ecos.sourceware.org/fom/ecos
> and search the list archive: 
> http://ecos.sourceware.org/ml/ecos-discuss
> 

-- 
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] 3+ messages in thread

end of thread, other threads:[~2006-02-27 18:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-27  8:44 [ECOS] Ethernet on 5912 mac
2006-02-28  1:15 Doyle, Patrick
2006-02-28  7:48 ` mac

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