how to config SDRAM size

Hi there,

default Beaglebone black have 512 MB ram. I would like to set it to 128 MB for testing by modifing 2 configs:


#define CONFIG_MAX_RAM_BANK_SIZE (12810241024) /* 128MB */ /// include/configs/ti_am335x_common.h

#define DEFAULT_LINUX_BOOT_ENV \ //// include/configs/ti_armv7_common.h

Enter code here…

but it was hang in kernel_entry. If I try with 256MB, it works. Did I miss something ?

I am running on kernel 3.14.27.


Tuan Nguyen