Chapter 8 Adjustment of Ram Configuration

The SSD201 has 64MB of memory and the SSD202 has 128MB of memory.Some of this memory is used for MMA and is available for use by certain modules such as VDEC, VENC, etc.Another portion is used for Linux, and a small portion (1M) is used for AI and AO.
Therefore, when running a Linux system, using the free-m command will result in a total memory of less than 64MB or 128MB, because a significant portion of it is being used for MMA.
By modifying the size of memory allocated by MMA, the available memory of Linux system can be adjusted. The memory size of MMA can be adjusted by project/configs/NVR/i2m/8.2.1/spinand.glibc.011a.64 (or. 128 is 202) to modify:

# vi project/configs/nvr/i2m/8.2.1/spinand.glibc.011a.64(201)
# vi project/configs/nvr/i2m/8.2.1/spinand.glibc.011a.128(202)

CHIP = i2m
BOARD = 011A
BOARD_NAME = SSC011A-S01A
PRODUCT = nvr
TOOLCHAIN = glibc
TOOLCHAIN_VERSION = 8.2.1
KERNEL_VERSION = 4.9.84
LIBC       = libc-2.28
BUSYBOX    = busybox-1.20.2-arm-linux-gnueabihf-glibc-8.2.1-dynamic
KERNEL_CONFIG = glibc
IMAGE_CONFIG = spinand.ubifs.p2.partition.config
CUSTOMER_OPTIONS = 011a.201_options.mk
CUSTOMER_TAILOR = nvr_i2m_display_glibc_tailor.mk
MMAP = MMAP_I2M_64M.h
MHAL = i2m
MERGE_BOOT = TRUE
BOOTLOGO_FILE = sigmastar1024_600.jpg
BOOTLOGO_ADDR = E_LX_LOGO_RESERVED_FB
DISP_OUT_NAME = CC0702I50R
EXBOOTARGS =
KERNEL_BOOT_ENV = LX_MEM=$(KERNEL_MEMLEN) mma_heap=mma_heap_name0,miu=0,sz=0x1a00000 mma_memblock_remove=1 highres=off
TOOLCHAIN_REL = arm-linux-gnueabihf-

If only 1080p decoding display is needed, the MMA can allocate about 9m.

文档更新时间: 2021-10-19 18:45   作者:Aeeditor