Is there any updated information on the build flow for ADRV9009 + A10SoC for no-OS? I see many references to manual steps being needed, i.e., no simple make setup, but I haven't quite pieced them all together to get a successful build. I am attempting to use the 2019_R1 branch.
I managed to generate system.h from the sopcinfo to get past my first errors, but am now running into issues with app_clocking.c. It appears that only NIOS II is supported for spi/gpio platform drivers - is this true? If so, do I need to use the hwlibs Altera drivers?
I am sure I will run into many more issues after this one (I saw a reference to manually editing linker scripts somewhere, as an example) and it would be great if there were more detailed instructions somewhere that I haven't found yet on wiki/forums.
Hi Mike,We don't support the Intel SoCs platforms on no-OS.
This is because a license for the DS5 compiler is required.
We have an example on c5soc, maybe you can use that. It does not require an extra license. But is a bit of a nightmare when trying to debug.
What I recommend is using Linux with the a10soc, for our reference designs.DragosB do you have any new input on this?Andrei
Thanks for the reply, even if it is disappointing. Doesn't the DS5 compiler come with Altera EDS? I didn't realize there was a separate license.
It seems like some work was done to support this at least initially, since there is an adrv9009/a10soc project under no-OS repo. Even if this was not completed, could you at least share any information on the perceived flow that I could use as a guide to attempt to get there? There are a few references scattered around the wiki/forums that hint at some of the necessary manual steps needed, but there is not a lot of fleshing out of the steps and they are not all in one place.
I don't really have the choice of a Linux approach at the moment.
I'll check out the c5soc link.
At this moment, the only supported Intel platform for the ADRV9009 no-OS project is the Intel Arria 10 GX FPGA Development Kit.
However, once you are able to run a Hello World project on the A10 SoC, it shouldn't be so hard to add support for ADRV9009 - even the already existing GPIO (https://github.com/analogdevicesinc/no-OS/blob/master/drivers/platform/altera/gpio.c) and SPI (https://github.com/analogdevicesinc/no-OS/blob/master/drivers/platform/altera/spi.c) drivers should work since the same altera_avalon_pio/altera_avalon_spi are used on both (SoC, GX) platforms.
Thanks for the reply.
I think the issue I am running into is not actually a driver issue, but an issue with app_clocking.c. It seems to be missing some #ifdef ALTERA_PLATFORM options around the assignment of ad9528_param.spi_init and .gpio_resetb. I think this would cause a10x builds to fail also, as they would build with the same code (#define ALTERA_PLATFORM).
That's something we can take care of. Sorry for this. We'll have a look and fix this.