==> Starting prepare()...
error: patch failed: arch/arm64/Makefile:79
error: arch/arm64/Makefile: patch does not apply
==> ERROR: A failure occurred in prepare().
Aborting...
I was successful in adding the kvim1 support to manjaro-arm-tool. It is able to make the partitions and copy the rootfs to the ext4 now we need to understand the bootloader process to make it boot.
I tried compiling the aarch64-linux-5.0.2 and build an img from this and the manjaro rootfs.
As I am trying to compile the linux-5.0.2 with your patch I am getting the above error.
Kindly advice. Thanks
At first glance it looks right, but I donāt see the task labels for sections. This makes it easy to use it with any media when recording an image, and makes it easy to transfer the finished system to another media.
You can test and create your own patch. Perhaps the point where the necessary lines in your source code differs from the standard. Can you show the source file or give a link to the kernel sources that are used ?
I didnt understand āthe right place moved downā
Can I get any compiled linux for arch āpkg.tar.xzā file for kvim to try and boot the system?
Currently my aim is to make it boot from any old kernel available for kvim1 once it does boot then i will look into compiling the latest kernel. (Compiling takes alot of time for my machine)
But not to forget that if you have any compiled pkg for kvim then will it boot on the obsolete android kernel?
Write down your resulting image of Manjaro to the media. Take the kernel, modules, and all the necessary scripts from any working version of Armbian and replace them with the ones on the manjaro media. Start the system and you can already build everything you want.
Most likely you forgot to add the correct labels for the sections or you need to edit the scripts (specify in them the names of the labels that you have). By default, the first partition should be labeled āBOOTā, the second āROOTFSā. I draw your attention that it is so, in capital letters.
As an option. You can take the media from Arabian and simply replace the files in the second partition (which has the ROOTFS label). Please donāt forget to add modules, fstab and firmware from the image Armbian.
By the way, I started reading your thread in the Manjaro forum and noticed the question about the patches. I lost my login from their forum and you can write there, these patches do not break anything, on the contrary, they allow you to immediately use the resulting kernel on Odroid C2 and RK without processing it with the utility āmkimageā. I. e. it is possible to take at once the kernel āImageā file and to start it with the ābootiā command (I pay attention, not the "bootm"command). It is tested to work Libreelec and Arabian models of AML and RK.
Yes i have the img i created using the manjaro-arm-tool by adding kvim in its function.sh
I will upload the image and share it with you.
Maybe you can help me in knowing what i m doing wrong.