This is the mail archive of the ecos-discuss@sources.redhat.com 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: fix for pci.c


On Mon, Aug 30, 2004 at 10:40:55AM -0700, Michael Varga wrote:
> First:
> I wrote a fix for the io/src/pci.c,pci.h.
> 
> This code fails to map base address registers when
> a gap existes in consecutive addresses. For instance,
> when a device has a valid base0 invalid base1 and a
> valid base2. I can submit it if anyone is interested.

I think somebody already did submit such a patch. 

[Goes and looks at the ChangeLog.] 

Yep, 2003-09-29 & 2003-11-18. Are you using old sources?

> Second:
> I modified the redboot package and created my version
> v1_1 based on the current. I then did
> 
> >./ecosadmin.tcl add redboot-v1.1.epk
> 
> then i did,
> 
> >ecosconfig version v1_1 CYGPKG_REDBOOT
> C CYGPKG_REDBOOT_XSCALE_OPTIONS,"requires"
>     constraint not satisfied: CYGPKG_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT
> != 0
> C CYGPKG_REDBOOT_XSCALE_OPTIONS,"requires"
>     constraint not satisfied: CYGPKG_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT
> != 0

CYGPKG_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT is normally set by the
hal/arm/xscale/*/current/misc/redboot_*.ecm file. You probably need to
import it again, but will first need to modify current to v1_1 for the
redboot package.

        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


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