Skip to content

Commit 09ca3d6

Browse files
committed
uboot-env: sam9x60-curiosity: reserve cma memory of 8m
Reserve CMA memory of 8M for EGT applications to succesfully allocate dumb buffers.This mitigates low memory issues in sam9x60 curiosity while launching EGT applications. Signed-off-by: Hari Prasath Gujulan Elango <[email protected]>
1 parent 9badd82 commit 09ca3d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

recipes-bsp/u-boot/files/envs/sam9x60-curiosity-sd.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pda7000test=test -n $display && test $display = 7000 && setenv display_var 'pda7
1414
at91_prepare_overlays_config=test -n $display_var && setenv at91_overlays_config '#'${display_var}
1515
bootcmd=run at91_set_display; run at91_pda_detect; run at91_prepare_video_bootargs; run at91_prepare_bootargs; run at91_prepare_overlays_config; run bootcmd_boot;
1616
pda5000test=test -n $display && test $display = 5000 && setenv display_var 'pda5' && setenv video_mode ${video_mode_pda5}
17-
bootargs=console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait atmel.pm_modes=standby,ulp0
17+
bootargs=console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait atmel.pm_modes=standby,ulp0 cma=8m
1818
bootcmd_boot=fatload mmc 0:1 0x24000000 sam9x60_curiosity.itb; bootm 0x24000000#kernel_dtb${at91_overlays_config}
1919
bootdelay=1
2020
ethact=gmac0

recipes-bsp/u-boot/files/envs/sam9x60-curiosity.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pda7000test=test -n $display && test $display = 7000 && setenv display_var 'pda7
1414
at91_prepare_overlays_config=test -n $display_var && setenv at91_overlays_config '#'${display_var}
1515
bootcmd=run at91_set_display; run at91_pda_detect; run at91_prepare_video_bootargs; run at91_prepare_bootargs; run at91_prepare_overlays_config; run bootcmd_boot;
1616
pda5000test=test -n $display && test $display = 5000 && setenv display_var 'pda5' && setenv video_mode ${video_mode_pda5}
17-
bootargs=console=ttyS0,115200 mtdparts=atmel_nand:256k(bootstrap)ro,768k(uboot)ro,256k(env_redundant),256k(env),6656k(itb)ro,-(rootfs) rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs rw atmel.pm_modes=standby,ulp0
17+
bootargs=console=ttyS0,115200 mtdparts=atmel_nand:256k(bootstrap)ro,768k(uboot)ro,256k(env_redundant),256k(env),6656k(itb)ro,-(rootfs) rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs rw atmel.pm_modes=standby,ulp0 cma=8m
1818
bootcmd_boot=nand read 0x24000000 0x00180000 0x680000; bootm 0x24000000#kernel_dtb${at91_overlays_config}
1919
bootdelay=1
2020
ethact=gmac0

0 commit comments

Comments
 (0)