REALLY NEED SOME HELP:
1. We put our IP on the FPGA-HPS bridge that the leds are on.
2. Got/generated all the files via instructions - .rbf, .dtb (and I wasn't sure so did do the preloader-mkpimage.bin)
I did have to generate a new device tree
2b. I had to update the zImage because the version magic numbers did not match -- when I did this the led-gpio driver gives the message:
platform leds.1: Driver leds-gpio request probe deferral -- why?
3. I DID NOT add the driver to the kernel but just cross compiled it and put it on the sd card to manually insert.
When I insert the device driver - I get an error with the: of_address_to_resource
static int touchscreen_drv_probe( struct platform_dev *op)
{
int rc = 0;
struct device_node *node = op->dev.of_node;
struct resource res;
// the of_match_device works ---
rc = (of_address_to_resource( &op->dev.of_node, 0, &res);
if (rc)
{
//fail
}
}
Where could the disconnect be?