Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
697 Views

dtb seems correct but device driver not functioning

THANKS IN ADVANCE. 

 

I've been working with Altera Cyclone V Dev Kit GSRD 14.1. I added a custom IP" UART_FIFO_AV_0" (that we've used before) that utilizes HSMC HSM_D0 and HSM_D1. "I believe" I have generated a good .dtb file.  

 

When I # ] insmod myDriver.ko 

The probe function uses:  

 

of_match_device  

platform_get_resource (should I be using of_address_to_resource ? that fails) 

request_mem_region  

of_iomap 

 

AND THEN I can see that in: /proc/device-tree/sopc@0 directory I have my entry. 

 

BUT when I try and write out to the HPS pins I see no activity. 

 

I've been going around in circles - I must be missing something fundamental. 

 

I'm attaching my *.dts file that I use to create my .dtb 

ANY IDEAS WILL BE APPRECIATED - I"VE BEEN AT THIS FOR DAYS AND I FEEL LIKE I'M GOING NOWHERE. 

0 Kudos
0 Replies