Compact Flash disk on MPC750 PowerPC BE

I’m having problems getting the EIDE driver (devb-eide) to recognose the
Compact Flash disk on a MPC750 PowerPC BE board. Basically when I start the
driver, as per the default line in mcp750.build file ie.

% devb-eide eide ioport=0x8ffffff0:0x8fffffe8,irq=14

I get the following error.

‘No eide interfaces found’

I’ve tried various combinations of parameters to the above driver (ie.
ommitted ioport address, for auto config etc.) without success. I’ve also
written a small program which calls pci_attach_device() and fills
pci_dev_info to get more details (ie. port address etc.). However this shows
all PCI and CPU base addresses as being 0 (ie. as discovered by someone in a
previous news entry). I also tried messing with flag arguments to this call
but with no success.

Someone must have got QNX to run on this board as a build file already
exists (/ppcbe/build/mcp750.build). Any help would be much appreciated.

Regards,
Emlyn

Sorry…

“Emlyn Garvey” <emlyn.garvey@leotel.co.uk> wrote in message
news:9d90a1$ag5$2@inn.qnx.com

I’m having problems getting the EIDE driver (devb-eide) to recognose the
Compact Flash disk on a MPC750 PowerPC BE board. Basically when I start
the
driver, as per the default line in mcp750.build file ie.

% devb-eide eide ioport=0x8ffffff0:0x8fffffe8,irq=14

I get the following error.

‘No eide interfaces found’

I’ve tried various combinations of parameters to the above driver (ie.
ommitted ioport address, for auto config etc.) without success. I’ve also
written a small program which calls pci_attach_device() and fills
pci_dev_info to get more details (ie. port address etc.). However this
shows
all PCI and CPU base addresses as being 0 (ie. as discovered by someone in
a
previous news entry). I also tried messing with flag arguments to this
call
but with no success.

Someone must have got QNX to run on this board as a build file already
exists (/ppcbe/build/mcp750.build). Any help would be much appreciated.

Regards,
Emlyn

irq=114


Emlyn Garvey <emlyn.garvey@leotel.co.uk> wrote:

Sorry…

“Emlyn Garvey” <> emlyn.garvey@leotel.co.uk> > wrote in message
news:9d90a1$ag5$> 2@inn.qnx.com> …
I’m having problems getting the EIDE driver (devb-eide) to recognose the
Compact Flash disk on a MPC750 PowerPC BE board. Basically when I start
the
driver, as per the default line in mcp750.build file ie.

% devb-eide eide ioport=0x8ffffff0:0x8fffffe8,irq=14

I get the following error.

‘No eide interfaces found’

I’ve tried various combinations of parameters to the above driver (ie.
ommitted ioport address, for auto config etc.) without success. I’ve also
written a small program which calls pci_attach_device() and fills
pci_dev_info to get more details (ie. port address etc.). However this
shows
all PCI and CPU base addresses as being 0 (ie. as discovered by someone in
a
previous news entry). I also tried messing with flag arguments to this
call
but with no success.

Someone must have got QNX to run on this board as a build file already
exists (/ppcbe/build/mcp750.build). Any help would be much appreciated.

Regards,
Emlyn

I initially took irq=114 as being a typo. I ran the ‘pci’ utility which
shows the allocated irq for the EIDE controller as being 14 - hence reason
for previous line. However i’ve just tried using irq=114 as you specify and
got the same error ie.

‘No eide interfaces found’

Note, when I ommit the ioport address the driver core dumps. Would a core
dump file be of any help? Also, why does pci_attach_device() not fill in the
appropriate memory address fields? Do these addresses also represent the
ioport address for the EIDE driver? Finally, 114 sounds like a large irq
number, i’m more used to the PC architecture. Please excuse my ignorance
here. Perhaps i’m dabling in something out of my depths, however should
getting QNX going be this difficult?

<jclarke@qnx.com> wrote in message news:9d92nj$p7$1@nntp.qnx.com

irq=114


Emlyn Garvey <> emlyn.garvey@leotel.co.uk> > wrote:
Sorry…

“Emlyn Garvey” <> emlyn.garvey@leotel.co.uk> > wrote in message
news:9d90a1$ag5$> 2@inn.qnx.com> …
I’m having problems getting the EIDE driver (devb-eide) to recognose
the
Compact Flash disk on a MPC750 PowerPC BE board. Basically when I start
the
driver, as per the default line in mcp750.build file ie.

% devb-eide eide ioport=0x8ffffff0:0x8fffffe8,irq=14

I get the following error.

‘No eide interfaces found’

I’ve tried various combinations of parameters to the above driver (ie.
ommitted ioport address, for auto config etc.) without success. I’ve
also
written a small program which calls pci_attach_device() and fills
pci_dev_info to get more details (ie. port address etc.). However this
shows
all PCI and CPU base addresses as being 0 (ie. as discovered by someone
in
a
previous news entry). I also tried messing with flag arguments to this
call
but with no success.

Someone must have got QNX to run on this board as a build file already
exists (/ppcbe/build/mcp750.build). Any help would be much appreciated.

Regards,
Emlyn

\

The irq for the primary ide controll should be 114 (ignore what pci says for
interupts on that board).

Are you sure the CF controller is on the primary ide controller and not the
slave?

The auto detect won’t work on a non x86 system, you must pass the address and
irq. Maybe you could post the output of “pci -vvv”.

Jason


Emlyn Garvey <emlyn.garvey@leotel.co.uk> wrote:

I initially took irq=114 as being a typo. I ran the ‘pci’ utility which
shows the allocated irq for the EIDE controller as being 14 - hence reason
for previous line. However i’ve just tried using irq=114 as you specify and
got the same error ie.

‘No eide interfaces found’

Note, when I ommit the ioport address the driver core dumps. Would a core
dump file be of any help? Also, why does pci_attach_device() not fill in the
appropriate memory address fields? Do these addresses also represent the
ioport address for the EIDE driver? Finally, 114 sounds like a large irq
number, i’m more used to the PC architecture. Please excuse my ignorance
here. Perhaps i’m dabling in something out of my depths, however should
getting QNX going be this difficult?

jclarke@qnx.com> > wrote in message news:9d92nj$p7$> 1@nntp.qnx.com> …

irq=114


Emlyn Garvey <> emlyn.garvey@leotel.co.uk> > wrote:
Sorry…

“Emlyn Garvey” <> emlyn.garvey@leotel.co.uk> > wrote in message
news:9d90a1$ag5$> 2@inn.qnx.com> …
I’m having problems getting the EIDE driver (devb-eide) to recognose
the
Compact Flash disk on a MPC750 PowerPC BE board. Basically when I start
the
driver, as per the default line in mcp750.build file ie.

% devb-eide eide ioport=0x8ffffff0:0x8fffffe8,irq=14

I get the following error.

‘No eide interfaces found’

I’ve tried various combinations of parameters to the above driver (ie.
ommitted ioport address, for auto config etc.) without success. I’ve
also
written a small program which calls pci_attach_device() and fills
pci_dev_info to get more details (ie. port address etc.). However this
shows
all PCI and CPU base addresses as being 0 (ie. as discovered by someone
in
a
previous news entry). I also tried messing with flag arguments to this
call
but with no success.

Someone must have got QNX to run on this board as a build file already
exists (/ppcbe/build/mcp750.build). Any help would be much appreciated.

Regards,
Emlyn

\

<jclarke@qnx.com> wrote in message news:9d95em$2g7$1@nntp.qnx.com

The irq for the primary ide controll should be 114 (ignore what pci says
for
interupts on that board).

Noted.



Are you sure the CF controller is on the primary ide controller and not
the
slave?

I take it to be off the primary ie. as derived from the following excerpt

from the user manual:

“The MCP750 supports a single EIDE compatible FLASH Memory Card off of the
PBC Primary EIDE interface… Once configured, this memory will appear as a
standard ATA (EIDE) disk drive”

The auto detect won’t work on a non x86 system, you must pass the address
and
irq. Maybe you could post the output of “pci -vvv”.

See the attachment. I did run this earlier but couldn’t make sense of the

output. Perhaps you can help me here.

Thanks so far,

Emlyn

Jason


Emlyn Garvey <> emlyn.garvey@leotel.co.uk> > wrote:
I initially took irq=114 as being a typo. I ran the ‘pci’ utility which
shows the allocated irq for the EIDE controller as being 14 - hence
reason
for previous line. However i’ve just tried using irq=114 as you specify
and
got the same error ie.

‘No eide interfaces found’

Note, when I ommit the ioport address the driver core dumps. Would a
core
dump file be of any help? Also, why does pci_attach_device() not fill in
the
appropriate memory address fields? Do these addresses also represent the
ioport address for the EIDE driver? Finally, 114 sounds like a large irq
number, i’m more used to the PC architecture. Please excuse my ignorance
here. Perhaps i’m dabling in something out of my depths, however should
getting QNX going be this difficult?

jclarke@qnx.com> > wrote in message news:9d92nj$p7$> 1@nntp.qnx.com> …

irq=114


Emlyn Garvey <> emlyn.garvey@leotel.co.uk> > wrote:
Sorry…

“Emlyn Garvey” <> emlyn.garvey@leotel.co.uk> > wrote in message
news:9d90a1$ag5$> 2@inn.qnx.com> …
I’m having problems getting the EIDE driver (devb-eide) to recognose
the
Compact Flash disk on a MPC750 PowerPC BE board. Basically when I
start
the
driver, as per the default line in mcp750.build file ie.

% devb-eide eide ioport=0x8ffffff0:0x8fffffe8,irq=14

I get the following error.

‘No eide interfaces found’

I’ve tried various combinations of parameters to the above driver
(ie.
ommitted ioport address, for auto config etc.) without success. I’ve
also
written a small program which calls pci_attach_device() and fills
pci_dev_info to get more details (ie. port address etc.). However
this
shows
all PCI and CPU base addresses as being 0 (ie. as discovered by
someone
in
a
previous news entry). I also tried messing with flag arguments to
this
call
but with no success.

Someone must have got QNX to run on this board as a build file
already
exists (/ppcbe/build/mcp750.build). Any help would be much
appreciated.

Regards,
Emlyn




\

begin 666 pci-dump.dat
M#0I00TD@=F5R<VEO;B @(" ](#(N,3 -"@T0VQA<W,@(" @(" @(" @/2!"
M<FED9V4@
$AO<W0O4$-)0T5F5N9&]R($E$(" @(" @/2 Q,#4W:“P@36]T
M;W)O;&$@#0I$979I8V4@240@(” @(" ](#0X,#%H+"!2879E;B!0;W=E<E!#
M($-H:7!S970-“E!#22!I;F1E>” @(" @(#T@,&@-“D-L87-S($-O9&5S(” @
M(#T@,#8P,# P: T4F5V:7-I;VX@240@(" @/2 U: T0G5S(&YU;6)E<B @
M(" @/2 P#0I$979I8V4@;G5M8F5R(" ](# -“D9U;F-T:6]N(&YU;2 @(#T@
M, T4W1A='5S(%)E9R @(" @/2 R,C@P: T0V]M;6%N9”!296<@(" @/2 V
M: T*“4DO3R!S<&%C92!A8V-E<W,@9&ES86)L960-”@E-96UO<GD@<W!A8V4@
M86-C97-S(&5N86)L960-"@E"=7,@36%S=&5R(&5N86)L960-"@E3<&5C:6%L
M($-Y8VQE(&]P97)T871I;VYS(&EG;F]R960-"@E-96UO<GD@5W)I=&4@86YD
M($EN=F%L:61A=&4@9&ES86)L960-"@E086QE=‘1E(%-N;V]P:6YG(&1I<V%B
M;&5D#0H)4&%R:71Y($-H96-K:6YG(&1I<V%B;&5D#0H)1&%T82]!9&1R97-S
M(’-T97!P:6YG(&1I<V%B;&5D#0H)4T524B,@9’)I=F5R(&1I<V%B;&5D#0H)
M1F%S="!B86-K+71O+6)A8VL@=’)A;G-A8W1I;VYS(‘1O(&1I9F9E<F5N="!A
M9V5N=’,@9&ES86)L960-“DAE861E<B!T>7!E(” @(#T@,&@@4VEN9VQE+69U
M;F-T:6]N#0I"25-4(" @(" @(" @(" ](#!H($)U:6QD+6EN+7-E;&8M=&5S
M="!N;W0@<W5P<&]R=&5D#0I,871E;F-Y(%1I;65R(" ](#!H#0I#86-H92!,
M:6YE(%-I>F4](#!H( T36%X($QA=" @(" @(" @/2 P;G,-“DUI;B!’;G0@
M(” @(" @(#T@,&YS#0I00TD@26YT(%!I;B @(" ]($Y##0I);G1E<G)U<'0@
M;&EN92 ](# -"D1E=FEC92!$97!E;F1E;G0@4F5G:7-T97)S.@T
,’@T,#H@
M,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @
M,# @#0HP>#4P.B P," P," P," P," P," P," P," P," P," P," P," P
M," P," P," P," P," -“C!X-C Z(# P(# P(# P(# P(# P(# P(# P(# P
M(# P(# P(# P(# P(# P(# P(# P(# P( T*,’@W,#H@,# @,# @,# @,# @
M,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @#0HP>#@P.B!F
M92 X-R P,” X,"!F,R P," P," X,"!F9B X-R!F9B X-R!E,R P," P," X
M," -“C!X.3 Z(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P
M(# P(# P(# P(# P( T*,'A!,#H@,# @,# @,# @,# @,# @,# @,# @,# @
M,# @,# @,# @,# @,# @,# @,# @,# @#0HP>$(P.B P,” P," P," P," P
M," P," P," P," P," P," P," P," P," P," P," P," -“C!X0S Z(# P
M(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P
M( T*,'A$,#H@,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @
M,# @,# @,# @,# @#0HP>$4P.B P,” P," P," P," P," P," P," P," P
M," P," P," P," P," P," P," P," -“C!X1C Z(# P(# P(# P(# P(# P
M(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P( T*#0H-“D-L87-S
M(” @(” @(" @(#T@0G)I9&=E(“A00TDO25-!0T5F5N9&]R($E$(” @(" @
M/2 Q,3 V:“P@5DE!(%1E8VAN;VQO9VEE<R!);F,@#0I$979I8V4@240@(” @
M(" ](#4X-F@L(%94.#)#-3@V5E @4$-)+71O+4E302!"<FED9V4-“E!#22!I
M;F1E>” @(" @(#T@,&@-“D-L87-S($-O9&5S(” @(#T@,#8P,3 P: T4F5V
M:7-I;VX@240@(" @/2 T,6@-“D)U<R!N=6UB97(@(” @(#T@, T
1&5V:6-E
M(&YU;6)E<B @/2 Q#0I&=6YC=&EO;B!N=6T@(" ](# -“E-T871U<R!296<@
M(” @(#T@,C P: T0V]M;6%N9"!296<@(" @/2 X-V@-"@E)+T@<W!A8V4@
M86-C97-S(&5N86)L960-"@E-96UO<GD@<W!A8V4@86-C97-S(&5N86)L960-
M"@E"=7,@36%S=&5R(&5N86)L960-"@E3<&5C:6%L($-Y8VQE(&]P97)T871I
M;VYS(&EG;F]R960-"@E-96UO<GD@5W)I=&4@86YD($EN=F%L:61A=&4@9&ES
M86)L960-"@E086QE=‘1E(%-N;V]P:6YG(&1I<V%B;&5D#0H)4&%R:71Y($-H
M96-K:6YG(&1I<V%B;&5D#0H)1&%T82]!9&1R97-S(’-T97!P:6YG(&1I<V%B
M;&5D#0H)4T524B,@9’)I=F5R(&5N86)L960-"@E&87-T(&)A8VLM=&\M8F%C
M:R!T<F%N<V%C=&EO;G,@=&@9&EF9F5R96YT(&%G96YT<R!D:7-A8FQE9 T

M2&5A9&5R(‘1Y<&4@(" @/2 P:"!-=6QT:2UF=6YC=&EO;@T0DE35" @(" @
M(" @(" @/2 P:"!"=6EL9"UI;BUS96QF+71E<W0@;F]T(’-U<’!O<G1E9 T

M3&%T96YC>2!4:6UE<B @/2 P: T0V%C:&4@3&EN92!3:7IE/2 P:" -“DUA
M>”!,870@(" @(" @(#T@,&YS#0I-:6X@1VYT(" @(" @(" ](#!N<PT
4$-)
M($EN="!0:6X@(" @/2!.0PT26YT97)R=7!T(&QI;F4@/2 P#0I$979I8V4@
M1&5P96YD96YT(%)E9VES=&5R<SH-"C!X-# Z(# P(#(P(# P(# P(# P(# P
M(# Q(#(P(# Y(# P(# T(# P(# P(# P(# P(&8Q( T
,’@U,#H@,C0@,# @
M,# @,# @,# @,# @834@,# @,# @,#0@9C @,# @,# @,# @,# @,# @#0HP
M>#8P.B P," P," P," P," P," P," P," P," P," P," P," P," P," P
M," P," P," -“C!X-S Z(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P
M(# P(# P(# P(# P(# P(# P( T*,’@X,#H@,# @,# @,# @,# @,# @,# @
M,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @#0HP>#DP.B P,” P," P
M," P," P," P," P," P," P," P," P," P," P," P," P," P," -“C!X
M03 Z(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P
M(# P(# P( T*,'A”,#H@,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @
M,# @,# @,# @,# @,# @,# @#0HP>$,P.B P," P," P," P," P," P," P
M," P," P," P," P," P," P," P," P," P," -“C!X1# Z(# P(# P(# P
M(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P( T*,'A%
M,#H@,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @
M,# @,# @#0HP>$8P.B P,” P," P," P," P," P," P," P," P," P," P
M," P," P," P," P," P," -"@T*#0I#;&%S<R @(" @(" @(" ]($UA<W,@
M4W1O<F%G92 H241%0T5F5N9&]R($E$(" @(" @/2 Q,3 V:“P@5DE!(%1E
M8VAN;VQO9VEE<R!);F,@#0I$979I8V4@240@(” @(" ](#4W,6@L(%94.#)#
M-3@V+S8X-B!00TD@241%($-O;G1R;VQL97(-“E!#22!I;F1E>” @(" @(#T@
M,&@-“D-L87-S($-O9&5S(” @(#T@,#$P,3AF: T4F5V:7-I;VX@240@(" @
M/2 V: T
0G5S(&YU;6)E<B @(" @/2 P#0I$979I8V4@;G5M8F5R(" ](#$-
M"D9U;F-T:6]N(&YU;2 @(#T@,0T4W1A='5S(%)E9R @(" @/2 R.#!H#0I#
M;VUM86YD(%)E9R @(" ](#@U: T
"4DO3R!S<&%C92!A8V-E<W,@96YA8FQE
M9 T*“4UE;6]R>2!S<&%C92!A8V-E<W,@9&ES86)L960-”@E"=7,@36%S=&5R
M(&5N86)L960-"@E3<&5C:6%L($-Y8VQE(&]P97)T871I;VYS(&EG;F]R960-
M"@E-96UO<GD@5W)I=&4@86YD($EN=F%L:61A=&4@9&ES86)L960-"@E086QE
M=‘1E(%-N;V]P:6YG(&1I<V%B;&5D#0H)4&%R:71Y($-H96-K:6YG(&1I<V%B
M;&5D#0H)1&%T82]!9&1R97-S(’-T97!P:6YG(&1I<V%B;&5D#0H)4T524B,@
M9’)I=F5R(&5N86)L960-"@E&87-T(&)A8VLM=&\M8F%C:R!T<F%N<V%C=&EO
M;G,@=&@9&EF9F5R96YT(&%G96YT<R!D:7-A8FQE9 T2&5A9&5R('1Y<&4@
M(" @/2 P:"!3:6YG;&4M9G5N8W1I;VX-“D))4U0@(” @(" @(" @(#T@,&@@
M0G5I;&0M:6XM<V5L9BUT97-T(&YO="!S=7!P;W)T960-"DQA=&5N8WD@5&EM
M97(@(#T@,C!H#0I#86-H92!,:6YE(%-I>F4](#!H( T
24@061D<F5S<R @
M(" @/2!F9F8P:"!L96YG=&@@."!E;F%B;&5D#0I)3R!!9&1R97-S(" @(" ]
M(&9F96-H(&QE;F=T:" T(&5N86)L960-“DE/($%D9’)E<W,@(” @(#T@9F9E
M,&@@;&5N9W1H(#@@96YA8FQE9 T24@061D<F5S<R @(" @/2!F9F1C:"!L
M96YG=&@@-"!E;F%B;&5D#0I)3R!!9&1R97-S(" @(" ](&9F8S!H(&QE;F=T
M:" Q-B!E;F%B;&5D#0I-87@@3&%T(" @(" @(" ](#!N<PT
36EN($=N=" @
M(" @(" @/2 P;G,-“E!#22!);G0@4&EN(” @(#T@24Y4($$-“DEN=&5R<G5P
M=”!L:6YE(#T@,30-“D1E=FEC92!$97!E;F1E;G0@4F5G:7-T97)S.@T*,’@T
M,#H@,&(@,#(@9CD@,V$@-C@@,# @8S @,# @83@@83@@83@@83@@9F8@,# @
M9F8@9F8@#0HP>#4P.B P,R P,R P,R P,R P,” P," P," P,"!A."!A."!A
M."!A." P," P," P," P," -“C!X-C Z(# P(# R(# P(# P(# P(# P(# P
M(# P(# P(# R(# P(# P(# P(# P(# P(# P( T*,’@W,#H@,#(@,# @,# @
M,# @,# @,# @,# @,# @,#(@,# @,# @,# @,# @,# @,# @,# @#0HP>#@P
M.B P,” P," P," P," P," P," P," P," P," P," P," P," P," P," P
M," P," -“C!X.3 Z(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P
M(# P(# P(# P(# P(# P( T*,'A!,#H@,# @,# @,# @,# @,# @,# @,# @
M,# @,# @,# @,# @,# @,# @,# @,# @,# @#0HP>$(P.B P,” P," P," P
M," P," P," P," P," P," P," P," P," P," P," P," P," -“C!X0S Z
M(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P
M(# P( T*,'A$,#H@,#8@,# @-S$@,#4@,# @,# @,# @,# @,# @,# @,# @
M,# @,# @,# @,# @,# @#0HP>$4P.B P,” P," P," P," P," P," P," P
M," P," P," P," P," P," P," P," P," -“C!X1C Z(# P(# P(# P(# P
M(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P( T*#0H-“D-L
M87-S(” @(” @(" @(#T@4V5R:6%L($)U<R H56YI=F5R<V%L(%-E<FEA;"!"
M=7,I#0I696YD;W(@240@(" @(" ](#$Q,#9H+"!624$@5&5C:&YO;&]G:65S
M($EN8R -“D1E=FEC92!)1” @(" @(#T@,S S.&@L(%94.#-#-3<R(%!#22!5
M4T(@0V]N=’)O;&QE<@T4$-)(&EN9&5X(" @(" @/2 P: T0VQA<W,@0V]D
M97,@(" @/2 P8S S,#!H#0I2979I<VEO;B!)1" @(" ](#)H#0I"=7,@;G5M
M8F5R(" @(" ](# -“D1E=FEC92!N=6UB97(@(#T@,0T1G5N8W1I;VX@;G5M
M(" @/2 R#0I3=&%T=7,@4F5G(" @(" ](#(P,&@-“D-O;6UA;F0@4F5G(” @
M(#T@-6@-"@E)+T@<W!A8V4@86-C97-S(&5N86)L960-"@E-96UO<GD@<W!A
M8V4@86-C97-S(&1I<V%B;&5D#0H)0G5S($UA<W1E<B!E;F%B;&5D#0H)4W!E
M8VEA;"!#>6-L92!O<&5R=&%T:6]N<R!I9VYO<F5D#0H)365M;W)Y(%=R:71E
M(&%N9"!);G9A;&ED871E(&1I<V%B;&5D#0H)4&%L971T92!3;F]O<&EN9R!D
M:7-A8FQE9 T
"5!A2!#:&5C:VEN9R!D:7-A8FQE9 T*“41A=&$O061D
M<F5S<R!S=&5P<&EN9R!D:7-A8FQE9 T*“5-%4E(C(&1R:79E<B!D:7-A8FQE
M9 T*“49A<W0@8F%C:RUT;RUB86-K('1R86YS86-T:6]N<R!T;R!D:69F97)E
M;G0@86=E;G1S(&1I<V%B;&5D#0I(96%D97(@='EP92 @(” ](#!H(%-I;F=L
M92UF=6YC=&EO;@T0DE35" @(" @(" @(" @/2 P:"!"=6EL9"UI;BUS96QF
M+71E<W0@;F]T(’-U<’!O<G1E9 T
3&%T96YC>2!4:6UE<B @/2 Q-F@-“D-A
M8VAE($QI;F4@4VEZ93T@.&@@=6XM8V%C:&5A8FQE#0I)3R!!9&1R97-S(” @
M(” ](&9F83!H(&QE;F=T:” S,B!E;F%B;&5D#0I3=6)S>7-T96T@5F5N9&]R
M($E$(#T@.3(U: T4W5B<WES=&5M($E$(" @(" @(" ](#$R,S1H#0I-87@@
M3&%T(" @(" @(" ](#!N<PT
36EN($=N=” @(" @(" @/2 P;G,-“E!#22!)
M;G0@4&EN(” @(#T@24Y4($0-“DEN=&5R<G5P=”!L:6YE(#T@,3$-“D1E=FEC
M92!$97!E;F1E;G0@4F5G:7-T97)S.@T*,’@T,#H@,# @,# @,# @,# @8S(@
M,# @,3 @8S @,# @,# @,# @,# @,# @,# @,# @,# @#0HP>#4P.B P,” P
M," P," P," P," P," P," P," P," P," P," P," P," P," P," P," -
M"C!X-C Z(#$P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P
M(# P(# P(# P( T*,’@W,#H@,# @,# @,# @,# @,# @,# @,# @,# @,# @
M,# @,# @,# @,# @,# @,# @,# @#0HP>#@P.B P," P," P," P," P," P
M," P," P," P," P," P," P," P," P," P," P," -“C!X.3 Z(# P(# P
M(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P( T*
M,'A!,#H@,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @
M,# @,# @,# @#0HP>$(P.B P,” P," P," P," P," P," P," P," P," P
M," P," P," P," P," P," P," -“C!X0S Z(# P(#(P(# P(# P(# P(# P
M(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P( T*,'A$,#H@,# @,# @
M,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @#0HP
M>$4P.B P,” P," P," P," P," P," P," P," P," P," P," P," P," P
M," P," P," -“C!X1C Z(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P
M(# P(# P(# P(# P(# P(# P( T*#0H-“D-L87-S(” @(” @(" @(#T@4’)E
M+3(N," H3F]N+59’02D-“E9E;F1O<B!)1” @(" @(#T@,3$P-F@L(%9)02!4
M96-H;F]L;V=I97,@26YC( T1&5V:6-E($E$(" @(" @/2 S,#0P:“P@5E0X
M,T,U-S(@4&]W97(@36%N86=E;65N=”!#;VYT<F]L;&5R#0I00TD@:6YD97@@
M(" @(" ](#!H#0I#;&%S<R!#;V1E<R @(" ](# P,# P,&@-“E)E=FES:6]N
M($E$(” @(#T@,3!H#0I"=7,@;G5M8F5R(" @(" ](# -"D1E=FEC92!N=6UB
M97(@(#T@,0T
1G5N8W1I;VX@;G5M(" @/2 S#0I3=&%T=7,@4F5G(" @(" ]
M(#(X,&@-“D-O;6UA;F0@4F5G(” @(#T@,&@-"@E)+T@<W!A8V4@86-C97-S
M(&1I<V%B;&5D#0H)365M;W)Y(’-P86-E(&%C8V5S<R!D:7-A8FQE9 T*“4)U
M<R!-87-T97(@9&ES86)L960-”@E3<&5C:6%L($-Y8VQE(&]P97)T871I;VYS
M(&EG;F]R960-"@E-96UO<GD@5W)I=&4@86YD($EN=F%L:61A=&4@9&ES86)L
M960-"@E086QE=‘1E(%-N;V]P:6YG(&1I<V%B;&5D#0H)4&%R:71Y($-H96-K
M:6YG(&1I<V%B;&5D#0H)1&%T82]!9&1R97-S(’-T97!P:6YG(&1I<V%B;&5D
M#0H)4T524B,@9’)I=F5R(&1I<V%B;&5D#0H)1F%S="!B86-K+71O+6)A8VL@
M=’)A;G-A8W1I;VYS(‘1O(&1I9F9E<F5N="!A9V5N=’,@9&ES86)L960-“DAE
M861E<B!T>7!E(” @(#T@,&@@4VEN9VQE+69U;F-T:6]N#0I"25-4(" @(" @
M(" @(" ](#!H($)U:6QD+6EN+7-E;&8M=&5S="!N;W0@<W5P<&]R=&5D#0I,
M871E;F-Y(%1I;65R(" ](#!H#0I#86-H92!,:6YE(%-I>F4](#!H( T36%X
M($QA=" @(" @(" @/2 P;G,-“DUI;B!’;G0@(” @(" @(#T@,&YS#0I00TD@
M26YT(%!I;B @(" ]($Y##0I);G1E<G)U<'0@;&EN92 ](# -"D1E=FEC92!$
M97!E;F1E;G0@4F5G:7-T97)S.@T
,’@T,#H@8S @,# @,# @,# @,# @,# @
M,# @,# @,#$@,# @,# @,# @,# @,# @,# @,# @#0HP>#4P.B P," W9" T
M8R P," P," P," P," P," P," P," P," P," P," P," P," P," -“C!X
M-C Z(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P
M(# P(# P( T*,’@W,#H@,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @
M,# @,# @,# @,# @,# @,# @#0HP>#@P.B P,” P," P," P," P," P," P
M," P," P," P," P," P," P," P," P," P," -“C!X.3 Z(# P(# P(# P
M(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P( T*,'A!
M,#H@,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @
M,# @,# @#0HP>$(P.B P,” P," P," P," P," P," P," P," P," P," P
M," P," P," P," P," P," -“C!X0S Z(# P(# P(# P(# P(# P(# P(# P
M(# P(# P(# P(# P(# P(# P(# P(# P(# P( T*,'A$,#H@,# @,# @,# @
M,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @#0HP>$4P
M.B P,” P," P," P," P," P," P," P," P," P," P," P," P," P," P
M," P," -“C!X1C Z(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P
M(# P(# P(# P(# P(# P( T*#0H-“D-L87-S(” @(” @(" @(#T@3F5T=V]R
M:R H171H97)N970I#0I696YD;W(@240@(" @(" ](#$P,3%H+"!$:6=I=&%L
M($5Q=6EP;65N="!#;W)P;W)A=&EO;B -“D1E=FEC92!)1” @(" @(#T@.6@L
M($1#,C$Q-# @1F%S="!%=&AE<FYE="!#=’)L<@T4$-)(&EN9&5X(" @(" @
M/2 P: T
0VQA<W,@0V]D97,@(" @/2 P,C P,#!H#0I2979I<VEO;B!)1" @
M(" ](#(R: T0G5S(&YU;6)E<B @(" @/2 P#0I$979I8V4@;G5M8F5R(" ]
M(#0-"D9U;F-T:6]N(&YU;2 @(#T@, T
4W1A=‘5S(%)E9R @(" @/2 R.#!H
M#0I#;VUM86YD(%)E9R @(" ](#=H#0H)22]/(’-P86-E(&%C8V5S<R!E;F%B
M;&5D#0H)365M;W)Y(’-P86-E(&%C8V5S<R!E;F%B;&5D#0H)0G5S($UA<W1E
M<B!E;F%B;&5D#0H)4W!E8VEA;"!#>6-L92!O<&5R=&%T:6]N<R!I9VYO<F5D
M#0H)365M;W)Y(%=R:71E(&%N9"!);G9A;&ED871E(&1I<V%B;&5D#0H)4&%L
M971T92!3;F]O<&EN9R!D:7-A8FQE9 T*“5!A2!#:&5C:VEN9R!D:7-A
M8FQE9 T*“41A=&$O061D<F5S<R!S=&5P<&EN9R!D:7-A8FQE9 T*“5-%4E(C
M(&1R:79E<B!D:7-A8FQE9 T*“49A<W0@8F%C:RUT;RUB86-K('1R86YS86-T
M:6]N<R!T;R!D:69F97)E;G0@86=E;G1S(&1I<V%B;&5D#0I(96%D97(@='EP
M92 @(” ](#!H(%-I;F=L92UF=6YC=&EO;@T0DE35" @(" @(" @(" @/2 P
M:"!"=6EL9"UI;BUS96QF+71E<W0@;F]T(’-U<’!O<G1E9 T
3&%T96YC>2!4
M:6UE<B @/2 R,&@-“D-A8VAE($QI;F4@4VEZ93T@.&@@=6XM8V%C:&5A8FQE
M#0I)3R!!9&1R97-S(” @(” ](&9F9F9F,#!H(&QE;F=T:” Q,C@@96YA8FQE
M9 T365M($%D9’)E<W,@(" @/2 S8F9F9F8P,&@@,S)B:70@;&5N9W1H(#$R
M."!E;F%B;&5D#0I%>’!A;G-I;VX@4D]-(" ](#-F9F,P,# P:"!L96YG=&@@
M,C8R,30T(&1I<V%B;&5D#0I-87@@3&%T(" @(" @(" ](#0P;G,-“DUI;B!’
M;G0@(” @(" @(#T@,C!N<PT
4$-)($EN=”!0:6X@(" @/2!)3E0@00T26YT
M97)R=7!T(&QI;F4@/2 R#0I$979I8V4@1&5P96YD96YT(%)E9VES=&5R<SH-
M"C!X-# Z(# P(# Q(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P
M(# P(# P(# P( T
,’@U,#H@,# @,# @,# @,# @,# @,# @,# @,# @,# @
M,# @,# @,# @,# @,# @,# @,# @#0HP>#8P.B P," P," P," P," P," P
M," P," P," P," P," P," P," P," P," P," P," -“C!X-S Z(# P(# P
M(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P( T*
M,’@X,#H@,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @
M,# @,# @,# @#0HP>#DP.B P,” P," P," P," P," P," P," P," P," P
M," P," P," P," P," P," P," -“C!X03 Z(# P(# P(# P(# P(# P(# P
M(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P( T*,'A”,#H@,# @,# @
M,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @#0HP
M>$,P.B P," P," P," P," P," P," P," P," P," P," P," P," P," P
M," P," P," -“C!X1# Z(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P
M(# P(# P(# P(# P(# P(# P( T*,'A%,#H@,# @,# @,# @,# @,# @,# @
M,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @#0HP>$8P.B P,” P," P
M," P," P," P," P," P," P," P," P," P," P," P," P," P," -"@T*
M#0I#;&%S<R @(" @(" @(" ]($)R:61G92 H4$-)+U!#22D-“E9E;F1O<B!)
M1” @(" @(#T@,3 Q,6@L($1I9VET86P@17%U:7!M96YT($-O<G!O<F%T:6]N
M( T1&5V:6-E($E$(" @(" @/2 R-F@L(#(Q,34T(%!#22U00TD@0G)I9&=E
M#0I00TD@:6YD97@@(" @(" ](#!H#0I#;&%S<R!#;V1E<R @(" ](# V,#0P
M,&@-“E)E=FES:6]N($E$(” @(#T@,F@-“D)U<R!N=6UB97(@(” @(#T@, T

M1&5V:6-E(&YU;6)E<B @/2 Q, T1G5N8W1I;VX@;G5M(" @/2 P#0I3=&%T
M=7,@4F5G(" @(" ](#(Y,&@-“D-O;6UA;F0@4F5G(” @(#T@-V@-"@E)+T@
M<W!A8V4@86-C97-S(&5N86)L960-"@E-96UO<GD@<W!A8V4@86-C97-S(&5N
M86)L960-"@E"=7,@36%S=&5R(&5N86)L960-"@E3<&5C:6%L($-Y8VQE(&]P
M97)T871I;VYS(&EG;F]R960-"@E-96UO<GD@5W)I=&4@86YD($EN=F%L:61A
M=&4@9&ES86)L960-"@E086QE=‘1E(%-N;V]P:6YG(&1I<V%B;&5D#0H)4&%R
M:71Y($-H96-K:6YG(&1I<V%B;&5D#0H)1&%T82]!9&1R97-S(’-T97!P:6YG
M(&1I<V%B;&5D#0H)4T524B,@9’)I=F5R(&1I<V%B;&5D#0H)1F%S="!B86-K
M+71O+6)A8VL@=’)A;G-A8W1I;VYS(‘1O(&1I9F9E<F5N="!A9V5N=’,@9&ES
M86)L960-“DAE861E<B!T>7!E(” @(#T@,6@@4VEN9VQE+69U;F-T:6]N#0I"
M25-4(" @(" @(" @(" ](#!H($)U:6QD+6EN+7-E;&8M=&5S="!N;W0@<W5P
M<&]R=&5D#0I,871E;F-Y(%1I;65R(" ](#@P: T
0V%C:&4@3&EN92!3:7IE
M/2 X:"!U;BUC86-H96%B;&4-“E!R:6UA<GD@0G5S($YU;6)E<B @(” @(" ]
M(#!H#0I396-O;F1A<GD@0G5S($YU;6)E<B @(" @/2 Q: T4W5B;W)D:6YA
M=&4@0G5S($YU;6)E<B @(#T@,6@-“E-E8V]N9&%R>2!,871E;F-Y(%1I;65R
M(” ](#@P: T
22]/($)A<V4@(" @(" @(" @(" @(" @(#T@9C%H#0I)+T@
M3&EM:70@(" @(" @(" @(" @(" @/2!E,6@-“E-E8V]N9&%R>2!3=&%T=7,@
M(” @(" @(" ](#(R.#!H#0I-96UO<GD@0F%S92 @(" @(" @(" @(" @/2 S
M8F8P: T365M;W)Y($QI;6ET(" @(" @(" @(" @(#T@,V)E,&@-"E!R969E
M=&-H86)L92!-96UO<GD@0F%S92 ](&9F9C%H#0I0<F5F971C:&%B;&4@365M
M;W)Y($QI;6ET/2 Q: T
4’)E9F5T8VAA8FQE($)A<V4@57!P97(@,S(@0FET
M<R @/2!F9F9F9F9F9F@-“E!R969E=&-H86)L92!,:6UI=”!5<’!E<B S,B!"
M:71S(#T@,&@-“DDO3R!“87-E(%5P<&5R(#$V($)I=’,@(” ](&9F9F9H#0I)
M+T@3&EM:70@57!P97(@,38@0FET<R @/2!F9F9F: T0G)I9&=E($-O;G1R
M;VP@(" @(" @(" @(#T@,&YS#0I00TD@26YT(%!I;B @(" @(" @(" @(" @
M/2!.0PT
26YT97)R=7!T(&QI;F4@(” @(" @(" @(#T@, T1&5V:6-E($1E
M<&5N9&5N="!296=I<W1E<G,Z#0HP>#0P.B P," P," P," P," P," P," P
M," P,B P," P," P," P," P," P," P," P," -"C!X-3 Z(# P(# P(# P
M(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P( T
,’@V
M,#H@,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @9C @,# @,# @
M,# @,# @#0HP>#<P.B P," P," P," P," P," P," P," P," P," P," P
M," P," P," P," P," P," -“C!X.# Z(# P(# P(# P(# P(# P(# P(# P
M(# P(# P(# P(# P(# P(# P(# P(# P(# P( T*,’@Y,#H@,# @,# @,# @
M,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @#0HP>$$P
M.B P,” P," P," P," P," P," P," P," P," P," P," P," P," P," P
M," P," -“C!X0C Z(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P(# P
M(# P(# P(# P(# P(# P( T*,'A#,#H@,# @,# @,# @,# @,# @,# @,# @
M,# @,# @,# @,# @,# @,# @,# @,# @,# @#0HP>$0P.B P,” P," P," P
M," P," P," P," P," P," P," P," P," P," P," P," P," -“C!X13 Z
M(# Q(# P(# Q(# Q(# P(# P(#0P(# P(# P(# P(# P(# P(# P(# P(# P
M(# P( T*,'A&,#H@,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @,# @
5,# @,# @,# @,# @,# @#0H-@T*
`
end

Emlyn,

try this magic recipe (thanks to jwall):
devb-eide eide ioport=0x8000fff0:0x8000ffe8,irq=114

It works on my MCP750.

  • Igor

Emlyn Garvey wrote:

jclarke@qnx.com> > wrote in message news:9d95em$2g7$> 1@nntp.qnx.com> …
The irq for the primary ide controll should be 114 (ignore what pci says
for
interupts on that board).

Noted.

Are you sure the CF controller is on the primary ide controller and not
the
slave?

I take it to be off the primary ie. as derived from the following excerpt
from the user manual:

“The MCP750 supports a single EIDE compatible FLASH Memory Card off of the
PBC Primary EIDE interface… Once configured, this memory will appear as a
standard ATA (EIDE) disk drive”

The auto detect won’t work on a non x86 system, you must pass the address
and
irq. Maybe you could post the output of “pci -vvv”.

See the attachment. I did run this earlier but couldn’t make sense of the
output. Perhaps you can help me here.

Thanks so far,

Emlyn

Jason


Emlyn Garvey <> emlyn.garvey@leotel.co.uk> > wrote:
I initially took irq=114 as being a typo. I ran the ‘pci’ utility which
shows the allocated irq for the EIDE controller as being 14 - hence
reason
for previous line. However i’ve just tried using irq=114 as you specify
and
got the same error ie.

‘No eide interfaces found’

Note, when I ommit the ioport address the driver core dumps. Would a
core
dump file be of any help? Also, why does pci_attach_device() not fill in
the
appropriate memory address fields? Do these addresses also represent the
ioport address for the EIDE driver? Finally, 114 sounds like a large irq
number, i’m more used to the PC architecture. Please excuse my ignorance
here. Perhaps i’m dabling in something out of my depths, however should
getting QNX going be this difficult?

jclarke@qnx.com> > wrote in message news:9d92nj$p7$> 1@nntp.qnx.com> …

irq=114


Emlyn Garvey <> emlyn.garvey@leotel.co.uk> > wrote:
Sorry…

“Emlyn Garvey” <> emlyn.garvey@leotel.co.uk> > wrote in message
news:9d90a1$ag5$> 2@inn.qnx.com> …
I’m having problems getting the EIDE driver (devb-eide) to recognose
the
Compact Flash disk on a MPC750 PowerPC BE board. Basically when I
start
the
driver, as per the default line in mcp750.build file ie.

% devb-eide eide ioport=0x8ffffff0:0x8fffffe8,irq=14

I get the following error.

‘No eide interfaces found’

I’ve tried various combinations of parameters to the above driver
(ie.
ommitted ioport address, for auto config etc.) without success. I’ve
also
written a small program which calls pci_attach_device() and fills
pci_dev_info to get more details (ie. port address etc.). However
this
shows
all PCI and CPU base addresses as being 0 (ie. as discovered by
someone
in
a
previous news entry). I also tried messing with flag arguments to
this
call
but with no success.

Someone must have got QNX to run on this board as a build file
already
exists (/ppcbe/build/mcp750.build). Any help would be much
appreciated.

Regards,
Emlyn








Name: pci-dump.dat
pci-dump.dat Type: application/x-unknown-content-type-DAT_auto_file
Encoding: x-uuencode

Ah, success at last. Thanks Igor.

Just out of interest where did the port numbers come from?

Emlyn

“Igor Kovalenko” <Igor.Kovalenko@motorola.com> wrote in message
news:3AF8355A.EB6B0D5D@motorola.com

Emlyn,

try this magic recipe (thanks to jwall):
devb-eide eide ioport=0x8000fff0:0x8000ffe8,irq=114

It works on my MCP750.

  • Igor

Emlyn Garvey wrote:

jclarke@qnx.com> > wrote in message news:9d95em$2g7$> 1@nntp.qnx.com> …
The irq for the primary ide controll should be 114 (ignore what pci
says
for
interupts on that board).

Noted.

Are you sure the CF controller is on the primary ide controller and
not
the
slave?

I take it to be off the primary ie. as derived from the following
excerpt
from the user manual:

“The MCP750 supports a single EIDE compatible FLASH Memory Card off of
the
PBC Primary EIDE interface… Once configured, this memory will appear
as a
standard ATA (EIDE) disk drive”

The auto detect won’t work on a non x86 system, you must pass the
address
and
irq. Maybe you could post the output of “pci -vvv”.

See the attachment. I did run this earlier but couldn’t make sense of
the
output. Perhaps you can help me here.

Thanks so far,

Emlyn

Jason


Emlyn Garvey <> emlyn.garvey@leotel.co.uk> > wrote:
I initially took irq=114 as being a typo. I ran the ‘pci’ utility
which
shows the allocated irq for the EIDE controller as being 14 - hence
reason
for previous line. However i’ve just tried using irq=114 as you
specify
and
got the same error ie.

‘No eide interfaces found’

Note, when I ommit the ioport address the driver core dumps. Would a
core
dump file be of any help? Also, why does pci_attach_device() not
fill in
the
appropriate memory address fields? Do these addresses also represent
the
ioport address for the EIDE driver? Finally, 114 sounds like a large
irq
number, i’m more used to the PC architecture. Please excuse my
ignorance
here. Perhaps i’m dabling in something out of my depths, however
should
getting QNX going be this difficult?

jclarke@qnx.com> > wrote in message news:9d92nj$p7$> 1@nntp.qnx.com> …

irq=114


Emlyn Garvey <> emlyn.garvey@leotel.co.uk> > wrote:
Sorry…

“Emlyn Garvey” <> emlyn.garvey@leotel.co.uk> > wrote in message
news:9d90a1$ag5$> 2@inn.qnx.com> …
I’m having problems getting the EIDE driver (devb-eide) to
recognose
the
Compact Flash disk on a MPC750 PowerPC BE board. Basically when
I
start
the
driver, as per the default line in mcp750.build file ie.

% devb-eide eide ioport=0x8ffffff0:0x8fffffe8,irq=14

I get the following error.

‘No eide interfaces found’

I’ve tried various combinations of parameters to the above
driver
(ie.
ommitted ioport address, for auto config etc.) without success.
I’ve
also
written a small program which calls pci_attach_device() and
fills
pci_dev_info to get more details (ie. port address etc.).
However
this
shows
all PCI and CPU base addresses as being 0 (ie. as discovered by
someone
in
a
previous news entry). I also tried messing with flag arguments
to
this
call
but with no success.

Someone must have got QNX to run on this board as a build file
already
exists (/ppcbe/build/mcp750.build). Any help would be much
appreciated.

Regards,
Emlyn








Name: pci-dump.dat
pci-dump.dat Type:
application/x-unknown-content-type-DAT_auto_file
Encoding: x-uuencode

On my board the pci -v shows 5 IO address lines for IDE controller,
first of them is ‘fff0h length 8’. That happens to be primary interface
address which should be added to PCI/ISA IO space base address 80000000h
(I think both PREP and CHRP style memory maps use that base). So you get
8000fff0.

I’m really not sure about secondary though. The ‘fffe8’ does not appear
among those 5 lines on my board. I have ‘fffe0’ and ‘fffec’ and actually
I’m confused why there are 5 lines at all. But then I don’t have
anything on secondary so I can’t verify if that address is right or not
so I just passed on what jwall suggested. You might want to ask him if
you need secondary.

  • Igor

Emlyn Garvey wrote:

Ah, success at last. Thanks Igor.

Just out of interest where did the port numbers come from?

Emlyn

“Igor Kovalenko” <> Igor.Kovalenko@motorola.com> > wrote in message
news:> 3AF8355A.EB6B0D5D@motorola.com> …
Emlyn,

try this magic recipe (thanks to jwall):
devb-eide eide ioport=0x8000fff0:0x8000ffe8,irq=114

It works on my MCP750.

  • Igor

Emlyn Garvey wrote:

jclarke@qnx.com> > wrote in message news:9d95em$2g7$> 1@nntp.qnx.com> …
The irq for the primary ide controll should be 114 (ignore what pci
says
for
interupts on that board).

Noted.

Are you sure the CF controller is on the primary ide controller and
not
the
slave?

I take it to be off the primary ie. as derived from the following
excerpt
from the user manual:

“The MCP750 supports a single EIDE compatible FLASH Memory Card off of
the
PBC Primary EIDE interface… Once configured, this memory will appear
as a
standard ATA (EIDE) disk drive”

The auto detect won’t work on a non x86 system, you must pass the
address
and
irq. Maybe you could post the output of “pci -vvv”.

See the attachment. I did run this earlier but couldn’t make sense of
the
output. Perhaps you can help me here.

Thanks so far,

Emlyn

Jason


Emlyn Garvey <> emlyn.garvey@leotel.co.uk> > wrote:
I initially took irq=114 as being a typo. I ran the ‘pci’ utility
which
shows the allocated irq for the EIDE controller as being 14 - hence
reason
for previous line. However i’ve just tried using irq=114 as you
specify
and
got the same error ie.

‘No eide interfaces found’

Note, when I ommit the ioport address the driver core dumps. Would a
core
dump file be of any help? Also, why does pci_attach_device() not
fill in
the
appropriate memory address fields? Do these addresses also represent
the
ioport address for the EIDE driver? Finally, 114 sounds like a large
irq
number, i’m more used to the PC architecture. Please excuse my
ignorance
here. Perhaps i’m dabling in something out of my depths, however
should
getting QNX going be this difficult?

jclarke@qnx.com> > wrote in message news:9d92nj$p7$> 1@nntp.qnx.com> …

irq=114


Emlyn Garvey <> emlyn.garvey@leotel.co.uk> > wrote:
Sorry…

“Emlyn Garvey” <> emlyn.garvey@leotel.co.uk> > wrote in message
news:9d90a1$ag5$> 2@inn.qnx.com> …
I’m having problems getting the EIDE driver (devb-eide) to
recognose
the
Compact Flash disk on a MPC750 PowerPC BE board. Basically when
I
start
the
driver, as per the default line in mcp750.build file ie.

% devb-eide eide ioport=0x8ffffff0:0x8fffffe8,irq=14

I get the following error.

‘No eide interfaces found’

I’ve tried various combinations of parameters to the above
driver
(ie.
ommitted ioport address, for auto config etc.) without success.
I’ve
also
written a small program which calls pci_attach_device() and
fills
pci_dev_info to get more details (ie. port address etc.).
However
this
shows
all PCI and CPU base addresses as being 0 (ie. as discovered by
someone
in
a
previous news entry). I also tried messing with flag arguments
to
this
call
but with no success.

Someone must have got QNX to run on this board as a build file
already
exists (/ppcbe/build/mcp750.build). Any help would be much
appreciated.

Regards,
Emlyn








Name: pci-dump.dat
pci-dump.dat Type:
application/x-unknown-content-type-DAT_auto_file
Encoding: x-uuencode