[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Multiple Peripheral Instances with uClinux-auto platform



How does the uClinux-auto platform support multiple peripheral instances of
the same type?

I have a system with three opb_gpio peripherals but the address ranges for
the second two peripherals are incorrectly being set in the uclinux kernel.
 I think that is because xgpio_g.c in the uclinux source tree only has one
peripheral enumerated so the kernel is reading off the end of the array
during initialization.

Libgen enumerates each peripheral instance into the _g.c file (ie,
xgpio_g.c).
The powerpc linux mld copies these files over to the powerpc linux source
tree where the Montavista adapters use the _g.c files to get the parameters
for each instance.

Thanks.
Paul

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/