The SD Card cannot boot anymore so downloaded Manjaro-Arm-XFCE 21.04 and burn new image (it come with linux-vim 5.11.7-1). Had a number of kernel panic during start up and after startup. Finally able to update to current Stable Updates and updated to mainline linux-5.12.4-1. Will try again to install linux-aml-5.12.0-1 and update you.
By the way, I notice Khadas-Vim3-Focal-5.12.0 v1.0.5 uses linux-image-amlogic-mainline kernel, is this the same kernel from Chewitt branch? With this Khadas-Vim3-Focal-Gnome-linux-image-amlogic-mainline image, I do encounter kernel panic during boot up process or right after login but not as frequent as linux-vim 5.11.y.
I just install linux-aml 5.12.0-1 on the freshly burn Manjaro-XFCE-v21.04 upgraded to mainline linux-5.12.4-1 installation when through but it will not boot.
[jfl@MNJROGTKPro ~]$ sudo pacman -U http://mirror.easyname.at/manjaro/arm-unstable/core/aarch64/linux-aml-5.12.0-1-aarch64.pkg.tar.zst http://mirror.easyname.at/manjaro/arm-unstable/extra/aarch64/mesa-21.1.1-1-aarch64.pkg.tar.xz
[sudo] password for jfl:
linux-aml-5.12.0... 50.2 MiB 2.81 MiB/s 00:18 [######################] 100%
linux-aml-5.12.0... 310.0 B 0.00 B/s 00:00 [######################] 100%
mesa-21.1.1-1-aa... 14.5 MiB 3.62 MiB/s 00:04 [######################] 100%
mesa-21.1.1-1-aa... 566.0 B 0.00 B/s 00:00 [######################] 100%
loading packages...
resolving dependencies...
looking for conflicting packages...
:: linux-aml and linux are in conflict. Remove linux? [y/N] Y
Packages (3) linux-5.12.4-1 [removal] linux-aml-5.12.0-1 mesa-21.1.1-1
Total Installed Size: 140.29 MiB
Net Upgrade Size: -37.51 MiB
:: Proceed with installation? [Y/n] Y
(2/2) checking keys in keyring [######################] 100%
(2/2) checking package integrity [######################] 100%
(2/2) loading package files [######################] 100%
(2/2) checking for file conflicts [######################] 100%
(3/3) checking available disk space [######################] 100%
:: Processing package changes...
(1/1) removing linux [######################] 100%
(1/2) installing linux-aml [######################] 100%
Optional dependencies for linux-aml
crda: to set the correct wireless channels of your country
(2/2) upgrading mesa [######################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Updating linux-aml module dependencies...
(4/4) Updating linux-aml initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-aml.preset: 'default'
-> -k 5.12.0-1-MANJARO-ARM -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 5.12.0-1-MANJARO-ARM
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [plymouth]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
It does not boot with the linux-aml-5.12.0-1, it give the similar errors as earlier. What could be the issue?
Not clear what you meant by āNeed to switch kernel in vim3 profileā. Appreciate if you can clarify.
Now this is interesting. With the Khadas upstream mainline with patches kernel 5.12.0, I currently sometimes encounter kernel during boot up process or right after login. But with Manjaro mainline linux 5.11.y or linux-5.12.y it is very stable, NO kernel panic so far. Thanks for the good work. Somehow still cannot get Manjaro linux-aml 5.12.0-1 to boot up.
Had to reburn Manjaro-Arm-XFCE using Manjaro-20.12 as a base as Manjaro 21.04 with linux-vim 5.11.7-1 had kernel panic during system update. After switching to linux-aml 5.12.0-1 seems to render the SD Card NOT bootable. Now using the Stable Branch with mainline linux 5.12.4-1.
Encounter two issues. The dmesg is fill up with the following errors:
[ 43.764330] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.765303] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.765474] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.765604] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.765933] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.766250] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.766934] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.766983] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.767017] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.767252] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.767500] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.767986] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.768033] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.768066] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.768295] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.768530] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.769369] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.769493] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.769595] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.769874] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.770147] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.770973] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.771109] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.771235] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.771524] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.771810] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.786381] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 43.786431] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
And also mirrors errors:
[sudo] password for jfl:
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from uk.mirrors.fossho.st : Failed to connect to uk.mirrors.fossho.st port 443: Connection refused
core is up to date
error: failed retrieving file 'extra.db' from uk.mirrors.fossho.st : Failed to connect to uk.mirrors.fossho.st port 443: Connection refused
extra is up to date
error: failed retrieving file 'community.db' from uk.mirrors.fossho.st : Failed to connect to uk.mirrors.fossho.st port 443: Connection refused
community is up to date
sudo pacman-mirrors -g
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: http://repo.manjaro.org/status.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
1.871 Australia : https://manjaro.lucassymons.net/
1.887 Australia : https://mirror.aarnet.edu.au/pub/manjaro/
1.641 Australia : http://mirror.aarnet.edu.au/pub/manjaro/
1.437 Austria : http://mirror.easyname.at/manjaro/
..... Austria : ftp://mirror.easyname.at/manjaro/
0.499 Bangladesh : http://mirror.xeonbd.com/manjaro/
..... Belarus : http://mirror.datacenter.by/pub/mirrors/manjaro/
1.545 Belgium : http://ftp.belnet.be/mirrors/manjaro/repos/
..... Belgium : ftp://ftp.belnet.be/mirrors/manjaro/repos/
1.655 Belgium : https://mirror.futureweb.be/manjaro/
1.181 Belgium : http://mirror.futureweb.be/manjaro/
..... Brazil : https://manjaro.c3sl.ufpr.br/
..... Brazil : http://linorg.usp.br/manjaro/
1.768 Bulgaria : https://mirrors.netix.net/manjaro/
2.076 Bulgaria : https://mirror.telepoint.bg/manjaro/
1.275 Bulgaria : http://mirror.telepoint.bg/manjaro/
..... Bulgaria : ftps://mirror.telepoint.bg/manjaro/
::ERROR unknown url type: ftps
0.001
2.265 Bulgaria : https://manjaro.ipacct.com/manjaro/
..... Bulgaria : http://manjaro.telecoms.bg/
2.588 Canada : https://mirror.csclub.uwaterloo.ca/manjaro/
2.304 Canada : https://mirror.0xem.ma/manjaro/
..... Canada : http://mirror.0xem.ma/manjaro/
..... Canada : https://osmirror.org/manjaro/
::ERROR Connection: HTTPSConnectionPool(host='osmirror.org', port=443): Max retries exceeded with url: /manjaro/arm-stable/core/aarch64/core.db.tar.gz (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0xffff98f068e0>, 'Connection to osmirror.org timed out. (connect timeout=4)'))
..... Chile : http://manjaro.dcc.uchile.cl/
..... Chile : https://mirror.ufro.cl/manjaro/
::ERROR Connection: HTTPSConnectionPool(host='mirror.ufro.cl', port=443): Read timed out. (read timeout=4)
..... Chile : https://mirror1.cl.netactuate.com/manjaro/
..... Chile : http://mirror1.cl.netactuate.com/manjaro/
..... Chile : ftp://mirror1.cl.netactuate.com/manjaro/
..... China : https://mirrors.huaweicloud.com/manjaro/
..... China : http://mirrors.huaweicloud.com/manjaro/
2.113 China : https://mirrors.ustc.edu.cn/manjaro/
..... China : https://mirrors.tuna.tsinghua.edu.cn/manjaro/
::ERROR Connection: HTTPSConnectionPool(host='mirrors.tuna.tsinghua.edu.cn', port=443): Read timed out.
..... China : https://mirrors.tuna.tsinghua.edu.cn/manjaro/
::ERROR Connection: HTTPSConnectionPool(host='mirrors.tuna.tsinghua.edu.cn', port=443): Read timed out. (read timeout=4)
After the pacman-mirrors, mirrors errors still persist.
Any suggestions how to resolve the āfe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0ā and mirrors errors. Thanks.
Edit: The āfe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0ā is due to āsoundā issue. Resolved by editing āg12_sound.shā to enable Amlogic OLD CONFā¦
Appreciate tips how to resolve āpacman mirrorsā issue.
Edit2: āsudo pacman-mirrors -f 5ā resolved the mirrors errors issue. My ignorance. Sorry to trouble you.
I have got a X96AIR_Q1000 / sm1_ac213_4g. I found a dts on the Armbian forum that has enabled me to get gig ethernet, wifi and HDMI audio working, so now its just the BT (bluetoothctl doesnāt list any bt controllers) and onboard analogue audio , AML-AUGESOUND, to work.
Has anyone had any success getting either of of these to work under Manjaro on a S905X3 TV box?
Sure. No success.
Well, thereās a thread about mt7668rsn, but Iām not sure if itās relevant as my chip (mt7661rsn, donāt even try to google lol) has mt7603 as its wifi part. Android uses same driver for mt76x3 and mt76x8 chips, thoughā¦
The last poster basically says that wifi is not working, but thread is almost year old so things might have changed.
They always need some random extra blobs
What about .bin files from stock android firmware (Iām not uploading them as it might be illegal or something)? Itās not enough to simply put them under /usr/lib/firmware, at least it didnāt work for me, so perhaps they should be explicitly required by kernel/driver and then handled by its code in some way, so should I patch the driver and recompile it? Or itās not about blobs at all, and I should start with setting up my dts? Some guy up the thread told me that communication over the bus the chip is located on is not functional (whatever it means):
so perhaps I should first change one of those <ā ā ā ā ā ā ā ā ā ā ā ā ā in dts somehow? But Iām not very good at that low-level C stuff. I guess some addresses should be same for all meson-sm1 (and compatible meson-g12a) boards, but which ones? And which ones should I change? And what to substitute them with?
Anyway, how do I tell if that communication is functional or not? SDIO device corresponding to WiFi chip can be found under /sys/bus/sdio/devices and udevadm correctly determines vendor (āMediatek, Incā or something like that) and ID (0x7603), does it mean itās functional?
(Iād share udevadm output but my usb is dead now so cannot boot the system)
See? Too many questions, and if I try to find all the answers myself, itās gonna take years, given that I donāt have all the time in the world. I guess, people like you have much better understanding of kernel guts. Not asking to solve everything for me ā I know itās not as simple as ./do-zaebis.sh ā but at least I want these questions answered (I mean, about dts, firmware, etc). Itād be nice if you could help.
I got the onboard bluetooth working on my X96 Air Q1000 today. It works with my BT keyboard and trackpad under both KDE and GNOME. You can download the dts and dtb from here:
This dts doesnāt enable the onboard audio for me but HDMI audio works as does wifi and gigabit ethernet.
I have been speaking to amlogic kernel dev Neil Armstrong and it sounds like we should be able to get the onboard audio working for boxes like the X96 Air because the Banana PI BPI-M5 has working onboard audio and it uses the same audio codec:
Thatās a shame. I donāt have an X96 Air P3 but I should be getting a X96 Max Plus in the next few weeks.
I only ordered a max plus because I didnāt think my Air had gigabit ethernet. Well I was wrong and I probably shouldāve bought another X96 Air Q1000 instead because they have 3 USB ports and Iāve got everything working now except the onboard audio.
Iāll hopefully get a chance to try building a kernel with the BPi 5 dts today. I want to try that using that first else I may be adding the onboard audio patches into the latest sei610 dts.
I got and tried it.
Just tried again with linux-vim 5.12.1-1 and HDMI-sound is now working,
but still no-wifi, no-BT
firmware for BT seems to be in the release:
sudo find / -name rtl8822cs*
/usr/lib/firmware/rtl_bt/rtl8822cs_fw.bin
/usr/lib/firmware/rtl_bt/rtl8822cs_config.bin
FYI.
My box is reported by Android āDevice Info HWā
Manufacturer: Droidlogic
Brand: Amlogic
Device: franklin
modell: X96AIR_P3
board: sm1_ac213_4g
with Termux also sm1_ac213_4g
I use with:
CoreElec : sm1_s905x3_4g_1gbit.dtb w/o problems, everything works
LibreElec: meson-sm1-x96-air-1000.dtb w/ screen color problem
Manjaro Arm: meson-sm1-x96maxplus-100M-vim.dtb no-wifi, no-BT
Armbian : I never got it working, wasting massive time
Khadas-Ubuntu Kernel 4.9 : sm1_s905x3_4g_1gbit.dtb from CE w/ high cpuload
Khadas-Ubuntu Kernel 5.12 : meson-sm1-x96-air-1000.dtb from LE only wayland