imx6-android 修改内存大小

~/myandroid/bootable/bootloader/uboot-imx/include/configs/mx6dl_sabresd.h
~/myandroid/bootable/bootloader/uboot-imx/include/configs/mx6q_sabresd.h
-#define PHYS_SDRAM_1_SIZE      (1u * 1024 * 1024 * 1024)
+#define PHYS_SDRAM_1_SIZE      (1u * 512 * 1024 * 1024)
~/myandroid/bootable/bootloader/uboot-imx/include/configs/mx6dl_sabresd_android.h
~/myandroid/bootable/bootloader/uboot-imx/include/configs/mx6q_sabresd_android.h
-               "splashimage=0x30000000\0"                              \
+               "splashimage=0x1D000000\0"                              \
~/myandroid/device/fsl/sabresd_6dq/BoardConfig.mk (change the default boot commands)
-BOARD_KERNEL_CMDLINE := console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32
video=mxcfb1:off
video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0
androidboot.hardware=freescale
+BOARD_KERNEL_CMDLINE := console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32
video=mxcfb1:off
video=mxcfb2:off fbmem=10M fb0base=0x17b00000 gpumem=96M vmalloc=400M
androidboot.console=ttymxc0 androidboot.hardware=freescale

你可能感兴趣的:(arm+linux)