How to config GPMC on beaglebone black?

Status
Not open for further replies.

hamidkavianathar

Member level 5
Joined
Mar 6, 2016
Messages
89
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
804
hey guys
I am beginner in embedded linux. I want to send some data to a FPGA with GPMC port of a beaglebone black board. I'm using kernel version "Linux beaglebone 4.14.79-ti-r84 #1 SMP PREEMPT Tue Nov 13 20:11:18 UTC 2018 armv7lGNU/Linux". I wrote a simple dts and then complied it and finally added this file "uboot_overlay_addr4=/lib/firmware/CUSTOM-GPMC-00A0.dtbo" to/boot/uEnv.txt file. after reboot I checked the /sys/kernel/debug/pincntrl/44e.../pingroups file. I can see that gmpc is added to this file. but when I check the /sys/kernel/debug/pincntrl/44e.../pins file, the their values do not match with values I have set in dts file. when I want to write to gmpc address with mmap function I receive bus error. could you please tell me what I should do?
thanks in advance.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…