LX2160ARDB memory extention

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LX2160ARDB memory extention

919 Views
ranga_yn
Contributor III

Hello team,

I extended the memory of the LX2160ARDB to 64GB from the new memory slots. in uboot i have set the othbootargs 

setenv othbootargs iommu.passthrough=1 default_hugepagesz=1024m hugepagesz=1024m hugepages=10 isolcpus=1-15 rcupdate.rcu_cpu_stall_suppress=1 nohz_full=1-15 rcu_nocbs=1-15

saveenv

boot

once mu LSDK is booted still i see the hugepages assigned is 57 instead of 10 any specific reason for the same. Though i can overwrite that but wanted to know why...

 

Thanks.r

 

0 Kudos
Reply
1 Reply

889 Views
yipingwang
NXP TechSupport
NXP TechSupport

I did the following verification on LX2160ARDB, it seems that your u-boot boot parameters works normally.

In u-boot:

=> setenv othbootargs "iommu.passthrough=1 default_hugepagesz=1024m hugepagesz=1024m hugepages=10 isolcpus=1-15 rcupdate.rcu_cpu_stall_suppress=1 nohz_full=1-15 rcu_nocbs=1-15"

=> setenv bootargs "console=ttyAMA0,115200 root=/dev/ram0 earlycon=pl011,mmio32,0x21c0000 $othbootargs"        

=> tftp 0xa0000000 b25805/ls1046ardb/lsdk2108_yocto_tiny_LS_arm64.itb

=> bootm 0xa0000000#lx2160ardb

In Linux Kernel:

root@TinyLinux:~# cat /proc/meminfo

MemTotal:       30683148 kB

MemFree:        20053640 kB

MemAvailable:   19879744 kB

Buffers:               0 kB

Cached:            63892 kB

SwapCached:            0 kB

Active:              128 kB

Inactive:           3572 kB

Active(anon):        128 kB

Inactive(anon):     3572 kB

Active(file):          0 kB

Inactive(file):        0 kB

Unevictable:       63632 kB

Mlocked:               0 kB

SwapTotal:             0 kB

SwapFree:              0 kB

Dirty:                 0 kB

Writeback:             0 kB

AnonPages:          3440 kB

Mapped:             4340 kB

Shmem:               260 kB

KReclaimable:       7632 kB

Slab:              28340 kB

SReclaimable:       7632 kB

SUnreclaim:        20708 kB

KernelStack:        2976 kB

PageTables:          296 kB

NFS_Unstable:          0 kB

Bounce:                0 kB

WritebackTmp:          0 kB

CommitLimit:    10098692 kB

Committed_AS:      14196 kB

VmallocTotal:   135290159040 kB

VmallocUsed:        6044 kB

VmallocChunk:          0 kB

Percpu:             4032 kB

HardwareCorrupted:     0 kB

AnonHugePages:         0 kB

ShmemHugePages:        0 kB

ShmemPmdMapped:        0 kB

FileHugePages:         0 kB

FilePmdMapped:         0 kB

CmaTotal:          32768 kB

CmaFree:           18816 kB

HugePages_Total:      10

HugePages_Free:       10

HugePages_Rsvd:        0

HugePages_Surp:        0

Hugepagesize:    1048576 kB

Hugetlb:        10485760 kB

root@TinyLinux:~#

If your problem persists, please capture your whole boot console log to me to do more investigation.

0 Kudos
Reply