Re: Re: u-boot & uImage on M5282LITE
Allon Stern <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers.coldfire |
|---|---|
| Message-ID | <[email protected]> |
On Feb 27, 2008, at 5:52 PM, Loren A. Linden Levy wrote: > Hi Allon et. al, > > So we are planning on using this board as a clock and slow controller > for a new detector in our experiment. I need to be able to talk to an > FPGA on the board that this will be connected to set thresholds > etc. Is there a way to do this in uClinux, I have an example in RTOS > Quadros, so I think I know what the memory addresses are. Thanks for > any input and or references. > > Alex Almost certainly. You'll probably want to write a device driver to expose the functionality of your FPGA to the uClinux world. I just managed to get interrupts working on my board. It's important to note that the IRQ lines broken out on the board are NOT what I would have expected; they're actually GPIOs that can be set up as level or edge triggered IRQs using the EPORT module. And you have to unmask the interrupt in the interrupt controller registers as well. Why this isn't done when you register an IRQ in linux I have no idea. Anyone with more knowledge, please speak up :) - allon --- [email protected] Send a post to the list. [email protected] Join the list. [email protected] Join the list in digest mode. [email protected] Leave the list.