Hi All,
to allocate a larger Contiguous Memory Area, I set
cma=1512M@0-4G
in ‘os_args’ in the partition ‘kernel-dtb’ in ‘nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_E3550/DRIVEOS/drive-t186ref-foundation/virtualization/pct/e3550b03-t194a/linux/linux_storage_emmc.cfg’
and flashed the target device.
However it fails to allocate the CMA as ‘cat /var/log/kern.log | grep -i cma’ tells me:
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] cma: Failed to reserve 1512 MiB
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Kernel command line: fbcon=map:9 aurixfw=AFW root=/dev/vblkdev0p1 gpt rootwait ip=off rw gpt console=ttyS0,115200n8 tegra_keep_boot_clocks cma=1512M@0-4G disable_android_paranoid_network sdhci_tegra.en_boot_part_access=1 tegraid=19.1.2.0.0 uid=1645207840800000001028280 bl_debug_data=65536@0x7ffffd0000 earlycon=uart8250,mmio32,0x0c280000 console=ttyS0,115200n8 bl_prof_dataptr=2048@0x7fb56b7000
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Memory: 28583172K/29225984K available (14014K kernel code, 2656K rwdata, 5020K rodata, 7168K init, 574K bss, 642812K reserved, 0K cma-reserved)
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] cma: Failed to reserve 1512 MiB
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Kernel command line: fbcon=map:9 aurixfw=AFW root=/dev/vblkdev0p1 gpt rootwait ip=off rw gpt console=ttyS0,115200n8 tegra_keep_boot_clocks cma=1512M@0-4G disable_android_paranoid_network sdhci_tegra.en_boot_part_access=1 tegraid=19.1.2.0.0 uid=1645207840800000001028280 bl_debug_data=65536@0x7ffffd0000 earlycon=uart8250,mmio32,0x0c280000 console=ttyS0,115200n8 bl_prof_dataptr=2048@0x7fb56b7000
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Memory: 28583172K/29225984K available (14014K kernel code, 2656K rwdata, 5020K rodata, 7168K init, 574K bss, 642812K reserved, 0K cma-reserved)
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] cma: Failed to reserve 1512 MiB
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Kernel command line: fbcon=map:9 aurixfw=AFW root=/dev/vblkdev0p1 gpt rootwait ip=off rw gpt console=ttyS0,115200n8 tegra_keep_boot_clocks cma=1512M@0-4G disable_android_paranoid_network sdhci_tegra.en_boot_part_access=1 tegraid=19.1.2.0.0 uid=1645207840800000001028280 bl_debug_data=65536@0x7ffffd0000 earlycon=uart8250,mmio32,0x0c280000 console=ttyS0,115200n8 bl_prof_dataptr=2048@0x7fb56b7000
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Memory: 28583172K/29225984K available (14014K kernel code, 2656K rwdata, 5020K rodata, 7168K init, 574K bss, 642812K reserved, 0K cma-reserved)
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] cma: Failed to reserve 1512 MiB
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Kernel command line: fbcon=map:9 aurixfw=AFW root=/dev/vblkdev0p1 gpt rootwait ip=off rw gpt console=ttyS0,115200n8 tegra_keep_boot_clocks cma=1512M@0-4G disable_android_paranoid_network sdhci_tegra.en_boot_part_access=1 tegraid=19.1.2.0.0 uid=1645207840800000001028280 bl_debug_data=65536@0x7ffffd0000 earlycon=uart8250,mmio32,0x0c280000 console=ttyS0,115200n8 bl_prof_dataptr=2048@0x7fb56b7000
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Memory: 28583172K/29225984K available (14014K kernel code, 2656K rwdata, 5020K rodata, 7168K init, 574K bss, 642812K reserved, 0K cma-reserved)
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] cma: Failed to reserve 1512 MiB
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Kernel command line: fbcon=map:9 aurixfw=AFW root=/dev/vblkdev0p1 gpt rootwait ip=off rw gpt console=ttyS0,115200n8 tegra_keep_boot_clocks cma=1512M@0-4G disable_android_paranoid_network sdhci_tegra.en_boot_part_access=1 tegraid=19.1.2.0.0 uid=1645207840800000001028280 bl_debug_data=65536@0x7ffffd0000 earlycon=uart8250,mmio32,0x0c280000 console=ttyS0,115200n8 bl_prof_dataptr=2048@0x7fb56b7000
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Memory: 28583172K/29225984K available (14014K kernel code, 2656K rwdata, 5020K rodata, 7168K init, 574K bss, 642812K reserved, 0K cma-reserved)
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] cma: Failed to reserve 1512 MiB
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Kernel command line: fbcon=map:9 aurixfw=AFW root=/dev/vblkdev0p1 gpt rootwait ip=off rw gpt console=ttyS0,115200n8 tegra_keep_boot_clocks cma=1512M@0-4G disable_android_paranoid_network sdhci_tegra.en_boot_part_access=1 tegraid=19.1.2.0.0 uid=1645207840800000001028280 bl_debug_data=65536@0x7ffffd0000 earlycon=uart8250,mmio32,0x0c280000 console=ttyS0,115200n8 bl_prof_dataptr=2048@0x7fb56b7000
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Memory: 28583172K/29225984K available (14014K kernel code, 2656K rwdata, 5020K rodata, 7168K init, 574K bss, 642812K reserved, 0K cma-reserved)
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] cma: Failed to reserve 1512 MiB
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Kernel command line: fbcon=map:9 aurixfw=AFW root=/dev/vblkdev0p1 gpt rootwait ip=off rw gpt console=ttyS0,115200n8 tegra_keep_boot_clocks cma=1512M@0-4G disable_android_paranoid_network sdhci_tegra.en_boot_part_access=1 tegraid=19.1.2.0.0 uid=1645207840800000001028280 bl_debug_data=65536@0x7ffffd0000 earlycon=uart8250,mmio32,0x0c280000 console=ttyS0,115200n8 bl_prof_dataptr=2048@0x7fb56b7000
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Memory: 28583172K/29225984K available (14014K kernel code, 2656K rwdata, 5020K rodata, 7168K init, 574K bss, 642812K reserved, 0K cma-reserved)
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] cma: Failed to reserve 1512 MiB
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Kernel command line: fbcon=map:9 aurixfw=AFW root=/dev/vblkdev0p1 gpt rootwait ip=off rw gpt console=ttyS0,115200n8 tegra_keep_boot_clocks cma=1512M@0-4G disable_android_paranoid_network sdhci_tegra.en_boot_part_access=1 tegraid=19.1.2.0.0 uid=1645207840800000001028280 bl_debug_data=65536@0x7ffffd0000 earlycon=uart8250,mmio32,0x0c280000 console=ttyS0,115200n8 bl_prof_dataptr=2048@0x7fb56b7000
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Memory: 28583172K/29225984K available (14014K kernel code, 2656K rwdata, 5020K rodata, 7168K init, 574K bss, 642812K reserved, 0K cma-reserved)
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] cma: Failed to reserve 1512 MiB
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Kernel command line: fbcon=map:9 aurixfw=AFW root=/dev/vblkdev0p1 gpt rootwait ip=off rw gpt console=ttyS0,115200n8 tegra_keep_boot_clocks cma=1512M@0-4G disable_android_paranoid_network sdhci_tegra.en_boot_part_access=1 tegraid=19.1.2.0.0 uid=1645207840800000001028280 bl_debug_data=65536@0x7ffffd0000 earlycon=uart8250,mmio32,0x0c280000 console=ttyS0,115200n8 bl_prof_dataptr=2048@0x7fb56b7000
Sep 21 00:58:45 tegra-ubuntu kernel: [ 0.000000] Memory: 28583172K/29225984K available (14014K kernel code, 2656K rwdata, 5020K rodata, 7168K init, 574K bss, 642812K reserved, 0K cma-reserved)