Tool/software: Linux
Hi all,
i have downloaded drm example source codes (including modetest ) as mentioned in this link.(https://wiki.linaro.org/xinliang/libdrm/modetest) .
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Linux
Hi all,
i have downloaded drm example source codes (including modetest ) as mentioned in this link.(https://wiki.linaro.org/xinliang/libdrm/modetest) .
Hello,
The right way is described in the previous answer, same is for kmscube.
In the guide above you will find chapter how to re-compile the code when you make changes and how to install it also. Please refer all the chapters.
BR
Margarita
Hi,
thank you for your reply. Am following same and facing some error, while executing following command,
" MACHINE=am57xx-evm bitbake arago-base-tisdk-image " mentioned in section "1.2.2.2. Build Steps".
WARNING: libarchive-native-3.3.2-r0 do_fetch: Failed to fetch URL http://libarchive.org/downloads/libarchive-3.3.2.tar.gz, attempting MIRRORS if available
ERROR: libarchive-native-3.3.2-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/opt/Noufal/hal_spm2/tisdk/sources/oe-core/scripts/native-intercept:/opt/Noufal/hal_spm2/tisdk/sources/oe-core/scripts:/opt/Noufal/hal_spm2/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libarchive-native/3.3.2-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/opt/Noufal/hal_spm2/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libarchive-native/3.3.2-r0/recipe-sysroot-native/usr/bin:/opt/Noufal/hal_spm2/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libarchive-native/3.3.2-r0/recipe-sysroot-native/usr/sbin:/opt/Noufal/hal_spm2/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libarchive-native/3.3.2-r0/recipe-sysroot-native/usr/bin:/opt/Noufal/hal_spm2/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libarchive-native/3.3.2-r0/recipe-sysroot-native/sbin:/opt/Noufal/hal_spm2/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libarchive-native/3.3.2-r0/recipe-sysroot-native/bin:${DEF_TOOLCHAIN_PATH}/bin:/opt/Noufal/hal_spm2/tisdk/sources/bitbake/bin:/opt/Noufal/hal_spm2/tisdk/build/arago-tmp-external-linaro-toolchain/hosttools"; export HOME="/home/ubuntu"; /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /opt/Noufal/hal_spm2/tisdk/downloads 'http://libarchive.org/downloads/libarchive-3.3.2.tar.gz' --progress=dot -v failed with exit code 8, output:
--2018-11-29 09:15:55-- http://libarchive.org/downloads/libarchive-3.3.2.tar.gz
Resolving libarchive.org (libarchive.org)... 54.230.71.28, 54.230.71.40, 54.230.71.121, ...
Connecting to libarchive.org (libarchive.org)|54.230.71.28|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2018-11-29 09:15:57 ERROR 403: Forbidden.
ERROR: libarchive-native-3.3.2-r0 do_fetch: Fetcher failure for URL: 'http://libarchive.org/downloads/libarchive-3.3.2.tar.gz'. Unable to fetch URL from any source.
ERROR: libarchive-native-3.3.2-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /opt/Noufal/hal_spm2/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libarchive-native/3.3.2-r0/temp/log.do_fetch.2988
ERROR: Task (virtual:native:/opt/Noufal/hal_spm2/tisdk/sources/oe-core/meta/recipes-extended/libarchive/libarchive_3.3.2.bb:do_fetch) failed with exit code '1'
Waiting for 1 running tasks to finish:
Error observed is attached as file(error_bitbake)
Regards
Noufal P
Hi,
1. Even if we follow same procedure as mentioned above, facing same issue, given below.
2. Also i tried the command-- MACHINE=am57xx-evm bitbake libdrm. Same observation has been made.
----Error starts here----
ERROR: libarchive-native-3.3.2-r0 do_fetch: Fetcher failure for URL: 'libarchive.org/.../libarchive-3.3.2.tar.gz'. Unable to fetch URL from any source.
ERROR: libarchive-native-3.3.2-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libarchive-native/3.3.2-r0/temp/log.do_fetch.2491
ERROR: Task (virtual:native:/KMS_MODE/tisdk/sources/oe-core/meta/recipes-extended/libarchive/libarchive_3.3.2.bb:do_fetch) failed with exit code '1'
Regards,
Noufal
Thanks for the inputs. we got the source codes for example. We are trying to rebuild the example. will update if any issues in rebuilding.
Regards,
Noufal P
Hello,
This is not the correct source. This is for omapdrmtest not for kmscube demo.
This is what you must execute:
MACHINE=am57xx-evm bitbake kmscube
This is the correct path to kmscube source code:
/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/kmscube/1.0.0-r7.tisdk0/git
This is the command to recompile:
MACHINE=am57xx-evm bitbake kmscube --force -c compile
BR
Margarita