Comment 1 for bug 934034

Revision history for this message
Scott Bambrough (scottb) wrote : Re: [Bug 934034] [NEW] On 3.3 kernels vmalloc size needs to be increased by 16M

On 12-02-17 03:51 AM, Philippe Langlais wrote:
> Public bug reported:
>
> Since merge of io mapping into vmalloc area by N. Pitre, the vmalloc is too small for hwmem.
> We get this error "kernel BUG at lib/ioremap.c:27!"
>
> a temporary fix is:
> Stop in u-boot with a key press then use the following commands:
> setenv commonargs 'setenv bootargs console=${console} ip=dhcp vmalloc=272M'
> saveenv
> boot
>
> The final solution, is to set vmalloc size to 272M in default u-boot
> command line.
>
> ** Affects: igloocommunity
> Importance: Undecided
> Status: New
>

Would it not be better to provide this via device tree?

--
Scott Bambrough
Technical Director, Member Services
Linaro Ltd.