granitr Posted May 23, 2023 Posted May 23, 2023 Hi, so after many hours of trial and error I have managed to get the latest Armbian with Kernel 6.1.27 running on my old mxq s805 tv box. Albeit only thing that is not working is hdmi output and wifi. So for anyone else trying to accomplish something similar, my steps were: https://github.com/hzyitc/armbian-onecloud Downloaded the latest release of this build for the onecloud device as it also runs on the s805 amlogic chipset (props to the developer for still updating) Burn the image to your sd card. Then after the image is burned, create a textfile on the root of the sd card and name it „uEnv.txt“ Paste the following and adjust the .dtb file to your corresponding device. My case is the mxq LINUX=/uImage INITRD=/uInitrd #VMODE=1080P50HZ VMODE=1080P FDT=/dtb/meson8b-mxq.dtb APPEND=root=LABEL=armbi_root rootfstype=ext4 rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0 Save the file, insert the sd card in your device connect it to LAN and ssh in to the device (check the ip in your router) So, ssh root@your.ip.adress.x Password is 1234 by default. And that is that. I currently have it running for 4hrs with no outage. PiHole and PiVPN both installed and running. I hope this could help anyone out trying on a similar device. Credit goes to the devs and contributors. I just put the pieces together and made it work as my own builds wouldnt run so I resorted to this much better solution. p.s: If anyone is interested for my reasoning of updating from a old build, it was because i was using 5.14 rc2 kernel that was bugging with wireguard. And as mentioned no hdmi output and no wifi. Wifi should be fixable hdmi rather not to my understanding. Take care and have fun 0 Quote
Mạnh Vũ Posted November 8, 2023 Posted November 8, 2023 HI pro, Can you tell me which version you are using? I tried downloading version Armbian_23.08.0-trunk_Onecloud_jammy_current_6.1.51.img.xz and following your steps but it cannot boot into ARMBIAN Thanks 0 Quote
Jens J. Posted November 28, 2023 Posted November 28, 2023 Does that image contain an s805_autoscript and/or aml_autoscript file at the root of the sdcard? Here's a copy of mine for an MXQ model (note that in my uEnv.txt, it uses a custom m201 dtb) If that doesnt work, then you'll need to get access to serial console to see what the stock uboot is doing, and what sdcard (mmc) files it's looking for on boot. armbian_s805_boot_files.zip 0 Quote
temporary_name Posted December 29, 2023 Posted December 29, 2023 Hello there! I want to ask a question about burning images into SD cards. I followed the steps of OP, I tried to burn the image via DD and via balenaEtcher, and both of them didn't created a boot partition (balenaEtcher did warn me that the image does not contain a partition table). As far as I recall, those files like uEnv.txt, .dtb, etc must be placed in the boot partition, am I right? Did I do something wrong, or did I should somehow create those parts by myself? Thanks! Image used: Armbian-unofficial_23.11.0-trunk_Onecloud_bullseye_edge_6.6.2.burn.img 0 Quote
embedder_dev Posted July 13 Posted July 13 I can boot from microSD, but I want to install Armbian into eMMC. Can you help me with that? 0 Quote
hexdump Posted July 14 Posted July 14 @embedder_dev - there is no proper u-boot for s805 and the u-boot (plus other bootloader parts) are somewhere in the middle of the emmc (if it even is emmc and not nand) - so better do not touch the emmc if you are not very familiar with such topics and stay on the sd card to avoid accidently bricking the box 0 Quote
Denys Zaitsev Posted July 19 Posted July 19 @Jens J. where did you get that custom DTB file? I booted my MXM tv box s805 amlogic, it works, but it doesn't detect any USB device, seems like a problem in the DTB file. But I can't find any other file on the internet that would work with my kernel: Linux onecloud 6.7.9-edge-meson #1 SMP Wed Mar 6 14:54:01 UTC 2024 armv7l GNU/Linux Other stuff seems to work, at least ethernet works fine. Pls let me know how you created the custom DTB. Thanks in advance. 0 Quote
Boudjelida Abdelhak Posted October 10 Posted October 10 hi, i booted using Armbian_21.11.0-trunk_Aml-s812_focal_current_5.14.0.img with meson8b-ec100.dtb but no wifi, any idea ? 0 Quote
Boudjelida Abdelhak Posted October 10 Posted October 10 booted also using Armbian-unofficial_24.5.0-trunk_Onecloud_bookworm_current_6.6.21 and the armbian_s805_boot_files uploaded above but cant detect wifi 0 Quote
Boudjelida Abdelhak Posted October 12 Posted October 12 hi, i used ubuntu-mate-15-04-s805-standard-0_95_Beta.img.xz everything works fine, hdmi , wlan ... but kernel is 3 0 Quote
Werner Posted October 12 Posted October 12 10 minutes ago, Boudjelida Abdelhak said: but kernel is 3 https://docs.armbian.com/User-Guide_FAQ/#why-does-hardware-feature-xy-work-in-old-kernel-but-not-in-more-recent-one 1 Quote
PeterB Posted October 13 Posted October 13 Hi all, I can confirm the following image works on Armlogic based box: Armbian-unofficial_24.5.0-trunk_Onecloud_bookworm_current_6.6.21_xfce_desktop.img Target device: Ravo RVBX15V3 (Android box intended for arabic TV content) SoC: Armlogic Meson8B / s805 WiFi chip: RTL8189ETV (not supported by kernel 6.x.x, as explained in Werner's link) HDMI doesen't seem to be working either Boot process failed at first attempt, due to missing s805_autoscript in boot partition of SD Card. I followed advice from Jens and copied some files from a previous deployment, resulting in the following structure: /boot ├── aml_autoscript ├── aml_autoscript.cmd ├── aml_autoscript.zip ├── armbianEnv.txt ├── armbian_first_run.txt.template ├── boot.bmp ├── boot.cmd ├── boot.scr ├── config-6.6.21-current-meson ├── dtb │ ├── meson6-atv1200.dtb │ ├── meson8b-ec100.dtb │ ├── meson8b-mxq.dtb │ ├── meson8b-odroidc1.dtb │ ├── meson8b-onecloud.dtb │ ├── meson8m2-mxiii-plus.dtb │ └── meson8-minix-neo-x8.dtb ├── dtb-6.6.21-current-meson │ ├── meson6-atv1200.dtb │ ├── meson8b-ec100.dtb │ ├── meson8b-mxq.dtb │ ├── meson8b-odroidc1.dtb │ ├── meson8b-onecloud.dtb │ ├── meson8m2-mxiii-plus.dtb │ └── meson8-minix-neo-x8.dtb ├── initrd.img-6.6.21-current-meson ├── s805_autoscript ├── s805_autoscript.cmd ├── System.map-6.6.21-current-meson ├── uEnv.txt ├── uImage ├── uInitrd ├── uInitrd-6.6.21-current-meson └── vmlinuz-6.6.21-current-meson armbian_s805_boot_files.zip 0 Quote
Dominik Wójt Posted November 11 Posted November 11 (edited) Hi all, I got a s805 box from my wife's cousin. He bought it ridiculously cheap here: https://www.olx.pl/d/oferta/tv-box-przystawka-do-telewizora-CID99-ID10w7q1.html The power adapter broke after a few hours, so he let me take it. I got a new adapter and had some play with the box. The box seems to be an MXQ clone. The software is probably a direct copy, with only the boot logo replaced. Data extracted from the factory software: model: m201 Android: 4.4.2 Build number: KOT49H.20160507 test-keys Kernel version: 3.10.33 rwf@YDsoft #1 Tue Jul 7 11:40:39 CST 2015 I was able to boot onecloud and odroidc1 images. The `s805_autoscript` script is missing in the builds, so I had to manually instruct (through UART) U-BOOT to load kernel from the SD card. The odroidc1 worked a little better in that there was HDMI output. To make this a little more robust, I forked the build repository and added a separate board and a boot script for it. I copied odroid's fixes for HDMI to dtb for this board. I did not test boot from other devices than SD card, but in theory USB should work, too. here is a branch: https://github.com/domin144/armbian-build/tree/mxq this commit was tested to work: https://github.com/domin144/armbian-build/commit/bce6f677e0a6a3dd0ee4ce1fdc4cee8befcdd0b8 This is not of pull request quality, but will hopefully give someone a better starting point. HDMI output was working wired network was working WIFI does not seem to be working Edited November 11 by Dominik Wójt 0 Quote
Dominik Wójt Posted November 12 Posted November 12 Forgot to add a build command for the image: ./compile.sh build BOARD=aml-s805-mxq BRANCH=edge BUILD_DESKTOP=yes BUILD_MINIMAL=no DESKTOP_APPGROUPS_SELECTED='browsers internet multimedia' DESKTOP_ENVIRONMENT=xfce DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base KERNEL_CONFIGURE=no RELEASE=bookworm 0 Quote
Recommended Posts
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.