Eddy_T Posted February 27, 2018 Posted February 27, 2018 Hello to all I am trying my best to install Armbian ubuntu server on the above described Android TV box and cannot succeed. has some one been able to make this work? Any hints would be greatly appreciated!
Eddy_T Posted February 28, 2018 Author Posted February 28, 2018 I say this video a while ago but that file did not load Thanks!
Eddy_T Posted February 28, 2018 Author Posted February 28, 2018 Here are some steps which I have already tried: 1- I downloaded Armbian_5.41_S9xxx_Ubuntu_xenial_3.14.29_server_20180225.img.xz, unzipped it and burnt it to my SD card 2- I rebooted my TV box with the sd card in and holding the seset button 3- The Amlogic S905X logo came up. I went to eat dinner 4- Came back 1 hour later and the screen remained frozen on the same logo. 5- I powered the unit off, inserted the SD card into my pc and copied the file gxl_p212_1g.dtb to the sd root directory, renamed it to dtb.img and repeated the hard reset. Still the same behaviour. 6- I started the Android box without the sd card in it, went to the backup/upgrade app, asked it to upgrade from sd card and to use the file aml_autoscript.zip and no change. it just boots and stays on the Amlogic logo. Any idea what's going on? Thanks
balbes150 Posted February 28, 2018 Posted February 28, 2018 7 hours ago, clarkss12 said: Will this help??? A good user manual. Can I add a link to this video to my first post in the topic with step-by-step instructions for users ? 6 hours ago, Eddy_T said: copied the file gxl_p212_1g.dtb Try gxl_p212_2g.dtb or all p212*.dtb
Eddy_T Posted February 28, 2018 Author Posted February 28, 2018 Its working. I feel so bad about this. The problem was two-fold: 1- For some strange reason, data was not being written to the sd card so all the trying was useless.. Its a strange Windows 10 issue. The sd card shows fine in Windows Explorer but then I noticed that when i remove the sd card, windows explorer still thinks that it is inserted. Go figure! 3- I made the manual multiboot changes, copied the gxl_p212_1g.dtb file over renamed it to dtb.img, rebooted and now it is running. I will now read more posts and learn how to make the box boot from the EMMC. It is best for what I need to do. If someone has spent the time and knows how to, that too will be appreciated. Its now just after 5 am and my mind is at ease.. maybe I can get some sleep before going to work (real work and not play) at 7:00 am! Good morning to all!
clarkss12 Posted February 28, 2018 Posted February 28, 2018 Feel free to link my YouTube Video...... YOU made it happen, even with my constant questions for you on how to get it to work. Thanks for all your work.
Eddy_T Posted March 1, 2018 Author Posted March 1, 2018 After installing to FLAS as per balbes150 instructions, all went well and the system booted fine from NAND I then edited the fstab file to automount a usb hard disk at boot. (Note: this worked fine when running from a USB stick). The line that i added is UUID=device UUID /Folder path /external ntfs rw,nosuid,nodev,default_permissions 0 0 I then rebooted the system and after hanging up on a line, it got to the 'emergency' mode. Here is a screenshot. Any idea what to do about this? Thank you!
Eddy_T Posted March 1, 2018 Author Posted March 1, 2018 I recovered the system by re-inserting the usb stick, rebooting from it and running ./install.sh Here are some important questions: 1- is it not possible to edit fstab once the system is running from FLASH? 2- How to automatically run the modprobe wifi_dummy command so that the wifi works on bootup? 3- is it possible to run apt-get update && apt-get upgrade && apt-get dist-upgrade while running from NAND? 4- can the swap partition be moved to the external USB diskdrive? 5- is there an easy way to let the system install all new software (like lamp) on the USB drive Thanks again! At least i am still alive.. hardly breathing thoug
balbes150 Posted March 2, 2018 Posted March 2, 2018 On 01.03.2018 at 5:31 AM, Eddy_T said: After installing to FLAS as per balbes150 instructions, all went well and the system booted fine from NAND I then edited the fstab file to automount a usb hard disk at boot. (Note: this worked fine when running from a USB stick). The line that i added is UUID=device UUID /Folder path /external ntfs rw,nosuid,nodev,default_permissions 0 0 I then rebooted the system and after hanging up on a line, it got to the 'emergency' mode. Here is a screenshot. Any idea what to do about this? Understand the quality of the media. Remove the mount from the fstab or use the mount options to skip scanning external media. On 01.03.2018 at 6:16 AM, Eddy_T said: I recovered the system by re-inserting the usb stick, rebooting from it and running ./install.sh Here are some important questions: 1- is it not possible to edit fstab once the system is running from FLASH? 2- How to automatically run the modprobe wifi_dummy command so that the wifi works on bootup? 3- is it possible to run apt-get update && apt-get upgrade && apt-get dist-upgrade while running from NAND? 4- can the swap partition be moved to the external USB diskdrive? 5- is there an easy way to let the system install all new software (like lamp) on the USB drive Thanks again! At least i am still alive.. hardly breathing thoug 1. maybe 2. learn how to use the /etc/modules 3 file. perhaps, but the result is not known 4. maybe, but the USB speed is significantly lower and the system will run very slowly 5. installation is possible, but it will require a lot of manual work
Eddy_T Posted December 25, 2018 Author Posted December 25, 2018 Hello everyone Just installed the latest Armbian_5.67_Aml-s9xxx_Ubuntu_bionic_default_4.19.7_20181218.img on my T-95N and was ready to go at it! I am running into a strange behaviour when running: root@aml:~# modprobe wifi_dummy and I get this error: FATAL: Module wifi_dummy not found in directory /lib/modules/4.19.7-aml-s9xxx it is strange because this used to work wonders before I loaded this image? Any help would be appreciated! Best of this holiday season.
balbes150 Posted December 25, 2018 Posted December 25, 2018 This is another kernel (4.19), it does not have such modules.
Eddy_T Posted December 25, 2018 Author Posted December 25, 2018 So any idea on how to make the Wi-Fi work?
balbes150 Posted December 26, 2018 Posted December 26, 2018 16 hours ago, Eddy_T said: So any idea on how to make the Wi-Fi work? Independently compile the necessary modules from the source code (add patches).
Tido Posted December 26, 2018 Posted December 26, 2018 It looks like you were using before: On 2/28/2018 at 2:22 AM, Eddy_T said: Ubuntu_xenial_3.14.29_server Which is a pretty old Kernel and a lot has changed since. So if you need a driver running on Kernel 4.19 you have to compile the driver against (or on) the new Kernel. Probably driver files were also updated so look for the latest file and or search this thread: https://forum.armbian.com/topic/2419-armbian-for-amlogic-s905-and-s905x-ver-544/
Eddy_T Posted December 26, 2018 Author Posted December 26, 2018 Hi Tido Thanks for the reply. yes, I am aware that the Kernel I was using is old. The fact of the matter is that I loaded the newest Kernel and tried to enable the onboard Realtek wi-fi adapter u8sing the modprobe wifi_dummy procedure. Of course that failed which is what prompted me to make this post. I am sure someone has already done this so instead of going on a long search which may take days... and not sure that would work. If someone can post a code link on how to do this, it would be useful to many. Thanks again for your great posts! Eddy_T
Eddy_T Posted December 26, 2018 Author Posted December 26, 2018 I am now using: ARMBIAN 5.67 user-built Ubuntu 18.04.1 LTS 4.19.7-aml-s9xxx I am still trying to install a Realtek driver (Realtek 8812AU/8821AU USB WiFi driver) I have downloaded and unzipped the files from the source like this: ### Compiling for Ubuntu (16.04) Download archive into temp directory ```sh # mkdir -p /tmp/t4u # cd /tmp/t4u # wget https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/master.zip ``` Unzip ```sh # unzip master.zip # cd rtl8812AU_8821AU_linux-master ``` Compile and install from source ```sh # make # sudo make install ``` Load module ```sh # sudo modprobe -a rtl8812au this FAILS at the make step with this error: root@aml:/tmp/t4u/rtl8812AU_8821AU_linux-master# make make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.19.7-aml-s9xxx/build M=/tmp/t4u/rtl8812AU_8821AU_linux-master modules make[1]: *** /lib/modules/4.19.7-aml-s9xxx/build: No such file or directory. Stop. Makefile:1584: recipe for target 'modules' failed make: *** [modules] Error 2 root@aml:/tmp/t4u/rtl8812AU_8821AU_linux-master# Any ideas non why? i feel i am close to make it work after 10 hours of searching... Eddy_T```
Eddy_T Posted December 26, 2018 Author Posted December 26, 2018 tried to install the linux headers for the 4.19.7 Kernel, but got more errors: root@aml:/lib/modules# apt-get install linux-headers-4.19.7-aml-s9xxx Reading package lists... Done Building dependency tree Reading state information... DoneE: Unable to locate package linux-headers-4.19.7-aml-s9xxx E: Couldn't find any package by glob 'linux-headers-4.19.7-aml-s9xxx' E: Couldn't find any package by regex 'linux-headers-4.19.7-aml-s9xxx'
patri0t82 Posted February 14, 2019 Posted February 14, 2019 Eddy_t, were you able to get your wifi working? I just installed Ubuntu 18.04, and I've tried several dtb files, all of which boot properly, but just don't have Wifi. My box is the M8sPro T95N I believe.
Xander_mne Posted May 29, 2020 Posted May 29, 2020 Help me please. Does not see the internal memory eMMC. I got dts from the original firmware. There the addresses are completely different. https://yadi.sk/d/4XpKrgPr_nSryQ It is launched only from the SD card and USB when using meson-gxl-s905x-p212.dtb, but EMMC is not visible. If you start from the SD card - he sees it as an eMMС.
Recommended Posts