redwood5

Pete Smithers petesmithers at mail.com
Sat Aug 17 03:10:17 EST 2002


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/





More information about the Linuxppc-embedded mailing list