51 51
balbes150

Armbian for Amlogic S9xxx kernel 5.x

Recommended Posts

Can anyone with 5.98 and HDMI audio please do this: "speaker-test -c 2"

 

On both my x96 mini and KM8P the channels are reversed. Please tell me its not my head, haha.

Share this post


Link to post
Share on other sites

@balbes150 Hi. I'm back on the VIM3 for now. 
I'm unable to select 1440p display resolution. 4k works, and 1080p also. But there's no 1440p to choose from.
When I add the resolution manually it doesn't seem to work.

xrandr --newmode "2560x1440_60.00"  312.25  2560 2752 3024 3488  1440 1443 1448 1493 -hsync +vsync && xrandr --addmode HDMI-1 2560x1440_60.00 

It's the same with DEV and DEFAULT images.
Except for this and HDMI-audio everything seems to work fine. Temperature is now also showing. Good job. Thank you.

Share this post


Link to post
Share on other sites
16 hours ago, NicoD said:

and HDMI-audio

1. The sound has long worked on all g12. To do this, it needs to be properly configured. The details there is in this topic previously.

2. I checked, the screen resolution of 1440 is in the list and works on my monitor on all images on VIM3.

 

https://yadi.sk/i/y4r0WpD7aRZ8Xw

Share this post


Link to post
Share on other sites

Hello, is there any working image for Odroid N2 s922x that supports hardware transcode (emby,plex)?

 

Regards.

Share this post


Link to post
Share on other sites
7 hours ago, balbes150 said:

2. I checked, the screen resolution of 1440 is in the list and works on my monitor on all images on VIM3.

Thank you for checking. I tried the Ubuntu 5.3 image from Khadas and it's the same there. Also no 1440p, but 4k works. Strange thing is, with the RK3399's 1440p works fine but not 4k. 
We know it's not an issue with your image. Probably kernel/display problem I guess. 
I'm happy to use my M4 with my 4K display, and the VIM3 with my 1080p display. I guess 1440p wouldn't work well with it since no VPU drivers. Thanks.

Share this post


Link to post
Share on other sites

yesterday I did try to compile a new aml-s912 Image for my Sunvell T95K Pro, but it failed with:
 

  CC      drivers/xen/xlate_mmu.o
  AR      drivers/xen/built-in.a
  AR      drivers/built-in.a
[ error ] ERROR in function compile_kernel [ compilation.sh:385 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated
root@core2duo(192.168.6.19):/home/guido/150balbes#

As compile options I did add the WIREGUARD=no but it didnt help :(
Then @martinayotte give me the right additional idea (in another thread about a RockPi 4):
https://forum.armbian.com/topic/8719-rock-pi-4/?do=findComment&comment=87769 )
Add to the WIREGUARD=no also AUFS=no

 

Normally I do use/compile debian buster, but the created image got OOPS with the kernel (kernel crashes/exceptions).

 

So I did give Ubuntu Bionic a try and and now my Sunvell T95K Pro is booting:
 

 ____  ___  _ ____
/ ___|/ _ \/ |___ \
\___ \ (_) | | __) |
 ___) \__, | |/ __/
|____/  /_/|_|_____|

Welcome to Ubuntu Bionic with Armbian Linux 5.4.0-rc3-next-20191017-aml-s912
package bsp-kernel[5.98] dtb[5.98] firmware[5.98] config[5.98]

CPU temperature does work and not the frequecy in htop.
armbianmonitor -m does also show the cpu-freq/Mhz:
 

root@t95k-pro(192.168.6.62):~# armbianmonitor -m
Stop monitoring using [ctrl]-[c]
Time       big.LITTLE   load %cpu %sys %usr %nice %io %irq   CPU  C.St.

11:44:00:  500/ 500MHz  0.82   2%   0%   1%   0%   0%   0% 52.0°C  0/6
11:44:05:  500/ 500MHz  0.75   0%   0%   0%   0%   0%   0% 52.0°C  0/6
11:44:10:  500/ 500MHz  0.69   0%   0%   0%   0%   0%   0% 52.0°C  0/6

but echo 'heartbeat' > /sys/class/leds/vim:red:power/trigger

doesnt work anymore - which it does before under debian buster with kernel 5.3.0 :(
I do use the Vim2 DTB for this LED, because with GXM Q201 the LED wasnt available

 

 

t95kpro_htop.jpg

Share this post


Link to post
Share on other sites
4 hours ago, guidol said:

aml-s912

aml-912 and aml-905 branch builds are deprecated and no longer supported. You need to use the g12 branch

Share this post


Link to post
Share on other sites

Hi

Great thanks Balbes150 for the last 2 years with your Armbian images. 

I have different S912/S905x2 boxes, and no preblem to start Armbian.  But my last Boxes comes with Android 9 and with by update the "aml_autoscript.zip" come this error

 

E : footer is wrong

update package verification took 0.0´s (result 1)

E : signature verification failed

E : error 21

 

When i downgrade to android 8 i have no problems. But my next buy are S905x3 boxes and here is only Android 9

 

Can anyone help my?

 

thanks

Share this post


Link to post
Share on other sites
12 hours ago, guidol said:

but aml-g12 does only show Amlogic S905X2 and S922X as CPU type.

Do not pay attention to the inscriptions. I have been using this group for a long time to release a single generic image for all s9xxx.

Share this post


Link to post
Share on other sites
5 hours ago, balbes150 said:

Do not pay attention to the inscriptions. I have been using this group for a long time to release a single generic image for all s9xxx.

OK ;)

your ./compile.sh has the same "error" like -formerly- ( see https://github.com/armbian/build/pull/1581 ) in the original armbian-build-system:
actual line:

su `stat --format=%U $SRC/.git` -c bash $TMPFILE

and should be:
 

su `stat --format=%U $SRC/.git` -c "bash $TMPFILE"

 

compiling the image did work fine for aml-g12 :)

but the debian buster version doenst work as smooth as the ubuntu bionic version on my Sunvell T95K Pro (S912),

so I do use now ubuntu bionic on the T95K Pro:

    _    __  __ _     ____ _ ____
   / \  |  \/  | |   / ___/ |___ \
  / _ \ | |\/| | |  | |  _| | __) |
 / ___ \| |  | | |__| |_| | |/ __/
/_/   \_\_|  |_|_____\____|_|_____|

Welcome to Debian Buster with Armbian Linux 5.4.0-rc3-aml-g12
package bsp-kernel[5.98] u-boot[5.98] dtb[Khadas VIM2] firmware[5.98] config[5.98]

==================================================================================
 _____ ___  ____  _  __     ____  ____   ___
|_   _/ _ \| ___|| |/ /    |  _ \|  _ \ / _ \
  | || (_) |___ \| ' /_____| |_) | |_) | | | |
  | | \__, |___) | . \_____|  __/|  _ <| |_| |
  |_|   /_/|____/|_|\_\    |_|   |_| \_\\___/

Welcome to Ubuntu Bionic with Armbian Linux 5.4.0-rc3-aml-g12
package bsp-kernel[5.98] u-boot[5.98] dtb[Khadas VIM2] firmware[5.98] config[5.98]

root@t95k-pro(192.168.6.62):~#

Problem I have:

On both reboot doenst work, so I have to power-cycle.
BUT on the debian-version the T95K Pro does boot into Linux again - with ubuntu the T95K Pro will boot into Android

and I have to re-apply the aml_autoscript to get it boot into ubuntu :-(

 

Share this post


Link to post
Share on other sites

Hello,

I have also the problem guidol has run into for a long, long time.

Reboot doenst work. I have to "shutdown -h now" and then power-cycle.

 

The weird thing i run into is, the system boots just every 2. time from emmc into armbian.

I have then to boot from sd, "shutdown -h now" and then power-cycle and the next boot, boots into system from emmc.

 

For me, it is a work around but not very comfortable.

 

Regards

Cyber

 

Share this post


Link to post
Share on other sites
4 hours ago, cyber said:

Reboot doenst work. I have to "shutdown -h now" and then power-cycle.

@cyber Do your shutdown-messages also look like this attached picture?

Ubuntu_Bionic_aml-g12_Shutdown_800px.jpg

Share this post


Link to post
Share on other sites

@guidol,

 

Sorry i do not see these shutdown messages. I am connected via putty and ssh to the box. I get immediately the ssh disconnection message.

Till now, there was no need to connect to the serial lines you use i think. The box is still unopened :-)

Maybe i should do this to see the uboot messages during boot. This would be helpful.

 

Share this post


Link to post
Share on other sites
8 minutes ago, cyber said:

 

Till now, there was no need to connect to the serial lines you use i think. The box is still unopened :-)

Mine does show this via HDMI-Port ;)

Thats why I did a "screenshot" via the camera.

Mine was opened/closed long time ago :)

 

Share this post


Link to post
Share on other sites
54 minutes ago, guidol said:

Mine does show this via HDMI-Port ;)

Thats why I did a "screenshot" via the camera.

Mine was opened/closed long time ago :)

 

 

I forgot this box owns a HDMI-Port ;-)

I was not satisfied with the sound (atmos) capabilities of the android box. So i substituted an old Dockstar with this box as NAS.

 

I did an update to 5.98 via apt-get upgrade. Suddenly a "shutdown -r now" works. The unit is back within 20 sec. 

Share this post


Link to post
Share on other sites
On 10/18/2019 at 1:33 PM, guidol said:

On both reboot doenst work, so I have to power-cycle.
BUT on the debian-version the T95K Pro does boot into Linux again - with ubuntu the T95K Pro will boot into Android

and I have to re-apply the aml_autoscript to get it boot into ubuntu :-(

I checked on Vega s96 (s912) Telos (s905) VIM2 (s912), shutdown and reboot work without problems in Ubuntu and Debian (hardware, after shutdown, normally turns on by button or remote control).

Share this post


Link to post
Share on other sites
On 10/18/2019 at 12:33 PM, guidol said:

T95K Pro:


    _    __  __ _     ____ _ ____
   / \  |  \/  | |   / ___/ |___ \
  / _ \ | |\/| | |  | |  _| | __) |
 / ___ \| |  | | |__| |_| | |/ __/
/_/   \_\_|  |_|_____\____|_|_____|

Welcome to Debian Buster with Armbian Linux 5.4.0-rc3-aml-g12
package bsp-kernel[5.98] u-boot[5.98] dtb[Khadas VIM2] firmware[5.98] config[5.98]

==================================================================================
 _____ ___  ____  _  __     ____  ____   ___
|_   _/ _ \| ___|| |/ /    |  _ \|  _ \ / _ \
  | || (_) |___ \| ' /_____| |_) | |_) | | | |
  | | \__, |___) | . \_____|  __/|  _ <| |_| |
  |_|   /_/|____/|_|\_\    |_|   |_| \_\\___/

Welcome to Ubuntu Bionic with Armbian Linux 5.4.0-rc3-aml-g12
package bsp-kernel[5.98] u-boot[5.98] dtb[Khadas VIM2] firmware[5.98] config[5.98]

root@t95k-pro(192.168.6.62):~#

 

Is it normal you use khadas vim2 dtb for your T95K pro ?

Share this post


Link to post
Share on other sites
1 hour ago, Peyton said:

Is it normal you use khadas vim2 dtb for your T95K pro ?

In the last versions until kernel 5.3.0 I did use the khadas vim2 dtb, because there I could use the vim-red-led in /sys/class/leds for a blinking heartbeat  led.
Before this I did use gxm_q201_2g.dtb (which the T95K Pro is normally identified), but with the khasad vim2 dtb the ethnernet port does work much better ;)

 

Share this post


Link to post
Share on other sites
7 hours ago, cyber said:

I did an update to 5.98 via apt-get upgrade. Suddenly a "shutdown -r now" works. The unit is back within 20 sec. 

 

the image I did compile is already at 5.98, but I could try to "apz update" and check if the reboot then will work ;)

[EDIT] the only new package was

distro-info-data

Reboot didnt work - do you use ubuntu bionic or debian buster? which kernel version?

 

After that the T95K Pro did boot into Android (because LED lit up), but with a black screen :(

The only chance to get a screen was to boot without HDMI.-cable and after Android was booted I inserted the HDMI-cable.

 

So I could reapply the aml_autostart script and the box is booting ubuntu bionic again ;)

 

Share this post


Link to post
Share on other sites
6 hours ago, balbes150 said:

I checked on Vega s96 (s912) Telos (s905) VIM2 (s912), shutdown and reboot work without problems in Ubuntu and Debian (hardware, after shutdown, normally turns on by button or remote control).

I dont know/understand why it boots correctly/directly after applying the aml_autoscript.zip but not later after a powercycle (OK, normal reboot would be also fine - but I got this symtom in the past on a H2 Sunvell R69 TV-Box - first Board-Edition).

 

On kernel 5.3.0 I used a 32GB Lexar SDCard - nor I have a 16GB SanDisk Ultra - maybe the Lexar is intialized faster at reboot?

Share this post


Link to post
Share on other sites

 

Hi,

 

Could you tell me an image to use with s905x with WiFi adapter RTL8189es?

I tried many with no success.

At least how to get kernel headers downloaded, so that I can compile.

 

Many thanks

 

Share this post


Link to post
Share on other sites
11 hours ago, guidol said:

I dont know/understand why it boots correctly/directly after applying the aml_autoscript.zip but not later after a powercycle (OK, normal reboot would be also fine - but I got this symtom in the past on a H2 Sunvell R69 TV-Box - first Board-Edition).

 

On kernel 5.3.0 I used a 32GB Lexar SDCard - nor I have a 16GB SanDisk Ultra - maybe the Lexar is intialized faster at reboot?

Only the UART console can give an accurate answer what happens at startup. It can be assumed that when you turn on the power, your firmware resets all parameters to the old (default) values. Try after reboot, when Android starts, choose in Android normal reboot (do not choose update, only normal reboot).

Share this post


Link to post
Share on other sites
2 hours ago, balbes150 said:

It can be assumed that when you turn on the power, your firmware resets all parameters to the old (default) values.

Try after reboot, when Android starts, choose in Android normal reboot (do not choose update, only normal reboot).

When I try to reboot it get stuck on the shutdown-messages, so I have to power-cycle.

Then Android will boot (when getting power). If I try a restart (with the 16GB SanDisk) it will reboot into Adroid again (not applying aml_autostart).

 

If I apply aml_autostart then the T95K Pro will reboot into ubuntu.

 

BUT now I dd'ed the 16GB ubuntu image to my 32GB Lexar Card, the I have not to apply the aml_autostart script.
With the 32Gb Lexar Card the T95K Pro does boot straight into ubuntu after powering up.

This also does work after resize from 16 to 32GB mmcbkl0p2 ;)

 

So the SanDisk Card may be a little bite slower at init? But both are Class 10 Cards :( I know its only the read/write speed.

Lexar_SanDisk_MicroSD.jpg

Share this post


Link to post
Share on other sites
20 hours ago, guidol said:

So the SanDisk Card may be a little bite slower at init? But both are Class 10 Cards :( I know its only the read/write speed.

I checked on old USB 2.0 flash drives, reboot and shutdown work. I notice on different TV box models that rebooting and shutting down work better on slow devices than on fast ones.

Share this post


Link to post
Share on other sites
On 10/20/2019 at 12:55 PM, guidol said:

 I know its only the read/write speed.

like with ssd most interesting param for us in sd it's random i/o speed. It can variable in one products line and it can be lower with time.

Share this post


Link to post
Share on other sites
18 minutes ago, talraash said:

It can variable in one products line and it can be lower with time.

Yes - I know ;) I got 3x 16GB Sandisk Ultra Class 10 HC-I (red-grey-version) and they are much slower as then when they were new :(

Share this post


Link to post
Share on other sites

Hi,

I install armbian on T95M 2G, 8gb (not sure its Sunvell T95M -2G or not)

The spec is S905x but I were tried glx...dtb it can not boot so after that I use gbxx..dtb it can work but not had Ethernet connect.

So with this Tv box how can I install drivers for Ethernet?

 

tivi-box-t95m-4k-ram-2g-anroid-5-1-den-l

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
51 51