Manjaro arm on Amlogic Tv box?

Hi @spikerguy,

An update on the new chainloader u-boot-n2.bin, it works consistently on GT King Pro (just like the previous chainloader u-boot).

Have updated to the latest Stable Updated 2021-04-27 with linux-5.12.0-1 (from unstable branch) all works well except the network connection seems to take a bit longer to start up (both ethernet or wifi). Reboot and Shutdown issues still remains with mainline 5.12.0-1

Hello world, newbie here.
I have a x96 mini resting in a drawer and tried running Manjaro on it. But even with the p281 dtb i always get " failed to map file " error when trying to update. Any workaround this one if you’ve zver faced it?

Hi,

I never faced this problem. How did you prepare your sd card?

Well as instructed on the guide: flashed the .img on a 16gb sd card , renamed the s905x u boot into " u-boot.ext" , opened the “uenvwhatchamacallit” file and pasted the s905w-p281.dtb, then went into recovery mode, chise flash from ext and aml-thingy and error.tried the reset switch and the update app but whenever it accesses recovery it gives me the same error . It happened with manjaro and armbian. I suspect that a former trial of running emuelec might have messed something, think i’ll flash a normal rom to reset the rom partition

Which image?

Which tutorial did you follow?

Ohh… You have emuelec in emmc or sdcard? That must have changes boot script.

Flash android and emmc and the same steps shoulf work fine.

Isn’t x96 mini p212 ? I had one

I am running mine with p281. Maybe there are different versions of X96 mini …

Emulelec is runnning on sd card . I guess it is what messed it up.
X96 mini is p281 ( s905w 2 gb RAM no bluetooth)

Will a working dtb from coreelec be of any use on getting manjaro to boot for me?

I tried to do that for X88 King (with the valuable help of @TheMojoMan) but it seems to be more difficult than I could imagine. And I was just trying to enable the USB ports-everything else seemed to be perfect using the dtbs from other similar TVboxes with the S922.
But you have nothing to lose to try it.

i try manjaro from “ugoos blog” But my Ugoos Am6 plus not boot from USB flash. Please help me. I press recovery botton, but manjaro not boot. I look recovery screen

Hello and welcome to the forum,
I guess you’re the one who emailed ugoos support right?

I think you have a broken image or didn’t flash the image on sd card or sd card is not supported by uboot.

First try to check if you have downloaded the complete image by using checksum file from the download directory shared on the blog.

Second please flash the sd card again and make sure it completes with 100% validation.

Third try a different sd card.

If all this doesn’t work then flash the latest Android image on your device again. And try the steps.

Btw which Image are you using? Can you share the full name of the image file your trying?

Hi. Yes I write on ugoos web site.

Can I use USB-flash? Not SD.

yes validation 100%

I try different USB :slight_smile:

Manjaro-ARM-kde-plasma-am6-plus-21.04.img from you blog
Manjaro-ARM-kde-plasma-am6-plus-20210201.img from Ugoos blog

Hi,

I just wanted to inform you that yesterday I have migrated from linux-vim (5.11.13) to linux-amlogic-512 kernel (5.12.0-1-ARCH) on my X96Max+ (S905X3, Mali G31).

The box booted up without problems and sound is working! When running glmark2-es2 I get a score of about 225 (using XFCE and mesa-git) which is the same as using the linux-vim kernel.
The only problem I had was that internal wifi was broken because chewitts rtl8822cs driver did not compile anymore.

But fortunately after some research I found a solution and therefore I have built a new driver package that you can download here: 3.58 MB file on MEGA

You can install and activate the driver like this:

  • sudo pacman -U dkms-rtl8822cs-aml-2020.11.20-1-any.pkg.tar.zst
  • sudo modprobe 88x2cs

Please notice that linux-amlogic-512-headers has to be installed before running above commands for the driver to install correctly. You can install it with

  • sudo pacman -S linux-amlogic-512-headers

Thumps up to @spikerguy for bringing us another set of new kernels! :wave:

1 Like

I have not pkged that.

Where did you get it from as I dont see it in our kernel repo as well.

Can you share the pkgbuild for this ?

Thanks.

Oh, sorry! I did not realize that it was not packed by you and does not belong to the manjaro repo.
So I had another look and it is chewitts Amlogic branch from archlinuxdroid repo at http://archlinuxdroid.tk/archlinuxdroid/aarch64 which I added to my pacman.conf a long time ago.

I mistakenly thought that it was your 5.12 kernel that you have been talking about some posts ago.

Here you go:

dkms.conf

PACKAGE_NAME=“rtl8822cs-aml”
PACKAGE_VERSION="@PKGVER@"

AUTOINSTALL=“yes”

CLEAN[0]=“make clean”

MAKE[0]="‘make’ -j4 ARCH=arm64 KVER=$kernelver KSRC=/lib/modules/$kernelver/build/"

BUILT_MODULE_NAME[0]=“88x2cs”

BUILT_MODULE_LOCATION[0]=""

DEST_MODULE_LOCATION[0]="/kernel/drivers/net/wireless"

dkms-rtl8822cs-aml.install

post_install() {
dkms install “rtl8822cs-aml/2020.11.20”
}

post_upgrade() {
post_install
}

pre_remove() {
dkms remove “rtl8822cs-aml/2020.11.20” --all
}

PKGBUILD

_gitname=rtl8822cs
pkgname=dkms-rtl8822cs-aml
pkgver=2020.11.20
pkgrel=1
pkgdesc=“Realtek RTL8822CS wifi driver (DKMS)”
arch=(‘any’)
url=“https://github.com/chewitt/$_gitname”
license=(‘GPL’)
install=dkms-rtl8822cs-aml.install
#depends=(‘dkms’ ‘linux-amlogic>=5.12’ ‘linux-amlogic-headers>=5.12’)
depends=(‘dkms’)
makedepends=(‘git’ ‘bc’)
options=(!strip)
source=(“git+${url}.git” “dkms.conf”)

md5sums=(‘SKIP’ ‘SKIP’)

prepare() {
sed -i s/GRO_DROP/GRO_MERGED_FREE/ $(pwd)/rtl8822cs/os_dep/linux/recv_linux.c
}

pkgver() {
cd “$srcdir/$_gitname”
git log -1 --format="%cd" --date=short | sed ‘s|-|.|g’
}

package() {
cp dkms.conf “$srcdir/$_gitname/”
cd “$srcdir/$_gitname”
mkdir -p “$pkgdir/usr/src/rtl8822cs-aml-$pkgver”
cp -r . “$pkgdir/usr/src/rtl8822cs-aml-$pkgver”
}

1 Like

Hi,

Is there a way to install “chromium-codecs-ffmpeg-extra” on Chromium in Manjaro-Arm? I don’t seem to be able to find it on Manjaro Repo.

Hi

I’m running a khadas vim3 image on my x96 max+ with mt7661rsn WiFi chip (figured it out after opening the back cover). Obviously, wifi doesn’t work and that’s why I’m here.
For some reason, Android identifies the chip as mt7663 (which should be supported by the mt76 driver since 5.8, according to the linux wireless wiki). Perhaps it’s possible to instruct mt76 to work with that mt7661 chip just like if it was mt7663?

Also, I found some *.bin and *.dat files in android’s /vendor/firmware/, like WIFI_RAM_CODE_MT7663.bin and so on, but I have no idea what to do with them.
I tried just copying android firmware to /usr/lib/firmware and at the same time copy-pasting wifi-related dts pieces from android dts, but that of course didn’t work.

dmesg shows nothing mt76*-relevant.
Doing modprobe -a mt76 doesn’t print anything to dmesg.

Maybe worth mentioning, I installed the system according to this guide, with the only difference being that right now I’m using a minimal image, not a kde-plasma one. Anyway, that doesn’t matter as the problem exists regardless of dts/image/whatever.

So, any idea how to bring the wifi up?
I’m not a Stallman fanatic, so proprietary firmware extracted from android will do, as long as everything works.

I’ll post more logs if necessary.

Thank you.

A quick search (including the link to the wireless wiki) shows that the chip is connected via the SDIO bus. Since the dmesg output doesn’t show anything mt76* relevant, this suggests that the communication over the bus is not functional (i.e. the chip isn’t even detected on the SDIO bus). (I had a similar problem with the WiFi/BT chip on my Ugoos AM6 plus, you can search the forums for info relating that.) That’s the help I can offer.

Edit: Emphasis

Is this what you’re talking about?
Do I understand it correctly that, if I do the same thing to my board, wifi will be fixed?
Anyway, how do you know what to edit and how to edit? I mean, how to find correct values for all that 0xCrap and correct filenames for firmware?

Edit: not very helpful, but thanks for your time.