Armbian for Amlogic S805


Recommended Posts

Armbian is a community driven open source project. Do you like to contribute your code?

@balbes150 thank you for your continued support of Linux on the MXQ devices. I have an S805 TV box (3 really) and I have version 5.67 of your Armbian build installed. Is there a means of installing to the NAND? I tried using (and modifying) the install script from 5.44 but that didn't work. What is the process? All documentation I found searching the web made reference to the /root/install.sh script.

 

Second, should your Armbian-19.11.5 s812 build work on an S805 box? I thought I had read that. Can it be installed to the NAND?

 

I was thinking of using the box as a "private cloud" appliance for backups to my parents house. I'd like the OS on the NAND and use a large SD Card purely for data. 

 

Thanks for your assistance! :)

 

Todd

Link to post
Share on other sites

@balbes150 Perhaps this is slightly off topic, but as a Linux engineer I work primarily on CentOS based systems. CentOS does provide an armhfp based image with various pre-canned uboot images and dtb files that can been used to install uboot with their uboot install utility. None of them seem to be for amlogic s805, meson808b, mxq or anything I can identify as similar hardware. Are there other boards or labels I can look for? I'm a complete uboot novice, but I think if I were nudged in the right direction, I might be able to at least experiment with CentOS or Fedora in addition to Armbian. 

 

Thanks!

 

Todd

Link to post
Share on other sites
10 hours ago, Todd Morgan said:

Is there a means of installing to the NAND?

In theory, the 3.10 core could work with NAND and you can try to manually install the system in NAND (with a bunch of complex manual openrations and if you have a UART console), but I have never checked this (I do not have such hardware).

 

10 hours ago, Todd Morgan said:

What is the process? All documentation I found searching the web made reference to the /root/install.sh script.

There is no General documentation for this, it is a creative process, perform steps , view the result and select the next step based on the result of the previous one.

 

10 hours ago, Todd Morgan said:

Second, should your Armbian-19.11.5 s812 build work on an S805 box?

Yes, you can run it from an SD card, but you need a working DTB specifically for your model. If the TV box uses its own specific parameters and the available DTB is not suitable, you will have to create a DTB yourself.

 

10 hours ago, Todd Morgan said:

Can it be installed to the NAND?

This is not possible, the main core does not support NAND. If you write the NAND driver yourself , then you can install it in NAND.

 

 

10 hours ago, Todd Morgan said:

CentOS does provide an armhfp based image with various pre-canned uboot images and dtb files that can been used to install uboot with their uboot install utility.

As far as I know, these u-boot variants are not suitable for TV boxes. But I think the system itself can be tried to run. Take the CentOS image and adapt it to run on the TV box ( add the necessary scripts to run in universal multi -loading mode). I 've done this before for running ArchLinux and OpenSUSE, and it should work for Fedora as well .

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

Yes, you can run it from an SD card, but you need a working DTB specifically for your model. If the TV box uses its own specific parameters and the available DTB is not suitable, you will have to create a DTB yourself.

 

Is there process to build DTB? I am testing Armbian_20.05.0-trunk_Aml-s812 using meson8b-mxq.dtb for my S805 box. It can boot it lacks of many features. No Cpu Temp for example, wifi... Can I use the DTB from Armbian_5.44_S805_Ubuntu_xenial_3.10.108?

 

Link to post
Share on other sites
On 3/13/2020 at 6:49 PM, Diamond said:

Is there process to build DTB? I am testing Armbian_20.05.0-trunk_Aml-s812 using meson8b-mxq.dtb for my S805 box. It can boot it lacks of many features. No Cpu Temp for example, wifi... Can I use the DTB from Armbian_5.44_S805_Ubuntu_xenial_3.10.108?

 

Mar 19 11:27:47 localhost kernel: [ 9405.917472] WARNING: CPU: 0 PID: 105 at drivers/mmc/host/meson-mx-sdio.c:452 meson_mx_mmc_irq_thread+0x148/0x14c
Mar 19 11:27:47 localhost kernel: [ 9405.917496] Modules linked in: bluetooth ecdh_generic ecc cpufreq_powersave cpufreq_userspace cpufreq_conservative governor_simpleondemand lima pwm_meson gpu_sched
Mar 19 11:27:47 localhost kernel: [ 9405.917555] CPU: 0 PID: 105 Comm: irq/19-c1108c20 Not tainted 5.6.0-rc2-aml-s812 #trunk
Mar 19 11:27:47 localhost kernel: [ 9405.917562] Hardware name: Amlogic Meson platform
Mar 19 11:27:47 localhost kernel: [ 9405.917607] [<c03128fc>] (unwind_backtrace) from [<c030cad4>] (show_stack+0x10/0x14)
Mar 19 11:27:47 localhost kernel: [ 9405.917633] [<c030cad4>] (show_stack) from [<c1200244>] (dump_stack+0xc0/0xd4)
Mar 19 11:27:47 localhost kernel: [ 9405.917661] [<c1200244>] (dump_stack) from [<c0345dec>] (__warn+0xd0/0xf8)
Mar 19 11:27:47 localhost kernel: [ 9405.917684] [<c0345dec>] (__warn) from [<c034619c>] (warn_slowpath_fmt+0x60/0xb8)
Mar 19 11:27:47 localhost kernel: [ 9405.917713] [<c034619c>] (warn_slowpath_fmt) from [<c100465c>] (meson_mx_mmc_irq_thread+0x148/0x14c)
Mar 19 11:27:47 localhost kernel: [ 9405.917743] [<c100465c>] (meson_mx_mmc_irq_thread) from [<c039d26c>] (irq_thread_fn+0x1c/0x78)
Mar 19 11:27:47 localhost kernel: [ 9405.917765] [<c039d26c>] (irq_thread_fn) from [<c039d5a8>] (irq_thread+0x150/0x224)
Mar 19 11:27:47 localhost kernel: [ 9405.917789] [<c039d5a8>] (irq_thread) from [<c0367e14>] (kthread+0x150/0x154)
Mar 19 11:27:47 localhost kernel: [ 9405.917812] [<c0367e14>] (kthread) from [<c03010e8>] (ret_from_fork+0x14/0x2c)
Mar 19 11:27:47 localhost kernel: [ 9405.917822] Exception stack(0xee7c3fb0 to 0xee7c3ff8)
Mar 19 11:27:47 localhost kernel: [ 9405.917837] 3fa0:                                     00000000 00000000 00000000 00000000
Mar 19 11:27:47 localhost kernel: [ 9405.917855] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Mar 19 11:27:47 localhost kernel: [ 9405.917870] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
Mar 19 11:27:47 localhost kernel: [ 9405.917898] ---[ end trace c7efe28408734714 ]---
Mar 19 15:26:15 localhost kernel: [23715.285553] ------------[ cut here ]------------
Mar 19 15:26:15 localhost kernel: [23715.285594] WARNING: CPU: 0 PID: 105 at drivers/mmc/host/meson-mx-sdio.c:452 meson_mx_mmc_irq_thread+0x148/0x14c
Mar 19 15:26:15 localhost kernel: [23715.285613] Modules linked in: bluetooth ecdh_generic ecc cpufreq_powersave cpufreq_userspace cpufreq_conservative governor_simpleondemand lima pwm_meson gpu_sched
Mar 19 15:26:15 localhost kernel: [23715.285658] CPU: 0 PID: 105 Comm: irq/19-c1108c20 Tainted: G        W         5.6.0-rc2-aml-s812 #trunk
Mar 19 15:26:15 localhost kernel: [23715.285665] Hardware name: Amlogic Meson platform
Mar 19 15:26:15 localhost kernel: [23715.285699] [<c03128fc>] (unwind_backtrace) from [<c030cad4>] (show_stack+0x10/0x14)
Mar 19 15:26:15 localhost kernel: [23715.285725] [<c030cad4>] (show_stack) from [<c1200244>] (dump_stack+0xc0/0xd4)
Mar 19 15:26:15 localhost kernel: [23715.285748] [<c1200244>] (dump_stack) from [<c0345dec>] (__warn+0xd0/0xf8)
Mar 19 15:26:15 localhost kernel: [23715.285770] [<c0345dec>] (__warn) from [<c034619c>] (warn_slowpath_fmt+0x60/0xb8)
Mar 19 15:26:15 localhost kernel: [23715.285796] [<c034619c>] (warn_slowpath_fmt) from [<c100465c>] (meson_mx_mmc_irq_thread+0x148/0x14c)
Mar 19 15:26:15 localhost kernel: [23715.285826] [<c100465c>] (meson_mx_mmc_irq_thread) from [<c039d26c>] (irq_thread_fn+0x1c/0x78)
Mar 19 15:26:15 localhost kernel: [23715.285848] [<c039d26c>] (irq_thread_fn) from [<c039d5a8>] (irq_thread+0x150/0x224)
Mar 19 15:26:15 localhost kernel: [23715.285868] [<c039d5a8>] (irq_thread) from [<c0367e14>] (kthread+0x150/0x154)
Mar 19 15:26:15 localhost kernel: [23715.285893] [<c0367e14>] (kthread) from [<c03010e8>] (ret_from_fork+0x14/0x2c)
Mar 19 15:26:15 localhost kernel: [23715.285904] Exception stack(0xee7c3fb0 to 0xee7c3ff8)
Mar 19 15:26:15 localhost kernel: [23715.285917] 3fa0:                                     00000000 00000000 00000000 00000000
Mar 19 15:26:15 localhost kernel: [23715.285928] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Mar 19 15:26:15 localhost kernel: [23715.285948] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
Mar 19 15:26:15 localhost kernel: [23715.285980] ---[ end trace c7efe28408734715 ]---
Mar 19 20:01:22 localhost kernel: [40224.393717] ------------[ cut here ]------------
Mar 19 20:01:22 localhost kernel: [40224.393759] WARNING: CPU: 0 PID: 105 at drivers/mmc/host/meson-mx-sdio.c:452 meson_mx_mmc_irq_thread+0x148/0x14c
Mar 19 20:01:22 localhost kernel: [40224.393762] Modules linked in: bluetooth ecdh_generic ecc cpufreq_powersave cpufreq_userspace cpufreq_conservative governor_simpleondemand lima pwm_meson gpu_sched
Mar 19 20:01:22 localhost kernel: [40224.393786] CPU: 0 PID: 105 Comm: irq/19-c1108c20 Tainted: G        W         5.6.0-rc2-aml-s812 #trunk
Mar 19 20:01:22 localhost kernel: [40224.393788] Hardware name: Amlogic Meson platform
Mar 19 20:01:22 localhost kernel: [40224.393807] [<c03128fc>] (unwind_backtrace) from [<c030cad4>] (show_stack+0x10/0x14)
Mar 19 20:01:22 localhost kernel: [40224.393817] [<c030cad4>] (show_stack) from [<c1200244>] (dump_stack+0xc0/0xd4)
Mar 19 20:01:22 localhost kernel: [40224.393829] [<c1200244>] (dump_stack) from [<c0345dec>] (__warn+0xd0/0xf8)
Mar 19 20:01:22 localhost kernel: [40224.393837] [<c0345dec>] (__warn) from [<c034619c>] (warn_slowpath_fmt+0x60/0xb8)
Mar 19 20:01:22 localhost kernel: [40224.393846] [<c034619c>] (warn_slowpath_fmt) from [<c100465c>] (meson_mx_mmc_irq_thread+0x148/0x14c)
Mar 19 20:01:22 localhost kernel: [40224.393858] [<c100465c>] (meson_mx_mmc_irq_thread) from [<c039d26c>] (irq_thread_fn+0x1c/0x78)
Mar 19 20:01:22 localhost kernel: [40224.393867] [<c039d26c>] (irq_thread_fn) from [<c039d5a8>] (irq_thread+0x150/0x224)
Mar 19 20:01:22 localhost kernel: [40224.393882] [<c039d5a8>] (irq_thread) from [<c0367e14>] (kthread+0x150/0x154)
Mar 19 20:01:22 localhost kernel: [40224.393896] [<c0367e14>] (kthread) from [<c03010e8>] (ret_from_fork+0x14/0x2c)
Mar 19 20:01:22 localhost kernel: [40224.393900] Exception stack(0xee7c3fb0 to 0xee7c3ff8)
Mar 19 20:01:22 localhost kernel: [40224.393905] 3fa0:                                     00000000 00000000 00000000 00000000
Mar 19 20:01:22 localhost kernel: [40224.393914] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Mar 19 20:01:22 localhost kernel: [40224.393935] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
Mar 19 20:01:22 localhost kernel: [40224.393956] ---[ end trace c7efe28408734716 ]---

Box isn't stable. I got too many freezes. Anyone can give advice for meson8b-mxq.dtb on S805 Armbian_20.05.0-trunk_Aml-s812? Thanks

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

Box isn't stable. I got too many freezes. Anyone can give advice for meson8b-mxq.dtb on S805 Armbian_20.05.0-trunk_Aml-s812? Thanks

 

Each kernel version needs its own dtb. So I'm afraid you will have to make one from scratch for 5.x kernels. I also have a mxq s805 board and no dtb was working for either 4.x or 5.x kernels. It just runs 3.x kernels and that's about it. We need someone with skills that can make an up to date dtb for s805 mxq boards or stick to kernel 3.x where everything including nand works.

Link to post
Share on other sites
On 3/7/2020 at 7:28 PM, GUS said:

Hi, where I can get latest *.img for S805 ? I got Minix X6, currently running "Armbian_5.67_Aml-s805_Debian_stretch_default_3.10.108_20181207.img"

Hey GUS, I have same box and can't boot same version of Armbian - 5.67. I did try all dtb images, maybe you can suggest some tweaks to make it boot? I did burn to SD card, did use toothpick method and then nothing happens, on the monitor is no output. I did try to connect it to ethernet to see if I can connect via telnet/ssh but it looks like system did not boot at all.

Link to post
Share on other sites
On 3/27/2020 at 1:38 PM, Arthur Shevchuk said:

Hey GUS, I have same box and can't boot same version of Armbian - 5.67. I did try all dtb images, maybe you can suggest some tweaks to make it boot? I did burn to SD card, did use toothpick method and then nothing happens, on the monitor is no output. I did try to connect it to ethernet to see if I can connect via telnet/ssh but it looks like system did not boot at all.

Ok, it does boot actually with m201d.dtb (forgot to insert ethernet cable, thats why no SSH was working). But there are 2 problems: No video output over HDMI and it only has 340mb of ram with this m201d.dtb. The box itself (Minix X6) has 1gb and I guess it should use m201_1G.dtb but it didnt boot up with this, only the m201d did boot

Link to post
Share on other sites
On 3/27/2020 at 12:38 PM, Arthur Shevchuk said:

Hey GUS, I have same box and can't boot same version of Armbian - 5.67. I did try all dtb images, maybe you can suggest some tweaks to make it boot? I did burn to SD card, did use toothpick method and then nothing happens, on the monitor is no output. I did try to connect it to ethernet to see if I can connect via telnet/ssh but it looks like system did not boot at all.

Hi, I manage Minix X6 only via SSH. I did play with tdb files in the beginning, but seems HDMI of Minix is not supported...etc...

if you can ping host via ethernet, then wait, SSH service comes up later, especially on first boot.

Link to post
Share on other sites

Is there way to load cp210x?

 

 


root@aml-s805:~# uname -a
Linux aml-s805 5.6.0-aml-s812 #20.05.0 SMP Tue Mar 31 12:44:09 MSK 2020 armv7l GNU/Linux
root@aml-s805:~# modprobe cp210x
modprobe: FATAL: Module cp210x not found in directory /lib/modules/5.6.0-aml-s812

Link to post
Share on other sites
Guest
This topic is now closed to further replies.