Increase ARCH_NR_GPIO for ARCH_ASPEED?

Tao Ren taoren at fb.com
Wed Feb 20 11:12:58 AEDT 2019


Hi Andrew,

On 2/17/19 9:11 PM, Andrew Jeffery wrote:
> As an example, for Tiogapass, you should be able to define `CONFIG_ARCH_NR_GPIO = 1024` in tiogapass.cfg:
> 
> https://github.com/openbmc/meta-facebook/blob/master/meta-tiogapass/recipes-kernel/linux/linux-aspeed/tiogapass.cfg

I tried to define 'CONFIG_ARCH_NR_GPIO=1024' in <platform>.cfg, but still, it's reset to 0 by "make olddefconfig".

Below are my steps (using the latest openbmc tree), and kindly let me know if I missed something:

1) added 'CONFIG_ARCH_NR_GPIO=1024' in meta-ibm/meta-romulus/recipes-kernel/linux/linux-aspeed/romulus.cfg
2) export TEMPLATECONF=meta-ibm/meta-romulus/conf
3) . openbmc-env
4) ran "bitbake linux-aspeed"
5) checked build/tmp/work/romulus-openbmc-linux-gnueabi/linux-aspeed/4.19.21+gitAUTOINC+d808d27f70-r0/linux-romulus-standard-build/.config: CONFIG_ARCH_NR_GPIO is reset to 0.

Thanks,

- Tao


More information about the openbmc mailing list