реклама на сайте
подробности

 
 
 
Reply to this topicStart new topic
> Altera byteblaster kernel driver
linux0
сообщение Nov 26 2008, 06:24
Сообщение #1





Группа: Новичок
Сообщений: 2
Регистрация: 26-11-08
Из: Серпухов
Пользователь №: 41 968



Кто нибудь знает как скомпилировать kernel driver программатора altera byteblaster (LPT порт) для ubuntu linux? Ато quartus не хочет в убунте прошивать.
Пишу ./configure а он по английски пишет что драйвер не был портирован для этой оси. Для red hat linux у них официально предназначен драйвер. Можно как нибудь "обмануть"?
Для программатора usb blaster инструкция здесь:
https://help.ubuntu.com/community/QuartusII
Кто хочет помочь - файл byteblaster.tar.gz c исходниками драйвера можно скачать(10 кб):
http://slil.ru/26369785
Go to the top of the page
 
+Quote Post
msalov
сообщение Nov 26 2008, 09:03
Сообщение #2


Знающий
****

Группа: Свой
Сообщений: 526
Регистрация: 24-08-07
Из: Беларусь, Минск
Пользователь №: 30 045



Обмануть проще простого
Код
case $state in
  ancient)
    echo "This is a supported OS ($system) but an old release ($release)."
    echo "The ByteBlasterMV driver cannot be used as-is on this"
    echo "system, but you may be able to port it.  Good luck!"
    exit;;
  late)
    echo "This is a newer release of $system than is supported by"
    echo "this software.  It may or may not work.";;
  unknown)
    echo "The ByteBlasterMV driver has not been ported to this"
    echo "version of this OS.  Sorry."
#    exit;;
esac

Закоментируйте строку с exit как в приведённой тексте в файле configure.
Вопрос в догонку. Вы читали INSTALL инструкции? там написано что можно не страдать компилированием модулей, а использовать имеющийся parport. Особое внимение уделите выделенным кускам
Цитата
Features
--------

This package contains kernel drivers for the Altera ByteBlaster, ByteBlasterMV
and ByteBlaster II JTAG cables.

In most cases you won't need to install a driver on your system. If the
parport driver is available on your kernel then Quartus II will use that driver
to connect to the hardware. This driver is visible as device nodes called
/dev/parport0, /dev/parport1 etc.

The only setup required with the parport driver is to ensure that the
permissions of the devices /dev/parport# (where # is 0, 1 or 2) are set
to provide RW access to all users who will need to use them.


If you are using an early 2.4.x series kernel which does not contain any
parport devices they you may need to install the /dev/byteblaster driver by
following the instructions below. Note that this driver does not support
ByteBlaster II cables.

If you are using a 2.6.x series kernel then you may be able to get higher
performance by patching your parport driver to support bitbash mode. You
should only do this if you really know what you are doing - see the
instructions below.

If you do not have a copy of the Quartus II software installed then please
see http://www.altera.com/ for details of how to obtain the software.
Go to the top of the page
 
+Quote Post
vinnichanin
сообщение Jun 13 2010, 17:45
Сообщение #3





Группа: Новичок
Сообщений: 2
Регистрация: 13-06-10
Пользователь №: 57 902



Уважаемые gotty и linux0, можно ли повторно залить byteblaster.tar.gz
Заранее благодарен, Vinnichanin
Go to the top of the page
 
+Quote Post
ReAl
сообщение Jun 13 2010, 18:44
Сообщение #4


Нечётный пользователь.
******

Группа: Свой
Сообщений: 2 033
Регистрация: 26-05-05
Из: Бровари, Україна
Пользователь №: 5 417



Этот файл лежит в каталоге quartus/linux в проинсталлированном линуксовом квартусе.
Вам он нужен при том, что Вам не нужен квартус и Вы не собираетесь его устанавливать?
А чем не устраивает работа кварутса через /dev/parport без этого драйвера ?
Прикрепленное изображение


--------------------
Ну, я пошёл… Если что – звоните…
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 31st July 2025 - 13:37
Рейтинг@Mail.ru


Страница сгенерированна за 0.01378 секунд с 7
ELECTRONIX ©2004-2016