Edge2 Android - NFS Support

How to support NFS in Edge2 Android 14?

I add to kernel config
CONFIG_NFS_FS=y

then I get the following error:
All HALs in device manifest are declared in FCM <= level 8
ERROR: files are incompatible: Runtime info and framework compatibility matrix are incompatible: No compatible kernel requirement found (kernel FCM version = 8).
For kernel requirements at matrix level 8, For config CONFIG_NFS_FS, value = y but required n
: Success
INCOMPATIBLE

Somewhere in frameworks, device/khadas/common the value is set as ‘n’ then it clashes with the kernel value.

Tested on Ubuntu 24.04

Under the root directory of the code, there are NFS related documentation and patches in this path. You can add them according to the requirements of the documentation

RKDocs/android/patches/customized_functions/nfs_boot_patch_v1.4.0.zip

To get around it, you can edit your kernel config and rebuild just the kernel and update.img with ./build.sh -Cu

When building Android it checks for kernel compatibility. To fix it as you wanted though, you’ll need to edit /kernel/configs/u/android-6.1/android-base.config and change:

CONFIG_NFS_FS is not set

to

CONFIG_NFS_FS=y