If I use the openwrt/sdk:armsr-armv8-openwrt-23.05
image, and run make TARGET=armsr defconfig
I seem to get a config for the octeon target instead of armsr / armv8 generic like I'd expect.
What's going wrong here?
If I use the openwrt/sdk:armsr-armv8-openwrt-23.05
image, and run make TARGET=armsr defconfig
I seem to get a config for the octeon target instead of armsr / armv8 generic like I'd expect.
What's going wrong here?
Save config, run diffconfig.sh upload result
At least in the SDK menuconfig seems incomplete - there's no way to select target.
Can you please elaborate here - what do you mean by "save config"?
Docker sdk image after defconfig:
./scripts/diffconfig.sh
tmp/.config-package.in:70:warning: ignoring type redefinition of 'PACKAGE_libc' from 'bool' to 'tristate'
tmp/.config-package.in:98:warning: ignoring type redefinition of 'PACKAGE_libgcc' from 'bool' to 'tristate'
tmp/.config-package.in:219:warning: ignoring type redefinition of 'PACKAGE_libpthread' from 'bool' to 'tristate'
tmp/.config-package.in:247:warning: ignoring type redefinition of 'PACKAGE_librt' from 'bool' to 'tristate'
Config-build.in:983:warning: defaults for choice values not supported
Config-build.in:987:warning: defaults for choice values not supported
Config-build.in:991:warning: defaults for choice values not supported
tmp/.config-package.in:70:warning: ignoring type redefinition of 'PACKAGE_libc' from 'bool' to 'tristate'
tmp/.config-package.in:98:warning: ignoring type redefinition of 'PACKAGE_libgcc' from 'bool' to 'tristate'
tmp/.config-package.in:219:warning: ignoring type redefinition of 'PACKAGE_libpthread' from 'bool' to 'tristate'
tmp/.config-package.in:247:warning: ignoring type redefinition of 'PACKAGE_librt' from 'bool' to 'tristate'
Config-build.in:983:warning: defaults for choice values not supported
Config-build.in:987:warning: defaults for choice values not supported
Config-build.in:991:warning: defaults for choice values not supported
CONFIG_TARGET_octeontx=y
CONFIG_TARGET_octeontx_generic=y
CONFIG_TARGET_octeontx_generic_Default=y
CONFIG_ALL=y
CONFIG_ALL_KMODS=y
CONFIG_ALL_NONSHARED=y
CONFIG_DEVEL=y
Git clone after defconfig:
/src/openwrt# ./scripts/diffconfig.sh
CONFIG_TARGET_ath79=y
CONFIG_TARGET_ath79_generic=y
CONFIG_TARGET_ath79_generic_DEVICE_8dev_carambola2=y
Neither are correct.
This looks like the piece of information I was missing.
https://forum.archive.openwrt.org/viewtopic.php?id=31125&p=1#p140470
It has to be added to wikis, because target alone builds all devices of target but does not save .configs.
Well it didn't work - even adding the correct target to .config and then running defconfig, I still end up with the wrong target set.