Управляем чем угодно откуда угодно

Сборка SDK, вопросы и баги

Обсуждение линуксовой части и софта на борту виртурилки

Re: Сборка SDK, вопросы и баги

Сообщение dobromir » 19 дек 2013, 22:22

realizator писал(а):
dobromir писал(а):В начале качает потом прерывается типа обратитесь к админу сервера

У меня тоже скачался. Тем не менее мы выложили файлик на торрент - в основной теме про прошивку посмотрите, там он аттачем добавлен
UPD> прицепил его еще и к этому сообщению. Напомню, это прошивка viewtopic.php?f=38&t=13296#p18040 от 09 декабря 2013

оооо пасиба наконец то скачал
dobromir
 
Сообщения: 70
Зарегистрирован: 20 сен 2013, 16:03

Re: Сборка SDK, вопросы и баги

Сообщение eagafonov » 19 дек 2013, 22:57

У меня рацпредложение: вместе с готовыми сборками выкладывать .config-файлы для kernel и fs.
Тэги в GIT не просто так оптяь реализованы опять же ;-)

Это сильно поможет в сборке своих образов как отправная точка. Очень хочется быстро заиметь гарантированно работющее ядро + своё по мелочи, не ползая по menuconfig.

Вот сейчас у меня, например, отвалилася сеть через USB, которая работает с прошивкой от 9 декабря.

UPD> После того, как написал про USB, ping'и полезли... Чудеса ;-)
Аватара пользователя
eagafonov
 
Сообщения: 175
Зарегистрирован: 18 сен 2013, 23:39
Откуда: Нижненовгородск

Re: Сборка SDK, вопросы и баги

Сообщение daglib » 21 дек 2013, 16:34

Пытаюсь собрать прошивку по инструкции. Дошел до
Собираем все компоненты SDK автоматически, поочерёдно
make build
выдает ошибки
Код: Выделить всё
/opt/virt2real-sdk/codesourcery/arm-2013.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.7.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find /opt/virt2real-sdk/dvsdk/dmai_2_20_00_15/packages/ti/sdo/dmai/lib/dmai_linux_dm365.a470MV
collect2: error: ld returned 1 exit status
make[5]: *** [libgstticodecplugin.la] Error 1
make[5]: Leaving directory `/opt/virt2real-sdk/fs/output/build/ti-gstreamer-dmai-HEAD/src'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/opt/virt2real-sdk/fs/output/build/ti-gstreamer-dmai-HEAD/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/virt2real-sdk/fs/output/build/ti-gstreamer-dmai-HEAD'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/virt2real-sdk/fs/output/build/ti-gstreamer-dmai-HEAD'
make[1]: *** [/opt/virt2real-sdk/fs/output/build/ti-gstreamer-dmai-HEAD/.stamp_built] Error 2
make[1]: Leaving directory `/opt/virt2real-sdk/fs'
make: *** [fsbuild] Error 2
root@ubuntu:/opt/virt2real-sdk#
daglib
 
Сообщения: 22
Зарегистрирован: 08 ноя 2013, 21:35

Re: Сборка SDK, вопросы и баги

Сообщение COBECTb » 22 дек 2013, 13:53

у меня тоже самое.
COBECTb
 
Сообщения: 168
Зарегистрирован: 08 сен 2013, 14:58

Re: Сборка SDK, вопросы и баги

Сообщение eagafonov » 24 дек 2013, 01:11

При сборке SDK ядрёные заголовочные файлы надо складировать в отдельную папку

https://www.kernel.org/doc/Documentatio ... nstall.txt

Exporting kernel headers for use by userspace
=============================================

The "make headers_install" command exports the kernel's header files in a
form suitable for use by userspace programs.


Патч для SDK готов
https://github.com/virt2real/install-sdk/pull/3
Аватара пользователя
eagafonov
 
Сообщения: 175
Зарегистрирован: 18 сен 2013, 23:39
Откуда: Нижненовгородск

Re: Сборка SDK, вопросы и баги

Сообщение Gol » 25 дек 2013, 23:29

daglib писал(а):Пытаюсь собрать прошивку по инструкции. Дошел до
Собираем все компоненты SDK автоматически, поочерёдно make build
выдает ошибки ...

Я про это писал, устаревший порядок сборки был в мейкфайле. Уже пофиксено. Сделай git pull в корне SDK (чтоб мейкфайл обновился)
Аватара пользователя
Gol
 
Сообщения: 507
Зарегистрирован: 17 фев 2012, 01:44
Откуда: Тула-Свободный-Щёкино-Тула-Москва

Re: Сборка SDK, вопросы и баги

Сообщение Gol » 25 дек 2013, 23:30

eagafonov писал(а):При сборке SDK ядрёные заголовочные файлы надо складировать в отдельную папку

Патч для SDK готов
https://github.com/virt2real/install-sdk/pull/3

Ага, замержил, спасиб.
Аватара пользователя
Gol
 
Сообщения: 507
Зарегистрирован: 17 фев 2012, 01:44
Откуда: Тула-Свободный-Щёкино-Тула-Москва

Re: Сборка SDK, вопросы и баги

Сообщение pavelk » 01 янв 2014, 19:32

make build
завершился так
Код: Выделить всё
stress.texi:68: @itemx must follow @item
stress.texi:87: @itemx must follow @item
stress.texi:102: @itemx must follow @item
stress.texi:105: @itemx must follow @item
stress.texi:120: @itemx must follow @item
stress.texi:123: @itemx must follow @item
make[3]: *** [stress.info] Ошибка 1
make[3]: Выход из каталога `/home/pavelk/develop/v2r/virt2real-sdk/fs/output/build/stress-1.0.4/doc'
make[2]: *** [install-recursive] Ошибка 1
make[2]: Выход из каталога `/home/pavelk/develop/v2r/virt2real-sdk/fs/output/build/stress-1.0.4'
make[1]: *** [/home/pavelk/develop/v2r/virt2real-sdk/fs/output/build/stress-1.0.4/.stamp_target_installed] Ошибка 2
make[1]: Выход из каталога `/home/pavelk/develop/v2r/virt2real-sdk/fs'
make: *** [fsbuild] Ошибка 2


Полный лог 22M.

Что из этого
Код: Выделить всё
cat log | grep -i not\ found

Код: Выделить всё
/home/pavelk/develop/v2r/virt2real-sdk/fs/output/build/host-autoconf-2.68/build-aux/missing: line 52: help2man: command not found
/home/pavelk/develop/v2r/virt2real-sdk/fs/output/build/host-autoconf-2.68/build-aux/missing: line 52: help2man: command not found
Python build finished, but the necessary bits to build these modules were not found:
Python build finished, but the necessary bits to build these modules were not found:
Python build finished, but the necessary bits to build these modules were not found:
Python build finished, but the necessary bits to build these modules were not found:
Python build finished, but the necessary bits to build these modules were not found:
Python build finished, but the necessary bits to build these modules were not found:
Python build finished, but the necessary bits to build these modules were not found:
Python build finished, but the necessary bits to build these modules were not found:
HTTP-запрос отправлен. Ожидание ответа... 404 Not Found
2014-01-01 12:15:05 ОШИБКА 404: Not Found.
configure: WARNING: krb5.h not found, consider installing krb5-libs-devel. Disabling cifs.upcall.
configure: WARNING: keyutils.h not found, consider installing keyutils-libs-devel. Disabling cifs.upcall.
configure: WARNING: keyutils.h not found, consider installing keyutils-libs-devel. Disabling cifs.idmap.
configure: WARNING: wbclient.h not found, consider installing libwbclient-devel. Disabling cifs.idmap.
configure: WARNING: wbclient.h not found, consider installing libwbclient-devel. Disabling cifsacl.
configure: WARNING: keyutils.h not found, consider installing keyutils-libs-devel. Disabling cifscreds.
configure: WARNING: libcap headers not found. mount.cifs will be built without support for dropping capabilities. Consider installing libcap-devel.
configure: WARNING: libacl development library was not found or not usable.
configure: WARNING: libcap library was not found or not usable.
configure: WARNING: libgmp development library was not found or not usable.
        man2html:                 not found
        man2html:                 not found
configure: WARNING: libacl development library was not found or not usable.
configure: WARNING: *** FAM support will not be built (FAM library not found) ***
Looking for a four-byte integer type... Not found.
configure: WARNING: *** FAM support will not be built (FAM library not found) ***
*** gl egl libdrm gbm packages not found -- Building without MESA support.
*** MNG library not found. MNG video provider will not be built.
checking for libsvg-cairo >= 0.1.6... not found
*** SVG-Cairo at least 0.1.6 not found -- SVG image provider will not be built.
*** Jasper not found. JPEG2000 image provider will not be built.
configure: WARNING: xmlto or asciidoc not found - cannot create man pages without it
HTTP-запрос отправлен. Ожидание ответа... 404 Not Found
2014-01-01 13:11:25 ОШИБКА 404: Not Found.
HTTP-запрос отправлен. Ожидание ответа... 404 Not Found
2014-01-01 13:12:11 ОШИБКА 404: Not Found.
Package libxine was not found in the pkg-config search path.
Package libxine was not found in the pkg-config search path.
Package gstreamer-interfaces-0.10 was not found in the pkg-config search path.
Package gstreamer-interfaces-0.10 was not found in the pkg-config search path.
Package xcb was not found in the pkg-config search path.
Package xcb was not found in the pkg-config search path.
echo "*** Warning: Doxygen not found; documentation will not be built."
*** Warning: Doxygen not found; documentation will not be built.
HTTP-запрос отправлен. Ожидание ответа... 404 Not Found
2014-01-01 13:29:09 ОШИБКА 404: Not Found.
HTTP-запрос отправлен. Ожидание ответа... 404 Not Found
2014-01-01 13:29:37 ОШИБКА 404: Not Found.
configure: WARNING: 'Check' utility not found. Check your environment
configure: WARNING: doxygen not found - will not generate any doxygen documentation
WARNING: /home/pavelk/develop/v2r/virt2real-sdk/fs/output/host/usr/bin/arm-none-linux-gnueabi-pkg-config not found, library detection may fail.
configure: Package libvisual-0.4 was not found in the pkg-config search path.
configure: Package libvisual was not found in the pkg-config search path.
               not found.  Slower code paths will be used.
               not found.  Slower code paths will be used.
configure: Package gstreamer-plugins-good-0.10 was not found in the pkg-config search path.
configure: Package gstreamer-plugins-ugly-0.10 was not found in the pkg-config search path.
configure: Package gstreamer-plugins-ffmpeg-0.10 was not found in the pkg-config search path.
configure: Package vo-amrwbenc was not found in the pkg-config search path.
configure: Package vo-aacenc was not found in the pkg-config search path.
configure: WARNING: Divx4linux encore headers not found
configure: Package zvbi-0.2 was not found in the pkg-config search path.
configure: Package schroedinger-1.0 was not found in the pkg-config search path.
configure: Package zbar was not found in the pkg-config search path.
               not found.  Slower code paths will be used.
configure: Package cairo-gobject was not found in the pkg-config search path.
configure: Package gconf-2.0 was not found in the pkg-config search path.
configure: Package hal was not found in the pkg-config search path.
configure: Package jack was not found in the pkg-config search path.
configure: Package jack was not found in the pkg-config search path.
configure: Package caca was not found in the pkg-config search path.
configure: Package libdv was not found in the pkg-config search path.
configure: Package libraw1394 was not found in the pkg-config search path.
configure: Package libiec61883 was not found in the pkg-config search path.
configure: Package libraw1394 was not found in the pkg-config search path.
configure: Package taglib was not found in the pkg-config search path.
               not found.  Slower code paths will be used.
configure: Package libcdio was not found in the pkg-config search path.
configure: Package x264 was not found in the pkg-config search path.
               not found.  Slower code paths will be used.
checking for headers required to compile python extensions... not found
checking for sys/filio.h ... not found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for F_READAHEAD ... not found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for dlopen() ... not found
checking for SO_SETFIB ... not found
checking for SO_ACCEPTFILTER ... not found
checking for kqueue AIO support ... not found
checking for setproctitle() ... not found
checking for POSIX semaphores (cross compilation, can't run) ... not found
checking for struct dirent.d_namlen ... not found
Checking for _fwalk ... not found
Checking for accessx ... not found
Checking for aintl ... not found
Checking for asctime64 ... not found
Checking for atolf ... not found
Checking for chsize ... not found
Checking for class ... not found
Checking for ctime64 ... not found
Checking for difftime64 ... not found
Checking for fp_class ... not found
Checking for fpclass ... not found
Checking for fpclassify ... not found
Checking for fpclassl ... not found
Checking for getespwnam ... not found
Checking for getfsstat ... not found
Checking for getmnt ... not found
Checking for getpgrp2 ... not found
Checking for getprotobyaddr ... not found
Checking for getprpwnam ... not found
Checking for getservbyaddr ... not found
Checking for gmtime64 ... not found
Checking for inetntop ... not found
Checking for inetpton ... not found
Checking for localtime64 ... not found
Checking for malloc_good_size ... not found
Checking for malloc_size ... not found
Checking for mktime64 ... not found
Checking for pthread_atfork ... not found
Checking for pthread_yield ... not found
Checking for setpgrp2 ... not found
Checking for setproctitle ... not found
Checking for setrgid ... not found
Checking for setruid ... not found
Checking for sfreserve ... not found
Checking for socks5_init ... not found
Checking for strlcat ... not found
Checking for strlcpy ... not found
Checking for unordered ... not found
Checking for _fwalk ... not found
Checking for accessx ... not found
Checking for aintl ... not found
Checking for asctime64 ... not found
Checking for atolf ... not found
Checking for chsize ... not found
Checking for class ... not found
Checking for ctime64 ... not found
Checking for difftime64 ... not found
Checking for fp_class ... not found
Checking for fpclass ... not found
Checking for fpclassify ... not found
Checking for fpclassl ... not found
Checking for getespwnam ... not found
Checking for getfsstat ... not found
Checking for getmnt ... not found
Checking for getpgrp2 ... not found
Checking for getprotobyaddr ... not found
Checking for getprpwnam ... not found
Checking for getservbyaddr ... not found
Checking for gmtime64 ... not found
Checking for inetntop ... not found
Checking for inetpton ... not found
Checking for localtime64 ... not found
Checking for malloc_good_size ... not found
Checking for malloc_size ... not found
Checking for mktime64 ... not found
Checking for pthread_atfork ... not found
Checking for pthread_yield ... not found
Checking for setpgrp2 ... not found
Checking for setproctitle ... not found
Checking for setrgid ... not found
Checking for setruid ... not found
Checking for sfreserve ... not found
Checking for snprintf ... not found
Checking for socks5_init ... not found
Checking for strlcat ... not found
Checking for strlcpy ... not found
Checking for unordered ... not found
Warning: prerequisite Digest::base 1.00 not found.
Warning: prerequisite XSLoader 0 not found.
Warning: prerequisite Test::More 0 not found.
Warning: prerequisite XSLoader 0 not found.
Trying struct stat st_atimespec.tv_nsec...NOT found.
Trying struct stat st_atimensec...NOT found.
Trying struct stat st_atime_n...NOT found.
Trying struct stat st_uatime...NOT found.
Warning: prerequisite XSLoader 0 not found.
Warning: prerequisite Test::More 0 not found.
Warning: prerequisite Test::More 0.62 not found.
installperl: pod/perltoc.pod not found at installperl line 834.
installperl: pod/perlmodlib.pod not found at installperl line 834.
installperl: pod/perlapi.pod not found at installperl line 834.
installperl: pod/perlintern.pod not found at installperl line 834.
installperl: pod/perl5163delta.pod not found at installperl line 834.
installperl: pod/perlcn.pod not found at installperl line 834.
installperl: pod/perljp.pod not found at installperl line 834.
installperl: pod/perlko.pod not found at installperl line 834.
installperl: pod/perltw.pod not found at installperl line 834.
installperl: pod/perlaix.pod not found at installperl line 834.
installperl: pod/perlamiga.pod not found at installperl line 834.
installperl: pod/perlbeos.pod not found at installperl line 834.
installperl: pod/perlbs2000.pod not found at installperl line 834.
installperl: pod/perlce.pod not found at installperl line 834.
installperl: pod/perlcygwin.pod not found at installperl line 834.
installperl: pod/perldgux.pod not found at installperl line 834.
installperl: pod/perldos.pod not found at installperl line 834.
installperl: pod/perlepoc.pod not found at installperl line 834.
installperl: pod/perlfreebsd.pod not found at installperl line 834.
installperl: pod/perlhaiku.pod not found at installperl line 834.
installperl: pod/perlhpux.pod not found at installperl line 834.
installperl: pod/perlhurd.pod not found at installperl line 834.
installperl: pod/perlirix.pod not found at installperl line 834.
installperl: pod/perllinux.pod not found at installperl line 834.
installperl: pod/perlmacos.pod not found at installperl line 834.
installperl: pod/perlmacosx.pod not found at installperl line 834.
installperl: pod/perlmpeix.pod not found at installperl line 834.
installperl: pod/perlnetware.pod not found at installperl line 834.
installperl: pod/perlopenbsd.pod not found at installperl line 834.
installperl: pod/perlos2.pod not found at installperl line 834.
installperl: pod/perlos390.pod not found at installperl line 834.
installperl: pod/perlos400.pod not found at installperl line 834.
installperl: pod/perlplan9.pod not found at installperl line 834.
installperl: pod/perlqnx.pod not found at installperl line 834.
installperl: pod/perlriscos.pod not found at installperl line 834.
installperl: pod/perlsolaris.pod not found at installperl line 834.
installperl: pod/perlsymbian.pod not found at installperl line 834.
installperl: pod/perltru64.pod not found at installperl line 834.
installperl: pod/perluts.pod not found at installperl line 834.
installperl: pod/perlvmesa.pod not found at installperl line 834.
installperl: pod/perlvos.pod not found at installperl line 834.
installperl: pod/perlwin32.pod not found at installperl line 834.
installperl: pod/perltoc.pod not found at installperl line 834.
installperl: pod/perlmodlib.pod not found at installperl line 834.
installperl: pod/perlapi.pod not found at installperl line 834.
installperl: pod/perlintern.pod not found at installperl line 834.
installperl: pod/perl5163delta.pod not found at installperl line 834.
installperl: pod/perlcn.pod not found at installperl line 834.
installperl: pod/perljp.pod not found at installperl line 834.
installperl: pod/perlko.pod not found at installperl line 834.
installperl: pod/perltw.pod not found at installperl line 834.
installperl: pod/perlaix.pod not found at installperl line 834.
installperl: pod/perlamiga.pod not found at installperl line 834.
installperl: pod/perlbeos.pod not found at installperl line 834.
installperl: pod/perlbs2000.pod not found at installperl line 834.
installperl: pod/perlce.pod not found at installperl line 834.
installperl: pod/perlcygwin.pod not found at installperl line 834.
installperl: pod/perldgux.pod not found at installperl line 834.
installperl: pod/perldos.pod not found at installperl line 834.
installperl: pod/perlepoc.pod not found at installperl line 834.
installperl: pod/perlfreebsd.pod not found at installperl line 834.
installperl: pod/perlhaiku.pod not found at installperl line 834.
installperl: pod/perlhpux.pod not found at installperl line 834.
installperl: pod/perlhurd.pod not found at installperl line 834.
installperl: pod/perlirix.pod not found at installperl line 834.
installperl: pod/perllinux.pod not found at installperl line 834.
installperl: pod/perlmacos.pod not found at installperl line 834.
installperl: pod/perlmacosx.pod not found at installperl line 834.
installperl: pod/perlmpeix.pod not found at installperl line 834.
installperl: pod/perlnetware.pod not found at installperl line 834.
installperl: pod/perlopenbsd.pod not found at installperl line 834.
installperl: pod/perlos2.pod not found at installperl line 834.
installperl: pod/perlos390.pod not found at installperl line 834.
installperl: pod/perlos400.pod not found at installperl line 834.
installperl: pod/perlplan9.pod not found at installperl line 834.
installperl: pod/perlqnx.pod not found at installperl line 834.
installperl: pod/perlriscos.pod not found at installperl line 834.
installperl: pod/perlsolaris.pod not found at installperl line 834.
installperl: pod/perlsymbian.pod not found at installperl line 834.
installperl: pod/perltru64.pod not found at installperl line 834.
installperl: pod/perluts.pod not found at installperl line 834.
installperl: pod/perlvmesa.pod not found at installperl line 834.
installperl: pod/perlvos.pod not found at installperl line 834.
installperl: pod/perlwin32.pod not found at installperl line 834.
HTTP-запрос отправлен. Ожидание ответа... 404 Not Found
2014-01-01 14:35:23 ОШИБКА 404: Not Found.
configure: WARNING: Sufficient support for iconv function was not found.
configure: WARNING: libacl development library was not found or not usable.
HTTP-запрос отправлен. Ожидание ответа... 404 Not Found
2014-01-01 14:44:48 ОШИБКА 404: Not Found.
HTTP-запрос отправлен. Ожидание ответа... 404 Not Found
2014-01-01 14:46:30 ОШИБКА 404: Not Found.

кретично :?:
404 Not Found: вроде как повторно успешно закачиваются с другого адреса.

Ubuntu 13.10 x86_64

Update:
Доустановил doxygen help2man
всё вроде нашлось, но концовка та же.
Код: Выделить всё
$ make build
...
stress.texi:68: @itemx must follow @item
stress.texi:87: @itemx must follow @item
stress.texi:102: @itemx must follow @item
stress.texi:105: @itemx must follow @item
stress.texi:120: @itemx must follow @item
stress.texi:123: @itemx must follow @item
make[3]: *** [stress.info] Ошибка 1
make[3]: Выход из каталога `/home/pavelk/develop/v2r/virt2real-sdk/fs/output/build/stress-1.0.4/doc'
make[2]: *** [install-recursive] Ошибка 1
make[2]: Выход из каталога `/home/pavelk/develop/v2r/virt2real-sdk/fs/output/build/stress-1.0.4'
make[1]: *** [/home/pavelk/develop/v2r/virt2real-sdk/fs/output/build/stress-1.0.4/.stamp_target_installed] Ошибка 2
make[1]: Выход из каталога `/home/pavelk/develop/v2r/virt2real-sdk/fs'
make: *** [fsbuild] Ошибка 2
$ ;3Q

Полный лог не во вложении так как Расширение запрещено администратором.
pavelk
 
Сообщения: 30
Зарегистрирован: 27 дек 2013, 23:42

Re: Сборка SDK, вопросы и баги

Сообщение pavelk » 10 янв 2014, 10:08

Пересобирал вчера:
Код: Выделить всё
...
>>> proftpd 1.3.3g Installing to target
/usr/bin/install -D -m 0755 /home/pavelk/develop/v2r/virt2real-sdk/fs/output/build/proftpd-1.3.3g/proftpd /home/pavelk/develop/v2r/virt2real-sdk/fs/output/target/usr/sbin/proftpd
mkdir /home/pavelk/develop/v2r/virt2real-sdk/fs/output/target/etc/init.d
mkdir: невозможно создать каталог «/home/pavelk/develop/v2r/virt2real-sdk/fs/output/target/etc/init.d»: Файл существует
make[1]: *** [/home/pavelk/develop/v2r/virt2real-sdk/fs/output/build/proftpd-1.3.3g/.stamp_target_installed] Ошибка 1
make[1]: Выход из каталога `/home/pavelk/develop/v2r/virt2real-sdk/fs'
make: *** [fsbuild] Ошибка 2
pavelk
 
Сообщения: 30
Зарегистрирован: 27 дек 2013, 23:42

Re: Сборка SDK, вопросы и баги

Сообщение Noor » 12 янв 2014, 04:29

В последнем образе непонятный глючек присутсвует. Когда переключаешься на подключение к существующей сети, не может подконектится. Сразу несколько раз подключается и все находит, а потом не может и все тут. А вот когда подключен юсб шнурок еще до подключения питания, то подключается без проблем. Мож че у него надо дописать где, про ДНС например? Неудобно постоянно подключать юсб чтобы завести его. Я бы у себя поправил.
Мастер сам устанавливает закон
Noor
 
Сообщения: 343
Зарегистрирован: 04 сен 2013, 20:03

Пред.След.

Вернуться в Софт на виртурилке - SDK, Linux, Github, программирование (C/C++ и др.)

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 1

cron