[OpenWrt-Devel] [PATCH 1/2] octeon: Deactivate MIPS O32 and N32 support
hauke at hauke-m.de
Mon May 13 14:37:31 PDT 2019
On 5/12/19 10:24 PM, Daniel Engberg wrote:
> This patch seems to touch more things that just that... (4.19)
I did a "make kernel_oldconfig" to refresh the configuration. This was
either not done when this configuration was added, the generic
configuration changed or some new Kconfig options were added in the
> Both these are optional and no supported hardware have these
> capatibilities to my knowledge
They are automatically set because CONFIG_CAVIUM_OCTEON_SOC selects
CONFIG_SYS_SUPPORTS_HOTPLUG_CPU if CONFIG_CPU_BIG_ENDIAN is set.
> Why are these needed?
The architecture supports them, they are automatically selected.
> These seems to be forced by the mips kernel config
> Where does this come from?
> In general I think we need to come up with a better way of handling
> kernel configs as many doesn't seem to be correct (see GitHub PRs) even
> though the kernel compiles and it's very hard to get a good overview not
> to mention maintain.
Yes I agree with you, when I looked at the kernel configuration of the
at91 target for example there were many problems in there. It is also
not really documented on how to do it correctly.
Only defining the options which are really needed and using the
defconfig for all of the others could also be an option, but I think we
would miss to much stuff.
More information about the openwrt-devel