This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/BEAGLEBK: SDRAM size setting

Part Number: BEAGLEBK

Tool/software: Linux

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    (128*1024*1024)    /* 128MB */ /// include/configs/ti_am335x_common.h

#define DEFAULT_LINUX_BOOT_ENV \                    //// include/configs/ti_armv7_common.h
    "loadaddr=0x82000000\0" \
    "kernel_addr_r=0x82000000\0" \
    "fdtaddr=0x84000000\0" \
    "fdt_addr_r=0x84000000\0" \
    "rdaddr=0x84080000\0" \
    "ramdisk_addr_r=0x84080000\0" \
    "bootm_size=0x10000000\0"

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

I am running on openwrt, kernel 3.14.27.

Thanks

Tuan Nguyen