[Potential Spoof] Increase ARCH_NR_GPIO for ARCH_ASPEED?

Tao Ren taoren at fb.com
Fri Feb 15 12:06:29 AEDT 2019


On 2/14/19 3:16 PM, Tao Ren wrote:
> Hi,
> 
> I got following error while booting up openbmc linux 4.18 on Facebook YAMP BMC (ast2500 based), and it's because total 594 GPIO pins are provided by aspeed soc and i/o expanders on YAMP board:
> 
> gpiochip_find_base: cannot find free range
> gpiochip_add_data_with_key: GPIOs 0..15 (pca9555) failed to register
> 
> I'm wondering if it's good idea to increase ARCH_NR_GPIO default value to the "next level" (1024) for ARCH_ASPEED? If not, any other suggestions for this problem?

I forgot to mention the current value of ARCH_NR_GPIO for ARCH_ASPEED: it's 512 (but YAMP BMC provides 594 GPIO pins).

- Tao


More information about the openbmc mailing list