This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ethernet on 5912



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]