The broadcom firmware for VIM1 is a problem because the module uses the wrong hardware ID and this results in the kernel loading the correct firmware for the ID, which is the wrong firmware for the VIM1 board. Khadas has a hack in their kernels to load the correct firmware, but if a distro wants to support other devices that correctly use the same ID (we found an Allwinner board that uses the same chip) some userspace tweaking is required. LE uses a systemd service to symlink the correct firmware on boot based on device-tree compatible marking.
Kernel updated to 5.6.0-rc4 - Vim1, Vim2 and Vim3
It is uploaded to unstable.
Users on stable repo can update to latest kernel by switching to unstable
Green screen issue is from the uboot so if someone can share the uboot which can be used on sd and emmc then we can get it fixed but the issue is most AML devices users are using Multi-boot method which makes it a bit complex for solving compatibility issue with emmc uboot and newer kernel on sdcard.
Are you using Android on eMMC ? If you dont have any use of Android then you can solve green screen issue by flashing Manjaro eMMC img from krescue.
Kodi package - only for Vim3 with GLES.
It is uploaded to the Manjaro Repo. This kodi build needs GLES support, so I am not sure if it will work with vim1 but it works fine with vim3 and it only plays with software decoding. There was no screen tearing or lag but the cpu load was almost full so make sure you have active cooling when watching a full movie.
How to install
For users on Stable branch
Step 1: sudo pacman-mirrors -b unstable
Step 2: sudo pacman -Syy kodi
Users on unstable branch can skip Step 1.
PS: It should work very smoothly on vim2 when you run os with panfrost as kodi is hw acc while video playback is software acc. Have tested it on panfrost device with almost the same specs as vim2. As I dont have a vim2 device I cannot confirm anything.
Please try and report back.
Thanks.
Kodi on ARM devices is always a GLES app. The important thing is the GLES source; Kodi must be compiled against either ARM blobs (works on VIM1/VIM3/VIM3L) or Mesa (works on VIM1/VIM2). You cannot compile Kodi with support for both, so until Panfrost evolves support for Bifrost a unified/single Kodi version is not possible.
Manjaro has package management which means you could distribute two versions of Kodi (blob and mesa) with respective driver package dependencies. Mesa depends on lima/panfrost and Blob needs at least two mali_kbase variants; because utgard needs a different mali_kbase to midgard/bifrost.
LE does not have package management, which is why we currently need to ship two different images for GX and G12/SM1 hardware.
Khadas devices will have official support in Manjaro.
Khadas Vim1, Vim2, Vim3 and Edge-V.
Latest release here.
Khadas images uploading soon.
Update I was able to get everything to work on edge-v-pro, vim3-pro, vim2-pro.
In vim1-v14 there is ap6212a which doesnt work be the old firmware package I had.
Can someone advice which firmware file is needed? Ive tried the ones mentioned in armbian threads for ap6212a chip.