When i am changing in kernel menuconfig and booting openwrt for my custom board, I don't see any changes when booting. I have to understand build process in openwrt and which file of kernel configuration uses openwrt in build .
Please add text in your original language, english words are stuffed in order that is barely understandable. Normally dependencies are tracked and needed components re-compiled. If that is not the case you need to clean build tree and make a clean build.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </>
" button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
Changing how ?
Only modules marked with * make it into the kernel/image.
Normally no one really makes any changes in kernel so what changes have you actually done to begin with?
I want to include mt7612u driver into my image without installing it through opkg.
I doubt this will work just by adding the driver without patches and everything else, pretty much like always with new devices.
https://github.com/openwrt/openwrt/tree/main/target/linux/mediatek
I am beginner with openwrt please after enabling all needed packages and drivers (built-in) and building image. What's next step after booting the board.
If you included them, they're already there?
They might be visible in lsmod.
If you are talking about 'make kernel_menuconfig' the stuff is only going in if you compile it in fully i.e <*> if you choose to have it as a module it won't go in because that is when there needs to be a openwrt package for it, but there is a kernel package for the mt7612u (mt76x2u) so I mean all you should need to do is select it from 'make menuconfig' and not bother with 'make kernel_menuconfig'
I have this log error after doing right configurations : cfg80211: exports duplicate symbol __cfg80211_alloc_event_skb (owned by kernel)
Add diffconfig output?
Please provide target info, hard to help if you keep us in the dark.
I am working on custom board based on nxp imx8 and I am trying to enable mt7612u as built in module via menuconfig, I have this errors: Error: cfg80211: exports duplicate symbol __cfg80211_alloc_event_skb (owned by kernel)
Also for mt7612u : unkown function....
It appears you are using firmware that is not from the official OpenWrt project.
When using forks/offshoots/vendor-specific builds that are "based on OpenWrt", there may be many differences compared to the official versions (hosted by OpenWrt.org). Some of these customizations may fundamentally change the way that OpenWrt works. You might need help from people with specific/specialized knowledge about the firmware you are using, so it is possible that advice you get here may not be useful.
You may find that the best options are:
- Install an official version of OpenWrt, if your device is supported (see https://firmware-selector.openwrt.org).
- Ask for help from the maintainer(s) or user community of the specific firmware that you are using.
- Provide the source code for the firmware so that users on this forum can understand how your firmware works (OpenWrt forum users are volunteers, so somebody might look at the code if they have time and are interested in your issue).
If you believe that this specific issue is common to generic/official OpenWrt and/or the maintainers of your build have indicated as such, please feel free to clarify.