OpenWrt Forum Archive

Topic: Compile for 74kc instead of 34kc ?

The content of this topic has been archived on 21 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

march and mtune are set by default to 34kc on ar71xx platform even if particular device has mip 74kc cpu. Can i safely replace all "34kc" with "74kc" in config and compile?

CONFIG_TARGET_ARCH_PACKAGES="mips_74kc"
CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -mno-branch-likely -march=74kc -mtune=74kc"
CONFIG_CPU_TYPE="74kc"
CONFIG_TARGET_OPTIMIZATION="-Os -pipe -mno-branch-likely -march=74kc -mtune=74kc"

(Last edited by Snoop05 on 10 Aug 2016, 15:10)

Yes. 34kc has just been selected as a balanced compromise.

If you compile just for one device, you can naturally use the exactly correct tuning, like 74kc.

The discussion might have continued from here.