This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: fix for pci.c
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Michael Varga <mike dot varga at cavium dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 30 Aug 2004 19:59:35 +0200
- Subject: Re: [ECOS] fix for pci.c
- References: <166f01c48eb8$85f21ce0$a610a8c0@niche>
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