MrCoolAndroid
-
Posts
22 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by MrCoolAndroid
-
-
3 hours ago, balbes150 said:
The links are deleted.
Oh alright... I will not post those again
-
-
04.09.2021 в 02:35, uropb сказал:
Hey there! So after installing the header and compiling i get the error:
Building modules, stage 2.
MODPOST 1 modules
/bin/sh: 1: scripts/mod/modpost: Exec format error
scripts/Makefile.modpost:93: recipe for target '__modpost' failed
make[2]: *** [__modpost] Error 2
Makefile:1606: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.5.0-rc6-arm-64'
Makefile:1640: recipe for target 'modules' failed
make: *** [modules] Error 2
And doing file modpost on scripts/mod/modpost it's on _x86-64
-
On 9/2/2021 at 12:55 PM, uropb said:
From forum.manlaro :
I got RTL8189ETV (may also works with rtl8189es) working with jwrdegoede/rtl8189ES_linux:
(kernel : 5.13.12-1-MANJARO-ARM #1 SMP Wed Aug 18 07:36:58 UTC 2021 aarch64 GNU/Linux)git clone https://github.com/jwrdegoede/rtl8189ES_linux.git
sudo pacman -S linux-headers
cd /usr/lib/modules/5.13.12-1-MANJARO-ARM/build/arch
sudo mv arm armold
sudo mv arm64 arm
cd ~/rtl8189ES_linux/
make -j4 ARCH=arm KSRC=/usr/lib/modules/5.13.12-1-MANJARO-ARM/build
sudo cp 8189es.ko /usr/lib/modules/5.13.12-1-MANJARO-ARM/kernel/drivers/net/wireless/realtek/
sudo depmod -a sudo modprobe 8189es
Check with nmtui or ip addr and rename arm&arm64 back.
Hey there! Sorry to bother u, do you have any Linux header compatible with my kernel?
uname -r
5.5.0-rc6-aml-s9xxx
If not, is there a way to change a module's version magic? Because I can compile it correctly but i can't modprobe or insmod
-
19 minutes ago, Clonazepunk said:
But that's no problem
You still can edit the extlinux.conf file, inside the boot partition
Just take care of not setting up any invalid option in it, else you'll break your system
(Though it's easy to recover)
Oh alright, now the problem is if the DTB doesn't work, how can I change it? And I'm trying to uropb solution and so far so good, the problem now is trying to download a compatible linux header, i tried with meson64 header and everything ok compiling, but the version magic doesn't match so it can't be installed, the same if I do modprobe -f
-
3 hours ago, uropb said:
From forum.manlaro :
I got RTL8189ETV (may also works with rtl8189es) working with jwrdegoede/rtl8189ES_linux:
(kernel : 5.13.12-1-MANJARO-ARM #1 SMP Wed Aug 18 07:36:58 UTC 2021 aarch64 GNU/Linux)git clone https://github.com/jwrdegoede/rtl8189ES_linux.git
sudo pacman -S linux-headers
cd /usr/lib/modules/5.13.12-1-MANJARO-ARM/build/arch
sudo mv arm armold
sudo mv arm64 arm
cd ~/rtl8189ES_linux/
make -j4 ARCH=arm KSRC=/usr/lib/modules/5.13.12-1-MANJARO-ARM/build
sudo cp 8189es.ko /usr/lib/modules/5.13.12-1-MANJARO-ARM/kernel/drivers/net/wireless/realtek/
sudo depmod -a sudo modprobe 8189es
Check with nmtui or ip addr and rename arm&arm64 back.
I will try this and will let u know how it goes!
-
30 minutes ago, Clonazepunk said:
That's good to know
Before trying anything else, you should try other dtb files, as stated by @SteeMan.
I was lucky. My S905W box works like a charm with a realtek chip as well.
you can do it without recompiling the kernel by using @balbes150images. There's a plenty of files to try out
make sure you have the p281 board, of doesn't, try other dtb files
if you're sure your board is a p281 (which also means it's defective from factory, with different hardware), then you should try to compile the drivers from the git you found
ok, that's a lot of info. I'll keep helping you through this post, and sorry for the late replies. I suffer from some conditions that keeps me away from staying too much on the PC
Hope It works!
I would like to try another DTBs, the problem is that Armbian is installed on the eMMC haha, anyways I think I'm just gonna buy a WiFi adapter or try with what @uropb said, and don't worry it's all good, stay safe!
-
10 minutes ago, SteeMan said:
As was stated in the FAQ, don't expect to get working wifi on these TV boxes. I have over 10 different boxes and wifi doesn't work on any of them. If you need/want wifi, the best way is through a usb wifi adapter.
Yes I was thinking on getting a WiFi adapter, and I have the p281 dtb, it's the S905W one
-
15 minutes ago, Clonazepunk said:
Well, to help you with the headers, I need to know which kernel exactly are you using.
Show me the output of the command "uname -a", please
Also, installing the package by itself should be enough to make the interface wlan0 to show up. But don't panic. Let's see the headers issue first
The output is
Linux aml 5.5.0-rc6-aml-s9xxx #rc1.037 SMP PREEMPT Wed Feb 5 15:16:17 MSK 2020 aarch64 aarch64 aarch64 GNU/Linux
(I don't know how to use a format to show the code better)
Also thanks for answering and helping me!
-
7 hours ago, Clonazepunk said:
Hi!
If I remember, your wifi chip is already supported by Armbian.
Try installing the package armbian-firmware-full
it should do the trick, and save you a lot of time compiling the drivers from source
Hope it helps!
So i installed the package but i don't see any changes or something, do I need to do something else? Like to install the driver that it's on some folder?
I was looking up on the internet and I need to download the Linux headers (as I said before) but i can't find any one compatible with my system, using the armbian-config I tried to install it but i can't find the headers anywhere, what I can do?
-
28 minutes ago, Clonazepunk said:
Hi!
If I remember, your wifi chip is already supported by Armbian.
Try installing the package armbian-firmware-full
it should do the trick, and save you a lot of time compiling the drivers from source
Hope it helps!
Alright I will try! After installing i reboot? how can I check if it works?
-
Hello there!
Before I start I'm gonna give a bit of information about my TV Box
MXQ Pro 4K (S905W)
1GB RAM
8GB STORAGE
Armbian 20.02 Kernel 5.5 (or that's what I remember)
Okey, so I wanna install a Wi-Fi driver on Armbian
I think my Wi-Fi chip is RTL8189ES (I'm gonna check tomorrow to be sure)
I've looking on the forum and Google and so far I know that i need Linux headers, i installed them from armbian-config but i don't know if they are installed correctly, because I can't find them anywhere
Then I need the RTL8189ES driver and run a Makefile
Is this right?
If so, what are the correct steps (like what exactly i need to do) and where I can find the Wi-Fi driver
Any help is appreciated! Thanks
-
Hey guys, now I'm just gonna stay on Armbian and do some cool stuff with it, but I'm gonna need help on another thing (I'm gonna post another topic about it) so if u can help me i would appreciate it a lot.
Admins you can close this
-
15 minutes ago, SteeMan said:
I hadn't heard of volumio before you mentioned it. I see that it packages/repackages balbes150's work. But it is ancient code - from 2018 and using kernel 3.14. This will be incompatible with the Armbian (assuming you have 5.9 kernel installed on emmc) as well. The scripts changed a lot over time. You can't mix and match different boot scripts. Unless you know otherwise, assume that you can't install/use more than one os.
The only recommended way to switch is to revert the box to an original android firmware, and then use the os you are trying to install's installation instructions. All of the 'install linux on amlogic tvbox' scripts are assuming you are starting from a clean android box, not something whose environment has been messed with by other installation scripts.
I actually have an old but not that old Armbian version i think, how can I check what version i have?
-
1 hour ago, SteeMan said:
The Armbian and CoreElec systems have different and conflicting booting scripts. When you enable multiboot (the toothpick) you are storing the uboot environment script on emmc and this then gets used for future boots for all media (emmc, sd, usb). So you can't just install various different OSs and expect them to work as they all depend on the uboot environment stored on emmc for the system to know how to boot them. Basically you can't do what you are attempting to do on an amlogic based box. In fact due to the incompatabilities between CoreElec and Armbian, it is required that if you install/attempt to install CE, that you will need to restore your box to an original android firmware in order to get it back into a state that Armbian will again work on it.
Yeah i saw that on a balbes150 post, about the CE and Armbian incompatibility, that's why I tried Volumio and LE systems by balbes150, i haven't installed CE but it's u-boot is stored on eMMC right? If so, how can i "remove" that u-boot? I have access to Armbian as it's installed on eMMC, maybe some file i can modify? I don't think so but who knows haha
-
6 hours ago, Werner said:
Which box? Which version hardware/software? What exactly have you tried yet. Read the pinned topics as well as both FAQ and Tutorials.
Insufficient information.
I have a MXQ PRO 4K BOX (S905W) with 1 GB RAM, what you mean by that and I tried booting LE and CE images (and a Volumio one) from my USB with the toothpick method but no success, in one of those images the Amlogic logo freezes (specifically a Volumio image, created by balbes150)
-
Hello there! I'm trying to boot from USB using Armbian, specifically LibreELEC, but it doesn't boot, it boots to Armbian, Armbian detects the USB but when i disconnect it and I connect it again, it turns off then turn on but to Armbian again
The thing is, how can I boot from USB? Or how can I boot or install LibreELEC/CoreELEC while having Armbian on the eMMC?
-
Hey guys! I have a S905W box, I flashed Armbian on a USB, before it worked fine, no problems, the box bricked cuz I installed Armbian unintentionally, I unbricked it then now with this firmware it doesn't boot, it goes straight to Android. I was trying to find the original firmware but no luck, is there anyway to make it boot?
-
Hello! I have a question, if I run via UPDATE&BACKUP, it will erase Android? Or it will just run trough SD?
How to install/compile a driver on Armbian
in Amlogic CPU Boxes
Posted
Oh alright, on others headers (like sunxi header) the compilation works of course, but the version magic doesn't match