while balbes150 's unOfficial LE uses kernel 6.12.3 (latest stable) , it can boot successfully, so which means it uses a vendor rockchip bootloader?
I don't know where to find the source of those builds but I imagine yes
while balbes150 's unOfficial LE uses kernel 6.12.3 (latest stable) , it can boot successfully, so which means it uses a vendor rockchip bootloader?
I don't know where to find the source of those builds but I imagine yes
LibreELEC 11.0 uses kernel 6.1.x (not mainline), LibreELEC 12.0 uses kernel 6.6.x (not mainline)
Libreelec uses the latest LTS version of the mainline kernel (i.e., the official one, not the RockChip one), which is available when the stable version is released.
The 6.12 kernel will (probably) be used in libreelec 13, which is currently still in development.
Is there any official way to install LE to the internal eMMC ?
Official no, so if you have problems (in reality, it's very unlikely that you have them), you may not have support. But if you want to install it in your internal emmc, just write an image of Libreelec (previously saved on a SD card) with dd after starting it from the SD card.
Rockchip CPUs, if they find a bootloader in the internal memory, start with that and possibly try to launch the operating system from the SD card.
but if I remember correctly your vendor's bootloader (which is the one you have with the Android installation) is not able to launch the mainline bootloader (which is the one used starting from libreelec 11) and vice versa. you can see this from the fact that libreelec 10 works instead (because it has the vendor rockchip bootloader) and also the unofficial builds you mentioned.
more information can be found here
Boot option - Rockchip open source Document
the only options I know of are
- install libreelec in your emmc
- delete your emmc so that the board, finding nothing in the internal memory, boots entirely from the SD card
hi FurmanSK if you can, try this build of libreelec 13
where I've added some optimizations that I will send upstream.
I did some testing and it works very well even in 4k. let me know if you notice anything strange.
the main changes are
- ddr4 at 800mhz
- I improved the infrared receiver support by adding some remote controls that I created over time thanks to the users of my build for rk3228
- I increased the gpu frequency to 500mhz
- I enabled the multigen lru in the kernel
the source is here
Unfortunately, I also had little time this year.
In any case, and without any definite planning, I'm working on some small improvements (having said that the 4k problem is a known problem of the kernel used in libreelec 12, which should be okay with libreelec 13).
I'll keep this thread updated when I have news.
Hi all,
a new build of libreelec 12 available with:
- added RTL8189ES wifi driver (thanks Lochnair for testing)
- various fixes and improvements
- finished porting from libreelec 11
- reintroduced wpa_supplicant as wifi manager (iwd has problems with bad drivers that I have to use)
- updated to latest libreelec source
Cheers
Michele
Lochnair my apologies, the repository was not updated. try again now.
Thank you
The stock Android is terrible, but LibreELEC seems to run pretty well on it, so thanks a lot!
I'm happy, the work behind it was long and sometimes complicated.
Ethernet and Wi-Fi doesn't work,
I saw some errors related to missing firmware. Let's see what I can do.
Ended up dumping DTB from both image and /proc as I wasn't sure if I did it correctly from the image, both attached should they be useful somehow.
they are useful because I could add support to your box too.
My Apple type-c to headphone adapter doesn't show up as an audio device in settings. I did check lsusb and it does show up there so not sure what's up. This also happens in LE11. Currently my workaround is to use a cheap optical/coax to 3.5mm converter, which works with the SPDIF output.
After some research, I read that the device actually activates when you connect a device via 3.5mm jack. Can you please try? In the meantime, I'm trying to understand if some drivers are missing.
Hey, good to know you're still maintaining this box.
thank you for using my builds to save old hardware from oblivion
Wifi still doesn't show any networks to connect to. It's never worked on LE11 either. Mine has the RK3228A + ESP8089.
I saw that the driver loaded correctly. try disabling and re-enabling networking from the libreelec configuration tool. I don't think this is the problem but also make sure you have wifi networks in 2.4ghz mode because the chip does not support 5g and higher
Framerate on the UI seems pretty low.
I saw that you use 4k resolution. Comparing Kodi Nexus with Kodi Omega is difficult, but the processor may not be able to handle the UI smoothly at such high resolutions. For now, I advise you to try with a lower resolution, leaving the switch to the player that increases the resolution only when needed.
At this moment I don't have a 4k device for tests, perhaps in the future I will be able to further optimize the performance even if a lot depends on the work of Kodi developers who care about less powerful devices.
Is emmc install no longer a thing?
your device has an internal emmc so should works, but I only recommend it to those who know what they are doing.
I prefer boot from an SD card because I can decide the capacity and in case of problems I simply replace it (which you can't do easily with internal memory)
Hi hamafever , sorry for the late reply.
Your board is one that I know has startup problems. Please try with my previous libreelec 11 build https://ilmich.libreelec.tv/libreelec-11/ and let me know.
In any case it would be useful
- if you can produce a boot log via serial connection (I see from the photos that you have a cable connected so perhaps you already have a uart available)
- the exact version of your android firmware (even better if you have a download link)
Cheers
Michele
hi hamafever,
please I need to know
- model of your box
- version of the android operating system
- possibly a photo of the motherboard
- are you sure it's an rk3228 box? my builds support only booting from an SD card and maybe only some particular models have problems
cheers
Michele
hi spigui
Thanks for continuing to update this box, great job!
thank you very much.
1) It plays some videos but it freezes every few seconds, I tried to make the cache bigger but it didn't work.
2) Some videos don't play and I've attached a picture of the screen and logs
from the log you sent, I saw there are errors with your multimedia UPNP server (ums?). I used minidlna for a while but never had any problems. I'll try to install it and do some testing even if it could be a kodi bug.
3) I couldn't find the AC3 and EAC3 passthrough option that was previously in AUDIO. I saw it in the player but it didn't work, I couldn't get 5.1 sound like I had in LE11.
I know.. the porting of libreelec 11 is not completed yet.
Cheers
Michele
first unofficial build for libreelec 12 released.
I will start removing old images from the servers in the next few days (I will leave only the latest ones released for libreelec 10-11).
Hi,
thanks to the experience gained with my builds of libreelec 9.2.x and the work of the community (rockchip and more), I'm sharing my unofficial build of libreelec for boxes with soc rockchip 322x.
** BIG FAT WARNING **
** I won't waste too much time on the subject of pirate streaming. Know that it's not tolerated by me. **
** I will try to help with legal addons (which I don't develop directly anyway). But if you have problems **
** with other kinds of addons, nothing personal, I will ignore you. **
FEATURES
- Kodi Omega 21.1
- mainline kernel 6.6.46
- mainline opensource GPU driver
- legacy u-boot
- boot from SD
- ir receiver (it works, but if your remote is not recognized, follow this guide https://wiki.libreelec.tv/configuration/ir-remotes and share results)
- support for wifi chip SSV6051p, ESP8089, AP6255, and others if supported by mainline kernel.
- hardware accelerated video decoding (mpeg2/h264/hvec/vp9). only FullHD tested because I don't own a 4k tv.
- analog audio
- DDR3 frequency scaling
DOWNLOADS
- builds: https://ilmich.libreelec.tv/libreelec-12/
- source: https://github.com/rockchip-with-…le12-rk322x-wip
INSTALLATION
- for boot from SD see https://wiki.libreelec.tv/installation/create-media
MANUAL UPDATE
WARNING: The upgrade from libreelec 11 is tested, but a backup is recommended and in case of problems a clean install is suggested.
Copy (via ssh,samba, etc etc) the desired build into the folder
Code
and reboot the device.
INITIAL SETUP
To allow booting in most cases, the image uses a generic device tree. This device tree doesn't have support for ddr3 ram, doesn't turn on any LEDs, etc etc.
However, it's possible to change the device tree by choosing from the supported devices list with rk322x-dtb-switch.sh command.
rkelec:~ # rk322x-dtb-switch.sh
usage: /usr/bin/rk322x-dtb-switch.sh [list|switch|help]
show show current device tree
list show available device trees
switch [device tree] switch to a device tree
help show this help
sample session
rkelec:~ # rk322x-dtb-switch.sh switch rk3229-box-v88mars
Device tree rk3229-box-v88mars founded
Are you sure(y/n)?y
Mounting flash rw
Switching dtb
Mounting flash ro
Switching is ok, now you need to reboot!!
SUPPORTED DEVICES
Device | Dtb | Wifi | Board | Freq DDR3 | Cpu Clock | Gpu Clock | |
---|---|---|---|---|---|---|---|
generic | rk322x-box | ssv6051p and others | N/A | 1,0 Ghz | 400 Mhz | ||
V88mars | rk322x-box-v88mars | ssv6051p and others | N/A | 1,4 Ghz | 400 Mhz | ||
V884k | rk322x-box-v884k | ssv6051p and others | 666 Mhz | 1,2 Ghz | 400 Mhz | ||
Onetv Lite | rk322x-box-onetv-lite | 666 Mhz | 1,2 Ghz | 400 Mhz | |||
MXQ 4k Pro | rk322x-box-mxq4kpro | ssv6051p and others | 666 Mhz | 1,2 Ghz | 400 Mhz | ||
MXQ 4k Pro (r329q varian) | rk322x-box-mxq4kpro_r329q | ssv6051p and others | 666 Mhz | 1,2 Ghz | 400 Mhz | ||
MXQ 4k | rk322x-box-mxq4k | ssv6051 and others | 666 Mhz | 1,2 ghz | 400 Mhz | ||
MXQ 4k (R29 variant) | rk322x-box-mxq4k_r29 | ssv6051 and others | 666 Mhz | 1,2 Ghz | 400 Mhz | ||
T95d | rk322x-box-t95d | AP6255 | 400 Mhz | 1,0 Ghz | 400 Mhz |
KNOWN ISSUES
- some strange wifi chip
- some strange USB Wi-Fi chip (I can add it if you help me)
- NAND (this is the hard part and the only legacy piece that remains)
SUGGESTIONS
- without your logs, I can't try to fix anything
CHANGELOG
2024/09/14: Initial release
THANKS TO
knaerzche , jock2, fabiobassa, oneillb, Habitual6824, ochentay4 and the libreelec community.
DONATE
If you like this project help:
- by first donating to Libreelec main project https://opencollective.com/libreelec/donate
- and secondly by helping me to buy/repair rk322x hardware https://www.paypal.com/paypalme/ilmich6502 or https://revolut.me/ilmich
hi ochentay4 kodi is a libretro frontend just like retroarch so take a look here https://kodi.wiki/view/Game_add-ons. You can find the libretro cores in the libreelec repository so addons --> install from repository --> libreelec addons --> games addons --> emulators .
Please note that:
The cores can be configured like with Retroarch, but in general, there are fewer features at the moment. For me, this is a good thing because I prefer playing games rather than looking for the best emulation of a CRT monitor.
- in the libreelec 11 branch some cores do not work 100% (for example the PS1 one). I never really understood the reason (Kodi problem or something else) but I can tell you that everything works in libreelec 12 and the performance on the 3228 boxes is comparable with my Lakka build.
no.. there is a build of lakka for rk3228 that works (search on google). make a batocera build is possible, but I prefer libreelec also for retrogaming so my focus remain on libreelec for now.