Closed NolanNicholson closed 2 years ago
you can use export LOCALVERSION=-MiSTer
before compiling for the same result.
No idea about EW-7811Un and CIFS.. Probably something wrong with modules compilation/adding to image.
We can add export LOCALVERSION=-MiSTer
to the build guide - that is fine.
If you do find out which modules are compiled and added, and how that selection of modules differs from the default config, I'd be happy to get that into the guide as well. As I mentioned, I was able to get a particular wi-fi driver working correctly, but not the same general coverage that the release builds have.
May be you can read more about compiling kernel with modules and how they are installed into system. It's general Kernel info, not MiSTer specific.
I'll educate myself a bit further and explore how I might compile it for more general wi-fi driver support. Thanks for your help!
If the kernel compilation instructions at https://github.com/MiSTer-devel/Main_MiSTer/wiki/Compiling-the-Linux-kernel-for-MiSTer are followed exactly on a clean Ubuntu installation, the resulting zImage_dtb file mostly works, but some peripherals no longer function. Examples of nonworking peripherals include CIFS mounts, the Edimax EW-7811Un, and the Xbox Elite Controller. However, most peripherals work fine.
This appears to be due to some discrepancies between the default settings in this repo (particularly Kconfig and Makefile?) and the settings used to compile release builds of the kernel:
EXTRAVERSION=-MiSTer
flag so that the resulting kernel name, 5.15.1-MiSTer, matches the name of the official release. Right now, the compiled kernel gets the version "5.15.1+".