Altera_Forum
Honored Contributor
9 years agolinux mailbox-altera driver
Hi,
I was wondering if anyone had any examples on using the mailbox-altera linux driver. I'm trying to communicate data back and forth between the hps and nios side and wanted to use this driver. I looked online but didn't see any documentation on using this driver for the hps side. For the nios side I'm using altera_avalon_mailbox_simple api. I did find the link below with examples but don't understand where to set this information and how to use the functions within the driver. Normally, drivers use file operations like open, release, read, and write. However, in this driver send_data, startup, shutdown, last_tx_done, and peek_data are being used as the channel operations. Should I call these operations and what do I set for the chan? http://svn.dd-wrt.com/browser/src/linux/universal/linux-4.4/documentation/devicetree/bindings/mailbox/altera-mailbox.txt?rev=28606 Thanks, ~Nora