Increase ARCH_NR_GPIO for ARCH_ASPEED?

Tao Ren taoren at fb.com
Wed Feb 20 11:17:07 AEDT 2019


On 2/19/19 4:15 PM, Andrew Jeffery wrote:
> On Wed, 20 Feb 2019, at 10:43, Tao Ren wrote:
>> 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.
> 
> Ugh. I didn't try it myself, was just hoping that would work. Are you okay
> to keep digging into why?

Sure. Let me run more testing, and will share you more details later..

- Tao


More information about the openbmc mailing list