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: Problems building Redboot for IQ80321



Am Donnerstag, 03.07.03, um 00:41 Uhr (US/Pacific) schrieb Gary D. Thomas:


John Clark said:
Within the last two days I've checked out the most recent 'ecos'
sources from
the sources.redhat.com CVS site.


This is hard to believe since that same file (vectors.S) is shared
by all ARM platforms.  I just tried it here with the latest public
tree and there was no problem.


The following history is what I just did a few minutes ago:

 1007  export CVSROOT=:pserver:anoncvs@sources.redhat.com:/cvs/ecos
 1008  cvs -z3 co -P ecos
 1009  cd ecos/packages/hal/arm/xscale/iq80321/current/include
 1010  vi hal_platform_setup.h

The problem is not in vectors.S itself, but in:

ecos/packages/hal/arm/xscale/iq80321/current/include/ hal_platform_setup.h

The full context of the problem line is:

#ifdef CYGSEM_HAL_ARM_IQ80321_CLEAR_PCI_RETRY
// Minimally setup ATU and release "retry" bit.
ldr r1, =ATU_IATVR2
mov r0, #SDRAM_PHYS_BASE
str r0, [r1]
ldr r0, =0xffffffff
sub r1, r4, #1
sub r0, r0, r1
bic r0, r0, #0x3f
ldr r1, =ATU_IALR2
str r0, [r1]
ldr r0, =((0xFFFFFFFF - ((64 * 1024 * 1024) - 1)) & 0xFFFFFFC0)
ldr r1, =ATU_IALR1
str r0, [r1]
mov r0, #0xc
ldr r1, =ATU_IABAR1
str r0, [r1]
0 ldr r1, =ATU_IABAR2 <------ Problem Line Here.
str r0, [r1]
mov r0, #0
ldr r1, =ATU_IAUBAR1
str r0, [r1]
ldr r1, =ATU_PCSR
ldr r0, [r1]
and r13, r0, #4 // save retry bit for later
bic r0, r0, #4
str r0, [r1]
#endif



-- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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