* redwood5
@ 2002-08-16 17:10 Pete Smithers
2002-08-16 17:58 ` redwood5 akuster
0 siblings, 1 reply; 2+ messages in thread
From: Pete Smithers @ 2002-08-16 17:10 UTC (permalink / raw)
To: linuxppc-embedded
hi
i am trying to build a kernel from linuxppc_2_4_devel for the redwood5 board.
there seems to have been some restructuring in that tree after which nobody probably compiled a kernel for that board. at least, when i select gpio, onchip ethernet, onchip ide or sicc serial port i get a bunch of errors, like
ibm_ocp_gpio.c:124: `DCRN_CHCR0' undeclared (first use in this function) etc.
from a naive point of view, the fix, at least for this particular error would be to #include asm/ibm403.h and above that one of the headers in arch/ppc/platforms that #define DCRN_CHCR_BASE, depending on the selected processor.
but i don't think ibm_ocp_gpio.c should care about the selected processor, there must be some other way, to do that in a more generic way, so the other files that currently fail to compile won't fail anymore as well :)
i am just too new to the ppc stuff, so i am asking you gurus what you would preferably do to fix the problem...
Greets,
Pete
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: redwood5
2002-08-16 17:10 redwood5 Pete Smithers
@ 2002-08-16 17:58 ` akuster
0 siblings, 0 replies; 2+ messages in thread
From: akuster @ 2002-08-16 17:58 UTC (permalink / raw)
To: Pete Smithers; +Cc: linuxppc-embedded
Pete Smithers wrote:
> hi
>
> i am trying to build a kernel from linuxppc_2_4_devel for the redwood5 board.
> there seems to have been some restructuring in that tree after which nobody probably compiled a kernel for that board. at least, when i select gpio, onchip ethernet, onchip ide or sicc serial port i get a bunch of errors, like
> ibm_ocp_gpio.c:124: `DCRN_CHCR0' undeclared (first use in this function) etc.
>
> from a naive point of view, the fix, at least for this particular error would be to #include asm/ibm403.h and above that one of the headers in arch/ppc/platforms that #define DCRN_CHCR_BASE, depending on the selected processor.
>
> but i don't think ibm_ocp_gpio.c should care about the selected processor, there must be some other way, to do that in a more generic way, so the other files that currently fail to compile won't fail anymore as well :)
>
> i am just too new to the ppc stuff, so i am asking you gurus what you would preferably do to fix the problem...
>
>
> Greets,
> Pete
>
>
>
Pete,
Please use the redwood5_config to start with( make redwood5_config).
The stb04xxx does not have a ocp ethernet. The gpio driver will not
work on any stbxxxx processors since most of the other devices such as
video, sound and other drivers you get from IBM use many gpio pins so
having a generic gpio driver make no sense. If you want to use the gpio
driver then you will need to update some of the ibmstb4.x files and the
driver.
Armin
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-16 17:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-16 17:10 redwood5 Pete Smithers
2002-08-16 17:58 ` redwood5 akuster
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 NNTP newsgroup(s).