https://github.com/chewitt/linux/commits/narmstrong-5.3-integ-rebase-chewitt is based on the branch you indicated but rebased to 5.3-rc4 and including a large collection of patches that LE requires for G12 and GX platforms (Neils integ branch is focussed on G12). Some of the extra patches are already submitted and merged for 5.4, while others are marked as WIP because they either need to be sent to the mailing list or depend on something else being merged first. I have shitty git habits so the branch has been rebased many times in the last few days as I acquire patches and clean commits up so they can be picked … and i’m not finished with it yet, but it’s usually in a working state (YMMV).
If you download the zip you have the files but no git history to troublshoot from. If it works, great. If it doesn’t work it’ll be impossible to figure out which commit caused the issue.
source env/setenv.sh
cd build/linux-narmstrong-5.3-integ-rebase-chewitt
make ARCH=arm64 defconfig
make -j4 ARCH=arm64 CROSS_COMPILE=/home/khadas/fenix/build/gcc-linaro-aarch64-linux-gnu-7.3.1-2018.05/bin/aarch64-linux-gnu- Image dtbs modules
without errors,
NOTE: I applied no patch
so now, how to reinject/redo all resulting files into a running SD card built w/ your img @Spikerguy ? especially the uInitrd, zImage, etc… ?
http://paste.ubuntu.com/p/bg5btY36ST/ <= that’s the defconfig i’m using (not from fenix). It will be a bit spartan for a desktop distro, but it has all the Amlogic related options you’ll need. Note that both lima and panfrost are enabled in the config. The LE build-system auto-disables them for G12 images which use mali_kbase and leaves them enabled for GX images.
I tried to compile kernel 5.3-rc4 from chewitts branch using your PKGBUILD Which I have been using for VIM1 with 5.0 and 5.2 kernel.
Getting the following errors
DEPMOD 5.3.0-rc1-1
/usr/sbin/ln: failed to create symbolic link ‘/build/pkg/linux5-3-vim1/lib/modules/5.3.0-1/extramodules’: No such file or directory
==> ERROR: A failure occurred in package_linux5-3-vim1().
Aborting…
==> !!! Package failed to build !!!
→ Cleaning build files from rootfs
Then I tired to comment the symbolic link command and tried still I get something similar.
This.
DEPMOD 5.3.0-rc1-1
depmod: ERROR: could not open directory /build/pkg/linux5-3-vim1/lib/modules/5.3.0-1: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
==> ERROR: A failure occurred in package_linux5-3-vim1().
Aborting…
==> !!! Package failed to build !!!
→ Cleaning build files from rootfs
I have checked the kernel name,version, release still this error.
I’ve booted VIM1 (and several other GXL devices) and VIM3 boards from that branch in its current state. LE packaging uses bootm and I’ve been using 0x1980000 as the load/entry address.
I am following balbes PKGBUIld and compiling branch. I am recompiling the rebase branch now as before i compiled the master branch. I think it was because of using master branch
Edit: forgot to ask you… The hdmi audio works for vim3 from your kernel? Is there any way to install Wi-Fi firmware?
I read this, So I am hoping it will boot fine and HDMI Audio should work
Sounds good to me.
Now I have another question. Regarding the fbturbo driver. I have been using the follow since I starting compiling Manjaro for Vim1 but I dont know if they will still work smoothly with VIM3?
#Other device specific packages #fbset
amlogic #firmware-2-aml-0.1-1-aarch64
wpa_supplicant
This is from the device profile which pull their respective drivers.So i had commented c2-libgl-x11 coz I found it to be slow as compared to the libgl-fb.
while fbturbo is better than the video-odroid-c2 for VIM1.
Is there any specific FB or gpu driver for VIM3?
No success with 2 of your committee. When trying to boot. Its stuck on khadas flash screen.
I have been following balbes kernel branch and it’s seems to load fine. Is there anything i need to change about the load entry address? How do I change it now as the img is ready.
It works for me. It works for @balbes150 who uses my sources. HDMI audio works if you add an alsa .conf and alsa mixer settings. Everything you need is in my LE repo … but I have little experience with Armbian and little time to learn … so it’s up to you to mix the ingredients and bake the cake.
According to my knowledge gnome desktop is very heavy for vim1 soc.
Regarding the lima it is enabled in my built but not sure about others.
To make full utilisation of the wip vpu driver and codec we need to get the latest mesa installed but still its wip, so we might have to wait till a full working vpu/hwa released.
The new version Armbiam 20190825 kernel 5.3.0. In this version the temperature display on G12 works.
For reasons not yet clear, the G12 has a conflict with this kernel with PULSEAUDIO. To turn the sound on models with G12 (s905x2 S922x a311d) you need to perform these steps.
Remove package “pulseaudio”.
Reboot the system.
Once run the command “sudo /root/g12_sound.sh”.
When you remove the pulseaudio package, not volume control.
Alternatively, you can install the “pnmixer” package that works with ALSA.
Full-screen 1080p video playback from Youtube (Chromium) to VIM3 works at a temperature no higher than 55 (without a fan).