I don't think it is a problem of upstream support, since it works flawless on a Debian stable system with a probably 2yr old kernel (5.10).
Posts by rdorsch
-
-
I have a rock64 box with Libreelec 11.0.1 running here as well. I tried to connect to the same router to check if it is an iwd - router incompatibility.
But it seems Murphy is with me when it comes to wifi:
Realtek RTL8188EUS Wifi Adapter on Rock64 not detected(I opened a separate thread because it is a rockchip AP and belongs then in a different section of the forum)
-
I have a rock64 box with Libreelec 11.0.1.
I plugged in an usb Wifi adapter
Bus 004 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
but it seems that libreelec on the Rock64 device does not recognize the stick:
rock64:~ # iw list
rock64:~ #
Complete dmesg output:
The module seems from staging, but since I got it from pine64, I was expecting that it has at least basic Linux support:
[ 8.281405] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
And it is loaded, output of lsmod
The USB wifi adapter connects flawless on a Debian stable system on x86. I see there that firmware gets loaded:
[428204.016092] r8188eu 1-8:1.0: firmware: direct-loading firmware rtlwifi/rtl8188eufw.bin
I copied the FW from the Debian system to the rock64 box with libreelec 11.0.1
rd@h370:/lib/firmware$ scp -r rtlwifi root@rock64-wlan:/storage/.config/firmware
Code
Display Morerock64:~ # ls -l /storage/.config/firmware/rtlwifi/ total 1089 -rw-r--r-- 1 root root 11216 Apr 3 22:15 rtl8188efw.bin -rw-r--r-- 1 root root 13904 Apr 3 22:15 rtl8188eufw.bin -rw-r--r-- 1 root root 16192 Apr 3 22:15 rtl8192cfw.bin -rw-r--r-- 1 root root 14818 Apr 3 22:15 rtl8192cfwU.bin -rw-r--r-- 1 root root 16332 Apr 3 22:15 rtl8192cfwU_B.bin -rw-r--r-- 1 root root 16014 Apr 3 22:15 rtl8192cufw.bin -rw-r--r-- 1 root root 16126 Apr 3 22:15 rtl8192cufw_A.bin -rw-r--r-- 1 root root 16096 Apr 3 22:15 rtl8192cufw_B.bin -rw-r--r-- 1 root root 16126 Apr 3 22:15 rtl8192cufw_TMSC.bin -rw-r--r-- 1 root root 31376 Apr 3 22:15 rtl8192defw.bin -rw-r--r-- 1 root root 31818 Apr 3 22:15 rtl8192eefw.bin -rw-r--r-- 1 root root 25264 Apr 3 22:15 rtl8192eu_ap_wowlan.bin -rw-r--r-- 1 root root 31818 Apr 3 22:15 rtl8192eu_nic.bin -rw-r--r-- 1 root root 25878 Apr 3 22:15 rtl8192eu_wowlan.bin -rw-r--r-- 1 root root 80208 Apr 3 22:15 rtl8192sefw.bin -rw-r--r-- 1 root root 122328 Apr 3 22:15 rtl8712u.bin -rw-r--r-- 1 root root 22172 Apr 3 22:15 rtl8723aufw_A.bin -rw-r--r-- 1 root root 24118 Apr 3 22:15 rtl8723aufw_B.bin -rw-r--r-- 1 root root 19200 Apr 3 22:15 rtl8723aufw_B_NoBT.bin -rw-r--r-- 1 root root 30746 Apr 3 22:15 rtl8723befw.bin -rw-r--r-- 1 root root 31762 Apr 3 22:15 rtl8723befw_36.bin -rw-r--r-- 1 root root 20886 Apr 3 22:15 rtl8723bs_ap_wowlan.bin -rw-r--r-- 1 root root 9120 Apr 3 22:15 rtl8723bs_bt.bin -rw-r--r-- 1 root root 32108 Apr 3 22:15 rtl8723bs_nic.bin -rw-r--r-- 1 root root 26398 Apr 3 22:15 rtl8723bs_wowlan.bin -rw-r--r-- 1 root root 20886 Apr 3 22:15 rtl8723bu_ap_wowlan.bin -rw-r--r-- 1 root root 32108 Apr 3 22:15 rtl8723bu_nic.bin -rw-r--r-- 1 root root 26398 Apr 3 22:15 rtl8723bu_wowlan.bin -rw-r--r-- 1 root root 27726 Apr 3 22:15 rtl8723defw.bin -rw-r--r-- 1 root root 11662 Apr 3 22:15 rtl8723fw.bin -rw-r--r-- 1 root root 22996 Apr 3 22:15 rtl8723fw_B.bin -rw-r--r-- 1 root root 27516 Apr 3 22:15 rtl8812aefw.bin -rw-r--r-- 1 root root 21204 Apr 3 22:15 rtl8812aefw_wowlan.bin -rw-r--r-- 1 root root 28984 Apr 3 22:15 rtl8821aefw.bin -rw-r--r-- 1 root root 28348 Apr 3 22:15 rtl8821aefw_29.bin -rw-r--r-- 1 root root 19858 Apr 3 22:15 rtl8821aefw_wowlan.bin -rw-r--r-- 1 root root 127496 Apr 3 22:15 rtl8822befw.bin rock64:~ #
but this did not change anything.
Does anybody have a suggestion what might have gone wrong?
Thanks
Rainer
-
With
Code2023-04-03 16:32:16.090 T:908 info <general>: Starting Kodi (20.1 (20.1.0) Git:20.1-Nexus). Platform: Linux ARM 32-bit 2023-04-03 16:32:16.090 T:908 info <general>: Using Release Kodi x32 2023-04-03 16:32:16.090 T:908 info <general>: Kodi compiled 2023-04-03 by GCC 12.2.0 for Linux ARM 32-bit version 6.1.19 (393491) 2023-04-03 16:32:16.091 T:908 info <general>: Running on Amlogic Meson GXBB (S905) WeTek Play 2 with LibreELEC (community): nightly-20230403-bb4c561 11.0, kernel: Linux ARM 64-bit version 6.1.19
I checked in the openwrt syslog, but did not find any entry there from the connection attempt. For successful connections, I see entries like
CodeMon Apr 3 21:09:54 2023 daemon.info hostapd: wlan0: STA 78:11:dc:ed:a7:e3 IEEE 802.11: associated (aid 5) Mon Apr 3 21:09:54 2023 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 78:11:dc:ed:a7:e3 Mon Apr 3 21:09:54 2023 daemon.info hostapd: wlan0: STA 78:11:dc:ed:a7:e3 WPA: pairwise key handshake completed (RSN) Mon Apr 3 21:09:54 2023 daemon.notice hostapd: wlan0: EAPOL-4WAY-HS-COMPLETED 78:11:dc:ed:a7:e3
on the openwrt side. I conclude that the connection process aborts very early.
I see still the same behavior. I used the box image instead of the wetek-play2, since I still have the Android FW for reference testing on the emmc.
The double results I cannot deterministically reproduce. I keep an eye if the double results show up again w/o manual iwd run.
-
I configured the regdomain and now it seems I can at least see the wireless network.
I managed to connect to the AP of an Android phone in tethering mode.
I did not manage to connect to an
OpenWrt 22.03.3 router, I get invalid key. I use this router since many years with many devices and I do not recall that I ever had an issue that a device did not want to connect.
dmesg has quite a few entries
ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel <number>
(not sure if that is relevant)
Output of "iw dev wlan0 scan"
Output of "iwlist wlan0 scanning" looks ok for me:
and the kodi.log:
What is very weird: Sometimes all connections show up twice, see
Is that expected?
Many thanks
Rainer
-
Hi,
I have trouble getting a wifi connection with the box image on a Wetek Play 2. I don't see any wifi network at all (I do if I boot the stock (Android) firmware on the device). I connected an ethernet cable and iw list at least shows a phy. Is there something I am doing wrong?
kodi.log:
dmesg output:
Code
Display MoreMediacenter:~ # iw list Wiphy phy0 wiphy index: 0 max # scan SSIDs: 10 max scan IEs length: 2048 bytes max # sched scan SSIDs: 16 max # match sets: 16 Retry short limit: 7 Retry long limit: 4 Coverage class: 0 (up to 0m) Device supports roaming. Supported Ciphers: * WEP40 (00-0f-ac:1) * WEP104 (00-0f-ac:5) * TKIP (00-0f-ac:2) * CCMP-128 (00-0f-ac:4) Available Antennas: TX 0 RX 0 Supported interface modes: * IBSS * managed * AP * P2P-client * P2P-GO * P2P-device Band 1: Capabilities: 0x1020 HT20 Static SM Power Save RX HT20 SGI No RX STBC Max AMSDU length: 3839 bytes DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 16 usec (0x07) HT TX/RX MCS rate indexes supported: 0-7 Bitrates (non-HT): * 1.0 Mbps * 2.0 Mbps (short preamble supported) * 5.5 Mbps (short preamble supported) * 11.0 Mbps (short preamble supported) * 6.0 Mbps * 9.0 Mbps * 12.0 Mbps * 18.0 Mbps * 24.0 Mbps * 36.0 Mbps * 48.0 Mbps * 54.0 Mbps Frequencies: * 2412 MHz [1] (20.0 dBm) * 2417 MHz [2] (20.0 dBm) * 2422 MHz [3] (20.0 dBm) * 2427 MHz [4] (20.0 dBm) * 2432 MHz [5] (20.0 dBm) * 2437 MHz [6] (20.0 dBm) * 2442 MHz [7] (20.0 dBm) * 2447 MHz [8] (20.0 dBm) * 2452 MHz [9] (20.0 dBm) * 2457 MHz [10] (20.0 dBm) * 2462 MHz [11] (20.0 dBm) * 2467 MHz [12] (20.0 dBm) * 2472 MHz [13] (20.0 dBm) * 2484 MHz [14] (20.0 dBm) Band 2: Capabilities: 0x1020 HT20 Static SM Power Save RX HT20 SGI No RX STBC Max AMSDU length: 3839 bytes DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 16 usec (0x07) HT TX/RX MCS rate indexes supported: 0-7 Bitrates (non-HT): * 6.0 Mbps * 9.0 Mbps * 12.0 Mbps * 18.0 Mbps * 24.0 Mbps * 36.0 Mbps * 48.0 Mbps * 54.0 Mbps Frequencies: * 5170 MHz [34] (20.0 dBm) * 5180 MHz [36] (20.0 dBm) * 5190 MHz [38] (20.0 dBm) * 5200 MHz [40] (20.0 dBm) * 5210 MHz [42] (20.0 dBm) * 5220 MHz [44] (20.0 dBm) * 5230 MHz [46] (20.0 dBm) * 5240 MHz [48] (20.0 dBm) * 5260 MHz [52] (20.0 dBm) * 5280 MHz [56] (20.0 dBm) * 5300 MHz [60] (20.0 dBm) * 5320 MHz [64] (20.0 dBm) * 5500 MHz [100] (20.0 dBm) * 5520 MHz [104] (20.0 dBm) * 5540 MHz [108] (20.0 dBm) * 5560 MHz [112] (20.0 dBm) * 5580 MHz [116] (20.0 dBm) * 5600 MHz [120] (20.0 dBm) * 5620 MHz [124] (20.0 dBm) * 5640 MHz [128] (20.0 dBm) * 5660 MHz [132] (20.0 dBm) * 5680 MHz [136] (20.0 dBm) * 5700 MHz [140] (20.0 dBm) * 5720 MHz [144] (disabled) * 5745 MHz [149] (20.0 dBm) * 5765 MHz [153] (20.0 dBm) * 5785 MHz [157] (20.0 dBm) * 5805 MHz [161] (20.0 dBm) * 5825 MHz [165] (20.0 dBm) Supported commands: * new_interface * set_interface * new_key * start_ap * join_ibss * set_pmksa * del_pmksa * flush_pmksa * remain_on_channel * frame * set_wiphy_netns * set_channel * start_sched_scan * start_p2p_device * connect * disconnect * crit_protocol_start * crit_protocol_stop * update_connect_params software interface modes (can always be added): valid interface combinations: * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1, total <= 3, #channels <= 1 * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1, total <= 4, #channels <= 1 Device supports scan flush. max # scan plans: 1 max scan plan interval: 508 max scan plan iterations: 0 Supported TX frame types: * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 Supported RX frame types: * managed: 0x40 0xd0 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 * P2P-client: 0x40 0xd0 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 * P2P-device: 0x40 0xd0 Supported extended features: * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records * [ 4WAY_HANDSHAKE_STA_PSK ]: 4-way handshake with PSK in station mode * [ 4WAY_HANDSHAKE_STA_1X ]: 4-way handshake with 802.1X in station mode * [ DFS_OFFLOAD ]: DFS offload Mediacenter:~ #
Any hint or advice is welcome
Many thanks
Rainer
-
I run multiple VLANs for different devices (Wifi, data network, several for home automation, some of them have internet access others not). I have today my xbian box (kodi) in the Wifi VLAN and the data VLAN, i.e. there is a eth0.<vlan1> and eth0.<vlan2>.
-
Hi,
can anybody tell if
http://https//forum.libreel…vlan-interface/
is still the preferred way to create vlans in LE10?
Thanks
Rainer
-
-
thundy Feel free to test, I would have hoped, that lrusak confirms that this is at least the right patch before I have a look onto it. It would also be an option to reach out to the mesa community, but I know almost nothing on these topics (just learnt that YUV was used for TVs to support b&w and color TVs with the same signal).
-
lrusak : For NV12, are you referring to
Pipeline · Christian Gmeiner / mesa · GitLab
?
For the YUYV patch, can you share it or do you want to merge it to libreelec and I can do a test run with master?
-
Many thanks, lrusak
kmscube works without any issue, colors look ok, nothing similar to the colors when playing videos.
Code
Display MoreLibreELEC:~ # kmscube -A -D /dev/dri/card1 Using display 0x278d98 with EGL version 1.4 =================================== EGL information: version: "1.4" vendor: "Mesa Project" client extensions: "EGL_EXT_client_extensions EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_EXT_platform_device EGL_MESA_platform_gbm EGL_KHR_platform_gbm" display extensions: "EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver " =================================== OpenGL ES 2.x information: version: "OpenGL ES 2.0 Mesa 20.1.3" shading language version: "OpenGL ES GLSL ES 1.0.16" vendor: "etnaviv" renderer: "Vivante GC2000 rev 5108" extensions: "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_separate_shader_objects GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_draw_elements_base_vertex GL_EXT_texture_border_clamp GL_KHR_context_flush_control GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_KHR_parallel_shader_compile " =================================== ^C LibreELEC:~ #
I just double checked (since I upgraded to a newer libreelec build) that the orignal color issue is still there (best illustrated with the video linked in the post from classicCuboxiuser above). I do not believe that it is a performance issue, since there seems to be no dependence on the resolution of the video.
Do you have any other ideas on either how to repro and analyse the issue with standard tools or debug it?
Thanks
Rainer
-
lrusak Sorry my question was not how to get it to the storage or image, I do not know how to start it. Can I start it from the kodi UI? can I start it in an ssh session? do I need to write a systemd file and start it before kodi starts? Or something else?
-
-
Many thanks. Indeed
Diff
Display Morerd@h370-wlan:~/tmp.nobackup/git/LibreELEC.tv$ git diff diff --git a/packages/graphics/kmscube/package.mk b/packages/graphics/kmscube/package.mk index f12bed34cd..12060c68c2 100644 --- a/packages/graphics/kmscube/package.mk +++ b/packages/graphics/kmscube/package.mk @@ -17,3 +17,10 @@ elif [ "$OPENGL_SUPPORT" = "yes" ]; then echo "kmscube only supports OpenGLESv2" exit 0 fi + +pre_configure_target() { + cd $PKG_BUILD + rm -rf .$TARGET_NAME + # check if this flag is still needed when this package is updated + export CFLAGS="$CFLAGS -fcommon" +} rd@h370-wlan:~/tmp.nobackup/git/LibreELEC.tv$
fixes it (until it is resolved by upstream). Since I am not familiar with libreelec's build system, can anybody confirm that this is the right way to do this or tell what should be done differently?
thanks
rainer
-
Yes, I have no spdif, I can just confirm that the HDMI audio works well.
Thanks for recording the video, it shows the same effects as I see.
-
I tried to build kmscube but the build fails with a duplicate definition of the symbol gl. I probably miss something, but I have no idea what.
Code
Display Morerd@h370-wlan:~/tmp.nobackup/git/LibreELEC.tv$ cat ~/.libreelec/options ADDITIONAL_PACKAGES="$ADDITIONAL_PACKAGES kmscube" rd@h370-wlan:~/tmp.nobackup/git/LibreELEC.tv$ PROJECT=NXP DEVICE=iMX6 ARCH=arm UBOOT_SYSTEM=cubox-q make image [...] <<< kmscube:target seq 193 <<< UNPACK kmscube BUILD kmscube (target) TOOLCHAIN autotools AUTORECONF kmscube autoreconf: Entering directory `/home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/build/kmscube-98f31bf' autoreconf: configure.ac: not using Gettext autoreconf: running: /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/toolchain/bin/aclocal -I /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/toolchain/armv7a-libreelec-linux-gnueabihf/sysroot/usr/share/aclocal -I /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/toolchain/armv7a-libreelec-linux-gnueabihf/sysroot/usr/share/aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory build-aux autoreconf: configure.ac: not using Libtool autoreconf: running: /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/toolchain/bin/autoconf --include=/home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/toolchain/armv7a-libreelec-linux-gnueabihf/sysroot/usr/share/aclocal --force autoreconf: configure.ac: not using Autoheader autoreconf: running: /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/toolchain/bin/automake --add-missing --copy --force-missing configure.ac:32: installing 'build-aux/compile' configure.ac:30: installing 'build-aux/install-sh' configure.ac:30: installing 'build-aux/missing' Makefile.am: installing 'build-aux/depcomp' autoreconf: Leaving directory `/home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/build/kmscube-98f31bf' Executing (target): /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/build/kmscube-98f31bf/configure --host=armv7a-libreelec-linux-gnueabihf --build=x86_64-linux-gnu --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --disable-static --enable-shared configure: WARNING: unrecognized options: --disable-static, --enable-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for armv7a-libreelec-linux-gnueabihf-strip... /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/toolchain/bin/armv7a-libreelec-linux-gnueabihf-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for armv7a-libreelec-linux-gnueabihf-gcc... /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/toolchain/bin/armv7a-libreelec-linux-gnueabihf-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/toolchain/bin/armv7a-libreelec-linux-gnueabihf-gcc accepts -g... yes checking for /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/toolchain/bin/armv7a-libreelec-linux-gnueabihf-gcc option to accept ISO C89... none needed checking whether /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/toolchain/bin/armv7a-libreelec-linux-gnueabihf-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/toolchain/bin/armv7a-libreelec-linux-gnueabihf-gcc... gcc3 checking whether make supports nested variables... (cached) yes checking pkg-config is at least version 0.9.0... yes checking for libdrm >= 2.4.71... yes checking for gbm >= 13.0... yes checking for egl... yes checking for glesv2... yes checking for gstreamer-1.0 >= 1.6.0 gstreamer-plugins-base-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-allocators-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 glib-2.0... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-static, --enable-shared Executing (target): make make[1]: Entering directory '/home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/build/kmscube-98f31bf/.armv7a-libreelec-linux-gnueabihf' CC kmscube-common.o CC kmscube-drm-legacy.o CC kmscube-esTransform.o CC kmscube-frame-512x512-NV12.o CC kmscube-frame-512x512-RGBA.o CC kmscube-kmscube.o CC kmscube-drm-common.o CC kmscube-drm-atomic.o CC kmscube-cube-tex.o CC kmscube-cube-smooth.o CCLD kmscube /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/toolchain/lib/gcc/armv7a-libreelec-linux-gnueabihf/10.2.0/../../../../armv7a-libreelec-linux-gnueabihf/bin/ld.gold: error: kmscube-cube-tex.o: multiple definition of 'gl' /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/toolchain/lib/gcc/armv7a-libreelec-linux-gnueabihf/10.2.0/../../../../armv7a-libreelec-linux-gnueabihf/bin/ld.gold: kmscube-cube-smooth.o: previous definition here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:423: kmscube] Error 1 make[1]: Leaving directory '/home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/build/kmscube-98f31bf/.armv7a-libreelec-linux-gnueabihf' FAILURE: scripts/build kmscube:target during make_target (default) *********** FAILED COMMAND *********** make ${PKG_MAKE_OPTS_TARGET} ************************************** *********** FAILED COMMAND *********** ${SCRIPTS}/build "${1}" "${PARENT_PKG}" ************************************** FAILURE: scripts/install kmscube:target has failed! The following log for this failure is available: /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/.threads/logs/193.log >>> kmscube:target seq 193 >>> [188/269] [FAIL] install kmscube:target The following log for this failure is available: /home/rd/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/.threads/logs/193.log Parallel build failure - see log for details. Time of failure: Fri Aug 21 17:25:03 CEST 2020
Output of objdump for the two object files:
Code
Display Morerd@h370-wlan:~/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/build/kmscube-98f31bf/.armv7a-libreelec-linux-gnueabihf$ objdump -t kmscube-cube-tex.o kmscube-cube-tex.o: file format elf32-little SYMBOL TABLE: 00000000 l df *ABS* 00000000 cube-tex.c 00000000 l d .text 00000000 .text 00000000 l d .data 00000000 .data 00000000 l d .bss 00000000 .bss 00000000 l .text 00000000 $a 00000000 l F .text 0000022c draw_cube_tex 00000000 l .bss 00000000 .LANCHOR0 00000218 l .text 00000000 $d 0000022c l .text 00000000 $a 0000022c l F .text 00000104 get_fd_y 00000330 l F .text 00000100 get_fd_uv 0000042c l .text 00000000 $d 00000000 l d .rodata.str1.4 00000000 .rodata.str1.4 00000000 l .rodata.str1.4 00000000 $d 00000000 l .rodata.str1.4 00000000 .LC0 00000424 l .rodata.str1.4 00000000 .LC1 000005fc l .rodata.str1.4 00000000 .LC2 00000610 l .rodata.str1.4 00000000 .LC3 00000618 l .rodata.str1.4 00000000 .LC4 00000638 l .rodata.str1.4 00000000 .LC5 0000064c l .rodata.str1.4 00000000 .LC6 00000a38 l .rodata.str1.4 00000000 .LC7 00000a44 l .rodata.str1.4 00000000 .LC8 00000a50 l .rodata.str1.4 00000000 .LC9 00000a5c l .rodata.str1.4 00000000 .LC10 00000a6c l .rodata.str1.4 00000000 .LC11 00000a88 l .rodata.str1.4 00000000 .LC12 00000a98 l .rodata.str1.4 00000000 .LC13 00000aa0 l .rodata.str1.4 00000000 .LC14 00000aa8 l .rodata.str1.4 00000000 .LC15 00000ab0 l .rodata.str1.4 00000000 .LC16 00000b1c l .rodata.str1.4 00000000 .LC17 00000b20 l .rodata.str1.4 00000000 .LC18 00000b28 l .rodata.str1.4 00000000 .LC19 00000b30 l .rodata.str1.4 00000000 .LC20 00000b40 l .rodata.str1.4 00000000 .LC21 00000430 l .text 00000000 $a 00000000 l .rodata 00000000 .LANCHOR1 00000000 l .data 00000000 .LANCHOR2 0000069c l .text 00000000 $d 000006b0 l .text 00000000 $a 00000de8 l .text 00000000 $d 00000000 l d .rodata 00000000 .rodata 00000000 l .rodata 00000000 $d 00000000 l O .rodata 00000120 vVertices 00000120 l O .rodata 00000120 vNormals 00000240 l O .rodata 0000000e __PRETTY_FUNCTION__.2 00000250 l O .rodata 00000013 __PRETTY_FUNCTION__.1 00000264 l O .rodata 00000013 __PRETTY_FUNCTION__.0 00000278 l O .rodata 00000009 __PRETTY_FUNCTION__.3 00000000 l .data 00000000 $d 00000000 l .bss 00000000 $d 00000000 l d .debug_info 00000000 .debug_info 00000000 l d .debug_abbrev 00000000 .debug_abbrev 00000000 l d .debug_loc 00000000 .debug_loc 00000000 l d .debug_aranges 00000000 .debug_aranges 00000000 l d .debug_ranges 00000000 .debug_ranges 00000000 l d .debug_line 00000000 .debug_line 00000000 l d .debug_str 00000000 .debug_str 00000000 l d .note.GNU-stack 00000000 .note.GNU-stack 00000000 l d .debug_frame 00000000 .debug_frame 00000000 l d .comment 00000000 .comment 00000000 l d .ARM.attributes 00000000 .ARM.attributes 00000000 *UND* 00000000 glClearColor 00000000 *UND* 00000000 glClear 00000000 *UND* 00000000 esMatrixLoadIdentity 00000000 *UND* 00000000 esTranslate 00000000 *UND* 00000000 esRotate 00000000 *UND* 00000000 esFrustum 00000000 *UND* 00000000 esMatrixMultiply 00000000 *UND* 00000000 glUniformMatrix4fv 00000000 *UND* 00000000 glUniformMatrix3fv 00000000 *UND* 00000000 glUniform1i 00000000 *UND* 00000000 glDrawArrays 00000000 *UND* 00000000 raw_512x512_nv12 00000000 *UND* 00000000 gbm_bo_create 00000000 *UND* 00000000 gbm_bo_map 00000000 *UND* 00000000 memcpy 00000000 *UND* 00000000 gbm_bo_unmap 00000000 *UND* 00000000 gbm_bo_get_fd 00000000 w *UND* 00000000 gbm_bo_get_modifier 00000000 *UND* 00000000 gbm_bo_destroy 00000430 g F .text 000009d4 init_cube_tex 00000000 *UND* 00000000 init_egl 00000000 *UND* 00000000 create_program 00000000 *UND* 00000000 glBindAttribLocation 00000000 *UND* 00000000 link_program 00000000 *UND* 00000000 glUseProgram 00000000 *UND* 00000000 glGetUniformLocation 00000000 *UND* 00000000 glViewport 00000000 *UND* 00000000 glEnable 00000000 *UND* 00000000 glGenBuffers 00000000 *UND* 00000000 glBindBuffer 00000000 *UND* 00000000 glBufferData 00000000 *UND* 00000000 glBufferSubData 00000000 *UND* 00000000 glVertexAttribPointer 00000000 *UND* 00000000 glEnableVertexAttribArray 00000000 *UND* 00000000 puts 00000000 *UND* 00000000 glGenTextures 00000000 *UND* 00000000 __assert_fail 00000000 *UND* 00000000 glActiveTexture 00000000 *UND* 00000000 glBindTexture 00000000 *UND* 00000000 glTexParameteri 00000000 *UND* 00000000 raw_512x512_rgba 00000000 *UND* 00000000 printf 00000000 g O .data 000000c0 vTexCoords 000000c0 g O .data 00000004 egl 00000000 g O .bss 00000078 gl rd@h370-wlan:~/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/build/kmscube-98f31bf/.armv7a-libreelec-linux-gnueabihf$ objdump -t kmscube-cube-smooth.o kmscube-cube-smooth.o: file format elf32-little SYMBOL TABLE: 00000000 l df *ABS* 00000000 cube-smooth.c 00000000 l d .text 00000000 .text 00000000 l d .data 00000000 .data 00000000 l d .bss 00000000 .bss 00000000 l .text 00000000 $a 00000000 l F .text 0000020c draw_cube_smooth 00000000 l .bss 00000000 .LANCHOR0 000001f8 l .text 00000000 $d 00000000 l d .rodata.str1.4 00000000 .rodata.str1.4 00000000 l .rodata.str1.4 00000000 $d 00000000 l .rodata.str1.4 00000000 .LC0 00000124 l .rodata.str1.4 00000000 .LC1 000004ac l .rodata.str1.4 00000000 .LC2 000004b8 l .rodata.str1.4 00000000 .LC3 000004c4 l .rodata.str1.4 00000000 .LC4 000004d0 l .rodata.str1.4 00000000 .LC5 000004e0 l .rodata.str1.4 00000000 .LC6 000004fc l .rodata.str1.4 00000000 .LC7 0000020c l .text 00000000 $a 00000000 l .rodata 00000000 .LANCHOR1 0000042c l .text 00000000 $d 00000000 l d .rodata 00000000 .rodata 00000000 l .rodata 00000000 $d 00000000 l O .rodata 00000120 vVertices 00000120 l O .rodata 00000120 vColors 00000240 l O .rodata 00000120 vNormals 00000000 l .bss 00000000 $d 00000000 l d .debug_info 00000000 .debug_info 00000000 l d .debug_abbrev 00000000 .debug_abbrev 00000000 l d .debug_loc 00000000 .debug_loc 00000000 l d .debug_aranges 00000000 .debug_aranges 00000000 l d .debug_line 00000000 .debug_line 00000000 l d .debug_str 00000000 .debug_str 00000000 l d .note.GNU-stack 00000000 .note.GNU-stack 00000000 l d .debug_frame 00000000 .debug_frame 00000000 l d .comment 00000000 .comment 00000000 l d .ARM.attributes 00000000 .ARM.attributes 00000000 *UND* 00000000 glClearColor 00000000 *UND* 00000000 glClear 00000000 *UND* 00000000 esMatrixLoadIdentity 00000000 *UND* 00000000 esTranslate 00000000 *UND* 00000000 esRotate 00000000 *UND* 00000000 esFrustum 00000000 *UND* 00000000 esMatrixMultiply 00000000 *UND* 00000000 glUniformMatrix4fv 00000000 *UND* 00000000 glUniformMatrix3fv 00000000 *UND* 00000000 glDrawArrays 0000020c g F .text 00000228 init_cube_smooth 00000000 *UND* 00000000 init_egl 00000000 *UND* 00000000 create_program 00000000 *UND* 00000000 glBindAttribLocation 00000000 *UND* 00000000 link_program 00000000 *UND* 00000000 glUseProgram 00000000 *UND* 00000000 glGetUniformLocation 00000000 *UND* 00000000 glViewport 00000000 *UND* 00000000 glEnable 00000000 *UND* 00000000 glGenBuffers 00000000 *UND* 00000000 glBindBuffer 00000000 *UND* 00000000 glBufferData 00000000 *UND* 00000000 glBufferSubData 00000000 *UND* 00000000 glVertexAttribPointer 00000000 *UND* 00000000 glEnableVertexAttribArray 00000000 g O .bss 00000060 gl rd@h370-wlan:~/tmp.nobackup/git/LibreELEC.tv/build.LibreELEC-iMX6.arm-9.80-devel/build/kmscube-98f31bf/.armv7a-libreelec-linux-gnueabihf$
Please let me know if anything further information is needed.
Thanks
Rainer
-
No, my issue is that kmscube does not seem to get build and included in the image