CoreELEC on U22-XJ

#1
Hi there, we are looking for the kernel source for the newly released Minix U22-XJ, it would be helpful if the kernel source could be shared or even just the changes made by Minix to the Amlogic kernel so we can get this board fully supported within CoreELEC.
 
#4
@tom31 it is and it isn't. Whilst the Minix Neo T5 box works perfectly with CoreELEC, unfortunately the same can not be said for the Neo U22-XJ.

Booting from both uSD and USB does not work out of the box for the U22-XJ, this can be fixed by entering some commands into the bootloader via the UART interface on the board but this is not something that most users will be familiar with and not something that we would recommend given that no firmware is available to restore the device should anything go wrong.

Essentially for USB support at boot time the GPIOH_4 pin needs to be set to high to reset the USB Hub so u-boot can see available devices connected to it.

Both issues could be fixed by Minix with an ota update and we are happy to work with Minix to fix these issues, the U22-XJ is a great device but not one that we could recommend buying for CoreELEC until these 2 issues are resolved.

@Skynet we have already emailed John previously but we are still awaiting a response to our previous enquiries for some time now.
 
#5
@tom31 it is and it isn't. Whilst the Minix Neo T5 box works perfectly with CoreELEC, unfortunately the same can not be said for the Neo U22-XJ.

Booting from both uSD and USB does not work out of the box for the U22-XJ, this can be fixed by entering some commands into the bootloader via the UART interface on the board but this is not something that most users will be familiar with and not something that we would recommend given that no firmware is available to restore the device should anything go wrong.

Essentially for USB support at boot time the GPIOH_4 pin needs to be set to high to reset the USB Hub so u-boot can see available devices connected to it.

Both issues could be fixed by Minix with an ota update and we are happy to work with Minix to fix these issues, the U22-XJ is a great device but not one that we could recommend buying for CoreELEC until these 2 issues are resolved.

@Skynet we have already emailed John previously but we are still awaiting a response to our previous enquiries for some time now.
Thanks
For now I will keep the minix u9
Because on android os I have not so great experience with kodi.
Maybe on this new model it will be no problem
But if I buy a new device Coreelec support is Required for me.(just in case)

I am just wondering
Of I will notice a big difference in speed with CoreElec on this device against the u9
 
#6
@tom31 There is a noticeable speed difference when compared to the U9-H, but as explained in my previous post, it is not easy for most users to run CE on this device without changes being made to the bootloader by Minix, as users start to receive their U22-XJ and try to run CE or any other 3rd party OS then these issues will become more obvious.
 
#13
For the records Minix didn't gave U9-H kernel sources and it's now working ;)
That was different, the U9-H did not implement a custom MCU like the U22-XJ does, the U22-XJ is also different from the standard Amlogic reference design.

We do not share the kernel sources.
If Minix does not share the kernel source code then this is illegal as the kernel is GPL licensed and must be made available upon request, in the past Minix has provided this upon request, link.

As many of you know CoreELEC is a 3rd party OS and we work with all vendors to support their products the best that we can, comments like this are extremely unhelpful and damaging both to the Minix brand and sales, we have identified the issue, we know how to fix it but it is for Minix to implement the necessary changes and issue a new OTA, the issue requires mutual co-operation though, we will not engage in a 1 way relationship when there is other vendors that are more than happy to work with us and actually help us to support their products.

The problem with the U22-XJ is that it can NOT boot from USB or SD due to an incorrectly configured bootloader, this is something that needs fixing by Minix and not something that we can work-around in our OS, the bootloader can not see the USB hub because it is not reset via the correct GPIO line.
 
Last edited by a moderator:

Skynet

Administrator
#14
That was different, the U9-H did not implement a custom MCU like the U22-XJ does, the U22-XJ is also different from the standard Amlogic reference design.



If Minix does not share the kernel source code then this is illegal as the kernel is GPL licensed and must be made available upon request, in the past Minix has provided this upon request, link.

As many of you know CoreELEC is a 3rd party OS and we work with all vendors to support their products the best that we can, comments like this are extremely unhelpful and damaging both to the Minix brand and sales, we have identified the issue, we know how to fix it but it is for Minix to implement the necessary changes and issue a new OTA, the issue requires mutual co-operation though, we will not engage in a 1 way relationship when there is other vendors that are more than happy to work with us and actually help us to support their products.

The problem with the U22-XJ is that it can NOT boot from USB or SD due to an incorrectly configured bootloader, this is something that needs fixing by Minix and not something that we can work-around in our OS, the bootloader can not see the USB hub because it is not reset via the correct GPIO line.
Hi,

Personally I really like Coreelec and I have successfully used it on a U9H. It works really well and I recommend it for those who do not need the other features offered by Android.

I advise you to continue this conversation in private message with the technical staff ( @MINIX - John , @MINIX – Martin ), maybe they will be able to give you a solution concerning the bootloader problems.

Minix must have their reasons for not publicly distributing their source code, in which case it is always preferable to speak about it in private.
 
#15
Hi,

Personally I really like Coreelec and I have successfully used it on a U9H. It works really well and I recommend it for those who do not need the other features offered by Android.

I advise you to continue this conversation in private message with the technical staff ( @MINIX - John , @MINIX – Martin ), maybe they will be able to give you a solution concerning the bootloader problems.

Minix must have their reasons for not publicly distributing their source code, in which case it is always preferable to speak about it in private.
Well said!

@MINIX - John can reopen this if he likes.
 
#17
Would you mind adding an update with some brief directions of how other users/members can now make use of CoreELEC with the U22 in your previous post too ;)??
Installation on the U22-XJ is the same as it is for previous Minix products.

We have a download helper here to help you select the correct image and device tree.

One note I would add is that if you plan to use ethernet then you should use the dtb from this post.
 
#18
Installation on the U22-XJ is the same as it is for previous Minix products.

We have a download helper here to help you select the correct image and device tree.

One note I would add is that if you plan to use ethernet then you should use the dtb from this post.
Does it make a difference that only a 2G version is available despite the U22 being 4G?
Capture.PNG
 
#20
@Marty
I am a developer at CoreELEC and currently have some time to take a look again to the U22XJ device.
There are two issues remain after the firmware update 003FW. CE can now be booted from any USB port, confirmed.

Remaining issues:
  1. Micro SD is not working
Micro SD card slot can not read any TF card. Same in bootloader console, CoreELEC and Minix Android console.​
I am not sure if I own a faulty U22XJ device or if this happen to other devices too.​
g12b_w400_v1#mmc info​
card in​
co-phase 0x2, tx-dly 0, clock 400000​
co-phase 0x2, tx-dly 0, clock 400000​
co-phase 0x2, tx-dly 0, clock 400000​
co-phase 0x2, tx-dly 0, clock 400000​
co-phase 0x2, tx-dly 0, clock 40000000​
Tuning failed to find a valid window, using default rx phase​
aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x182000​
adj retry sampling point:(24)->(23)​
adj retry sampling point:(23)->(22)​
adj retry sampling point:(22)->(21)​
adj retry sampling point:(21)->(20)​
adj retry sampling point:(20)->(19)​
adj retry sampling point:(19)->(18)​
adj retry sampling point:(18)->(17)​
adj retry sampling point:(17)->(16)​
adj retry sampling point:(16)->(15)​
adj retry sampling point:(15)->(14)​
adj retry sampling point:(14)->(13)​
adj retry sampling point:(13)->(12)​
adj retry sampling point:(12)->(11)​
adj retry sampling point:(11)->(10)​
adj retry sampling point:(10)->(9)​
adj retry sampling point:(9)->(8)​
adj retry sampling point:(8)->(7)​
adj retry sampling point:(7)->(6)​
adj retry sampling point:(6)->(5)​
adj retry sampling point:(5)->(4)​
adj retry sampling point:(4)->(3)​
adj retry sampling point:(3)->(2)​
adj retry sampling point:(2)->(1)​
adj retry sampling point:(1)->(0)​
adj retry sampling point:(64)->(63)​
[mmc_startup] mmc refix error​
emmc/sd response timeout, cmd16, status=0x1ff2800​
emmc/sd response timeout, cmd16, status=0x1ff2800​
emmc/sd response timeout, cmd16, status=0x1ff2800​
[mmc_init] mmc init success​
Device: SDIO Port B​
Manufacturer ID: 3​
OEM: 5344​
Name: SC32G​
Tran Speed: 50000000​
Rd Block Len: 512​
SD version 3.0​
High Capacity: Yes​
Capacity: 29.7 GiB​
mmc clock: 40000000​
Bus Width: 4-bit​
2. Analog audio jack amplifier
The U22XJ is using an Realteak ALC5651 audio amplifier. As this is not like a "simple" audio amp it needs to be pre configured by the driver. As we do not have a path of the analog audio signal we do not know how to setup the SoC correctly. The Minix Android firmware show us some adjustments by dmesg in the source files:​
rt5651.c
rt5651.h
They are located in the kernel folder: /sound/soc/codecs​
If you do not mind it would be much easier for us if you can provide those changes to the rt5651 codec.​
Thank you very much!​
 
Top