Jump to content

Armbian for Amlogic S805 and S802/S812


masteripper

Recommended Posts

Hi Balbes150! Thank you for your images! For now I can not use mine Odroid C1+ for testing, since it's running pi-hole and I'm dumping large website(it can take few weeks), but as soon it's ready, I will test new kernel.

BTW - will it be compatible with LXC or Docker? Thanks again!

Link to comment
Share on other sites

I have mxiii with s812 and i used Armbian_20.09_Aml-s812_focal_current_5.9.0-rc7_desktop but at the start it start to change resolutinons on my tv and next the black screen telling that "resolution is not supported" message in tv. 

I changed resolution in uEnv.txt but allwais the same. But the start proccess is fine only it try other reslolutions and at the end, black screen.  Anybody know how to suprime this tv resolution test or force some resolution? thanks

 

Link to comment
Share on other sites

I have a Geniatech based Android TV Box with s812 and ap6330 wifi card, I tried LibreElec and used the MX III Plus dtb since it was the one that worked before on 3.10 kernel but on this one my Wifi wasn't working, the ethernet connected but had a weird IP and the internet itself wasn't working, I couldn't even connect to it using ssh, anything I can do to help and test I'm happy to. Thanks for your effort.

Link to comment
Share on other sites

20 minutes ago, Juan Manuel Lopez said:

la mía es la misma solo que la versión v2.2 y quiero una imagen que funcione con wifi. Gracias:)

There is one that the wifi worked for me but the audio was not faulty and the screen resolution was very large, there is no option to change the resolution?

Link to comment
Share on other sites

pull out my old MXQ 805 201d 512MB ram and try Armbian on it. 3.10.108 work fine for me until I put swap file to NAND and box heavily put data in/out swap ==> CPU soft reset. OK, next I try with image 20.9.buster_5.9rc no more NAND to test so but when I connect to serial port over usb start lock up ( after 30s ). If I terminate the serial over USB connection before blackout things back normal.  Pretty sure problem related to kernel or hardware description/driver but not sure where to start.  

 

Quote

[  533.460390] platform c1108c20.mmc:slot@1: error -110 requesting status
[  537.503863] ------------[ cut here ]------------
[  537.503895] WARNING: CPU: 0 PID: 203 at drivers/mmc/host/meson-mx-sdio.c:447 meson_mx_mmc_irq_thread+0x114/0x120
[  537.503898] Modules linked in: rfkill ftdi_sio cdc_acm usbserial icplus
[  537.503915] CPU: 0 PID: 203 Comm: irq/19-c1108c20 Not tainted 5.9.0-rc7-aml-s812 #20.09
[  537.503917] Hardware name: Amlogic Meson platform
[  537.503936] [<c030f3f8>] (unwind_backtrace) from [<c030a784>] (show_stack+0x10/0x14)
[  537.503947] [<c030a784>] (show_stack) from [<c0a95400>] (dump_stack+0xc4/0xd8)
[  537.503958] [<c0a95400>] (dump_stack) from [<c0335da8>] (__warn+0xc8/0xe0)
[  537.503966] [<c0335da8>] (__warn) from [<c0335e24>] (warn_slowpath_fmt+0x64/0xc4)
[  537.503975] [<c0335e24>] (warn_slowpath_fmt) from [<c0e5e0b8>] (meson_mx_mmc_irq_thread+0x114/0x120)
[  537.503989] [<c0e5e0b8>] (meson_mx_mmc_irq_thread) from [<c0393388>] (irq_thread_fn+0x1c/0x78)
[  537.503998] [<c0393388>] (irq_thread_fn) from [<c03936b8>] (irq_thread+0x134/0x210)
[  537.504007] [<c03936b8>] (irq_thread) from [<c0356ac0>] (kthread+0x124/0x150)
[  537.504015] [<c0356ac0>] (kthread) from [<c0300148>] (ret_from_fork+0x14/0x2c)
[  537.504019] Exception stack(0xdf0c5fb0 to 0xdf0c5ff8)
[  537.504024] 5fa0:                                     00000000 00000000 00000000 00000000
[  537.504030] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  537.504036] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[  537.504046] ---[ end trace 45f2ab413f76fecc ]---

 

Link to comment
Share on other sites

I have this old HTV3 that my family used to watch Asian channels.
I didn't know what I could do with it and thank god it didn't end up in the trash.
Latest Android version was 4.2...
So I opened it up physically and found an Amlogic s805 inside with 1g of RAM, then downloaded Armbian for s812 (built by balbes150, thank you!)

I used dtb: meson8b-ec100

LO AND BEHOLD IT WORKS WITH ARMBIAN NOW! I COULDN'T BELIEVE MY EYES

 

So if someone has that same HTV3 that I have, that's how it will work.
 

So far only tested that it boots by sd card, usb keyboard works, and ethernet works. havn't tested other functionalities

Link to comment
Share on other sites

18 hours ago, Nel Panel said:

Anyone managed to boot a Odroid C1+ wiht this image? Must I do anything beyond doing dd from img file to a sdcard?

 

 

You need to configure the uEnv.txt file in the boot partition after flashing your sdcard. Change the specified dtb file in the params to the according one.

Link to comment
Share on other sites

Hi

I have an MXIIIG 4K (2G,8G) Gigabit edition. All these years I moved from openelec to libreelec to the eMMC and until today I used only Armbian (Armbian_5.77_Aml-s812_Ubuntu_bionic_default_3.10.108_desktop_20190326.img) with an SD card (pi hole etc).

I was looking for a way to transfer the Armbian Ubuntu OS to the eMMC to be faster and more reliable, but there was neither nand-sata-install command installed nor I could find the armbian config option to install to nand/emmc.

So I was tinkering around looking for a way to do it and while I was using the gparted under root I did the mistake to delete and format  the eMMC partition because I wanted armbian to recognize and mount it...

So now the device is bricked (not booting from libreelec eMMC of course neither from Armbian Ubuntu SD card.

Can someone help me restore it? Thank you in advance!

Edited by dreamstrider
Link to comment
Share on other sites

Hi folks, 

 

I managed to make my Wetek Core to work (thanks to @balbes150) with the latest Armbian_20.09_Aml-s812_focal_current_5.9.0-rc7_desktop.img.xz 20201002 image (with some issues).

 

When booting, he tries the some resolutions (1080p60hz, 1080p30hz, 720p50hz) shows some noise and a few seconds later finally shows up the HDMI output. Great

Internal wifi does't work (AP6330 chip) but with an external USB WIFI I was able to connect. 

 

However the desktop manager is really slow (xfce). It takes forever to open browser (firefox) or any other application. 

I'm using meson8m2-mxiii-plus.dtb.  Not sure if there is other better with AP6330 and RLT8211F out there.

 

 

 

 

 

 

Link to comment
Share on other sites

21 hours ago, Filipe said:

Hi folks, 

 

I managed to make my Wetek Core to work (thanks to @balbes150) with the latest Armbian_20.09_Aml-s812_focal_current_5.9.0-rc7_desktop.img.xz 20201002 image (with some issues).

 

When booting, he tries the some resolutions (1080p60hz, 1080p30hz, 720p50hz) shows some noise and a few seconds later finally shows up the HDMI output. Great

Internal wifi does't work (AP6330 chip) but with an external USB WIFI I was able to connect. 

 

However the desktop manager is really slow (xfce). It takes forever to open browser (firefox) or any other application. 

I'm using meson8m2-mxiii-plus.dtb.  Not sure if there is other better with AP6330 and RLT8211F out there.

Congratulations Filipe. I've been trying to run both my Wetek Cores with Armbian with almost all previous releases and i gave up finally. All tryouts ended with color noise and stuck. Now i can back trying again. :)

Could You say something about these "some issues" or share with some practical tips?

 

:)

Link to comment
Share on other sites

@Junoxe Using the meson8m2-mxiii-plus.dtb I was only able to make CPU-0 to work (online) CPUs 1-3 are shown as offline.

 

I was able to extract the dtb (m8m2_n200C_2G.dtb), with this tool (extract-dtb) from the original firmware but it doesn't work (not sure why). 

 

I also experiment converting dtb to dts from both meson8m2-mxiii-plus.dtb and m8m2_n200C_2G.dtb and modify them and convert back. I've copy the cpu section from m8m2_n200C_2G.dtb to meson8m2-mxiii-plus.dtb to test but it doesn't work as well.  I'm not sure if that's the way of doing this anyway.

 

Code I've used to convert:

dtc -I dtb -O dts -f input.dtb -o output.dts

 

Looking both dts files generated by dtc,  their structure seems to be different.  

I didn't tested the wifi section yet but I'll give it a try later. 

 

 

Link to comment
Share on other sites

Hi guys, I have a TVPAD 4 (also known as StarTV or BlueTV or M428 or M418) runs on a S805 and 1GB ram.

 

Tried extracting the dtb from the recovery image of TWRP for this device and HDMI output doesn't work... I think the device does boot into armbian but can't confirm due to no display.

https://mega.nz/#!geZQQY5K!ICzRX04vVkqIIX_o-N2YYXMryvM59NUtBdgD1dJaYOU

 

 can provide a full .img file or twrp backups. Also tried to extract dtb file from rooted android, but file doesn't exist in /root/dev/

 

any help is appreciated! thanks!

Edited by daniyo
Link to comment
Share on other sites

20 hours ago, Junoxe said:

@Filipe Thank You for support. :)

 

Could You share with dtb file You succesfully used?

 

And in this post balbes shared with link to images, but i dont see there 20.09 builds, just 20.05. Is there any other place to download?

 

@Junoxe, I used the meson8m2-mxiii-plus.dtb from dtb folder inside the boot partition.

 

You can find the images Here.

 

I was able to flush LibreElec-Wetek_core 8.2.5.img into main memory (replacing the system) and it looks great.

 

It looks like some  changes in uboot are required to make everything work in Armbian with Wetek Core not just a dtb problem.  Maybe @balbes150 can help us with this part or point us to the right direction.

 

 

 

 

 

Link to comment
Share on other sites

Recently I've found a Tronsmart MXIII Plus (Netxeon M82G V2.0 S812/AP6330/2G/8G) in the attic and challenged myself with installing a proper linux onto it. Armbian_20.09_Aml-s812_buster_current_5.9.0-rc7 worked fine except Wi-Fi and Bluetooth. After some 10 days of tinkering I've discovered the forum contains enough information to solve the issue but it is scattered across different topics.

Here is how I got wireless stuff working on PCB M82G_V1.0_20150324 Netxeon.

 

1. Get proper DTB.

Either grab it here or build from source by placing the patch into userpatches/kernel/aml-s812-current:

Spoiler

 


diff --git a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts
index f35fb92e2978..4caa2061594c 100644
--- a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts
+++ b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts
@@ -42,25 +42,43 @@ eth_phy0: ethernet-phy@0 {
 	};
 };
 
+&sdhc {
+	status = "okay";
+
+	pinctrl-0 = <&sdxc_b_pins>;
+	pinctrl-names = "default";
+
+	bus-width = <4>;
+	max-frequency = <50000000>;
+
+	no-mmc;
+	no-sdio;
+	cap-sd-highspeed;
+	disable-wp;
+
+	cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
+
+	vmmc-supply = <&vcc_3v3>;
+	vqmmc-supply = <&vcc_3v3>;
+};
+
 &sdio {
 	status = "okay";
 
-	pinctrl-0 = <&sd_b_pins>;
+	pinctrl-0 = <&sd_a_pins>;
 	pinctrl-names = "default";
 
-	/* SD card */
-	sd_card_slot: slot@1 {
+	sdio_wireless_slot: slot@0 {
 		compatible = "mmc-slot";
-		reg = <1>;
-		status = "okay";
+		reg = <0>;
 
 		bus-width = <4>;
-		no-sdio;
 		cap-mmc-highspeed;
 		cap-sd-highspeed;
+		non-removable;
 		disable-wp;
 
-		cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
+		mmc-pwrseq = <&sdio_pwrseq>;
 
 		vmmc-supply = <&vcc_3v3>;
 	};
@@ -71,4 +89,9 @@ &uart_A {
 	pinctrl-0 = <&uart_a1_pins>, <&uart_a1_cts_rts_pins>;
 	pinctrl-names = "default";
 	uart-has-rtscts;
+
+	bluetooth {
+		compatible = "brcm,bcm43438-bt";
+		device-wakeup-gpios = <&gpio GPIOX_20 GPIO_ACTIVE_HIGH>;
+	};
 };

 

2. Make sure brcmfmac driver loads proper firmware

mkdir /usr/lib/firmware/brcm/bak
mv /usr/lib/firmware/brcm/brcmfmac4330-sdio.* /usr/lib/firmware/brcm/bak/
ln -s /usr/lib/firmware/brcm/brcmfmac-ap6330-sdio.txt /usr/lib/firmware/brcm/brcmfmac4330-sdio.txt
ln -s /usr/lib/firmware/brcm/brcmfmac-ap6330-sdio.bin /usr/lib/firmware/brcm/brcmfmac4330-sdio.bin

 

Useful links:

DTB for S812 Minix X8-H Plus by @ntux. The binary did not work on MXIII+ (probably because of compatible = "minix,x8-h-plus", "amlogic,meson8m2") but DTS is fine.

CSC support for discontinued rk3288 tv box? (the topic lists various ways to make brcmfmac load proper firmware)

Armbian Build for Nexbox A95X with AP6330 (making AP6330 working for another board)

Link to comment
Share on other sites

Hi,

I have old android box ATV1200 cpu AML8726-MX .

In image: Armbian_20.06.0_Aml-s812_focal_current_5.8.0-rc2_20200626  there is dtb : meson6-atv1200.dtb

Image not working, black screen. Don't have uart/ttl cable.

Box is working with: LibreELEC-Amlogic_G02REF.arm-9.0-devel-20190106221300-df9076a.img but it has old kernel and Docker can't work on it.

The box will be used only for Docker, nothing else.

Can someone confirm the box can work with the above image.

Searched the forum and can't find definite answer

 

Thank you in advance,

Best regards,

brajomobil

Link to comment
Share on other sites

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

Important Information

Terms of Use - Privacy Policy - Guidelines