Power & Source of Big Ideas

[Bug report] cross compiling kernel incomplete

Moderators: chensy, FATechsupport

Building the kernel with cross compiler is fine, but for building loadable kernel modules on Nanopi H3 system later some probelms exists:
  • one include file is missing
  • four utility programs were compiled for x86_64 but are needed to be compiled for armhf
    (to allow for creation of loadable kernel modules on H3 based systems like Neo and M1)
For details please see this posting:

We suggest you add and compile kernel module in the source of h3_lichee on computer .
You can use this command to compile:./build.sh -p sun8iw7p1 -b nanopi-h3 -m kernel , after compiling you need to copy .ko file to NanoPi NEO board then you can insmod the module.
I will try what you propose.
But that would degrade the Neo or M1 to a pure runtime CPU with the need to have another 64bit Intel Linux computer for compiling/developing. I like the Neo/M1 being able to develop kernel modules itself as described.

Who is online

In total there are 11 users online :: 0 registered, 0 hidden and 11 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 11 guests