A
A
Alexey2014-01-10 15:53:06
Android
Alexey, 2014-01-10 15:53:06

Building an NFS module for an Android device (Jiayu G3S, MTK6589 processor)

The task is to raise the Network File System client on an Android device. The problem is aggravated by the fact that you need access to NFS. There are two reasons for this - firstly, the transparency of POSIX permissions (rwx) is needed, and secondly, speed is needed. The need arose for native compilation of fairly large projects using gcc directly on the phone. These are the conditions of the task.
A cursory search led to the sources - https://github.com/varunchitre15/MT6589_kernel_source
Of course, I compiled modules for the kernel using cross-compilation on Linux. After a long "game" with the kernel configuration file and trying different options, at first we managed to build modules that, when trying to modprobelead to an immediate reboot of the device. Then we managed to pick up a configuration, the modules of which began to be successfully loaded with the modprobe command , but when I tried to mount a network drive, the phone again instantly rebooted.
He described his "ordeals" with the launch of the NFS client here - https://www.linux.org.ru/forum/mobile/9747668
Apparently, the problem arises due to a proprietary kernel patch regarding preemptive multitasking . Anyway, this is the most likely cause of the problem.
On the device manufacturer's website, there is a contact - [email protected], letters to which, apparently, go to / dev / null
Actually questions:
1. Do your devices support the NFS client out of the box?
2. Has anyone managed to run an NFS client on Andorid, what was the path for this and what is the model of your device?
3. How to make sure that the problem is in the proprietary patch?
4. How to pull the Free Software Foundation to receive this patch and solve the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dope, 2014-01-10
@dope

Look here forum.china-iphone.ru/ishodniki-mtk-sborka-obsujde...
Not NFS, but maybe you will find something interesting.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question