Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Post your project for free and start receiving proposals from freelancers within minutes after publication!

Compilation of drivers in Debian 10

Translated

Applications 1

Application viewing is only available registered users.
  • Profile deleted
    2 January 2023, 21:22 |

    Там же под убунту 14

    У дебиана 10 ядро другое

    Это , как компиляция для ядра 3.1 на ядре 5.15 . Очень мало шансов.

  • Viktor Gritsenko
    3 January 2023, 11:11 |

    https://support.xilinx.com/s/article/65444?language=en_US

    https://github.com/Xilinx/dma_ip_drivers

    На этой странице должны были быть новые версии XDMA Linux драйвера, но

    там я не вижу нужного архива.

    Есть QDMA, но этот драйвер предназначен для я дер, которые работают на более новых микросхемах и он очевидно не подойдет. 

  • Viktor Gritsenko
    2 January 2023, 21:54 |

    Непонятно только как раньше драйвер компилировался в среде Debian 10.

    Возможно где-то есть более новая версия.

    Возьму тайм-аут.

    Пока спасибо.

  • Viktor Gritsenko
    2 January 2023, 22:00 |

    Да, добрый вечер.

  • Viktor Gritsenko
    2 January 2023, 22:27 |

    мой Debian 10 имеет ядро

    Linux 4.19.0-18-amd64 x86_64

    А в каком файле вы нашли под какое ядро драйвер ?

     

  • Viktor Gritsenko
    2 January 2023, 22:30 |

    А понял,

    Ubuntu 14 имела ядро 3.1

  • Viktor Gritsenko
    2 January 2023, 22:47 |

    Как я понял,  нужна версия драйвера под Ubuntu версии 18.04.3 LTS  я ядром  5.0 или еще более поздней.

    Так ?

  • Pavel Shtemenko
    3 January 2023, 5:27 |

    Доброе утро. А что собственно сам make рассказывает?

  • Viktor Gritsenko
    3 January 2023, 9:42 |

    Доброе утро.


    root@debian:/home/user1/_DMA_Original_Driver_Soft/_NEW/Xilinx_Answer_65444_Linux_Files/driver# ls

    Makefile  xdma-bit.c  xdma-core.c  xdma-ioctl.c  xdma-sgm.c

    root@debian:/home/user1/_DMA_Original_Driver_Soft/_NEW/Xilinx_Answer_65444_Linux_Files/driver# make

    make -C /lib/modules/4.19.0-18-amd64/build M=/home/user1/_DMA_Original_Driver_Soft/_NEW/Xilinx_Answer_65444_Linux_Files/driver modules

    make[1]: Entering directory '/usr/src/linux-headers-4.19.0-18-amd64'

      CC [M]  /home/user1/_DMA_Original_Driver_Soft/_NEW/Xilinx_Answer_65444_Linux_Files/driver/xdma-core.o

    /home/user1/_DMA_Original_Driver_Soft/_NEW/Xilinx_Answer_65444_Linux_Files/driver/xdma-core.c: In function тАШprobe_scan_for_msiтАЩ:

    /home/user1/_DMA_Original_Driver_Soft/_NEW/Xilinx_Answer_65444_Linux_Files/driver/xdma-core.c:4321:8: error: implicit declaration of function тАШpci_enable_msixтАЩ; did you mean тАШpci_enable_msiтАЩ? [-Werror=implicit-function-declaration]

       rc = pci_enable_msix(pdev, lro->entry, req_nvec);

            ^~~~~~~~~~~~~~~

            pci_enable_msi

    cc1: some warnings being treated as errors

    make[4]: *** [/usr/src/linux-headers-4.19.0-18-common/scripts/Makefile.build:309: /home/user1/_DMA_Original_Driver_Soft/_NEW/Xilinx_Answer_65444_Linux_Files/driver/xdma-core.o] Error 1

    make[3]: *** [/usr/src/linux-headers-4.19.0-18-common/Makefile:1561: _module_/home/user1/_DMA_Original_Driver_Soft/_NEW/Xilinx_Answer_65444_Linux_Files/driver] Error 2

    make[2]: *** [Makefile:146: sub-make] Error 2

    make[1]: *** [Makefile:8: all] Error 2

    make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-18-amd64'

    make: *** [Makefile:16: all] Error 2

    root@debian:/home/user1/_DMA_Original_Driver_Soft/_NEW/Xilinx_Answer_65444_Linux_Files/driver# 

  • Viktor Gritsenko
    3 January 2023, 9:56 |

    История такая:

    в июле 2021года был установлен Debian 10

    и насколько я помню тогда же был откомпилирован драйвер.

    После этого драйвер успешно загружался и работал с реальной платой.

    Сейчас я уже начинаю сомневаться: не путаю ли я что-либо.

    Этот драйвер выпустила фирма XILINX для поддержки собственных ядер

    PCIexpress c DMA в составе микросхем FPGA.

    В 2022 году у меня еще был акаунт на сайте XILINX и я мог 

    задавать вопросы на их форуме и искать обновления архива

    с новой версией драйвера XDMA.

    В феврале 2022 года фирму XILINX купила фирма AMD

    и по настоящее время я на страницу XILINX (уже в составе AMD)

    не заходил.

    Сейчас я пытался войти на страницу форума XILINX со старым паролем

    и меня не впустили. Попытка восстановить акаунт не получилась, а

    сделать новый акаунт у XILINX по моему опыту дело почти безнадежное.

    Как получить архив с новой версией драйвера XDMA я сейчас не знаю.

  • Viktor Gritsenko
    3 January 2023, 9:58 |

    Если у вас есть AnyDesk вы могли бы войти на мой компьютер и посмотреть сами что там делается.

  • Viktor Gritsenko
    3 January 2023, 11:10 |

    https://support.xilinx.com/s/article/65444?language=en_US

    https://github.com/Xilinx/dma_ip_drivers

    На этой странице должны были быть новые версии XDMA Linux драйвера, но

    там я не вижу нужного архива.

    Есть QDMA, но этот драйвер предназначен для я дер, которые работают на более новых микросхемах и он очевидно не подойдет. 

  • Viktor Gritsenko
    3 January 2023, 12:24 |

    Вероятно нужна версия Xilinx_Answer_65444_Linux_Files.zip для Ubuntu версии 18.04.3 LTS  я ядром  5.0 или еще более поздней.

    Как я понял, XILINX отдал весь софт под Linux, включая драйверы - на  GitHub, но найти там такой файл не удается. 

  • Profile deleted
    3 January 2023, 14:23 |

    https://github.com/Xilinx/dma_ip_drivers/issues/30

    https://github.com/hmaarrfk/dma_ip_drivers

    больше ничем не помогу.


  • Profile deleted
    3 January 2023, 14:32 |

    encountered this with Ubuntu 16.04 LTS w/ 4.15.0-74-generic and suggested fix made the compilation work 

  • Viktor Gritsenko
    3 January 2023, 15:09 |

    Спасибо за то, что попытались помочь, но я не знаю что с этой информацией делать.

  • Profile deleted
    3 January 2023, 15:37 |

    Пытались решить многие , но в результате установили на 16-ую убунту

Current freelance projects in the category C & C++

Reverse engineering of console utilities for querying SSD controllers (Flash ID)

1. Purpose of the work Extraction of the application programming interface (API) for interaction with SSD/NVMe controllers from the provided set of console utilities (Phison, Silicon Motion, Realtek, Maxiotek, Marvell, JMicron, etc.). The result should be working code in C/C++…

C & C++Desktop Apps ∙ 1 day back ∙ 5 proposals

Development of a Minecraft Java Seed Map / Seed Viewer for the website

Development of Minecraft Java Seed Map / Seed Viewer for the websiteProject Description A browser-based tool Minecraft Java Seed Map / Seed Viewer needs to be developed, which will work on our website and allow the user to enter a seed from Minecraft Java Edition and view an…

C & C++HTML & CSS ∙ 1 day 7 hours back ∙ 13 proposals

Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x)

22 USD

Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x) on the identical hardware platform (ESP32 + SX1268, 2W) based on the criteria of range, throughput, link stability, and power consumption. Conduct tests with…

C & C++C# ∙ 5 days 14 hours back ∙ 2 proposals

Consultation and audit of the current project on Odoo 19 Community Edition

We are looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition, including using Claude Code. We need a specialist who has successfully implemented projects in Odoo and practical experience in development using Claude Code. Important: we only…

C & C++Javascript and Typescript ∙ 8 days 15 hours back ∙ 8 proposals

Software development for Arduino (RF modules 3–7.5 GHz, automatic frequency scanning)

It is necessary to develop a system on Arduino for the automatic search of active analog video signals and the automatic tuning of the transmitter to the detected frequency.It is planned to use three separate transceiver modules: 3000–4200 MHz; 4900–6000 MHz; 6100–7500…

C & C++Embedded Systems & Microcontrollers ∙ 9 days 16 hours back ∙ 4 proposals

Client
Viktor Gritsenko
Ukraine Dnepr  11  0
Project published
3 years back
68 views