How add JMC250 Jmicron driver?

I have not found kmod.jme for a JiMicron JME250 but exist jme.c & jme.h

Question is how i build with this driver ?

There are two approaches:

  • scratch your own itch right now, quickly, and just toggle the selection in target/linux/generic/config-… (respectively rely to make kernel_menuconfig to do it for you)
  • fix it properly and for all users (admittedly, it's a bit more nuanced when it comes to basic block device support for which may be the rootfs), by adding the packaging for this module to the kernel packaging, so it can be enabled at build time (plain make menuconfig) and maybe even runtime installed (or used by auc; even if neither of these later suggestions would help with rootfs on jme250). While not really difficult either, it's a bit more involved.

I would prefer the later, but the former gets you off the ground right now.

I looked in config-5-4... ....... and saw..... so I just edited .config adding CONFIG_JME=y
The machine next to me builds the firmware
I'll see tomorrow morning when it's finished....

It should be CONFIG_JME=y.

Oh , yes , i am idiot set =y

It did not work ...
Previously I had added a line CONFIG_JME=y in the .config
I start again this time I looked carefully with make kernel_menuconfig and I noticed that it was probably necessary to validate JMICRON
The construction this time has successfully validated the JMICRON port
However, I have with some kmod's, luci, ... that are no longer compatible with errors like these
Collected errors:

  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.188-1-db222399ef90ea6bd3453fe08b323a74) for kmod-nfnetlink
  • pkg_hash_fetch_best_installation_candidate: Packages for kmod-nfnetlink found, but incompatible with the architectures configured

I also have
Package zlib (1.2.11-6) installed in root is up to date.
Collected errors:

  • verify_pkg_installable: Only have 0kb available on filesystem /overlay, pkg wireless-tools needs 23
  • opkg_install_cmd: Cannot install package wireless-tools.
  • verify_pkg_installable: Only have 0 kb available on filesystem /overlay, pkg wpad-basic-wolfssl needs 404
  • opkg_install_cmd: Cannot install package wpad-basic-wolfssl.

I used the snapshot combined version, I'm trying it again, but with the ext4

With ext4 binary the space error is solved

I still have the incompatibility with the architectures configured

Now I don't know at all how to integrate the kmods which do not pass

Can be a simple solution by copying the kmodxxx .ipk somewhere and importing them but as there is no USB it is problematic

I forgot to be smart: The miracle is SCP or WinSCP !!!

I hope the kmods of my compilation will work