public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] A bug in eCos PCI library for NEC-VRC473...?
@ 2000-09-08 19:17 Ling Su
  0 siblings, 0 replies; only message in thread
From: Ling Su @ 2000-09-08 19:17 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Jonathan Larmour

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 811 bytes --]

Hello, Jifl,
 
After hacking the eCos hal layer code, I guess following might be a bug in 
the eCos PCI library, please check,
 
In the /hal/mips/vrc4373/include/plf_io.h: #define 
HAL_PCI_PHYSICAL_MEMORY_BASE 0xC000000
In the /hal/mips/vrc4373/src/platform.S: init 2 PCI master 
address windows registers as 0x1c0fd01c and 0x80081080, which means (From 
NEC 4373 manual page 37) only the second one is enabled and mapps CPU (virtual) 
address 0x800xxxxx to PCI physical 0x800xxxxx. Is that correct? Then when I use 
pci library to allocate PCI memory, it always maps to 0xC0xxxxxx. It won't be 
decoded by VR4373, so the PCI can not be accessed via the allocated 
memory.
 
I am not sure it is the problem, if you have time, please take a look, 
thanks!
 
Best Regards,
-Ling
 
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-09-08 19:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-08 19:17 [ECOS] A bug in eCos PCI library for NEC-VRC473...? Ling Su

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