Forum Discussion
Hi,
I couldn't manage to get it working by editing the .qsys file directly, as I am not sure of the structure of the .qsys file. In other words, I wasn't sure which fields I should and should not edit. However, I tried to open the .qsys in the "Platform Designer". Here, it complained about all of the IPs being version 17.1, when my version of the entire toolchain is version 19.3. After that, it upgraded all of the IPs and I changed the name of the Hard Processor. After that, I was able to run sopc2dts without getting any "DTAppend" errors. However, there is still a lot of unknown components, as can be seen in the attached file "sopc2dts_output.txt".
Then I edited the .dts file as stated by the manual, and ran the dtc command. This command produced the following errors:
ERROR (phandle_references): Reference to non-existent node or label "led_pio"
ERROR (phandle_references): Reference to non-existent node or label "led_pio"
ERROR (phandle_references): Reference to non-existent node or label "led_pio"
ERROR (phandle_references): Reference to non-existent node or label "led_pio"
Warning: Input tree has errors, output forcedEven though the steps in section "3.4 Generating Full-Chip Programming File for SD Card Image" runs without any problems, should these error messages be here?
Then I tried to compile the OpenCL driver against ACDS19.1 version of linux_socfpga. Even after the fix made in "aclsoc_cmd.c", as stated in the manual, I get the following error:
CC [M] /home/carljohnsen/git/a10soc_driver/aclsoc_cmd.o
/home/carljohnsen/git/a10soc_driver/aclsoc_cmd.c: In function ‘__aclsoc_get_user_pages’:
/home/carljohnsen/git/a10soc_driver/aclsoc_cmd.c:166:11: error: too few arguments to function ‘get_user_pages_remote’
ret = get_user_pages_remote(target_task, target_task->mm,
^~~~~~~~~~~~~~~~~~~~~This can be fixed by giving it an additional pointer to an integer, which is named "locked". Which pointer should this be?
Lastly, regarding step 2 in section "3.5.2.3. Creating Partition 3 of the SD Card Image", in version 19.3 there is no "bsp-editor" within the embedded command shell. It is present in 19.1, but not 19.3. Futhermore, there is no folder named "hps_isw_handoff" within my base compilation? The guide pointed to by the manual https://rocketboards.org/foswiki/Documentation/A10GSRDGeneratingUBootAndUBootDeviceTree states that "(From 19.3 onwards U-boot would not be built from SOCEDS please look at CompilingLinux section for more information)". So can the SD card image be produced in 19.3, or should I go back and try the same steps in 19.1?