Jump to content

Recommended Posts

Posted (edited)

!!!

SOLVED:  After deleting all .lz4 files in /var/lib/apt/lists  the problem was gone  :)

!!!

 

Hi,

 

let me first thank @balbes150 for his amazing work!!!

 

I have a Mecool M8S Pro W with S905W processor. I was able to run this image (no .dtb needed) from a 16 GB sd card:

 

    Armbian_5.41.1_S9xxx_Ubuntu_xenial_3.14.29_mate_20180406.img   (mali6/5.41.1-KODI-17.6 directory)

 

It boots up fine and I can login to the mate desktop without problems. Cabled network is up and running and I am currently writing this message using the tv box. Both USB ports are working and I am using a wireless keyboard and mouse. The test videos play well and sound is O.K. A great experience so far!

 

But unfortunately I have a problem when trying to update the system or install new packages. When I type in

sudo apt-get update

I get the following error message

Hit:1 http://ports.ubuntu.com xenial InRelease
Hit:2 http://ports.ubuntu.com xenial-security InRelease                 
Hit:3 http://ports.ubuntu.com xenial-updates InRelease                  
Hit:4 http://apt.armbian.com xenial InRelease     
Hit:5 http://ports.ubuntu.com xenial-backports InRelease
Reading package lists... Error!                   
E: LZ4F: /var/lib/apt/lists/ports.ubuntu.com_dists_xenial-security_multiverse_binary-arm64_Packages.lz4 Unexpected end of file
E: LZ4F: /var/lib/apt/lists/ports.ubuntu.com_dists_xenial-security_multiverse_binary-arm64_Packages.lz4 Read error (18446744073709551615: ERROR_GENERIC)
E: The package lists or status file could not be parsed or opened.

Since I did not find anything about this problem when using the search function I would be very glad if some of the experts here could help me.

 

Thank you so much!

Edited by TheMojoMan
I have solved the problem
Posted
16 hours ago, TheMojoMan said:

Since I did not find anything about this problem when using the search function I would be very glad if some of the experts here could help me.

Comment out the /etc/apt/sources.list are not working repositories (which cause an error).

Posted

Hi @balbes150, thank you for your work. Your images work great in my MXQ PRO 4K s905x 1Gb, but one question: I miss several drivers, and I cannot get working my DVB-T TV Tuner, a Hauppage soloHD, that otherwise works ok in an armbian in a orange PI zero in zetsy.

 

In the s905x, It shows in lsusb but nothing about dvb in dmesg. in /lib/modules I think there are simply not enough drivers, and the CONFIG file for the kernel perhaps lacks some. Could you release an image with the full suite of drivers? I have tried several kernels, including  4.17.0-rc3-next-20180430?

Posted

Thanks @balbes150 for your incredible work.

 

I try to use my Sunvell T95 (S905x) as a mini NAS with OMV.

I found one of your images  which boots fine : Armbian_5.41.1_S9xxx_Debian_stretch_4.17.0-rc1-next-20180420_server.img.xz but it lacks nfsd support.

Where to find this kernel source to compile missing modules ?

 

Thx

Posted
On 5/15/2018 at 6:24 PM, jesuslop said:

Hi @balbes150, thank you for your work. Your images work great in my MXQ PRO 4K s905x 1Gb, but one question: I miss several drivers, and I cannot get working my DVB-T TV Tuner, a Hauppage soloHD, that otherwise works ok in an armbian in a orange PI zero in zetsy.

 

In the s905x, It shows in lsusb but nothing about dvb in dmesg. in /lib/modules I think there are simply not enough drivers, and the CONFIG file for the kernel perhaps lacks some. Could you release an image with the full suite of drivers? I have tried several kernels, including  4.17.0-rc3-next-20180430? 

Many drivers come with their own sources (they are added separately to the common core). I do not have such equipment, so you need to try to collect the desired version of the core on your TV box. All sources of the kernel I use are freely available. You can take the kernel sources and add your driver sources from the PI Zero kernel to them.

 

10 hours ago, Chris4arm said:

I found one of your images  which boots fine : Armbian_5.41.1_S9xxx_Debian_stretch_4.17.0-rc1-next-20180420_server.img.xz but it lacks nfsd support.

Where to find this kernel source to compile missing modules ? 

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/

Posted

Update images version 5.44_20180515.

 

Please note that the content of MATE\Xfce has changed. Now there is no KODI in the composition of these images. KODI packages with dependencies are in separate directories on the site. To install them, you need to download all the files from the desired directory and install manually (with the appropriate commands "dpkg -i" and "apt install -f").

Posted
5 hours ago, balbes150 said:

Update images version 5.44_20180515.

 

Please note that the content of MATE\Xfce has changed. Now there is no KODI in the composition of these images. KODI packages with dependencies are in separate directories on the site. To install them, you need to download all the files from the desired directory and install manually (with the appropriate commands "dpkg -i" and "apt install -f").

@balbes150, thanks for the new version!

 

In this version everything is working?

Posted

Tried bionic, work fine(install package from repo, uninstall etc. mpv from default repo work fine). I did not find any bugs or problems.... thanks.

Posted
13 hours ago, jesuslop said:

Once that I have compiled a customized kernel, how would I tell the bootloader to boot from it?

This depends on where the system is located - in the eMMC or on external media.

 

13 hours ago, Fozzy said:

In this version everything is working?

What does that mean, everyone ?

 

9 hours ago, Chris4arm said:

Thanks, unfortunately there is a little version mismatch on the compiled modules :

[ 3100.166218] nfsd: version magic '4.17.0-rc1-next-20180420 SMP preempt mod_unload aarch64' should be '4.17.0-rc1-next-20180420-amlogics905x SMP preempt mod_unload aarch64'

 

Where do the "-amlogics905x" come from ?

You must either compile modules using headers from the installed kernel (not using sources from GIT), or you must build a completely new kernel from new sources and install it instead of the current kernel.

Posted
16 hours ago, jesuslop said:

I'd wish to boot a customized kernel from the SD-card (were I flashed the image).

If the build is done on the TV box itself, copy the "Image" file from the SRC_KERNEL/arch/arm64/boot directory to /boot and rename it to "zImage". If you changed the kernel modules, follow their installation with "make", and follow all staff commands to update the initrd.

Posted

@balbes150 thank you!

 

I have a box MXQ PRO 4K S905W P281 and tried kernel 3.14  and 4.16. They both works but:

In kernel 3.14 Usb 3.0 is not working, so 3 from 4 Usb ports are not working. Only the usb 2.0 port is ok. The usb3 hub is listed in lsusb.

 

In kernel 4.16 all usb ports are ok, all connected devices are listed in lsusb, but devices like usb bluetooth or usb hspda modem are not working. These devices are listed correctly in lsusb but are not creating ttyUSB ports. In modprobe usbserial is missing. 

 

Does anyone have any idea how to fix the problem in kernel 3.14 or 4.16?

 

 

Posted
10 hours ago, Marco345 said:

@balbes150 thank you!

 

I have a box MXQ PRO 4K S905W P281 and tried kernel 3.14  and 4.16. They both works but:

In kernel 3.14 Usb 3.0 is not working, so 3 from 4 Usb ports are not working. Only the usb 2.0 port is ok. The usb3 hub is listed in lsusb.

 

In kernel 4.16 all usb ports are ok, all connected devices are listed in lsusb, but devices like usb bluetooth or usb hspda modem are not working. These devices are listed correctly in lsusb but are not creating ttyUSB ports. In modprobe usbserial is missing. 

 

Does anyone have any idea how to fix the problem in kernel 3.14 or 4.16?

 

 

s905w Don't support usb 3.0 on soc level ) Try other dtb

Posted

I am using a Dtb file that i have extracted from android firmware for this device. That is the only dtb file that the emmc is recognized. I have tried with other dtb files for p201 p212 and other but the usb problems are the same. I have even tried to edit the dtb files combining values from different dtbs but without success. Have anyone success with any dtb for this device?

Posted

As far as I know, the s905w chip does not have a built-in USB 3.0. So the manufacturer could install an additional external chip. The driver for kernel 3.14 you need to ask the manufacturer or the seller.

Posted

I get the following in lsusb command 

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

Devices connected to Bus 001 are working.

 

Does it mean that there is usb3 root hub inside, or there is something wrong with the DTB file?

I have checked all devices like mine in internet, and all seems to have USB 2 Hi-speed, not USB 3. 

Posted

dmesg for this device is  

[    2.618612] amlogic-new-usb2 d0078000.usb2phy: USB2 phy probe:phy_mem:0xd0078000, iomap phy_base:0xffffff800059a000
[    2.618896] amlogic-new-usb3 d0078080.usb3phy: This phy has no usb port
[    2.618931] amlogic-new-usb3 d0078080.usb3phy: USB3 phy probe:phy_mem:0xd0078080, iomap phy_base:0xffffff800059c080

Posted

Added the image of Armbian Bionic Mate. There are bugs in this image. You need to manually add the panel "Mate Bar". The Bionic-deb directory contains packages with two variants of KODI. For both versions you must install the packages aml and "aml-codec" and "aml-mali7". "aml-amremote" package is needed for remote control operation in KODI-17 version.

Posted
13 hours ago, balbes150 said:

I don't understand the question.

KODI-18 is going from the official GIT.

What I mean is: Is video processing going to improve for Armbian builds with Kodi 18 upgrades for VDPAU and AMLCodecs?

 

One problem with Armbian builds seems to be that Android has better video hardware acceleration support for Kodi. I think this is true for S905 but don't know for RK3229/later versions. 

 

Maybe video acceleration on Armbian and Android are same at lower resolutions and compression like h264/720p?

Posted
1 hour ago, Reddwarf said:

Maybe stupid question but should I use the Mali-5 image(s) when my box has a Mali-450 GPU?

yep, it's just different version of libmali(mali-5...mali-7)

@shippy What kind of problems do you have in kodi?  I see low cpu usage in h264/1080p so hw decoding and acceleration work correct in armbian/kodi

 

Posted
3 hours ago, talraash said:

 

@shippy What kind of problems do you have in kodi?  I see low cpu usage in h264/1080p so hw decoding and acceleration work correct in armbian/kodi

 

I haven't installed Armbian yet. Trying to gather enough information to decide if I want to install Android on my TV boxes (e.g., Nexbox A95) or Armbian, with S905W or RK3229.

 

Armbian gives me the ability to install and use many more features, e.g., OpenWrt for networking and WiFi.

 

I do want HW acceleration with Kodi, because I plan to run several concurrent Kodi/SPMC instances for h264/720p streams. Maybe even try Ubuntu multi-seat (2-3 instances)! I am assuming VPU can handle this. The Penta GPU should handle Xorg for multiple I/O.

 

I don't have interest in 1080p/4K streaming.

Posted

Hello,

 

i'm using a MeCool M8S Pro + (s905x - 2Gb ram - 16Gb eMMC)

Armbian 5.44 debian stretch server 3.14.29 works fine.

Armbian 5.44 debian stretch server 4.16.1 doesn't work. It's stuck on the MeCool logo after the OTA Update.

 

Does anyone have an idea to help me to use the Kernel 4.16.1 please ?

Thank you.

Posted

Hello,

In s905w kernel 4.16.1 the internal emmc is not recognized. 

I get 

[    1.863928] mmc1: tuning execution failed: -5
[    1.863953] mmc1: error -5 whilst initialising MMC card

 

I recompiled the kernel (balbes150 github),  for usbserial support and all the mmc drivers. The other modules are installed ok, but mmc_core gives error as follow:

mmc_core: Unknown symbol of_node_put (err 0)

 

Does anybody anyone have any idea?

 

Posted
On 5/25/2018 at 10:17 PM, talraash said:

yep, it's just different version of libmali(mali-5...mali-7)

 

 

So a 450 is a Mail-5 GPU? I'm having problems with the images, no matter what version I run from Mali5 directory it gets more and more sluggish and eventually freezes after some 10-15 minutes. Where should I look for error messages or other signs of what goes south?

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines