Comment 5 for bug 934034

Revision history for this message
Sunil Kamath (sunil-kamath) wrote : Re: On 3.3 kernels vmalloc size needs to be increased by 16M

I have question to Mathieu and Kalle. Did you test this with ICS eMMC image?

I am using new startup files.
I can see this in http://www.igloocommunity.org/download/linaro/startupfiles/latest/ for 9th March.

But even after using this change in startup file, we have vmalloc issue in single ICS image.
Did you test it by any chance?

If so, so let us know your results.

In my image i get following content as printevn:

bootcmd=mmc rescan 0; mmc rescan 1; if run loadbootscript; then run bootscript; else if run mmcload; then run mmcboot; else if run emmcloadbootscript; then run bootscript; else if run emmcload; then run emmcboot; else echo No media to boot from; fi; fi; fi; fi;

commonargs=setenv bootargs console=${console} vmalloc=300M

I have pasted complete printend at the end.

But while booting, i see following trace:
[ 0.000000] Kernel command line: console=ttyAMA2,115200n8 rootwait ro earlyprintk mem=128M@0 mali.mali_mem=64M@128M hwmem=168M@192M mem=22M@360M mem_issw=1M@383M mem=640M@384M vmalloc=256M init=/init androidboot.console=ttyAMA2

and finally bootup stops with error:
/kernel/lib/ioremap.c:27!
Same as this issue.

Its reading from boot.scr?

Snowball $ printenv
bootcmd=mmc rescan 0; mmc rescan 1; if run loadbootscript; then run bootscript; else if run mmcload; then run mmcboot; else if run emmcloadbootscript; then run bootscript; else if run emmcload; then run emmcboot; else echo No media to boot from; fi; fi; fi; fi;
bootdelay=1
baudrate=115200
preboot=
verify=n
loadaddr=0x00100000
console=ttyAMA2,115200n8
loadbootscript=fat load mmc 1:1 ${loadaddr} /boot.scr
emmcloadbootscript=fat load mmc 0:2 ${loadaddr} /boot.scr
bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
memargs256=mem=96M@0 mem_modem=32M@96M mem=32M@128M hwmem=22M@160M pmem_hwb=42M@182M mem_mali=32@224M
memargs512=mem=96M@0 mem_modem=32M@96M hwmem=32M@128M mem=64M@160M mem_mali=32M@224M pmem_hwb=128M@256M mem=128M@384M
memargs1024=mem=128M@0 mali.mali_mem=64M@128M hwmem=168M@192M mem=22M@360M mem_issw=1M@383M mem=640M@384M
memargs=setenv bootargs ${bootargs} ${memargs1024}
emmcload=fat load mmc 0:2 ${loadaddr} /uImage
mmcload=fat load mmc 1:1 ${loadaddr} /uImage
commonargs=setenv bootargs console=${console} vmalloc=300M
emmcargs=setenv bootargs ${bootargs} root=/dev/mmcblk0p2 rootwait
addcons=setenv bootargs ${bootargs} console=${console}
emmcboot=echo Booting from eMMC ...; run commonargs emmcargs memargs; bootm ${loadaddr}
mmcargs=setenv bootargs ${bootargs} root=/dev/mmcblk1p2 rootwait
mmcboot=echo Booting from external MMC ...; run commonargs mmcargs memargs; bootm ${loadaddr}
stdin=serial
stdout=serial
stderr=serial
board_id=1
startup_graphics=0
logo=0
crashkernel=crashkernel=1M@0x5600000
ethact=smc911x-0

Environment size: 1561/4092 bytes