Does anyone know how to build/compile u-boot.ext ? I would like to have a look at the source code. Thanks !
@balbes150 LE images with Kodi-19 for S9xxx
-
balbes150 -
April 24, 2018 at 1:26 PM -
Closed -
Thread is Unresolved
-
-
How are CEC support and HDMI audio pass-through support progressing for Odroid-C2?
Any news in the latest builds? Is any of these working or close to be working soon?Thanks.
-
hi balbes150,
Currently using LibreELEC-ARMv8.arm-9.80-devel-20201005141105-8945356-amlgx.img.gz for my Fiberhome HG680P
There's a problem while connecting into wifi AP, when I tried to select Connect, it's just return into network AP list, it won't connect.
Pls look into it, it uses rtl8188fu/rtl8189fs wifi module, thanx in advance.
-
Recently I found out that HEVC does not work (I'm not 100% sure when did it stop, or was it working previously at all). The following is observable on
- LibreELEC-ARMv8.aarch64-9.80-devel-20201006082248-fe4b097-amlgx.img
- LibreELEC-ARMv8.aarch64-9.80-devel-20200923122613-36bc7e3-amlgx.img
using s905w HW:
Code
Display More2020-10-06 21:35:14.952 T:1671 INFO <general>: Creating InputStream 2020-10-06 21:35:14.976 T:1671 INFO <general>: Creating Demuxer 2020-10-06 21:35:15.440 T:1671 INFO <general>: Opening stream: 0 source: 256 2020-10-06 21:35:15.440 T:1671 INFO <general>: Whitelist search for: width: 1920, height: 1080, fps: 23.976, 3D: false 2020-10-06 21:35:15.441 T:1671 INFO <general>: Display resolution ADJUST : 1920x1080 @ 60.000000 Hz (18) (we_ight: 0.000) 2020-10-06 21:35:15.453 T:1671 INFO <general>: Creating video codec with codec id: 173 2020-10-06 21:35:15.453 T:1671 INFO <general>: CDVDVideoCodecDRMPRIME::Open - using decoder V4L2 mem2mem HEVC decoder wrapper 2020-10-06 21:35:15.454 T:1671 INFO <general>: CDVDVideoCodecDRMPRIME::Open - unable to open codec 2020-10-06 21:35:15.454 T:1671 INFO <general>: CDVDVideoCodecDRMPRIME::Open - using decoder HEVC (High Efficiency Video Coding) 2020-10-06 21:35:15.457 T:1671 INFO <general>: Creating video thread 2020-10-06 21:35:15.458 T:1677 INFO <general>: running thread: video_thread 2020-10-06 21:35:15.458 T:1671 INFO <general>: Opening stream: 1 source: 256 2020-10-06 21:35:15.459 T:1671 INFO <general>: Finding audio codec for: 86018 2020-10-06 21:35:15.463 T:1671 INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac 2020-10-06 21:35:15.463 T:1671 INFO <general>: Creating audio thread 2020-10-06 21:35:15.464 T:1678 INFO <general>: running thread: CVideoPlayerAudio::Process() 2020-10-06 21:35:15.466 T:1677 INFO <general>: CVideoPlayerVideo - Stillframe left, switching to normal playback 2020-10-06 21:35:15.468 T:1673 ERROR <general>: CDVDVideoCodecDRMPRIME::GetFormat - unsupported pixel format 2020-10-06 21:35:15.478 T:1678 INFO <general>: Creating audio stream (codec id: 86018, channels: 6, sample rate: 48000, no pass-through) 2020-10-06 21:35:15.480 T:1289 INFO <general>: CActiveAE::ApplySettings - Forcing samplerate to 48000 2020-10-06 21:35:15.535 T:1677 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: Operation not permitted (-1) 2020-10-06 21:35:15.778 T:1677 ERROR <general>: CDVDVideoCodecDRMPRIME::GetPicture - videoBuffer:nullptr format:yuv420p10le 2020-10-06 21:35:15.779 T:1677 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: Invalid data found when processing input (-1094995529) ....
Found out these related issues:
popcornmix/gbm branch unable to playback 4k HEVC 10-bit video but LE can
kodi-git build script for mainline hwaccel media decoding
Does anyone else experience this ?
-
Any new info about support for S905X3 devices?
I have just ordered a X96 Air with 4 GB RAM / 64 GB eMMC and was wondering if it will be possible to run LE instead of CE.
-
Recently I found out that HEVC does not work (I'm not 100% sure when did it stop, or was it working previously at all). The following is observable on
- LibreELEC-ARMv8.aarch64-9.80-devel-20201006082248-fe4b097-amlgx.img
- LibreELEC-ARMv8.aarch64-9.80-devel-20200923122613-36bc7e3-amlgx.img
using s905w HW:
Code
Display More2020-10-06 21:35:14.952 T:1671 INFO <general>: Creating InputStream 2020-10-06 21:35:14.976 T:1671 INFO <general>: Creating Demuxer 2020-10-06 21:35:15.440 T:1671 INFO <general>: Opening stream: 0 source: 256 2020-10-06 21:35:15.440 T:1671 INFO <general>: Whitelist search for: width: 1920, height: 1080, fps: 23.976, 3D: false 2020-10-06 21:35:15.441 T:1671 INFO <general>: Display resolution ADJUST : 1920x1080 @ 60.000000 Hz (18) (we_ight: 0.000) 2020-10-06 21:35:15.453 T:1671 INFO <general>: Creating video codec with codec id: 173 2020-10-06 21:35:15.453 T:1671 INFO <general>: CDVDVideoCodecDRMPRIME::Open - using decoder V4L2 mem2mem HEVC decoder wrapper 2020-10-06 21:35:15.454 T:1671 INFO <general>: CDVDVideoCodecDRMPRIME::Open - unable to open codec 2020-10-06 21:35:15.454 T:1671 INFO <general>: CDVDVideoCodecDRMPRIME::Open - using decoder HEVC (High Efficiency Video Coding) 2020-10-06 21:35:15.457 T:1671 INFO <general>: Creating video thread 2020-10-06 21:35:15.458 T:1677 INFO <general>: running thread: video_thread 2020-10-06 21:35:15.458 T:1671 INFO <general>: Opening stream: 1 source: 256 2020-10-06 21:35:15.459 T:1671 INFO <general>: Finding audio codec for: 86018 2020-10-06 21:35:15.463 T:1671 INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac 2020-10-06 21:35:15.463 T:1671 INFO <general>: Creating audio thread 2020-10-06 21:35:15.464 T:1678 INFO <general>: running thread: CVideoPlayerAudio::Process() 2020-10-06 21:35:15.466 T:1677 INFO <general>: CVideoPlayerVideo - Stillframe left, switching to normal playback 2020-10-06 21:35:15.468 T:1673 ERROR <general>: CDVDVideoCodecDRMPRIME::GetFormat - unsupported pixel format 2020-10-06 21:35:15.478 T:1678 INFO <general>: Creating audio stream (codec id: 86018, channels: 6, sample rate: 48000, no pass-through) 2020-10-06 21:35:15.480 T:1289 INFO <general>: CActiveAE::ApplySettings - Forcing samplerate to 48000 2020-10-06 21:35:15.535 T:1677 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: Operation not permitted (-1) 2020-10-06 21:35:15.778 T:1677 ERROR <general>: CDVDVideoCodecDRMPRIME::GetPicture - videoBuffer:nullptr format:yuv420p10le 2020-10-06 21:35:15.779 T:1677 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: Invalid data found when processing input (-1094995529) ....
Found out these related issues:
popcornmix/gbm branch unable to playback 4k HEVC 10-bit video but LE can
kodi-git build script for mainline hwaccel media decoding
Does anyone else experience this ?
it is still in development stage, this is beta version of Libreelec.
-
arm64: dts: meson: add support for the WeTek Core 2
Still working few understand that it is a long work.
Thank you for the people who own this device.
Thank you. chewitt
-
- Official Post
arm64: dts: meson: add support for the WeTek Core 2
Thank you for the people who own this device.
Core2 is an S912 device that was never released so I'm fairly confident I'm the only person who owns one
I use it for Panfrost sanity testing on GXM when I get bored of using a VIM2.
-
Hi balbes150.
Please add suport (dtb) for Zoomtak King S22 4/32 ГБ Amlogic-S922X
-
Got a new Ugoos AM6 box;
tried the 20.10 aarch64 g12; kodi segfaults;
I am able to start the box using the aarch64 g12 build from 12.10. There I get occasional system freezes after a period of time (depending on my interaction with the UI).
On both releases I get buggy u-boot.ext HDMI attempts (vertical random color lines) and no kernel issues in dmesg.
Anyone else have these issues or I'm doing something wrong?
-
Got a new Ugoos AM6 box;
tried the 20.10 aarch64 g12; kodi segfaults;
I am able to start the box using the aarch64 g12 build from 12.10. There I get occasional system freezes after a period of time (depending on my interaction with the UI).
On both releases I get buggy u-boot.ext HDMI attempts (vertical random color lines) and no kernel issues in dmesg.
Anyone else have these issues or I'm doing something wrong?
Same here with GT King Pro, mainline kernel is not stable for GT King Pro too.
-
- Official Post
GT-King/Pro/GS-King-X all have an issue with deadlocks under load that hasn't been figured out. I don't do code so have no clue where the problem really lies but suspicions are on the block subsystem - or in regulators - beelink wouldn't be the first vendor to share schematics that don't match the boards they produced. I've reported the problem upstream without much success (will redo on 5.10-rc1 shortly). FWIW, I don't see deadlock issues on other devices (VIMs, etc.) and overall I consider the mainline kernel to be very stable (not feature compelte, but stable within the features present. I only see deadlocks when experimenting with things that I expect to cause deadlocks.
-
Same here with GT King Pro, mainline kernel is not stable for GT King Pro too.
For aarch64 release from 19.10, when I add "textmode ssh" as kernel boot parameters, I'm able to login remotely and observe:
Code
Display MoreOct 31 13:12:53 LibreELEC systemd[1]: Condition check resulted in Kodi user autostart script being skipped. Oct 31 13:12:53 LibreELEC systemd[1]: Starting Kodi clean debug logs... Oct 31 13:12:53 LibreELEC systemd[1]: Starting Update UTMP about System Runlevel Changes... Oct 31 13:12:53 LibreELEC systemd[1]: Finished Kodi clean debug logs. Oct 31 13:12:53 LibreELEC systemd[1]: Starting Kodi Media Center... Oct 31 13:12:53 LibreELEC systemd[1]: systemd-update-utmp-runlevel.service: Succeeded. Oct 31 13:12:53 LibreELEC systemd[1]: Finished Update UTMP about System Runlevel Changes. Oct 31 13:12:53 LibreELEC systemd[1]: Started Kodi Media Center. Oct 31 13:12:56 LibreELEC kodi.sh[884]: MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/dri) Oct 31 13:12:56 LibreELEC kodi.sh[884]: failed to load driver: kms_swrast Oct 31 13:12:56 LibreELEC kodi.sh[884]: MESA-LOADER: failed to open swrast (search paths /usr/lib/dri) Oct 31 13:12:56 LibreELEC kodi.sh[884]: failed to load swrast driver Oct 31 13:12:56 LibreELEC kodi.sh[884]: ERROR: Unable to create GUI. Exiting
The corresponding logs/coredump is attached.
The kernel behaves relatively okay, but I noticed rc_khadas to bring NULL pointer derefence from time to time. I found stable behaviour when the following kernel parameters are added in extlinux.conf
I personally don't use ipv6, hence its presence.
-
Same here with GT King Pro, mainline kernel is not stable for GT King Pro too.
This is confirmed to be a android BSP Uboot issue and not linux kernel issue.
We should hopefully have Mainline uboot images to test which should not cause any kernel panic anymore, but for this to work user's will have to erase android bsp uboot from the emmc.
Finally chewitt was able to figure out the issue. We will have a working linux OS on GT King & Pro and GS King X
-
This is confirmed to be a android BSP Uboot issue and not linux kernel issue.
We should hopefully have Mainline uboot images to test which should not cause any kernel panic anymore, but for this to work user's will have to erase android bsp uboot from the emmc.
Finally chewitt was able to figure out the issue. We will have a working linux OS on GT King & Pro and GS King X
Goog news, thanks lets see how it will work.
-
- Official Post
I haven't figured out the root cause and I don't have the code-level skills needed to, but I was able to build and boot mainline u-boot on a GT-King Pro and this works without the lock-ups; which points the finger at something in the vendor u-boot code; which we have incomplete sources and no git history for (to understand how Beelink modified it). The GT-King Pro also has an RS232 port on the rear of the box which makes the UART based processs of disrupting then erasing vendor u-boot less complex, but this is a million miles from a "solution" for users - it's fiddly as hell and GT-King (non-Pro) and GS-King-X need dismantling and soldering of UART pins to their boards to get equivalent access.
-
I haven't figured out the root cause and I don't have the code-level skills needed to, but I was able to build and boot mainline u-boot on a GT-King Pro and this works without the lock-ups; which points the finger at something in the vendor u-boot code; which we have incomplete sources and no git history for (to understand how Beelink modified it). The GT-King Pro also has an RS232 port on the rear of the box which makes the UART based processs of disrupting then erasing vendor u-boot less complex, but this is a million miles from a "solution" for users - it's fiddly as hell and GT-King (non-Pro) and GS-King-X need dismantling and soldering of UART pins to their boards to get equivalent access.
Dear chewitt
Could you share your mainline u-boot image and information how you run it?
We can try it too on Debian & Ubuntu images with mainline kernel.
It will help us to release Debian & Ubuntu images with mainline kernel.
Thanks a lot,
Kind Regards,
-
- Official Post
amlogic-boot-fip/gtking at beelink · chewitt/amlogic-boot-fip · GitHub
^ These are the FIP files that I am using, which can be used to sign a mainline u-boot image. I built mainline u-boot using the VIM3 defconfig and the signing recipe from the N2. You can use the same process to write u-boot to eMMC as any other Amlogic device.
-