I have an existing board in need of a better processor and OS.. so.. I'd like to use my beaglebone's gpmc_ad0-15 as a multiplexed 16 bit address/data bus to talk to this board. I've built a circuit to latch the address and I can get things working with the pins configured as GPIO (mode 7) where I bit-bang the strobes and manually change the contents of the OE registers, etc.. What I'd like to do, however, is kick the pins into mode 0 and access my existing board as memory or IO. How to do this under arago / TI SDK? Where do I start?
Are there any good examples out there of how to do this? Do I just write some magic to /sys/kernel/some/gpmc/path and it starts working, or do I need to add custom code to my kernel? and a new u-boot to boot? Run PinMux? Is this even the right forum to post this in? Is it a linux question or a beaglebone question?
I know a little bit about linux device drivers.. I'm okay reading source code.. I just don't really have the high level view of what's required here... I don't know what I don't know.. what's there in the kernel already and what needs to be done?
Drew