Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] J721EXSOMXEVM: How to change Linux kernel page size from default 64K in the SDK to 4K?

Part Number: J721EXSOMXEVM

Hi, support team

My customer has the questions as follow:

for sdk download form www.ti.com/.../PROCESSOR-SDK-LINUX-J721E

I found kernel config board-support/linux-5.4.106+gitAUTOINC+023faefa70-g023faefa70/arch/arm64/configs/tisdk_j7-evm_defconfig

CONFIG_ARM64_PAGE_SHIFT=16
CONFIG_ARM64_CONT_SHIFT=5
CONFIG_ARCH_MMAP_RND_BITS_MIN=14
CONFIG_ARCH_MMAP_RND_BITS_MAX=29
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=7
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16

for what purpose, we use 64k page size here?

Can I change it to 4k page size?

Thanks so much.

Best regards,
Yuki

  • Hi Yuki,

    It should be possible to configure the Page size to 4K.

    Open the file: "arch/arm64/configs/tisdk_j721e-evm_defconfig"

    Change CONFIG_ARM64_64K_PAGES=y --> # CONFIG_ARM64_64K_PAGES is not set

    Change # CONFIG_ARM64_4K_PAGES is not set --> CONFIG_ARM64_4K_PAGES=y

    With the above change we can run vision_apps with 4K Page size.

    If no other questions please click on verify answer.

    Best Regards,
    Keerthy