Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12366 Discussions

dtb seems correct but device driver not functioning

Altera_Forum
Honored Contributor I
769 Views

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
Reply