how to config SDRAM size

7 views
Skip to first unread message

tuan....@veriksystems.com

unread,
Apr 27, 2018, 9:15:55 AM4/27/18
to BeagleBoard
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"

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.


Thanks

Tuan Nguyen


Reply all
Reply to author
Forward
0 new messages